1 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5 integer constant usable in #if and use that to give value to enum
7 (FE_DIVBYZERO): Likewise.
8 (FE_UNDERFLOW): Likewise.
9 (FE_OVERFLOW): Likewise.
10 (FE_INVALID): Likewise.
11 (FE_INVALID_SNAN): Likewise.
12 (FE_INVALID_ISI): Likewise.
13 (FE_INVALID_IDI): Likewise.
14 (FE_INVALID_ZDZ): Likewise.
15 (FE_INVALID_IMZ): Likewise.
16 (FE_INVALID_COMPARE): Likewise.
17 (FE_INVALID_SOFTWARE): Likewise.
18 (FE_INVALID_SQRT): Likewise.
19 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20 (FE_TONEAREST): Likewise.
21 (FE_TOWARDZERO): Likewise.
22 (FE_UPWARD): Likewise.
23 (FE_DOWNWARD): Likewise.
24 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25 (FE_DIVBYZERO): Likewise.
26 (FE_OVERFLOW): Likewise.
27 (FE_UNDERFLOW): Likewise.
28 (FE_INEXACT): Likewise.
29 (FE_TONEAREST): Likewise.
30 (FE_DOWNWARD): Likewise.
31 (FE_UPWARD): Likewise.
32 (FE_TOWARDZERO): Likewise.
33 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34 (FE_UNDERFLOW): Likewise.
35 (FE_OVERFLOW): Likewise.
36 (FE_DIVBYZERO): Likewise.
37 (FE_INVALID): Likewise.
38 (FE_TONEAREST): Likewise.
39 (FE_TOWARDZERO): Likewise.
40 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41 (FE_OVERFLOW): Likewise.
42 (FE_UNDERFLOW): Likewise.
43 (FE_DIVBYZERO): Likewise.
44 (FE_INEXACT): Likewise.
45 (FE_TONEAREST): Likewise.
46 (FE_TOWARDZERO): Likewise.
47 (FE_UPWARD): Likewise.
48 (FE_DOWNWARD): Likewise.
49 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50 (FE_DIVBYZERO): Likewise.
51 (FE_OVERFLOW): Likewise.
52 (FE_UNDERFLOW): Likewise.
53 (FE_INEXACT): Likewise.
54 (FE_TONEAREST): Likewise.
55 (FE_DOWNWARD): Likewise.
56 (FE_UPWARD): Likewise.
57 (FE_TOWARDZERO): Likewise.
59 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
61 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
63 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
65 * scripts/cross-test-ssh.sh (command): Use newlines to separate
67 (blacklist_exports): Don't use remove_newlines. Replace "declare
69 (remove_newlines): Remove.
71 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
73 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74 * stdlib/stdlib.h (atof): Moved to ...
75 * include/bits/stdlib-float.h: Here. New file.
76 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
77 * stdlib/bits/stdlib-float.h: New file.
78 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
80 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
83 2012-11-02 Joseph Myers <joseph@codesourcery.com>
85 * conform/conformtest.pl (@headers): Add fenv.h.
86 * conform/data/fenv.h-data: New file.
87 * include/fenv.h [_ISOMAC]: Disable all contents of file except
88 include of <math/fenv.h>.
90 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
91 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
92 && !UNIX98]. Enables tests for XOPEN2K8.
93 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
96 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
97 (struct rusage): Do not expect type or its members.
100 * math/math.h (FP_NAN): Define macro to integer constant usable in
101 #if and use that to give value to enum constant.
102 (FP_INFINITE): Likewise.
104 (FP_SUBNORMAL): Likewise.
105 (FP_NORMAL): Likewise.
107 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
109 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
110 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
113 2012-11-02 Roland McGrath <roland@hack.frob.com>
115 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
116 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
117 autoconf-time if not.
118 * configure.in: Remove AC_PREREQ.
120 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
122 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
123 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
124 of the internal implementation.
126 2012-11-02 Joseph Myers <joseph@codesourcery.com>
128 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
129 except include of <misc/sys/syslog.h>.
131 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
134 function returns with a NULL context exit with zero.
136 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
138 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
140 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
142 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
143 (run_program_cmd): This.
144 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
145 (tst_langinfo): New variable. Use it.
147 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
149 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
150 floating point opcodes.
152 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
154 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
157 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
159 * sysdeps/mach/hurd/powerpc: Remove directory.
160 * sysdeps/mach/powerpc: Likewise.
162 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
164 * scripts/check-local-headers.sh: Ignore c++ headers.
166 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
168 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
169 __libc_cleanup_region_start argument.
171 2012-11-01 Joseph Myers <joseph@codesourcery.com>
175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
176 x * y using scaling, not as x * y + z.
177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
179 * math/libm-test.inc (fma_test): Add more tests.
180 (fma_test_towardzero): Likewise.
181 (fma_test_downward): Likewise.
182 (fma_test_upward): Likewise.
184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
186 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
188 2012-10-31 Joseph Myers <joseph@codesourcery.com>
190 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
193 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
195 * rt/tst-shm.c (worker): Correct checking for mmap failure.
197 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
204 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
207 Fix the order of the list for glibc 2.17.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
211 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215 2012-10-31 Joseph Myers <joseph@codesourcery.com>
218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
219 for low part of x being zero before using __atanl (y).
220 * math/libm-test.inc (atan2_test): Add another test.
222 * manual/install.texi (Configuring and compiling): Document
223 general use of test-wrapper and test-wrapper-env.
224 * INSTALL: Regenerated.
226 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
227 (__fma): Do not extract and scale down low bits on after-rounding
228 systems when result rounded to normal precision would have normal
230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
231 (__fmal): Do not extract and scale down low bits on after-rounding
232 systems when result rounded to normal precision would have normal
234 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
235 (__fmal): Do not extract and scale down low bits on after-rounding
236 systems when result rounded to normal precision would have normal
238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
240 (fma_test): Add more tests.
241 (fma_test_towardzero): Likewise.
242 (fma_test_downward): Likewise.
243 (fma_test_upward): Likewise.
245 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
247 * sysdeps/i386/tininess.h: Renamed to ...
248 * sysdeps/x86/tininess.h: This.
249 * sysdeps/x86_64/tininess.h: Removed.
251 2012-10-30 Joseph Myers <joseph@codesourcery.com>
253 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
254 input. Use $(build-program-cmd).
255 ($(objpfx)tst-array1-static.out): Likewise.
256 ($(objpfx)tst-array2.out): Likewise.
257 ($(objpfx)tst-array3.out): Likewise.
258 ($(objpfx)tst-array4.out): Likewise.
259 ($(objpfx)tst-array5.out): Likewise.
260 ($(objpfx)tst-array5-static.out): Likewise.
262 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
264 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
267 * nss/nsswitch.h (nss_interface_function): Provide new
268 macro for use with NSS functions.
269 * grp/initgroups.c: Use new macro.
270 * nss/getXXbyYY.c: Likewise.
271 * nss/getXXbyYY_r.c: Likewise.
272 * nss/getXXent.c: Likewise.
273 * nss/getXXent_r.c: Likewise.
274 * sysdeps/posix/getaddrinfo.c: Likewise.
276 2012-10-30 Andreas Jaeger <aj@suse.de>
278 * po/ru.po: Update Russion translation from translation project.
280 2012-10-30 Joseph Myers <joseph@codesourcery.com>
284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
285 result and shift together with sticky bit instead of replicating
286 round-to-nearest rounding.
287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
289 * math/libm-test.inc (fma_test): Add more tests. Do not permit
290 missing underflow exceptions.
291 (fma_test_towardzero): Add more tests.
292 (fma_test_downward): Likewise.
293 (fma_test_upward): Likewise.
296 * sysdeps/generic/tininess.h: New file.
297 * sysdeps/i386/tininess.h: Likewise.
298 * sysdeps/sh/tininess.h: Likewise.
299 * sysdeps/x86_64/tininess.h: Likewise.
300 * stdlib/tst-strtod-underflow.c: Likewise.
301 * stdlib/tst-tininess.c: Likewise.
302 * stdlib/strtod_l.c: Include <tininess.h>.
303 (round_and_return): Do not set errno for exact underflow cases.
304 Force an underflow exception when setting errno for underflow.
305 Determine underflow based on rounding to normal precision if
306 TININESS_AFTER_ROUNDING.
307 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
308 ERANGE for exact underflow cases.
309 * stdlib/Makefile (tests): Add tst-tininess and
310 tst-strtod-underflow.
311 ($(objpfx)tst-tininess): Use $(link-libm).
312 ($(objpfx)tst-strtod-underflow): Likewise.
314 2012-10-30 Andreas Jaeger <aj@suse.de>
317 * elf/Makefile (tests): Remove conditional for have-initfini-array
318 since this is now always required and the variable does not exist
320 (tests-static): Likewise.
321 (modules-names): Likewise.
323 * po/eo.po: Add Esperanto translation from translation project.
325 * elf/tst-array1.c (fini_array): Make writeable so that it can be
326 merged with constructor/destructor.
327 (init_array): Likewise.
328 * elf/tst-array2dep.c (fini_array): Likewise.
329 (init_array): Likewise.
331 2012-10-29 Mike Frysinger <vapier@gentoo.org>
333 * manual/message.texi: Delete @cartouche tags.
335 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
337 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
339 * sysdeps/mach/hurd/fsync.c: Likewise.
341 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
342 [_POSIX_REALTIME_SIGNALS]: Change condition to
343 [_POSIX_REALTIME_SIGNALS > 0].
345 2012-10-27 Andreas Jaeger <aj@suse.de>
347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
348 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
350 [__WORDSIZE != 64]: Likewise.
352 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
354 * iconvdata/tst-table.sh: Remove ${SHELL}.
355 * iconvdata/tst-tables.sh: Likewise.
357 2012-10-25 David S. Miller <davem@davemloft.net>
359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
360 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
366 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
367 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
370 2012-10-25 Roland McGrath <roland@hack.frob.com>
372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
373 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
376 2012-10-25 Joseph Myers <joseph@codesourcery.com>
377 Jim Blandy <jimb@codesourcery.com>
379 * scripts/cross-test-ssh.sh: New file.
380 * manual/install.texi (Configuring and compiling): Document use of
382 * INSTALL: Regenerated.
384 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
386 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
389 2012-10-25 Joseph Myers <joseph@codesourcery.com>
391 * Makeconfig (run-program-prefix): Fix comment.
393 2012-10-24 Joseph Myers <joseph@codesourcery.com>
394 Jim Blandy <jimb@codesourcery.com>
396 * Makeconfig (test-wrapper): New variable,
397 (test-wrapper-env): Likewise.
398 [$(cross-compiling) = yes && $(test-wrapper) != ""]
399 (run-built-tests): Define to yes.
400 (run-program-prefix): Use $(test-wrapper).
401 (built-program-cmd): Likewise.
402 * Rules (make-test-out): Use $(test-wrapper-env) and
403 $(host-built-program-cmd).
404 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
405 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
407 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
408 $(test-wrapper-env) to tst-rtld-load-self.sh.
409 ($(objpfx)order2.out): Use $(test-wrapper).
410 ($(objpfx)tst-initorder.out): Likewise.
411 ($(objpfx)tst-initorder2.out): Likewise.
412 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
413 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
414 (test_wrapper_env): New variable. Use it to run ld.so.
415 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
417 (test_wrapper_env): Likewise.
418 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
419 $(test-wrapper) to run-iconv-test.sh.
420 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
421 (ICONV): Use $test_wrapper.
422 * posix/Makefile ($(objpfx)globtest.out): Pass
423 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
424 globtest.sh, not $(run-program-prefix).
425 * posix/globtest.sh (run_via_rtld_prefix): New variable.
426 (test_wrapper): Likewise.
427 (test_wrapper_env): Likewise. Use it to run globtest with HOME
428 set together with run_via_rtld_prefix.
429 (run_program_prefix): Define in terms of test_wrapper and
432 2012-10-24 Roland McGrath <roland@hack.frob.com>
434 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
435 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
439 * include/time.h: Remove librt_hidden_proto (clock_gettime).
440 Declare __clock_getres, __clock_gettime, __clock_settime,
441 __clock_nanosleep, and __clock_getcpuclockid.
442 * rt/clock_gettime.c: Define __clock_gettime as an alias.
443 Remove librt_hidden_def (clock_gettime).
444 * sysdeps/unix/clock_gettime.c: Likewise.
445 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
447 * rt/clock_getres.c: Define __clock_getres as an alias.
448 * sysdeps/posix/clock_getres.c: Likewise.
449 * rt/clock_settime.c: Define __clock_settime as an alias.
450 * sysdeps/unix/clock_settime.c: Likewise.
451 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
452 * sysdeps/unix/clock_nanosleep.c: Likewise.
453 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
454 * rt/clock-compat.c: New file.
455 * rt/Makefile (librt-routines): Add clock-compat and move
456 $(clock-routines) to ...
457 (routines): ... here, new variable.
458 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
459 Don't add get_clockfreq here.
460 * rt/Versions (libc: GLIBC_2.17): New version set.
461 Add clock_* symbols here.
462 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
464 (GLIBC_2.17): Add clock_* symbols.
465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
476 * NEWS: Mention the move.
478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
479 Use __open, __read, __close rather than their public counterparts.
480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
481 (__get_clockfreq_via_cpuinfo): Likewise.
482 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
483 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
485 * config.h.in (HAVE_IFUNC): New #undef.
486 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
488 * configure: Regenerated.
490 2012-10-24 Mike Frysinger <vapier@gentoo.org>
492 * configure.in: Move READELF check to start of file.
493 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
494 libc_cv_asm_gnu_indirect_function in the process.
495 * configure: Regenerated.
497 2012-10-24 Mike Frysinger <vapier@gentoo.org>
499 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
500 send the output to /dev/null.
501 (libc_cv_cc_with_libunwind): Likewise.
502 (libc_cv_as_noexecstack): Likewise.
503 * configure: Regenerate.
505 2012-10-24 Joseph Myers <joseph@codesourcery.com>
507 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
509 * posix/globtest.sh (TMPDIR): Do not set.
510 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
513 2012-10-24 Andreas Jaeger <aj@suse.de>
515 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
516 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
517 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
518 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
519 posix_fadvise64, posix_fallocate64.
521 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
522 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
523 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
525 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
527 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
530 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
531 <bits/fcntl-linux.h>.
532 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
535 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
536 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
537 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
538 [__WORDSIZE != 64]: Likewise.
540 2012-10-23 Joseph Myers <joseph@codesourcery.com>
542 * Makeconfig (run-built-tests): New variable.
543 * Rules [$(cross-compiling) = yes]: Change condition to
544 [$(run-built-tests) = no].
545 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
546 to [$(run-built-tests) = yes].
547 * elf/Makefile [$(cross-compiling) = no]: Likewise
548 * grp/Makefile [$(cross-compiling) = no]: Likewise.
549 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
550 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
551 * intl/Makefile [$(cross-compiling) = no]: Likewise.
552 * io/Makefile [$(cross-compiling) = no]: Likewise.
553 * libio/Makefile [$(cross-compiling) = no]: Likewise.
554 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
555 * misc/Makefile [$(cross-compiling) = no]: Likewise.
556 * posix/Makefile [$(cross-compiling) = no]: Likewise.
557 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
558 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
559 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
560 * string/Makefile [$(cross-compiling) = no]: Likewise.
562 * posix/Makefile ($(objpfx)globtest.out): Pass
563 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
564 $(rtld-installed-name).
565 * posix/globtest.sh (elf_objpfx): Remove variable.
566 (rtld_installed_name): Likewise.
567 (library_path): Likewise.
568 (run_program_prefix): New variable. Use for running globtest
571 2012-10-23 Jim Blandy <jimb@codesourcery.com>
572 Joseph Myers <joseph@codesourcery.com>
574 * Makeconfig (host-built-program-cmd): New variable.
575 * elf/Makefile (tst-stackguard1-ARGS): Use
576 $(host-built-program-cmd).
577 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
578 (tst-spawn-ARGS): Likewise.
579 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
582 Jim Blandy <jimb@codesourcery.com>
584 * Makeconfig (run-via-rtld-prefix): New variable.
585 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
586 (built-program-cmd): Likewise.
588 2012-10-22 Andreas Jaeger <aj@suse.de>
590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
591 __O_RSYNC if it exists, otherwise to O_SYNC.
593 2012-10-22 Jim Blandy <jimb@codesourcery.com>
594 Joseph Myers <joseph@codesourcery.com>
596 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
598 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
600 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
603 2012-10-22 Andreas Jaeger <aj@suse.de>
605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
613 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
620 2012-10-21 Jim Blandy <jimb@codesourcery.com>
621 Joseph Myers <joseph@codesourcery.com>
623 * config.make.in (NM): New variable.
625 2012-10-21 Andreas Jaeger <aj@suse.de>
627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
628 definitions and declarations that are provided by
629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
631 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
634 * elf/Makefile (tests-static): Add tst-leaks1-static.
635 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
636 ($(objpfx)tst-leaks1-static): New rule.
637 ($(objpfx)tst-leaks1-static-mem): Likewise.
638 (tst-leaks1-static-ENV): New macro.
639 * elf/dl-open.c (dl_open_worker): Check the main application
640 only if SHARED is defined.
641 * elf/tst-leaks1-static.c: New file.
643 2012-10-20 Andreas Jaeger <aj@suse.de>
645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
646 generic values for Linux.
647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
648 and declarations that are provided by <bits/fcntl-linux.h> and
649 include <bits/fcntl-linux.h>.
650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
653 2012-10-20 Roland McGrath <roland@hack.frob.com>
655 * io/fcntl.h: Move include of <bits/types.h> to the top and
656 include it unconditionally.
658 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
660 * wcsmbs/Makefile (tests-ifunc): New variable.
661 (tests): Add $(tests-ifunc).
662 * wcsmbs/test-wcschr-ifunc.c: New file.
663 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
664 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
665 * wcsmbs/test-wcslen-ifunc.c: Likewise.
666 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
667 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
669 * string/Makefile (tests-ifunc): New variable.
670 (tests): Add $(tests-ifunc).
671 * string/test-memccpy.c (TEST_NAME): New macro.
672 * string/test-memchr.c (TEST_NAME): Likewise.
673 * string/test-memcmp.c (TEST_NAME): Likewise.
674 * string/test-memcpy.c (TEST_NAME): Likewise.
675 * string/test-memmem.c (TEST_NAME): Likewise.
676 * string/test-memmove.c (TEST_NAME): Likewise.
677 * string/test-memset.c (TEST_NAME): Likewise.
678 * string/test-rawmemchr.c (TEST_NAME): Likewise.
679 * string/test-stpcpy.c (TEST_NAME): Likewise.
680 * string/test-stpncpy.c (TEST_NAME): Likewise.
681 * string/test-strcasecmp.c (TEST_NAME): Likewise.
682 * string/test-strcasestr.c (TEST_NAME): Likewise.
683 * string/test-strcat.c (TEST_NAME): Likewise.
684 * string/test-strchr.c (TEST_NAME): Likewise.
685 * string/test-strcmp.c(TEST_NAME): Likewise.
686 * string/test-strcpy.c (TEST_NAME): Likewise.
687 * string/test-strcspn.c (TEST_NAME): Likewise.
688 * string/test-strlen.c (TEST_NAME): Likewise.
689 * string/test-strncasecmp.c (TEST_NAME): Likewise.
690 * string/test-strncmp.c (TEST_NAME): Likewise.
691 * string/test-strncpy.c (TEST_NAME): Likewise.
692 * string/test-strnlen.c (TEST_NAME): Likewise.
693 * string/test-strpbrk.c (TEST_NAME): Likewise.
694 * string/test-strrchr.c (TEST_NAME): Likewise.
695 * string/test-strspn.c (TEST_NAME): Likewise.
696 * string/test-strstr.c (TEST_NAME): Likewise.
697 * string/test-bcopy-ifunc.c: New file.
698 * string/test-bzero-ifunc.c: Likewise.
699 * string/test-memccpy-ifunc.c: Likewise.
700 * string/test-memchr-ifunc.c: Likewise.
701 * string/test-memcmp-ifunc.c: Likewise.
702 * string/test-memcpy-ifunc.c: Likewise.
703 * string/test-memmem-ifunc.c: Likewise.
704 * string/test-memmove-ifunc.c: Likewise.
705 * string/test-mempcpy-ifunc.c: Likewise.
706 * string/test-memset-ifunc.c: Likewise.
707 * string/test-rawmemchr-ifunc.c: Likewise.
708 * string/test-stpcpy-ifunc.c: Likewise.
709 * string/test-stpncpy-ifunc.c: Likewise.
710 * string/test-strcasecmp-ifunc.c: Likewise.
711 * string/test-strcasestr-ifunc.c: Likewise.
712 * string/test-strcat-ifunc.c: Likewise.
713 * string/test-strchr-ifunc.c: Likewise.
714 * string/test-strchrnul-ifunc.c: Likewise.
715 * string/test-strcmp-ifunc.c: Likewise.
716 * string/test-strcpy-ifunc.c: Likewise.
717 * string/test-strcspn-ifunc.c: Likewise.
718 * string/test-strlen-ifunc.c: Likewise.
719 * string/test-strncasecmp-ifunc.c: Likewise.
720 * string/test-strncat-ifunc.c: Likewise.
721 * string/test-strncmp-ifunc.c: Likewise.
722 * string/test-strncpy-ifunc.c: Likewise.
723 * string/test-strnlen-ifunc.c: Likewise.
724 * string/test-strpbrk-ifunc.c: Likewise.
725 * string/test-strrchr-ifunc.c: Likewise.
726 * string/test-strspn-ifunc.c: Likewise.
727 * string/test-strstr-ifunc.c: Likewise.
729 * debug/Makefile (tests-ifunc): New variable.
730 (tests): Add $(tests-ifunc).
731 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
732 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
733 * debug/test-stpcpy_chk-ifunc.c: New file.
734 * debug/test-strcpy_chk-ifunc.c: Likewise.
736 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
739 * elf/dl-load.c (open_verify): Retry read if the entire ELF
740 header is not read in.
742 2012-10-19 Joseph Myers <joseph@codesourcery.com>
744 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
745 script to $(SHELL) as $<. Pass $(common-objpfx) to script
746 directly. Pass built executable to script as
747 $(built-program-cmd).
748 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
749 $testprogram without using LD_LIBRARY_PATH and $ldso.
751 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
752 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
753 $(rtld-installed-name).
754 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
755 (rtld_installed_name): Likewise.
756 (library_path): Likewise.
757 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
758 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
759 $(run-program-prefix) to tst-tables.sh.
760 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
761 it to run tst-table-from and tst-table-to.
762 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
763 Pass it to tst-table.sh.
764 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
765 $(run-program-prefix) to tst-gettext.sh.
766 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
768 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
770 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
772 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
774 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
777 $(run-program-prefix) to tst-mtrace.sh.
778 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
780 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
781 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
782 $(rtld-installed-name).
783 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
784 (rtld_installed_name): Likewise.
785 (run_program_prefix): New variable. Use it to run wordexp-test.
787 * Makeconfig (ARCH): Remove all definitions.
789 [ARCH]: Remove conditional code.
790 [!objdir]: Give error.
791 [!objdir] (objpfx): Remove.
792 [!objdir] (common-objpfx): Likewise.
793 [!objdir] (common-objdir): Likewise.
794 * configure.in (config_makefile): Remove. Hardcode Makefile in
795 AC_CONFIG_FILES call.
796 * configure: Regenerated.
799 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
803 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
804 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
805 $(rtld-installed-name).
806 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
807 (rtld_installed_name): Likwise.
808 (runit): Remove function.
809 (run_getconf): New variable, Use it for running getconf binary.
811 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
814 * string/test-memmem.c (check_result): New function.
815 (do_one_test): Use it.
816 (check1): New function.
819 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
821 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
823 2012-10-18 Joseph Myers <joseph@codesourcery.com>
825 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
826 (_G_LSEEK64): Likewise.
827 (_G_MMAP64): Likewise.
828 (_G_FSTAT64): Likewise.
829 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
830 (_G_LSEEK64): Likewise.
831 (_G_MMAP64): Likewise.
832 (_G_FSTAT64): Likewise.
833 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
834 unconditional. Call __mmap64 directly.
835 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
836 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
838 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
839 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
841 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
842 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
844 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
845 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
847 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
848 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
850 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
851 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
853 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
854 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
856 (freopen64) [!_G_OPEN64]: Remove conditional code.
857 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
859 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
860 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
862 (ftello64) [!_G_LSEEK64]: Remove conditional code.
863 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
865 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
866 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
868 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
869 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
871 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
872 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
874 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
875 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
877 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
879 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
882 * manual/memory.texi (Malloc Tunable Parameters): Add note
883 about free list pointers overwriting some perturb bytes.
884 Wording suggested by Roland McGrath.
886 2012-10-17 Joseph Myers <joseph@codesourcery.com>
888 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
889 (lgamma_test): Likewise.
890 (tgamma_test): Likewise.
892 2012-10-16 Florian Weimer <fweimer@redhat.com>
895 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
896 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
898 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
900 * NEWS: Mention BZ #14716.
901 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
902 when removing AVAILABLE1_USES_J macro.
904 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
906 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
907 (__bswap_64): __uint64_t for unsigned 64-bit int.
909 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
911 * include/string.h (memmem): Declare libc hidden alias.
912 * string/memmem.c (memmem): Define libc hidden alias.
913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
914 __read, __close instead of open, read, close.
916 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
919 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
921 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
922 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
923 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
925 (__rawmemchr_sse2): Likewise.
926 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
927 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
928 (__strchr_sse2): Likewise.
929 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
930 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
931 (__strcasecmp_sse2): Likewise.
932 (__strncasecmp_sse2): Likewise.
933 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
934 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
935 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
936 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
937 (__strrchr_sse2): Likewise.
938 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
940 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
941 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
942 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
943 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
944 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
946 * sysdeps/x86_64/multiarch/memset.S: Likewise.
947 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
948 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
949 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
950 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
951 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
952 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
953 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
954 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
956 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
957 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
958 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
959 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
960 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
961 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
962 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
964 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
966 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
967 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
968 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
969 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
971 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
973 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
974 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
975 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
976 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
978 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
980 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
981 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
982 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
983 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
985 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
986 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
998 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
999 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1002 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1010 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1011 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1012 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1013 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1015 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1016 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1017 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1018 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1019 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1020 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1021 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1022 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1023 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1024 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1027 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1028 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1029 * include/ifunc-impl-list.h: New file.
1030 * misc/ifunc-impl-list.c: Likewise.
1031 * misc/Makefile (routines): Add ifunc-impl-list.
1032 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1033 * string/test-string.h: Include <ifunc-impl-list.h>.
1034 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1035 impl_array): New variables.
1036 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1038 (test_init): Call __libc_ifunc_impl_list to initialize
1039 func_list if TEST_IFUNC and TEST_NAME are defined.
1041 * string/Makefile (strop-tests): Add bcopy and bzero.
1042 * string/test-bcopy.c: New file.
1043 * string/test-bzero.c: Likewise.
1044 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1046 * string/test-memset.c: Support bzero test if TEST_BZERO is
1048 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1050 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1052 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1055 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1057 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1058 * configure: Regenerated.
1060 * Makeconfig (+link-static-before-libc): Don't include
1061 $(link-static-libc).
1063 * libio/libio.h (_IO_pos_t): Remove.
1065 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1067 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1070 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1072 * crypt/crypt-entry.c: Include fips-private.h.
1073 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1074 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1075 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1076 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1080 * crypt/crypt-private.h: Include stdbool.h.
1081 (_ufc_setup_salt_r): Return bool.
1082 * crypt/crypt-entry.c: Include errno.h.
1083 (__crypt_r): Return NULL with EINVAL for bad salt.
1084 * crypt/crypt_util.c (bad_for_salt): New.
1085 (_ufc_setup_salt_r): Check that salt is long enough and within
1086 the specified alphabet.
1087 * crypt/badsalttest.c: New file.
1088 * crypt/Makefile (tests): Add it.
1089 ($(objpfx)badsalttest): New.
1091 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1093 * NEWS: Add entry for BZ #14602.
1095 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1097 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1099 * math/libm-test.inc: Update comment listing what functions and
1101 (isgreater_test): New function.
1102 (isgreaterequal_test): Likewise.
1103 (isless_test): Likewise.
1104 (islessequal_test): Likewise.
1105 (islessgreater_test): Likewise.
1106 (isunordered_test): Likewise.
1107 (main): Call the new functions.
1109 2012-10-09 Roland McGrath <roland@hack.frob.com>
1111 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1112 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1113 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1114 * sysdeps/i386/configure: Regenerated.
1115 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1116 * sysdeps/mach/configure: Regenerated.
1117 * sysdeps/mach/hurd/configure: Regenerated.
1118 * sysdeps/powerpc/configure: Regenerated.
1119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1120 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1121 * sysdeps/s390/s390-32/configure: Regenerated.
1122 * sysdeps/s390/s390-64/configure: Regenerated.
1123 * sysdeps/sh/configure: Regenerated.
1124 * sysdeps/sparc/configure: Regenerated.
1125 * sysdeps/unix/sysv/linux/configure: Regenerated.
1126 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1127 * sysdeps/x86_64/configure: Regenerated.
1129 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1130 defined. Don't check if MAP is NULL.
1132 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1135 (_G_stat64): Likewise.
1136 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1137 (_G_stat64): Likewise.
1138 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1139 instead of struct _G_stat64.
1140 * libio/fileops.c (mmap_remap_check): Likewise.
1141 (decide_maybe_mmap): Likewise.
1142 (_IO_new_file_seekoff): Likewise.
1143 (_IO_file_stat): Likewise.
1144 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1146 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1147 instead of struct _G_stat64.
1148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1150 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1155 (CHECK_EOL): New macro.
1156 (two_way_short_needle): Check beginning of haystack for EOL. Use
1158 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1159 Replace with CHECK_EOL.
1160 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1161 Replace with CHECK_EOL.
1163 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1165 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1167 * math/libm-test.inc: Update comment listing what functions and
1169 (finite_test): New function.
1170 (isinf_test): Likewise.
1171 (isnan_test): Likewise.
1172 (fpclassify_test): Test subnormal input.
1173 (isfinite_test): Likewise.
1174 (isnormal_test): Likewise.
1175 (main): Call the new functions.
1177 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1180 * Makerules (%.dynsym): Force C locale when running
1181 $(OBJDUMP) --dynamic-syms.
1183 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1188 2012-10-06 David S. Miller <davem@davemloft.net>
1190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1191 upper 32-bits of the length value in %o2 since we use branch-on-register
1192 tests which consider the entire 64-bit register.
1194 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1196 * string/test-strstr.c (check2): Add a test for page boundary.
1198 2012-10-05 David S. Miller <davem@davemloft.net>
1200 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1206 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1207 and bzero when HWCAP_SPARC_CRYPTO is present.
1209 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1212 * string/test-strstr.c (check2): New function.
1213 (test_main): Call check2.
1215 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1217 * string/bug-strcasestr1.c (do_test): Moved to ...
1218 * string/test-strcasestr.c (check1): Here. New function.
1219 (do_one_test): Break out result checking code into ...
1220 (check_result): This. New function.
1221 (do_one_test): Call check_result.
1222 (test_main): Call check1.
1223 * string/bug-strchr1.c (do_test): Moved to ...
1224 * string/test-strchr.c (check1): Here. New function.
1225 (do_one_test): Break out result checking code into ...
1226 (check_result): This. New function.
1227 (do_one_test): Call check_result.
1228 (test_main): Call check1.
1229 * string/bug-strstr1.c (main): Moved to ...
1230 * string/test-strchr.c (check1): Here. New function.
1231 (do_one_test): Break out result checking code into ...
1232 (check_result): This. New function.
1233 (do_one_test): Call check_result.
1234 (test_main): Call check1.
1235 * string/bug-strcasestr1.c: Removed.
1236 * string/bug-strchr1.c: Likewise.
1237 * string/bug-strstr1.c: Likewise.
1239 * elf/Makefile (dl-routines): Add hwcaps.
1240 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1241 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1242 (_dl_important_hwcaps): Moved to ...
1243 * elf/dl-hwcaps.c: Here. New file.
1244 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1247 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1248 if IS_IN_rtld isn't defined.
1250 * elf/dl-support.c (_dl_sysinfo_map): New.
1251 Include "get-dynamic-info.h" and "setup-vdso.h".
1252 (_dl_non_dynamic_init): Call setup_vdso.
1253 * elf/dynamic-link.h: Don't include <assert.h>.
1254 (elf_get_dynamic_info): Moved to ...
1255 * elf/get-dynamic-info.h: Here. New file.
1256 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1257 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1258 * elf/setup-vdso.h: Here. New file.
1259 * elf/rtld.c: Include "setup-vdso.h".
1260 (dl_main): Call setup_vdso.
1262 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1264 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1265 creal in comment listing functions tested. List finite, isinf,
1266 isnan, isless, islessequal, isgreater, isgreaterequal,
1267 islessgreater, isunordered, lgamma_r and pow10 as functions and
1268 macros not tested. Mention which functions not tested are aliases
1269 for other functions. Fix typo. Note that signs of NaNs are not
1272 * scripts/config.guess: Update from config.git.
1273 * scripts/config.sub: Likewise.
1275 2012-10-04 Roland McGrath <roland@hack.frob.com>
1277 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1278 * misc/madvise.c (madvise): Renamed to __madvise.
1279 Make madvise a weak alias.
1280 * include/sys/mman.h: Declare __madvise.
1281 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1282 * sysdeps/unix/syscalls.list
1283 (madvise): Make __madvise the strong name, and madvise a weak alias.
1284 * sysdeps/unix/sysv/linux/syscalls.list
1285 (madvise, mmap): Remove redundant entries.
1286 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1287 * malloc/malloc.c (mtrim): Likewise.
1288 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1290 2012-10-03 Roland McGrath <roland@hack.frob.com>
1292 * sysdeps/mach/hurd/dl-cache.c: File removed.
1293 * config.h.in (USE_LDCONFIG): New #undef.
1294 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1295 * configure: Regenerated.
1296 * elf/Makefile (dl-routines): Add dl-cache only under
1297 [$(use-ldconfig) = yes].
1298 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1299 cache on [USE_LDCONFIG].
1300 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1302 * elf/rtld.c (dl_main): Likewise.
1304 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1306 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1307 _SC_LEVEL4_CACHE_LINESIZE.
1309 2012-10-03 Roland McGrath <roland@hack.frob.com>
1311 * sysdeps/unix/bsd/confstr.h: File removed.
1313 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1315 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1318 2012-10-02 Roland McGrath <roland@hack.frob.com>
1320 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1321 Make 'mapoff' field ElfW(Off) rather than off_t.
1323 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1325 * nscd/Makefile: Remove nscd-cflags and all its users.
1326 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1327 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1330 * malloc.c (malloc_printerr): Clarify error message.
1332 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1336 Set bit_FMA_Usable if FMA is supported.
1337 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1339 (bit_FMA4_Usable): Updated.
1340 (index_FMA_Usable): New macro.
1341 (CPUID_FMA): Likewise
1342 (HAS_FMA): Defined with bit_FMA_Usable.
1344 2012-10-01 Roland McGrath <roland@hack.frob.com>
1346 * bits/types.h (__swblk_t): Type removed.
1347 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1348 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1350 (__SWBLK_T_TYPE): Likewise.
1351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1352 (__SWBLK_T_TYPE): Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1354 (__SWBLK_T_TYPE): Likewise.
1355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1356 (__SWBLK_T_TYPE): Likewise.
1358 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1359 Honza Horak <hhorak@redhat.com>
1361 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1362 (xdr_mapname): Use YPMAXMAP as maxsize.
1363 (xdr_peername): Use YPMAXPEER as maxsize.
1364 (xdr_keydat): Use YPAXRECORD as maxsize.
1365 (xdr_valdat): Use YPMAXRECORD as maxsize.
1367 2012-10-01 Roland McGrath <roland@hack.frob.com>
1369 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1371 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1372 * csu/init-first.c: ... here.
1373 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1374 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1377 * sysdeps/i386/init-first.c: File removed.
1378 * sysdeps/sh/init-first.c: File removed.
1380 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1384 if x * y might underflow to zero and z is zero.
1385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1387 * math/libm-test.inc (min_subnorm_value): New variable.
1388 (fma_test): Add more tests.
1389 (fma_test_towardzero): Likewise.
1390 (fma_test_downward): Likewise
1391 (fma_test_upward): Likewise.
1392 (initialize): Set min_subnorm_value.
1394 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1400 mode for addition resulting in exact zero.
1401 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1406 * math/libm-test.inc (fma_test): Add more tests.
1407 (fma_test_towardzero): New function.
1408 (fma_test_downward): Likewise.
1409 (fma_test_upward): Likewise.
1410 (main): Call the new functions.
1412 2012-09-28 David S. Miller <davem@davemloft.net>
1414 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1416 2012-09-28 Roland McGrath <roland@hack.frob.com>
1418 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1421 * sysdeps/gnu/_G_config.h: Moved to ...
1422 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1423 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1424 * sysdeps/generic/_G_config.h: ... here.
1426 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1428 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1430 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1431 Conditionalize target on [libnss_test1.so-version].
1433 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1435 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1436 (elfobjdir): Move out of conditionals.
1438 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1439 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1440 (__nss_lookup_function): Conditionalize label remove_from_tree on
1441 [!DO_STATIC_NSS || SHARED], matching its only use.
1443 2012-09-28 David S. Miller <davem@davemloft.net>
1445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1446 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1448 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1452 when HWCAP_SPARC_CRYPTO is present.
1454 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1456 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1458 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1461 * stdio-common/vfprintf.c (process_string_arg): Revert
1464 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1466 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1468 * stdio-common/tst-sprintf.c: Include <locale.h>
1469 (main): Test sprintf's handling of incomplete multibyte
1472 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1474 * elf/dl-runtime.c (VERSYMIDX): Removed.
1475 * elf/dl-version.c (VERSYMIDX): Likewise.
1476 * elf/do-rel.h (VERSYMIDX): Likewise.
1478 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1479 * elf/rtld.c (VALIDX): Likewise.
1480 (ADDRIDX): Likewise.
1481 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1482 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1483 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1484 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1486 (ADDRIDX): Likewise.
1488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1490 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1492 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1495 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1497 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1498 addresses are in the same scope as 192.0.2/24.
1499 * posix/gai.conf: Document new scope table defaults.
1501 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1504 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1505 for ftell. Compute offsets from write pointers instead.
1506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1508 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1511 * libio/Makefile (tests): New test case tst-fseek.
1512 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1513 combination works in wide mode.
1514 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1515 state when the external buffer state changes.
1517 2012-09-27 David S. Miller <davem@davemloft.net>
1520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1521 pass reloc->r_addend in as the 'high' argument to
1522 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1526 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1528 * rt/tst-aio2.c: Include <pthread.h>.
1529 * rt/tst-aio3.c: Likewise.
1531 2012-09-27 Steve Ellcey <sellcey@mips.com>
1533 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1535 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1537 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1538 contents on [SHARED].
1540 2012-09-26 Marek Polacek <polacek@redhat.com>
1544 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1545 for C++ and GCC <4.3 as well as for non GCC compilers.
1547 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1551 2012-09-25 Roland McGrath <roland@hack.frob.com>
1553 * Makefile.in (all, install): Declare with .PHONY.
1554 Reported by Michael Hope <michael.hope@linaro.org>.
1556 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1558 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1559 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1561 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1563 (sydep_routines): Add the new and the internal functions.
1564 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1565 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1567 (GLIBC_2.17): Add the new function.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1569 (GLIBC_2.17): Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1571 (GLIBC_2.17): Likewise.
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1573 (GLIBC_2.17): Likewise.
1574 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1576 2012-09-25 Alan Modra <amodra@gmail.com>
1578 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1579 Add release barrier before setting once_control to say
1580 initialisation is done. Add hints on lwarx. Use macro in
1582 (clear_once_control): Add release barrier.
1584 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1587 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1589 * math/s_clog10.c (__clog10): Likewise.
1590 * math/s_clog10f.c (__clog10f): Likewise.
1591 * math/s_clog10l.c (__clog10l): Likewise.
1592 * math/s_clogf.c (__clogf): Likewise.
1593 * math/s_clogl.c (__clogl): Likewise.
1594 * math/Makefile (libm-calls): Add x2y2m1.
1595 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1596 (__x2y2m1): Likewise.
1597 (__x2y2m1l): Likewise.
1598 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1599 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1602 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1603 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1604 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1605 * sysdeps/i386/fpu/libm-test-ulps: Update.
1606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1610 int as type of variable DEPTH.
1611 (glob): Use size_t instead of int as type of variables NEWCOUNT
1614 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1618 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1619 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1620 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1621 macros for using routine as __sincosf_ia32.
1622 Use macro for function declaration and weak_alias.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1625 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1628 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1630 * math/s_cexpf.c (__cexpf): Likewise.
1631 * math/s_csinf.c (__csinf): Likewise.
1632 * math/s_csinhf.c (__csinhf): Likewise.
1633 * math/s_ctanf.c (__ctanf): Likewise.
1634 * math/s_ctanhf.c (__ctanhf): Likewise.
1635 * math/s_ccosh.c (__ccoshf): Likewise.
1636 * math/s_cexp.c (__cexpl): Likewise.
1637 * math/s_csin.c (__csin): Likewise.
1638 * math/s_csinh.c (__csinh): Likewise.
1639 * math/s_ctan.c (__ctan): Likewise.
1640 * math/s_ctanh.c (ctanh): Likewise.
1641 * math/s_ccoshl.c (__ccoshl): Likewise.
1642 * math/s_cexpl.c (__cexpl): Likewise.
1643 * math/s_csinl.c (__csinl): Likewise.
1644 * math/s_csinhl.c (__csinhl): Likewise.
1645 * math/s_ctanl.c (__ctanl): Likewise.
1646 * math/s_ctanhl.c (__ctanhl): Likewise.
1648 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1650 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1651 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1652 (_IO_off_t): Define to __off_t, not _G_off_t.
1653 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1654 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1655 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1656 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1657 type of __dummy and __dummy2 fields.
1658 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1659 (_G_ssize_t): Likewise.
1660 (_G_off_t): Likewise.
1661 (_G_pid_t): Likewise.
1662 (_G_uid_t): Likewise.
1663 (_G_wchar_t): Likewise.
1664 (_G_wint_t): Likewise.
1665 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1666 (_G_ssize_t): Likewise.
1667 (_G_off_t): Likewise.
1668 (_G_pid_t): Likewise.
1669 (_G_uid_t): Likewise.
1670 (_G_wchar_t): Likewise.
1671 (_G_wint_t): Likewise.
1672 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1673 (_G_ssize_t): Likewise.
1674 (_G_off_t): Likewise.
1675 (_G_pid_t): Likewise.
1676 (_G_uid_t): Likewise.
1677 (_G_wchar_t): Likewise.
1678 (_G_wint_t): Likewise.
1680 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1682 * malloc/arena.c: Include malloc-sysdep.h.
1683 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1684 is sufficient to shrink the heap or an unmap is needed.
1685 * sysdeps/generic/malloc-sysdep.h: New file. Define
1686 new function check_may_shrink_heap.
1687 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1688 new function check_may_shrink_heap.
1690 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1692 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1695 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1697 * catgets/test-gencat.sh: Add "set -e".
1698 * elf/tst-pathopt.sh: Likewise.
1699 * grp/tst_fgetgrent.sh: Likewise.
1700 * iconvdata/run-iconv-test.sh: Likewise.
1701 * intl/tst-gettext.sh: Likewise.
1702 * intl/tst-gettext2.sh: Likewise.
1703 * intl/tst-gettext4.sh: Likewise.
1704 * intl/tst-gettext6.sh: Likewise.
1705 * intl/tst-translit.sh: Likewise.
1706 * io/ftwtest-sh: Likewise.
1707 * libio/test-freopen.sh: Likewise.
1708 * malloc/tst-mtrace.sh: Likewise.
1709 * posix/globtest.sh: Likewise.
1710 * posix/tst-getconf.sh: Likewise.
1711 * posix/wordexp-tst.sh: Likewise.
1712 * stdio-common/tst-printf.sh: Likewise.
1713 * stdio-common/tst-unbputc.sh: Likewise.
1714 * stdlib/tst-fmtmsg.sh: Likewise.
1715 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1716 * catgets/Makefile: Do not specify -e option when running
1717 testsuite shell scripts.
1718 * elf/Makefile: Likewise.
1719 * grp/Makefile: Likewise.
1720 * iconvdata/Makefile: Likewise.
1721 * intl/Makefile: Likewise.
1722 * io/Makefile: Likewise.
1723 * libio/Makefile: Likewise.
1724 * malloc/Makefile: Likewise.
1725 * posix/Makefile: Likewise.
1726 * stdio-common/Makefile: Likewise.
1727 * stdlib/Makefile: Likewise.
1728 * sysdeps/x86_64/Makefile: Likewise.
1730 * io/ftwtest-sh: Add copyright header.
1731 * posix/globtest.sh: Likewise.
1732 * posix/tst-getconf.sh: Likewise.
1733 * posix/wordexp-tst.sh: Likewise.
1734 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1736 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1739 * Makeconfig (+link): Defined as $(+link-static) if
1740 $(build-shared) isn't yes.
1741 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1743 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1745 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1748 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1749 new chunk size with MALLOC_ALIGN_MASK.
1751 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1754 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1756 (__printf_fphex): Determine rounding using get_rounding_mode and
1758 * stdio-common/tst-printf-round.c (struct hex_test): New
1760 (hex_tests): New variable.
1761 (test_hex_in_one_mode): New function.
1762 (do_test): Also run tests for hex float output.
1764 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1766 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1767 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1768 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1769 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1771 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1772 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1775 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1777 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1778 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1779 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1780 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1782 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1785 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1787 * elf/tst-rtld-load-self.sh: New test.
1788 * elf/Makefile: Run it.
1790 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1792 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1793 (tst-writev-ENV): Remove.
1794 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1796 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1798 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1800 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1802 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1804 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1806 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1807 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1811 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1814 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1815 * config.make.in (have-cpp-asm-debuginfo): Removed.
1816 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1817 * configure: Regenerated.
1819 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1822 * stdio-common/printf_fp.c: Include <stdbool.h> and
1824 (___printf_fp): Determine rounding using get_rounding_mode and
1826 * stdio-common/tst-printf-round.c: New file.
1827 * stdio-common/Makefile (tests): Add tst-printf-round.
1828 (link-libm): New variable.
1829 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1831 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1834 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1835 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1837 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1840 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1842 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1843 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1844 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1847 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1850 * include/rounding-mode.h: New file.
1851 * sysdeps/generic/get-rounding-mode.h: Likewise.
1852 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1853 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1854 (MAX_VALUE): New macro.
1855 (MIN_VALUE): Likewise.
1856 (overflow_value): New function.
1857 (underflow_value): Likewise.
1858 (round_and_return): Use overflow_value and underflow_value to
1859 determine return values in overflow and underflow cases. Use
1860 round_away to determine rounding depending on rounding mode.
1861 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1862 determine return values in overflow and underflow cases.
1863 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1864 (struct test_results): New structure.
1865 (struct test): Use struct test_results to store expected results
1866 for all rounding modes.
1867 (TEST): Include expected results for all rounding modes.
1868 (test_in_one_mode): New function.
1869 (do_test): Use test_in_one_mode to compute and check results.
1870 Check results for all rounding modes.
1871 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1874 2012-12-09 Allan McRae <allan@archlinux.org>
1876 * sysdeps/i386/fpu/libm-test-ulps: Update
1878 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1880 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1881 (_G_int32_t): Likewise.
1882 (_G_uint16_t): Likewise.
1883 (_G_uint32_t): Likewise.
1884 (_G_HAVE_BOOL): Likewise.
1885 (_G_HAVE_ATEXIT): Likewise.
1886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1887 (_G_HAVE_IO_FILE_OPEN): Likewise.
1888 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1889 (_G_int32_t): Likewise.
1890 (_G_uint16_t): Likewise.
1891 (_G_uint32_t): Likewise.
1892 (_G_HAVE_BOOL): Likewise.
1893 (_G_HAVE_ATEXIT): Likewise.
1894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1895 (_G_HAVE_IO_FILE_OPEN): Likewise.
1896 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1897 (_G_int32_t): Likewise.
1898 (_G_uint16_t): Likewise.
1899 (_G_uint32_t): Likewise.
1900 (_G_HAVE_BOOL): Likewise.
1901 (_G_HAVE_ATEXIT): Likewise.
1902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1903 (_G_HAVE_IO_FILE_OPEN): Likewise.
1905 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1907 * csu/libc-tls.c: Update copyright years.
1909 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1911 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1912 [!_G_USING_THUNKS]: Remove conditional code.
1913 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1914 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1916 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1917 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1918 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1919 (_G_VTABLE_LABEL_PREFIX): Likewise.
1920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1921 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1922 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1923 (_G_VTABLE_LABEL_PREFIX): Likewise.
1924 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1925 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1926 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1927 (_G_VTABLE_LABEL_PREFIX): Likewise.
1928 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1930 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1932 * libio/Makefile: Include ../Makeconfig before tests.
1933 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1934 only if $(build-shared) is yes.
1936 * iconv/gconv_db.c: Update copyright years.
1938 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1940 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1941 unwind info if defined PIC. Fix special cases description.
1942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1944 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1946 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1948 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1950 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1952 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1955 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1956 (LDLIBS-tst-chk4): This.
1957 (LDFLAGS-tst-chk5): Renamed to ...
1958 (LDLIBS-tst-chk5): This.
1959 (LDFLAGS-tst-chk6): Renamed to ...
1960 (LDLIBS-tst-chk6): This.
1961 (LDFLAGS-tst-lfschk4): Renamed to ...
1962 (LDLIBS-tst-lfschk4): This.
1963 (LDFLAGS-tst-lfschk5): Renamed to ...
1964 (LDLIBS-tst-lfschk5): This.
1965 (LDFLAGS-tst-lfschk6): Renamed to ...
1966 (LDLIBS-tst-lfschk6): This.
1968 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1969 on $(common-objpfx)soversions.mk.
1971 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1974 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1977 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1979 * malloc/arena.c (arena_get_retry): New function that gets
1980 another arena for the caller to try its request on.
1981 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1982 current arena cannot fulfill the request.
1983 (__libc_memalign): Likewise.
1984 (__libc_memalign): Likewise.
1985 (__libc_pvalloc): Likewise.
1986 (__libc_calloc): Likewise.
1988 2012-09-05 John Tobey <john.tobey@gmail.com>
1991 * manual/arith.texi (Operations on Complex): Fix description
1994 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1997 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2001 * manual/memory.texi (Memory): Make order of menu items match
2004 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2006 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2007 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2008 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2010 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2012 * csu/libc-tls.c (static_dtv): Renamed to ...
2013 (_dl_static_dtv): This. Make it global.
2014 (_dl_initial_dtv): Removed.
2015 (__libc_setup_tls): Updated.
2016 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2017 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2020 2012-09-06 Petr Machata <pmachata@redhat.com>
2022 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2023 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2024 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2025 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2030 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2031 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2034 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2037 * Makeconfig (link-static-before-libc): Replace $(+prector)
2039 (link-static-after-libc): Replace $(+postctor) with
2041 (link-bounded): Replace $(+prector)/$(+postctor) with
2042 $(+prectorT)/$(+postctorT).
2043 (+prectorT): New macro.
2044 (+postctorT): Likewise.
2046 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2048 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2049 (round_str): Handle values above the maximum for IBM long double
2051 * stdlib/tst-strtod-round.c (tests): Regenerated.
2053 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2055 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2057 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2058 zarch_nohighgprs around the zarch optimized routines.
2059 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2060 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2064 2012-09-05 David S. Miller <davem@davemloft.net>
2066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2068 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2069 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2070 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2076 * malloc/arena.c: Fold copyright years.
2077 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2079 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2083 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2085 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2090 change internal state upon failure.
2092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2094 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2095 * malloc/memusage.c (mmap): Likewise.
2096 (mmap64, mremap): Likewise. Adjust name in comment.
2098 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2100 * libio/fileops.c: Fix typos in comments.
2101 * libio/oldfileops.c: Likewise.
2102 * libio/wfileops.c: Likewise.
2104 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2107 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2108 (tst-malloc-usable-ENV): Set environment for test case.
2109 * malloc/hooks.c (malloc_check_get_size): New function to get
2111 * malloc/malloc.c (musable): Use malloc_check_get_size.
2112 * malloc/tst-malloc-usable.c: New test case.
2114 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2116 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2118 2012-09-05 Allan McRae <allan@archlinux.org>
2121 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2122 determine header location.
2123 * configure: Regenerated.
2125 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2127 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2129 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2130 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2134 2012-09-04 David S. Miller <davem@davemloft.net>
2136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2140 2012-09-04 Florian Weimer <fweimer@redhat.com>
2142 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2145 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2147 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2150 * libio/iogetdelim.c: Include <limits.h>.
2151 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2152 + len + 1 would overflow.
2154 2012-09-03 Andreas Jaeger <aj@suse.de>
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2157 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2162 Add s_sinf-sse2, s_conf-sse2.
2164 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2166 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2167 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2169 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2170 for using routine as __sinf_ia32.
2171 Use macro for function declaration and weak_alias.
2172 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2173 for using routine as __cosf_ia32.
2174 Use macro for function declaration and weak_alias.
2176 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2177 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2179 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2180 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2183 * math/libm-test.inc (cos_test): Add more test cases.
2184 (sin_test): Likewise.
2185 (sincos_test): Likewise.
2187 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2190 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2194 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2197 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2198 first element of the GOT.
2199 (elf_machine_load_address): Return the difference between
2200 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2202 2012-09-01 Allan McRae <allan@archlinux.org>
2205 * configure.in (AWK): Require gawk version 3.0 or later.
2206 * configure: Regenerated.
2208 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2210 * sysdeps/unix/sysv/linux/kernel-features.h
2211 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2213 [__NR_clock_getres]: Make code unconditional.
2214 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2215 (clock_getcpuclockid): Remove code left unreachable by removal of
2217 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2219 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2222 Make code unconditional.
2223 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2224 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2225 * sysdeps/unix/sysv/linux/clock_settime.c
2226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2228 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2231 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2234 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2235 scripts/test-installation.pl.
2237 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2238 and $ld_so_version if it is set.
2240 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2244 failure if reading from procfs failed.
2245 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2247 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2249 * sysdeps/unix/sysv/linux/kernel-features.h
2250 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2251 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2252 Remove conditional code.
2253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2254 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2255 Remove conditional code.
2256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2257 * sysdeps/unix/sysv/linux/i386/fxstat.c
2258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2260 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2263 * sysdeps/unix/sysv/linux/i386/lxstat.c
2264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2266 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2267 Remove conditional code.
2268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2269 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2270 Remove conditional code.
2271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2273 <kernel-features.h>.
2274 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2276 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2277 Remove conditional code.
2278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2279 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2282 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2285 * NEWS: Add fixed bug number.
2287 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2290 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2291 underflowing exponent in case of negative sign.
2292 * stdlib/tst-strtod-round-data: Add more tests.
2293 * stdlib/tst-strtod-round.c (tests): Regenerated.
2296 * stdlib/strtod_l.c (NDIG): Remove.
2297 (HEXNDIG): Likewise.
2298 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2299 smallest representable value.
2300 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2301 lie within an exact representation of 1/2 ulp of the result.
2302 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2304 (TENS_P9_IDX): Define unconditionally.
2305 (TENS_P9_SIZE): Likewise.
2306 (TENS_P10_IDX): Likewise.
2307 (TENS_P10_SIZE): Likewise.
2308 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2309 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2310 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2311 entries for 10^2^13 and 10^2^14.
2312 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2313 (TENS_P13_IDX): Define.
2314 (TENS_P13_SIZE): Likewise.
2315 (TENS_P14_IDX): Likewise.
2316 (TENS_P14_SIZE): Likewise.
2317 (_fpioconst_pow10): Change array size to
2318 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2320 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2321 1024]: Add entries for 10^2^13 and 10^2^14.
2322 [LAST_POW10 > _LAST_POW10]: Remove #error.
2323 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2324 (_fpioconst_pow10): Change array size to
2325 FPIOCONST_POW10_ARRAY_SIZE.
2326 * stdlib/gen-fpioconst.c: New file.
2327 * stdlib/gen-tst-strtod-round.c: Likewise.
2328 * stdlib/tst-strtod-round-data: Likewise.
2329 * stdlib/tst-strtod-round.c: Likewise.
2330 * stdlib/Makefile (tests): Add tst-strtod-round.
2333 * stdlib/strtod_l.c: Include <stdint.h>.
2334 (NDEBUG): Do not define.
2335 (round_and_return): Change EXPONENT parameter to type intmax_t.
2336 Rearrange calculations to avoid internal overflow possibilities.
2337 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2338 Rearrange calculations to avoid internal overflow possibilities.
2339 Assert that number fits inside MPNSIZE limbs.
2340 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2341 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2342 calculations and add assertions to avoid internal overflow
2343 possibilities. Add casts to avoid signed/unsigned operations.
2344 * stdlib/tst-strtod-overflow.c: New file.
2345 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2347 2012-08-25 Marek Polacek <polacek@redhat.com>
2349 * time/time.h: Fix some typos in comments.
2351 2012-08-23 Roland McGrath <roland@hack.frob.com>
2353 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2354 * posix/tst-rfc3484-2.c: Likewise.
2355 * posix/tst-rfc3484-3.c: Likewise.
2357 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2359 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2360 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2362 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2365 #include of fxstatat64.c.
2367 2012-08-22 Roland McGrath <roland@hack.frob.com>
2369 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2370 * shadow/getspent_r.c: Likewise.
2371 * shadow/getspnam.c: Likewise.
2372 * shadow/getspnam_r.c: Likewise.
2373 * gshadow/getsgent.c: Likewise.
2374 * gshadow/getsgent_r.c: Likewise.
2375 * gshadow/getsgnam.c: Likewise.
2376 * gshadow/getsgnam_r.c: Likewise.
2377 * inet/getnetbyad.c: Likewise.
2378 * inet/getnetbyad_r.c: Likewise.
2379 * inet/getnetbynm.c: Likewise.
2380 * inet/getnetbynm_r.c: Likewise.
2381 * inet/getnetent.c: Likewise.
2382 * inet/getnetent_r.c: Likewise.
2383 * inet/getproto.c: Likewise.
2384 * inet/getproto_r.c: Likewise.
2385 * inet/getprtent.c: Likewise.
2386 * inet/getprtent_r.c: Likewise.
2387 * inet/getprtname.c: Likewise.
2388 * inet/getprtname_r.c: Likewise.
2389 * inet/getrpcbyname.c: Likewise.
2390 * inet/getrpcbyname_r.c: Likewise.
2391 * inet/getrpcbynumber.c: Likewise.
2392 * inet/getrpcbynumber_r.c: Likewise.
2393 * inet/getrpcent.c: Likewise.
2394 * inet/getrpcent_r.c: Likewise.
2395 * inet/getaliasent.c: Likewise.
2396 * inet/getaliasent_r.c: Likewise.
2397 * inet/getaliasname.c: Likewise.
2398 * inet/getaliasname_r.c: Likewise.
2399 * nscd/getgrgid_r.c: Likewise.
2400 * nscd/getgrnam_r.c: Likewise.
2401 * nscd/gethstbyad_r.c: Likewise.
2402 * nscd/gethstbynm3_r.c: Likewise.
2403 * nscd/getpwnam_r.c: Likewise.
2404 * nscd/getpwuid_r.c: Likewise.
2405 * nscd/getsrvbynm_r.c: Likewise.
2406 * nscd/getsrvbypt_r.c: Likewise.
2407 * nscd/gai.c: Likewise.
2409 * configure.in (build_nscd): New substituted variable, set
2410 by --disable-build-nscd and defaults to $use_nscd.
2411 * configure: Regenerated.
2412 * config.make.in (build-nscd): New substituted variable.
2413 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2414 Change conditional to require [$(build-nscd) = yes] as well.
2415 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2418 * configure.in (use_nscd): New substituted variable, set by
2419 --disable-nscd. If enabled, define USE_NSCD.
2420 * configure: Regenerated.
2421 * config.h.in: Add USE_NSCD.
2422 * config.make.in (use-nscd): New substituted variable.
2423 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2424 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2425 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2426 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2427 (CFLAGS-getgrnam_r.c): Likewise.
2428 (CFLAGS-initgroups.c): Likewise.
2429 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2430 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2432 * inet/getnetgrent_r.c
2433 (nscd_setnetgrent): New function, broken out of ...
2434 (setnetgrent): ... here. Call it.
2435 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2436 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2437 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2438 * nscd/Makefile (routines, aux): Move definitions after include of
2439 Makeconfig. Conditionalize on [$(use-nscd) != no].
2440 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2441 Conditionalize on [USE_NSCD].
2442 (is_nscd, nscd_init_cb): Likewise.
2443 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2444 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2445 * nss/nss_db/db-init.c: Likewise.
2446 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2448 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2449 (make_request): Use it.
2450 (cache_valid_p): New function.
2451 (__check_pf): Use it.
2452 * NEWS: Add item for --disable-nscd.
2454 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2456 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2457 to support sed >= 4.2.1-20-ga9bf076.
2458 * configure: Regenerated.
2460 2012-08-22 Roland McGrath <roland@hack.frob.com>
2462 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2463 Conditionalize whole body on [IREL].
2465 2012-08-22 Jeff Law <law@redhat.com>
2468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2469 if the family is PF_UNSPEC.
2471 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2473 * Makerules (lib-version): Rename from V.
2474 (install-lib-nosubdir): Change V to lib-version.
2476 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2479 * powerpc32/power6/wcschr.c: New file.
2480 * powerpc32/power6/wcscpy.c: New file.
2481 * powerpc32/power6/wcsrchr.c: New file.
2482 * powerpc64/power6/wcschr.c: New file.
2483 * powerpc64/power6/wcscpy.c: New file.
2484 * powerpc64/power6/wcsrchr.c: New file.
2486 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2488 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2489 (two_way_short_needle): Use it.
2490 * string/strstr.c (AVAILABLE1_USES_J): Define.
2491 * string/strcasestr.c: Likewise.
2493 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2495 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2498 * NEWS: Add an entry.
2499 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2500 define their defaults.
2501 (two_way_short_needle): Detect end-of-string on-the-fly.
2502 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2503 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2504 * string/bug-strcasestr1.c: New test.
2505 * string/Makefile: Run it.
2507 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2510 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2511 the first character.
2513 2012-08-21 Roland McGrath <roland@hack.frob.com>
2515 * csu/elf-init.c (__libc_csu_irel): Function removed.
2516 * csu/libc-start.c (apply_irel): New function.
2517 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2519 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2521 * sysdeps/unix/sysv/linux/kernel-features.h
2522 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2523 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2524 <kernel-features.h>.
2525 [__NR_fadvise64_64]: Make code unconditional.
2526 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2527 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2528 !__NR_fadvise64_64)]: Likewise.
2529 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2530 !__NR_fadvise64_64))]: Likewise.
2531 [__NR_fadvise64]: Make code unconditional.
2532 [!__NR_fadvise64]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2534 <kernel-features.h>.
2535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2540 not include <kernel-features.h>.
2541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2546 include <kernel-features.h>.
2547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2552 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2555 slight instruction rearrangements per scrollpipe analysis.
2556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2558 2012-08-20 Roland McGrath <roland@hack.frob.com>
2560 * manual/syslog.texi (syslog; vsyslog, closelog):
2561 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2562 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2564 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2565 DSOCAPS to match condition on defining it.
2567 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2569 * sysdeps/unix/sysv/linux/kernel-features.h
2570 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2582 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2584 * sysdeps/unix/sysv/linux/kernel-features.h
2585 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2586 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2588 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2589 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2590 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2591 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2592 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2593 Make code unconditional.
2594 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2595 (__mmap64) [!__NR_mmap2]: Likewise.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2600 [__NR_mmap2]: Make code unconditional.
2601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2602 (__mmap64) [!__NR_mmap2]: Likewise.
2604 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2606 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2608 2012-08-18 Andreas Jaeger <aj@suse.de>
2610 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2612 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2614 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2615 * include/unistd.h (__have_sock_cloexec): Likewise.
2616 (__have_pipe2): Likewise.
2617 (__have_dup3): Likewise.
2619 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2622 * include/unistd.h (__have_pipe2): Change define into an extern int.
2623 (__have_dup3): Likewise.
2624 * socket/have_sock_cloexec.c: Include fcntl.h.
2625 (__have_pipe2): New variable.
2626 (__have_dup3): Likewise.
2628 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2630 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2632 2012-08-17 Marek Polacek <polacek@redhat.com>
2634 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2635 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2637 2012-08-17 Roland McGrath <roland@hack.frob.com>
2639 * configure.in: Add AC_SUBST for sysheaders.
2640 * configure: Regenerated.
2641 * config.make.in (sysheaders): New substituted variable.
2643 * sysdeps/unix/mkfifo.c: Moved ...
2644 * sysdeps/posix/mkfifo.c: ... here.
2645 * sysdeps/unix/mkfifoat.c: Moved ...
2646 * sysdeps/posix/mkfifoat.c: ... here.
2648 * sysdeps/unix/utime.c: Moved ...
2649 * sysdeps/posix/utime.c: ... here.
2651 * sysdeps/unix/time.c: Moved ...
2652 * sysdeps/posix/time.c: ... here.
2653 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2656 * sysdeps/unix/nice.c: Moved ...
2657 * sysdeps/posix/nice.c: ... here.
2659 * sysdeps/unix/alarm.c: Moved ...
2660 * sysdeps/posix/alarm.c: ... here.
2662 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2664 2012-08-17 Jeff Law <law@redhat.com>
2666 * intl/Makefile (codeset_mo): New variable.
2667 ($(codeset_mo)): New target.
2668 (tst-codeset.out): Depend on that. Remove explicit rule.
2669 (tst-gettext3.out, tst-gettext5.out): Likewise.
2670 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2671 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2672 * intl/tst-codeset.sh: Remove.
2673 * intl/tst-gettext3.sh: Likewise.
2674 * intl/tst-gettext5.sh: Likewise.
2676 2012-08-17 Roland McGrath <roland@hack.frob.com>
2678 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2679 * sysdeps/unix/syscalls.list: ... here.
2681 * sysdeps/posix/getaddrinfo.c
2682 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2683 (gaiconf_init, gaiconf_reload): Use them.
2685 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2686 Define using time_t rather than struct timespec.
2688 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2689 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2691 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2693 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2694 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2698 __libc_cleanup_push argument.
2700 * bits/param.h: New file.
2701 * misc/sys/param.h: New file.
2702 * include/sys/param.h: New file.
2703 * misc/Makefile (headers): Add bits/param.h.
2704 * sysdeps/generic/sys/param.h: File removed.
2705 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2706 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2707 * sysdeps/mach/hurd/bits/param.h: New file.
2708 * sysdeps/mach/hurd/sys/param.h: File removed.
2710 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2713 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2715 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2716 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2719 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2720 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2721 rather than -D_IO_MTSAFE_IO conditionally.
2722 * stdio-common/Makefile (CPPFLAGS): Likewise.
2723 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2724 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2725 Use $(libio-mtsafe).
2726 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2728 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2729 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2730 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2731 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2732 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2733 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2734 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2735 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2736 (CFLAGS-fread_u_chk.c): Likewise.
2737 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2738 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2739 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2740 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2741 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2742 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2743 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2744 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2745 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2747 * libio/Makefile: Test [$(libc-reentrant) = yes]
2748 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2751 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2752 * sysdeps/pthread/configure: File removed.
2753 * sysdeps/pthread/Makeconfig: New file.
2754 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2755 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2757 2012-08-16 Gary Benson <gbenson@redhat.com>
2759 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2760 unmapping the first object in a namespace.
2762 2012-08-16 Roland McGrath <roland@hack.frob.com>
2764 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2765 (__internal_setnetgrent): ... this. Add internal_function to
2766 definition. Add libc_hidden_def.
2767 (setnetgrent): Update caller.
2768 (internal_endnetgrent): Renamed to ...
2769 (__internal_endnetgrent): ... this. Add internal_function to
2770 definition. Add libc_hidden_def.
2771 (endnetgrent): Update caller.
2772 (internal_getnetgrent_r): Renamed to ...
2773 (__internal_getnetgrent_r): ... this. Add internal_function to
2774 definition. Add libc_hidden_def.
2775 (__getnetgrent_r): Update caller.
2776 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2778 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2780 * stdlib/longlong.h: Update from GCC.
2782 2012-08-16 Roland McGrath <roland@hack.frob.com>
2784 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2785 on _QL, which is set by umul_ppmm but never used.
2786 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2787 variables, which are set by GMP macros but never used.
2788 * stdio-common/_itowa.c (_itowa): Likewise.
2789 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2790 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2792 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2794 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2795 struct La_sh_regs is not constant.
2796 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2797 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2798 and struct La_sparc64_regs are not constant.
2800 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2802 * sysdeps/unix/sysv/linux/kernel-features.h
2803 (__ASSUME_POSIX_TIMERS): Remove.
2804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2806 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2807 Make code unconditional.
2808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2809 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2810 Make code unconditional.
2811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2812 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2813 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2815 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2816 Make code unconditional.
2817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2818 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2819 (__libc_missing_posix_timers): Remove.
2821 2012-08-15 Roland McGrath <roland@hack.frob.com>
2823 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2824 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2826 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2828 * elf/dl-sym.c: Include <stdlib.h>.
2830 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2831 constants, which avoids warnings in 32-bit builds.
2833 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2834 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2836 * misc/lseek.c: File moved to ...
2837 * io/lseek.c: ... here.
2839 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2841 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2842 shifting LEN more than 31 bits at once.
2844 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2847 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2848 segmentation fault for a case of two empty input strings.
2849 * string/test-strncasecmp.c (check1): Renamed to...
2851 (bz14195): Add new testcase for two empty input strings and N > 0.
2852 (test_main): Call new testcase, adapt for renamed function.
2854 2012-08-15 Andreas Jaeger <aj@suse.de>
2857 * crypt/md5test2.c: New test, based on test supplied by Serge
2858 Belyshev <belyshev@depni.sinp.msu.ru>.
2859 * crypt/Makefile (xtests): Add md5test-giant..
2860 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2862 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2865 * crypt/md5.c (md5_process_block): Don't assume the buffer
2866 length is less than 2**32.
2867 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2868 length is less than 2**64.
2870 2012-08-15 Roland McGrath <roland@hack.frob.com>
2872 * string/str-two-way.h: Include <sys/param.h>.
2873 (MAX): Macro removed.
2875 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2876 Move #define and #undef of memmove to just before and after
2877 including <string.h>.
2879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2880 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2881 and after including <string.h>. Move declarations of
2882 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2883 to before #include "string/memmove.c".
2885 * include/dirent.h: Declare __getdirentries.
2887 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2888 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2890 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2892 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2893 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2894 * sysdeps/i386/configure: Regenerated.
2895 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2896 STABS_CURRENT_FILE, and STABS_FUN.
2897 (END): Remove call to STABS_FUN_END.
2898 (STABS_CURRENT_FILE1): Delete.
2899 (STABS_CURRENT_FILE): Likewise.
2900 (STABS_FUN): Likewise.
2901 (STABS_FUN_END): Likewise.
2902 (STABS_FUN2): Likewise.
2903 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2904 * sysdeps/x86_64/configure: Regenerated.
2906 2012-08-14 Roland McGrath <roland@hack.frob.com>
2908 * elf/dl-open.c: Include <atomic.h>.
2909 * elf/dl-lookup.c: Likewise.
2911 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2913 * sysdeps/unix/sysv/linux/kernel-features.h
2914 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2915 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2917 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2919 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2920 condition on __ASSUME_CLONE_THREAD_FLAGS.
2922 2012-08-14 Andreas Jaeger <aj@suse.de>
2924 * sysdeps/i386/fpu/libm-test-ulps: Update.
2926 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2928 * include/atomic.h (atomic_exchange_and_add): Split into ...
2929 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2932 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2936 2012-08-13 Jeff Law <law@redhat.com>
2938 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2939 null byte in the output string.
2941 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2943 * sysdeps/unix/sysv/linux/kernel-features.h
2944 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2945 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2946 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2948 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2949 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2950 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2952 2012-08-09 Jeff Law <law@redhat.com>
2955 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2956 When avoid_arena is set, don't retry in the that arena. Pick the
2957 next one, whatever it might be.
2958 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2959 (arena_lock): Pass in new parameter to arena_get2.
2960 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2962 (__libc_malloc): Unify retrying after main arena failure with
2963 __libc_memalign version.
2964 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2966 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2969 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2970 to __redirect_strstr.
2971 (__strstr_sse42): Use typeof __redirect_strstr.
2972 (__strstr_ia32): Likewise.
2973 (__libc_strstr): New prototype.
2974 (strstr): Renamed to ...
2975 (__libc_strstr): This.
2976 (strstr): New strong alias of __libc_strstr.
2977 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2978 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2981 (__libc_time): New prototype.
2982 (time_ifunc): Replace time with __libc_time.
2983 (time): New strong alias and hidden definition of __libc_time.
2984 (__GI_time): Remove strong alias.
2985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2987 (memmove): Redefined to __redirect_memmove.
2988 (__memmove_sse2): Use typeof __redirect_memmove.
2989 (__memmove_ssse3): Likewise.
2990 (__memmove_ssse3_back): Likewise.
2991 (__libc_memmove): New prototype.
2992 (memmove): Renamed to ...
2993 (__libc_memmove): This.
2994 (memmove): New strong alias of __libc_memmove.
2996 2012-08-08 Mark Salter <msalter@redhat.com>
2999 (R_MN10300_TLS_GD): Define.
3000 (R_MN10300_TLS_LD): Likewise.
3001 (R_MN10300_TLS_LDO): Likewise.
3002 (R_MN10300_TLS_GOTIE): Likewise.
3003 (R_MN10300_TLS_IE): Likewise.
3004 (R_MN10300_TLS_LE): Likewise.
3005 (R_MN10300_TLS_DTPMOD): Likewise.
3006 (R_MN10300_TLS_DTPOFF): Likewise.
3007 (R_MN10300_TLS_TPOFF): Likewise.
3008 (R_MN10300_SYM_DIFF): Likewise.
3009 (R_MN10300_ALIGN): Likewise.
3010 (R_MN10300_NUM): Update.
3012 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3017 2012-08-08 Roland McGrath <roland@hack.frob.com>
3019 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3021 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3022 sysdeps/unix -> sysdeps/posix move.
3023 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3025 2012-08-07 Allan McRae <allan@archlinux.org>
3028 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3029 (SUNOS_CPP): Likewise.
3030 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3032 (open_input): Call CPP using execvp.
3034 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3036 * sysdeps/unix/sysv/linux/kernel-features.h
3037 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3038 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3039 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3040 (__ASSUME_WAITID_SYSCALL): Likewise.
3041 * sysdeps/unix/sysv/linux/dl-execstack.c
3042 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3044 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3046 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3047 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3048 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3050 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3052 [__ASSUME_WAITID_SYSCALL]: Likewise.
3053 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3055 2012-08-07 Roland McGrath <roland@hack.frob.com>
3057 * sysdeps/unix/closedir.c: Renamed to ...
3058 * sysdeps/posix/closedir.c: ... here.
3059 * sysdeps/unix/dirfd.c: Renamed to ...
3060 * sysdeps/posix/dirfd.c: ... here.
3061 * sysdeps/unix/dirstream.h: Renamed to ...
3062 * sysdeps/posix/dirstream.h: ... here.
3063 * sysdeps/unix/fdopendir.c: Renamed to ...
3064 * sysdeps/posix/fdopendir.c: ... here.
3065 * sysdeps/unix/opendir.c: Renamed to ...
3066 * sysdeps/posix/opendir.c: ... here.
3067 * sysdeps/unix/readdir.c: Renamed to ...
3068 * sysdeps/posix/readdir.c: ... here.
3069 * sysdeps/unix/readdir_r.c: Renamed to ...
3070 * sysdeps/posix/readdir_r.c: ... here.
3071 * sysdeps/unix/rewinddir.c: Renamed to ...
3072 * sysdeps/posix/rewinddir.c: ... here.
3073 * sysdeps/unix/seekdir.c: Renamed to ...
3074 * sysdeps/posix/seekdir.c: ... here.
3075 * sysdeps/unix/telldir.c: Renamed to ...
3076 * sysdeps/posix/telldir.c: ... here.
3077 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3078 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3079 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3080 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3082 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3083 * bits/fcntl.h: ... here.
3085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3087 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3088 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3089 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3090 (struct flock): Move l_start, l_len to the beginning.
3091 Use __pid_t for l_pid.
3092 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3093 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3094 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3095 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3096 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3097 [__USE_LARGEFILE64] (struct flock64): New type.
3098 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3100 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3101 * bits/dirent.h: ... here.
3103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3104 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3106 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3109 Change from 2.6.0 to 2.6.16.
3110 * sysdeps/unix/sysv/linux/configure: Regenerated.
3111 * sysdeps/unix/sysv/linux/kernel-features.h
3112 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3113 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3115 (__ASSUME_UTIMES): Likewise.
3116 (__ASSUME_CLONE_STOPPED): Remove.
3117 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3118 architectures, not kernel version.
3119 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3120 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3121 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3122 (__ASSUME_WAITID_SYSCALL): Likewise.
3123 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3124 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3125 * README: State 2.6.16 as minimum Linux kernel version. Do not
3126 refer to older versions.
3128 2012-08-06 Roland McGrath <roland@hack.frob.com>
3130 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3131 Define alphasort64 as an alias.
3132 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3133 Define versionsort64 as an alias.
3134 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3135 Define scandir64 as an alias.
3136 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3137 Define scandirat64 as an alias.
3138 * dirent/alphasort64.c (alphasort64):
3139 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3140 * dirent/versionsort64.c: Likewise.
3141 * dirent/scandir64.c: Likewise.
3142 * dirent/scandirat64.c: Likewise.
3143 * sysdeps/wordsize-64/alphasort.c: File removed.
3144 * sysdeps/wordsize-64/alphasort64.c: File removed.
3145 * sysdeps/wordsize-64/scandir.c: File removed.
3146 * sysdeps/wordsize-64/scandir64.c: File removed.
3147 * sysdeps/wordsize-64/scandirat.c: File removed.
3148 * sysdeps/wordsize-64/scandirat64.c: File removed.
3149 * sysdeps/wordsize-64/versionsort.c: File removed.
3150 * sysdeps/wordsize-64/versionsort64.c: File removed.
3151 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3160 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3162 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3164 [defined __arch64__ || defined __sparcv9]
3165 (__INO_T_MATCHES_INO64_T): New macro.
3166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3167 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3168 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3169 * sysdeps/unix/sysv/linux/bits/dirent.h
3170 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3171 (_DIRENT_MATCHES_DIRENT64): New macro.
3173 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3174 Define lockf64 as an alias.
3175 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3176 Define fseeko64 as an alias.
3177 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3178 Define ftello64 as an alias.
3179 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3180 Define _IO_fgetpos64 and fgetpos64 as aliases.
3181 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3182 Define _IO_fsetpos64 and fsetpos64 as aliases.
3183 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3184 Conditionalize body on this.
3185 * libio/fseeko64.c: Likewise.
3186 * libio/ftello64.c: Likewise.
3187 * libio/iofgetpos64.c: Likewise.
3188 * libio/iofsetpos64.c: Likewise.
3189 * sysdeps/wordsize-64/lockf.c: File removed.
3190 * sysdeps/wordsize-64/lockf64.c: File removed.
3191 * sysdeps/wordsize-64/fseeko.c: File removed.
3192 * sysdeps/wordsize-64/fseeko64.c: File removed.
3193 * sysdeps/wordsize-64/ftello.c: File removed.
3194 * sysdeps/wordsize-64/ftello64.c: File removed.
3195 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3196 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3197 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3198 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3199 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3208 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3210 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3212 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3214 [defined __arch64__ || defined __sparcv9]
3215 (__OFF_T_MATCHES_OFF64_T): New macro.
3216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3217 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3219 (__OFF_T_MATCHES_OFF64_T): New macro.
3221 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3223 * stdlib/secure-getenv.c (__secure_getenv): Replace
3224 GLIBC_2_16 with GLIBC_2_17.
3226 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3229 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3231 2012-08-03 David S. Miller <davem@davemloft.net>
3233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3235 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3239 (__ASSUME_CORRECT_SI_PID): Likewise.
3240 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3241 (__ASSUME_TMPFS_NAME): Likewise.
3242 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3243 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3244 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3245 (HAVE_AUX_SECURE): Make definition unconditional.
3246 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3247 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3249 2012-08-03 Roland McGrath <roland@hack.frob.com>
3251 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3252 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3253 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3254 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3255 __eloop_threshold instead of SYMLOOP_MAX.
3257 * sysdeps/generic/eloop-threshold.h: New file.
3258 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3260 * elf/chroot_canon.c (chroot_canon): Likewise.
3262 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3266 Change to 2.6.0 everywhere.
3267 * sysdeps/unix/sysv/linux/configure: Regenerated.
3268 * sysdeps/unix/sysv/linux/kernel-features.h
3269 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3270 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3272 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3273 (__ASSUME_FUTEX_REQUEUE): Remove.
3274 (__ASSUME_STATFS64): Define unconditionally.
3275 (__ASSUME_AT_SECURE): Likewise.
3276 (__ASSUME_CORRECT_SI_PID): Likewise.
3277 (__ASSUME_TGKILL): Define without depending on kernel version for
3279 (__ASSUME_UTIMES): Likewise.
3280 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3282 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3283 (__ASSUME_TMPFS_NAME): Likewise.
3284 * README: Update reference to Linux kernel versions.
3286 2012-08-02 Marek Polacek <polacek@redhat.com>
3289 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3290 libc_cv_asm_type_prefix with %.
3291 * configure: Regenerated.
3292 * include/libc-symbols.h: Remove comment about
3293 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3294 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3295 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3296 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3297 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3298 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3299 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3300 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3301 * elf/tst-unique2mod1.c: Likewise.
3302 * elf/tst-unique1mod2.c: Likewise.
3303 * elf/tst-unique1mod1.c: Likewise.
3304 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3305 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3306 Replace ASM_TYPE_DIRECTIVE with .type.
3307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3308 * sysdeps/i386/sysdep.h: Likewise.
3309 * sysdeps/x86_64/sysdep.h: Likewise.
3310 * sysdeps/sh/sysdep.h: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3312 Do not define ASM_TYPE_DIRECTIVE.
3313 * sysdeps/powerpc/sysdep.h: Likewise.
3314 * sysdeps/powerpc/powerpc32/sysdep.h:
3315 Replace ASM_TYPE_DIRECTIVE with .type.
3316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3317 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3318 * sysdeps/i386/fpu/e_powf.S: Likewise.
3319 * sysdeps/i386/fpu/e_expl.S: Likewise.
3320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3322 * sysdeps/i386/fpu/e_pow.S: Likewise.
3323 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3325 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3326 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3327 * sysdeps/i386/fpu/e_log2.S: Likewise.
3328 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3330 * sysdeps/i386/fpu/e_powl.S: Likewise.
3331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3333 * sysdeps/i386/fpu/e_logl.S: Likewise.
3334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3335 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3336 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3337 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3338 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3339 * sysdeps/i386/fpu/e_log.S: Likewise.
3340 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3341 * sysdeps/i386/fpu/e_logf.S: Likewise.
3342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3345 * sysdeps/i386/fpu/e_log10.S: Likewise.
3346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3353 * sysdeps/i386/i686/strtok.S: Likewise.
3354 * sysdeps/i386/i386-mcount.S: Likewise.
3355 * sysdeps/i386/strtok.S: Likewise.
3356 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3357 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3359 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3362 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3363 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3365 * sysdeps/x86_64/_mcount.S: Likewise.
3366 * sysdeps/x86_64/strtok.S: Likewise.
3367 * sysdeps/sh/_mcount.S: Likewise.
3369 2012-08-01 Roland McGrath <roland@hack.frob.com>
3371 * libio/iofopen.c: Include <fcntl.h>.
3372 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3373 (_IO_fopen64, fopen64): Define as aliases.
3374 * libio/iofopen64.c: Include <fcntl.h>.
3375 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3376 Conditionalize body on this.
3377 * sysdeps/wordsize-64/iofopen.c: File removed.
3378 * sysdeps/wordsize-64/iofopen64.c: File removed.
3380 2012-08-01 Marek Polacek <polacek@redhat.com>
3382 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3383 Use dlfcn directly instead of a variable.
3384 (binfmt-subdir): Do not define.
3387 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3390 Remove all definitions.
3391 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3392 <kernel-features.h>.
3393 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3394 (miss_F_GETOWN_EX): Remove all definitions.
3395 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3397 [!__ASSUME_FCNTL64]: Remove conditional code.
3398 [__ASSUME_FCNTL64]: Make code unconditional.
3399 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3400 <kernel-features.h>.
3401 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3402 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3403 (lockf64) [__NR_fcntl64]: Make code unconditional.
3404 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3406 * sysdeps/unix/sysv/linux/kernel-features.h
3407 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3408 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3409 Make code unconditional.
3410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3413 [__NR_vfork]: Make code unconditional.
3414 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3415 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3417 [__NR_vfork]: Make code unconditional.
3418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3421 2012-08-01 Roland McGrath <roland@hack.frob.com>
3423 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3424 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3426 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3427 Define mkstemp64 as an alias.
3428 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3429 Define mkstemps64 as an alias.
3430 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3431 Define mkostemp64 as an alias.
3432 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3433 Define mkostemps64 as an alias.
3434 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3435 Conditionalize body on this.
3436 * misc/mkostemp64.c: Likewise.
3437 * misc/mkostemps64.c: Likewise.
3438 * misc/mkstemps64.c: Likewise.
3439 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3440 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3441 * sysdeps/wordsize-64/mkostemp.c: File removed.
3442 * sysdeps/wordsize-64/mkstemp.c: File removed.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3449 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3451 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3452 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3454 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3455 compat_symbol macros from <shlib-compat.h> rather than the underlying
3456 default_symbol_version and symbol_version macros, so that DEFAULT
3457 lines in shlib-versions are respected.
3458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3460 2012-08-01 Florian Weimer <fweimer@redhat.com>
3462 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3463 Declare with warn_unused_result.
3464 (setgid, setregid, setegid, setresgid): Likewise.
3465 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3467 * WUR-REPORT: Remove set*id functions.
3469 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3471 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3473 2012-07-31 Roland McGrath <roland@hack.frob.com>
3475 * include/sys/socket.h (__libc_accept, __libc_accept4):
3476 Add attribute_hidden.
3477 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3479 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3481 * inet/getnetgrent_r.c (setup): Likewise.
3483 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3485 2012-07-31 David S. Miller <davem@davemloft.net>
3487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3489 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3492 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3493 value between 1.0 and 2.0 and smaller part has absolute value less
3495 * math/s_clog10.c (__clog10): Likewise.
3496 * math/s_clog10f.c (__clog10f): Likewise.
3497 * math/s_clog10l.c (__clog10l): Likewise.
3498 * math/s_clogf.c (__clogf): Likewise.
3499 * math/s_clogl.c (__clogl): Likewise.
3500 * math/libm-test.inc (clog_test): Add more tests.
3501 (clog10_test): Likewise.
3502 * sysdeps/i386/fpu/libm-test-ulps: Update.
3503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3505 2012-07-31 Florian Weimer <fweimer@redhat.com>
3507 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3508 Exit with zero in case no suitable GID is found, and write a
3509 message to standard error.
3511 2012-07-30 Roland McGrath <roland@hack.frob.com>
3513 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3515 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3516 (MAXPATHLEN): Removed.
3517 (NOGROUP, NODEV): New macros.
3518 (setbit, clrbit, isset, isclr): New macros.
3519 (howmany, roundup, powerof2): New macros.
3520 (DEV_BSIZE): New macro.
3522 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3523 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3525 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3526 definition on [!__NO_LONG_DOUBLE_MATH].
3528 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3529 PTR_MANGLE and PTR_DEMANGLE.
3531 * socket/accept4.c (accept4): Rename to __libc_accept4.
3532 Define accept4 as a weak alias.
3534 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3535 on [_DIRENT_HAVE_D_TYPE].
3536 * io/ftw.c (ftw_dir): Likewise.
3538 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3540 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3542 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3543 Use the BSD numbers rather than the arbitrary ones we had.
3544 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3545 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3546 (SIGXCPU, SIGXFSZ): New macros.
3549 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3550 initializer on [_LIBC_REENTRANT].
3552 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3553 definitions inside [_POSIX_MAPPED_FILES].
3555 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3557 * dirent/opendir.c: Include <fcntl.h>.
3559 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3560 (__libc_getspecific): Likewise.
3561 (__libc_key_create): Likewise.
3563 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3564 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3565 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3566 (tmpfile64): Define as alias.
3567 * sysdeps/wordsize-64/tmpfile.c: File removed.
3568 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3569 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3570 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3572 * stdio-common/vfscanf.c: Include <stdbool.h>.
3573 * nss/makedb.c: Likewise.
3574 * stdio-common/_i18n_number.h: Likewise.
3575 * argp/argp-help.c: Likewise.
3576 * posix/wordexp.c: Likewise.
3577 * sysdeps/posix/spawni.c: Likewise.
3578 * nss/nss_files/files-initgroups.c: Likewise.
3579 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3580 * nss/nss_files/files-initgroups.c: Likewise.
3581 * nss/nss_db/db-netgrp.c: Likewise.
3582 * nss/nss_db/db-initgroups.c: Likewise.
3583 * io/fchmodat.c: Include <sys/stat.h>.
3585 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3586 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3588 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3591 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3592 Add multiple inclusion protection.
3594 2012-07-27 David S. Miller <davem@davemloft.net>
3596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3598 2012-07-27 Gary Benson <gbenson@redhat.com>
3601 * elf/rtld.c: Include <stap-probe.h>.
3602 (dl_main): Added static probes "init_start" and "init_complete".
3603 * elf/dl-load.c: Include <stap-probe.h>.
3604 (lose): Take new parameter "nsid".
3605 Added static probe "map_failed".
3606 (_dl_map_object_from_fd): Pass namespace id to lose.
3607 Added static probe "map_start".
3608 (open_verify): Pass namespace id to lose.
3609 * elf/dl-open.c: Include <stap-probe.h>.
3610 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3611 and "reloc_complete".
3612 * elf/dl-close.c: Include <stap-probe.h>.
3613 (_dl_close_worker): Added static probes "unmap_start" and
3615 * elf/rtld-debugger-interface.txt: New file documenting the above.
3617 2012-07-26 Roland McGrath <roland@hack.frob.com>
3619 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3620 rather than a string variable.
3621 * sunrpc/rpc_main.c (h_output): Likewise.
3622 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3624 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3626 * inet/check_native.c: New file.
3628 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3631 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3632 if larger part has absolute value 1.0.
3633 * math/s_clog10.c (__clog10): Likewise.
3634 * math/s_clog10f.c (__clog10f): Likewise.
3635 * math/s_clog10l.c (__clog10l): Likewise.
3636 * math/s_clogf.c (__clogf): Likewise.
3637 * math/s_clogl.c (__clogl): Likewise.
3638 * math/libm-test.inc (clog_test): Add more tests.
3639 (clog10_test): Likewise.
3640 * sysdeps/i386/fpu/libm-test-ulps: Update.
3641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3644 (pltexit): Likewise.
3645 (La_regs): Likewise.
3646 (La_retval): Likewise.
3647 (int_retval): Likewise.
3648 Update #error for removed macros to refer only to definitions in
3650 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3652 (pltexit): Likewise.
3653 (La_regs): Likewise.
3654 (La_retval): Likewise.
3655 (int_retval): Likewise.
3656 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3658 (pltexit): Likewise.
3659 (La_regs): Likewise.
3660 (La_retval): Likewise.
3661 (int_retval): Likewise.
3662 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3664 (pltexit): Likewise.
3665 (La_regs): Likewise.
3666 (La_retval): Likewise.
3667 (int_retval): Likewise.
3668 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3670 (pltexit): Likewise.
3671 (La_regs): Likewise.
3672 (La_retval): Likewise.
3673 (int_retval): Likewise.
3674 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3676 (pltexit): Likewise.
3677 (La_regs): Likewise.
3678 (La_retval): Likewise.
3679 (int_retval): Likewise.
3680 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3682 (pltexit): Likewise.
3683 (La_regs): Likewise.
3684 (La_retval): Likewise.
3685 (int_retval): Likewise.
3686 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3687 macro definitions in tst-audit.h.
3688 * sysdeps/i386/tst-audit.h: New file.
3689 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3690 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3691 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3692 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3693 * sysdeps/sh/tst-audit.h: Likewise.
3694 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3695 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3696 * sysdeps/x86_64/tst-audit.h: Likewise.
3698 2012-07-26 Andreas Jaeger <aj@suse.de>
3700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3703 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3704 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3705 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3707 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3711 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3714 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3716 (si_call_addr, si_syscall, si_arch): Define new macro.
3717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3719 (si_call_addr, si_syscall, si_arch): Define new marcro.
3720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3722 (si_call_addr, si_syscall, si_arch): Define new macro.
3723 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3725 (si_call_addr, si_syscall, si_arch): Define new macro.
3727 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3731 Change to 2.4.21 where previously 2.4.1.
3732 * sysdeps/unix/sysv/linux/configure: Regenerated.
3733 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3734 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3735 Linux kernel version.
3736 (__ASSUME_STD_AUXV): Remove.
3737 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3739 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3740 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3741 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3742 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3743 (__ASSUME_NETLINK_SUPPORT): Likewise.
3744 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3745 (__no_netlink_support): Remove conditional definition.
3746 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3748 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3749 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3750 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3751 (if_nameindex_ioctl): Remove.
3752 (if_nameindex_netlink): Do not handle __no_netlink_support.
3753 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3755 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3756 Remove conditional code.
3757 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3759 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3761 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3762 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3763 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3765 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3766 [!__ASSUME_STD_AUXV]: Remove conditional code.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3768 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3769 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3771 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3772 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3774 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3776 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3777 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3779 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3781 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3784 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3787 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3789 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3791 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3793 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3796 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3798 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3801 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3803 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3805 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3807 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3810 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3812 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3814 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3816 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3819 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3821 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3822 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3823 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3824 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3825 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3826 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3828 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3829 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3830 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3831 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3832 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3833 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3834 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3835 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3836 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3837 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3841 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3842 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3845 2012-07-25 Florian Weimer <fweimer@redhat.com>
3847 * Versions.def: Add GLIBC_2.17.
3848 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3849 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3850 Introduce __libc_secure_getenv.
3851 * stdlib/Versions (2.17): Add secure_getenv
3852 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3853 * stdlib/secure-getenv.c: Rename __secure_getenv to
3854 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3855 symbol __secure_getenv for GLIBC_2.0.
3856 * stdlib/tst-secure-getenv.c: New.
3857 * stdlib/Makefile (tests): Add testcase.
3858 * manual/startup.texi (Environment Access): Document
3860 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3861 __libc_secure_getenv.
3862 * inet/ruserpass.c (ruserpass): Likewise.
3863 * malloc/mtrace.c (mtrace): Likewise.
3864 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3865 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3866 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3867 * sysdeps/posix/tempname.c: Likewise. Evaluate
3869 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3870 __secure_getenv to __libc_secure_getenv.
3871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3884 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3886 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3887 (struct La_i86_retval): Likewise.
3888 (struct La_x86_64_regs): Likewise.
3889 (struct La_x86_64_retval): Likewise.
3890 (struct La_x32_regs): Likewise.
3891 (struct La_x32_retval): Likewise.
3892 (struct La_ppc32_regs): Likewise.
3893 (struct La_ppc32_retval): Likewise.
3894 (struct La_ppc64_regs): Likewise.
3895 (struct La_ppc64_retval): Likewise.
3896 (struct La_sh_regs): Likewise.
3897 (struct La_sh_retval): Likewise.
3898 (struct La_s390_32_regs): Likewise.
3899 (struct La_s390_32_retval): Likewise.
3900 (struct La_s390_64_regs): Likewise.
3901 (struct La_s390_64_retval): Likewise.
3902 (struct La_sparc32_regs): Likewise.
3903 (struct La_sparc32_retval): Likewise.
3904 (struct La_sparc64_regs): Likewise.
3905 (struct La_sparc64_retval): Likewise.
3906 (struct audit_ifaces): Remove architecture-specific pltenter and
3908 * sysdeps/i386/ldsodefs.h: New file.
3909 * sysdeps/powerpc/ldsodefs.h: Likewise.
3910 * sysdeps/s390/ldsodefs.h: Likewise.
3911 * sysdeps/sh/ldsodefs.h: Likewise.
3912 * sysdeps/sparc/ldsodefs.h: Likewise.
3913 * sysdeps/x86_64/ldsodefs.h: Likewise.
3915 2012-07-25 Marek Polacek <polacek@redhat.com>
3918 * math/libm-test.inc (yn_test): Add another test.
3919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3920 to ERANGE when the result is +-Inf.
3921 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3922 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3923 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3924 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3926 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3928 * conform/data/time.h-data (NULL): Use macro-constant. Require
3930 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3932 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3934 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3936 * configure.in <sysdeps resolving>: Correct printing
3938 * configure: Regenerate.
3940 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3942 * math/w_ilogb.c: Include <limits.h>.
3943 * math/w_ilogbl.c: Likewise.
3945 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3947 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3948 va_copy. Document allowing for unavailable va_copy only as
3949 pre-C99 compatibility.
3950 * manual/string.texi (Copying and Concatenation): Use va_copy
3951 instead of __va_copy in concat example.
3953 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3955 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3956 (__sendto): Use create_address_port. Initialize APORT and deallocate
3959 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3960 with O_NOLINK passed to __file_name_lookup.
3962 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3963 with O_NOLINK passed to __file_name_lookup.
3965 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3966 negative N or less than NGIDS.
3968 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3969 type to string_t. Set ERANGE as errno and return it if NAME is not big
3970 enough. Use memcpy instead of strncpy.
3972 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3974 * elf/Makefile (check-data): Remove.
3975 (localplt.data): New vpath directive.
3976 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3977 instead of $(check-data).
3978 * scripts/data/localplt-generic.data: Move to ...
3979 * sysdeps/generic/localplt.data: ... here.
3980 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3981 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3982 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3985 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3988 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3991 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3994 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3997 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4001 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4004 PPC32 and PPC64 files.
4005 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4006 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4008 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4010 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4011 __makecontext_ret to ...
4012 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4013 ... here and call exit if uc_link is NULL. New file.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4015 __makecontext_ret.S.
4016 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4017 __makecontext_ret to ...
4018 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4019 ... here and call exit if uc_link is NULL. New file.
4020 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4021 __makecontext_ret.S.
4023 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4025 * elf/elf.h (R_390_IRELATIVE): New definition.
4026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4027 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4028 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4029 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4030 (elf_machine_lazy_rel): Likewise.
4031 * sysdeps/s390/dl-irel.h: New file.
4032 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4033 * sysdeps/s390/s390-64/memset.S: New asm code.
4034 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4035 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4037 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4038 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4039 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4040 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4041 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4042 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4043 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4044 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4045 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4046 * sysdeps/s390/s390-32/memset.S: New asm code.
4047 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4049 2012-07-17 Marek Polacek <polacek@redhat.com>
4052 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4053 * sysdeps/s390/s390-64/configure.in: Likewise.
4054 * sysdeps/sparc/configure.in: Likewise.
4055 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4056 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4057 * sysdeps/i386/configure.in: Likewise.
4058 * sysdeps/x86_64/configure.in: Likewise.
4059 * sysdeps/sh/configure.in: Likewise.
4060 * sysdeps/s390/s390-32/configure: Regenerated.
4061 * sysdeps/s390/s390-64/configure: Likewise.
4062 * sysdeps/x86_64/configure: Likewise.
4063 * sysdeps/sh/configure: Likewise.
4064 * sysdeps/powerpc/powerpc64/configure: Likewise.
4065 * sysdeps/powerpc/powerpc32/configure: Likewise.
4066 * sysdeps/sparc/configure: Likwise.
4067 * sysdeps/i386/configure: Likewise.
4069 * elf/dl-open.c: Comment fixes.
4071 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4073 * Makefile [CXX] (check-data): Remove.
4074 [CXX] (c++-types.data): New vpath directive.
4075 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4076 vpath. Do not allow for C++ type data being missing.
4077 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4078 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4079 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4080 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4081 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4082 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4083 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4086 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4089 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4092 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4095 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4098 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4101 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4104 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4107 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4108 definitions to architecture-specific files.
4112 * sysdeps/i386/tls-macros.h: New file.
4113 * sysdeps/powerpc/tls-macros.h: Likewise.
4114 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4115 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4116 * sysdeps/sh/tls-macros.h: Likewise.
4117 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4118 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4119 * sysdeps/x86_64/tls-macros.h: Likewise.
4121 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4123 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4124 zero value for regular exit case.
4126 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4127 (__start_context): Preserve zero value for regular exit case.
4129 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4130 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4132 * manual/setjmp.texi (setcontext): Clarify normal process
4133 termination when uc_link is the null pointer.
4134 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4137 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4139 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4140 preprocessor. Test for each exception mask separately.
4142 2012-07-16 Andreas Jaeger <aj@suse.de>
4144 * po/ru.po: Update from translation team.
4146 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4148 * conform/data/string.h-data (NULL): Use macro-constant. Require
4150 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4151 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4152 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4153 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4156 2012-07-13 Andreas Jaeger <aj@suse.de>
4158 * po/fr.po: Update from translation team.
4160 2012-07-12 Marek Polacek <polacek@redhat.com>
4163 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4167 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4171 Change to 2.4.1 where previously 2.4.0.
4172 * sysdeps/unix/sysv/linux/configure: Regenerated.
4173 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4174 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4176 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4177 (__ASSUME_AT_CLKTCK): Remove.
4178 (__ASSUME_AT_PAGESIZE): Likewise.
4179 (__ASSUME_AT_XID): Likewise.
4180 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4181 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4182 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4184 (HAVE_AUX_PAGESIZE): Likewise.
4185 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4186 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4187 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4189 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4193 the temporary buffer used to invoke __gethostbyname2_r,
4194 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4195 host_data / struct gaih_addrtuple.
4196 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4197 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4198 header file nss/nsswitch.h.
4199 * nss/nsswitch.h (global scope): Add definition of implementation
4200 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4201 resolv/nss_dns/dns-host.c).
4203 2012-07-11 Andreas Jaeger <aj@suse.de>
4205 * po/fr.po: Update from translation team.
4207 * po/sv.po: Update from translation team
4208 * po/fr.po: Another update from translation team.
4210 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4213 for subnormals or multiply small sinh result by itself.
4214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4217 2012-07-11 David S. Miller <davem@davemloft.net>
4219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4221 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4224 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4225 (INTERNAL_MARK): Shift it here.
4227 2012-07-10 Marek Polacek <polacek@redhat.com>
4230 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4231 libc_cv_asm_global_directive with .globl.
4232 * configure: Regenerated.
4233 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4235 * sysdeps/i386/configure: Regenerated.
4236 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4238 * sysdeps/x86_64/configure: Regenerated.
4239 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4240 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4241 * elf/tst-unique2mod2.c: Likewise.
4242 * elf/tst-unique2mod1.c: Likewise.
4243 * elf/tst-unique1mod2.c: Likewise.
4244 * elf/tst-unique1mod1.c: Likewise.
4245 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4246 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4248 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4249 * sysdeps/mach/sysdep.h: Likewise.
4250 * sysdeps/i386/sysdep.h: Likewise.
4251 * sysdeps/i386/i386-mcount.S: Likewise.
4252 * sysdeps/x86_64/_mcount.S: Likewise.
4253 * sysdeps/x86_64/sysdep.h: Likewise.
4254 * sysdeps/sh/_mcount.S: Likewise.
4255 * sysdeps/sh/sysdep.h: Likewise.
4256 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4257 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4258 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4259 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4260 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4261 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4262 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4263 * locale/localeinfo.h: Likewise.
4264 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4265 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4267 2012-07-09 Roland McGrath <roland@hack.frob.com>
4270 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4272 * manual/message.texi (The Uniforum approach): Likewise.
4273 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4274 (glibc iconv Implementation): Likewise.
4276 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4279 * math/s_clog.c (__clog): Avoid scaling a value down where that
4280 could result in underflow.
4281 * math/s_clog10.c (__clog10): Likewise.
4282 * math/s_clog10f.c (__clog10f): Likewise.
4283 * math/s_clog10l.c (__clog10l): Likewise.
4284 * math/s_clogf.c (__clogf): Likewise.
4285 * math/s_clogl.c (__clogl): Likewise.
4286 * math/libm-test.inc (clog_test): Add more tests.
4287 (clog10_test): Likewise.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4294 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4295 by 7 not 8 to examine high bit of fractional part.
4298 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4299 for call to __mcount_internal.
4300 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4301 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4302 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4304 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4307 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4308 approximation for values within 0x1p-13f of an odd multiple of
4310 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4311 exception. Add more tests.
4312 * sysdeps/i386/fpu/libm-test-ulps: Update.
4315 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4316 inputs and return -1 for them. Do not check for +Inf in case not
4318 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4319 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4321 and return -1 for them. Do not check for +Inf in case not
4323 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4326 and return -1 for them. Do not check for +Inf in case not
4328 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4330 * sysdeps/i386/fpu/libm-test-ulps: Update.
4331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4333 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4335 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4337 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4341 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4342 could result in spurious underflow. Scale down values above
4343 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4344 * math/s_csqrtf.c (__csqrtf): Likewise.
4345 * math/s_csqrtl.c (__csqrtl): Likewise.
4346 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4348 * sysdeps/i386/fpu/libm-test-ulps: Update.
4349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4351 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4353 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4355 * catgets/xopen-msg.awk: New file.
4356 * catgets/xopen-msg.sed: Removed.
4358 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4360 * intl/po2test.awk: New file.
4361 * intl/po2test.sed: Removed.
4363 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4366 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4367 or multiply small sinh result by itself.
4368 * math/s_ctanf.c (__ctanf): Likewise.
4369 * math/s_ctanh.c (__ctanh): Likewise.
4370 * math/s_ctanhf.c (__ctanhf): Likewise.
4371 * math/s_ctanhl.c (__ctanhl): Likewise.
4372 * math/s_ctanl.c (__ctanl): Likewise.
4373 * math/libm-test.inc (ctan_test_tonearest): New function.
4374 (ctan_test_towardzero): Likewise.
4375 (ctan_test_downward): Likewise.
4376 (ctan_test_upward): Likewise.
4377 (ctanh_test_tonearest): Likewise.
4378 (ctanh_test_towardzero): Likewise.
4379 (ctanh_test_downward): Likewise.
4380 (ctanh_test_upward): Likewise.
4381 (main): Call these new functions.
4382 * sysdeps/i386/fpu/libm-test-ulps: Update.
4383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4385 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4387 * .gitignore: Delete /ports entry.
4389 2012-07-03 Andreas Jaeger <aj@suse.de>
4391 * po/bg.po: Update from translation team.
4392 * po/cs.po: Likewise.
4393 * po/de.po: Likewise.
4394 * po/hr.po: Likewise.
4395 * po/nl.pl: Likewise.
4396 * po/pl.po: Likewise.
4397 * po/vi.po: Likewise.
4399 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4401 * Makeconfig [!+link] (+link-before-libc): New variable.
4402 [!+link] (+link-after-libc): Likewise.
4403 [!+link] (+link-tests): Likewise.
4404 [!+link] (+link): Define in terms of $(+link-before-libc) and
4405 $(+link-after-libc).
4406 [!+link-static] (+link-static-before-libc): New variable.
4407 [!+link-static] (+link-static-after-libc): Likewise.
4408 [!+link-static] (+link-static-tests): Likewise.
4409 [!+link-static] (+link-static): Define in terms of
4410 $(+link-static-before-libc) and $(+link-static-after-libc).
4411 [build-shared] (link-libc-before-gnulib): New variable.
4412 [build-shared] (link-libc-tests): Likewise.
4413 [build-shared] (link-libc): Define in terms of
4414 $(link-libc-before-gnulib).
4415 [!build-shared] (link-libc-tests): New variable.
4416 (link-libc-static-tests): New variable.
4417 [!gnulib] (gnulib-arch): New variable.
4418 [!gnulib] (gnulib-tests): Likewise.
4419 [!gnulib] (static-gnulib-arch): Likewise.
4420 [!gnulib] (static-gnulib-tests): Likewise.
4421 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4422 Define with "=" instead of ":=".
4423 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4424 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4425 * Rules (binaries-all-notests): New variable.
4426 (binaries-all-tests): Likewise.
4427 (binaries-static-notests): Likewise.
4428 (binaries-static-tests): Likewise.
4429 (binaries-all): Define using $(binaries-all-notests) and
4430 $(binaries-all-tests).
4431 (binaries-static): Define using $(binaries-static-notests) and
4432 $(binaries-static-tests).
4433 (binaries-shared-tests): New variable.
4434 (binaries-shared-notests): Likewise.
4435 (binaries-shared): Remove variable.
4436 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4437 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4438 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4439 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4440 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4441 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4442 * elf/Makefile (sln-modules): New variable.
4443 (extra-objs): Add $(sln-modules:=.o).
4444 (ldconfig-modules): Add static-stubs.
4445 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4446 * elf/static-stubs.c: New file.
4449 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4450 by 7 not 8 to examine high bit of fractional part. Use volatile
4451 variables when splitting into final array of floats if
4452 __FLT_EVAL_METHOD__ != 0.
4453 * math/libm-test.inc (cos_test): Add another test.
4454 (sin_test): Likewise.
4455 * sysdeps/i386/fpu/libm-test-ulps: Update.
4458 * math/libm-test.inc (cosh_test): Add more tests.
4460 * version.h (RELEASE): Set to "development".
4461 (VERSION): Set to "2.16.90".
4463 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4465 * NEWS: Update copyright. Remove last-updated date.
4466 Mention math library bug fixes and timezone data changes.
4467 * README: Mention GNU/Hurd, x32, and HPPA support status.
4469 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4471 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4473 2012-06-27 Andreas Jaeger <aj@suse.de>
4475 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4477 2012-06-25 Andreas Jaeger <aj@suse.de>
4479 * sysdeps/s390/fpu/libm-test-ulps: Update.
4481 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4482 Thomas Schwinge <thomas@codesourcery.com>
4484 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4485 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4489 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4491 * sysdeps/mach/start.c: Remove file.
4492 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4493 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4494 * sysdeps/sh/init-first.c: Likewise.
4496 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4497 registers for frame unwinding purposes, add CFI directives.
4498 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4499 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4500 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4503 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4504 __fortify_fail returning.
4505 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4507 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4508 sysdeps/sh/____longjmp_chk.S.
4509 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4510 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4511 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4512 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4514 * sysdeps/sh/abort-instr.h: New file.
4515 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4516 process in case exit returns.
4518 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4519 initialize the GOT register before use.
4521 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4522 calculation of ARGC > 4.
4524 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4525 meaningful names to some local labels.
4527 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4528 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4530 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4531 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4532 (__arch_compare_and_exchange_val_16_acq): Likewise.
4533 (__arch_compare_and_exchange_val_32_acq): Likewise.
4534 (atomic_exchange_and_add): Fix gUSA sequence.
4535 (atomic_add): Likewise.
4536 (atomic_add_negative): Likewise.
4537 (atomic_add_zero): Likewise.
4538 (atomic_bit_test_set): Likewise.
4540 2012-06-22 Andreas Schwab <schwab@redhat.com>
4543 * include/link.h (struct link_map): Add l_free_initfini.
4544 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4546 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4547 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4548 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4551 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4553 * configure.in: Use AC_LANG_SOURCE.
4554 * configure: Regenerate.
4556 2012-06-22 Roland McGrath <roland@hack.frob.com>
4558 * configure.in (libc_cv_localstatedir): New substituted variable.
4559 * configure: Regenerated.
4560 * config.make.in (localstatedir): New variable, substituted from
4561 libc_cv_localstatedir.
4562 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4563 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4564 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4565 * sysdeps/gnu/configure: Regenerated.
4567 2012-06-21 Jeff Law <law@redhat.com>
4570 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4571 free. Simplify list management for _LIBC case.
4573 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4576 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4577 Clear sign bit of 64-bit integer value before comparing against
4580 * sysdeps/mach/configure: Regenerated.
4582 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4585 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4587 2012-06-21 Jeff Law <law@redhat.com>
4590 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4591 uint16_t for elements in the "seen" array to avoid char overflows.
4592 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4593 * elf/dl-open.c (dl_open_worker): Likewise.
4595 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4597 * scripts/list-sources.sh: Scan PORTS for translations.
4598 * po/libc.pot: Regenerated.
4600 2012-06-21 Andreas Jaeger <aj@suse.de>
4603 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4605 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4606 * bits/byteswap-16.h (__bswap_16): Likewise.
4607 * bits/byteswap.h (__bswap_constant_16): Likewise.
4609 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4612 * sysdeps/i386/fpu_control.h: Removed.
4613 * sysdeps/x86_64/fpu_control.h: Moved to ...
4614 * sysdeps/x86/fpu_control.h: Here.
4616 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4617 (_FPU_SETCW): Likewise.
4619 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4622 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4623 * sysdeps/x86/fpu/bits/mathinline.h: This.
4624 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4628 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4629 functions if __x86_64__ is defined.
4631 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4633 * string/endian.h: Add !__ASSEMBLER__ condition for including
4634 conversion interfaces.
4636 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4640 of ABS(x) in calculating zero to negative powers other than odd
4642 * math/libm-test.inc (pow_test): Add more tests.
4644 2012-06-15 Andreas Jaeger <aj@suse.de>
4646 * manual/contrib.texi (Contributors): Update entry of Liubov
4647 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4650 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4652 * string/string.h: Add __wur to GNU version of strerror_r.
4654 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4657 * string/Makefile (tests): Add tst-strtok_r.
4658 * string/tst-strtok_r.c: New file.
4659 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4660 RAX_LP/RDX_LP on SAVE_PTR.
4662 2012-06-14 Roland McGrath <roland@hack.frob.com>
4664 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4666 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4668 * libm_test.inc (csqrt_test): Allow more spurious underflow
4670 (j0_test): Likewise.
4671 (j1_test): Likewise.
4672 (y0_test): Likewise.
4673 (y1_test): Likewise.
4675 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4677 * po/Makefile (libc.pot): Use UTF-8 charset.
4679 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4682 Suppress sign-conversion warning from FD_SET.
4683 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4684 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4685 not unsigned long int.
4686 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4688 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4692 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4693 __extern_always_inline instead of __extern_inline.
4694 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4695 (__signbit): Likewise.
4696 (__signbitl): Support C++ namespace.
4697 (lrintf): New inline function.
4699 (llrintf): Likewise.
4711 (nearbyint): Likewise.
4712 (nearbyintf): Likewise.
4714 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4716 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4717 non-default versions.
4719 2012-06-11 Roland McGrath <roland@hack.frob.com>
4722 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4724 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4726 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4727 (FE_UPWARD, FE_DOWNWARD): Don't define.
4728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4729 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4731 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4733 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4736 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4738 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4740 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4741 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4743 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4747 * sysdeps/i386/fpu/Implies: New file.
4748 * sysdeps/x86_64/fpu/Implies: Likewise.
4749 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4750 * sysdeps/x86/fpu/bits/fenv.h: This.
4752 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4755 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4758 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4759 character 0xffff that matches the last element of the
4762 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4767 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4770 values higher than 25.6283.
4772 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4775 subnormal exponent extraction and add some __builtin_expect.
4776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4777 Fix for subnormal mantissa calculation.
4779 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4781 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4782 cpu2 is -1 and errno is not ENOSYS.
4784 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4788 * sysdeps/x86/bits/string.h: This.
4789 * sysdeps/x86_64/bits/string.h: Removed.
4791 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4792 if not compiling for x86-64, but compiling for >= i486.
4794 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4795 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4797 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4798 New macro from Linux kernel 3.4.0.
4799 (FP_XSTATE_MAGIC2): Likewise.
4800 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4801 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4802 (struct _fpx_sw_bytes): New struct.
4803 (struct _xsave_hdr): Likewise.
4804 (struct _ymmh_state): Likewise.
4805 (struct _xstate): Likewise.
4807 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4808 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4809 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4810 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4811 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4812 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4814 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4815 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4816 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4817 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4818 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4819 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4821 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4824 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4825 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4826 (sysdep_headers): Include sys/platform/ppc.h.
4827 * sysdeps/powerpc/test-gettimebase.c: Test for
4828 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4829 * manual/Makefile (appendices): Include platform.texi.
4830 * manual/contrib.texi (Contributors): Update @node pointers.
4831 * manual/maint.texi (Maintenance): Likewise.
4832 (Platform): New node.
4833 * manual/platform.texi: New file. Document the new features.
4835 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4836 Jakub Jelinek <jakub@redhat.com>
4839 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4840 where __builtin_expect is unavailable.
4842 2012-06-03 David S. Miller <davem@davemloft.net>
4844 * stdlib/longlong.h: Updated from GCC.
4846 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4849 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4850 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4853 (GLIBC_2.16): Likewise.
4855 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4857 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4859 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4862 (default-abi): New variable.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4864 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4866 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4873 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4874 definition. Document in comment.
4876 2012-06-01 David S. Miller <davem@davemloft.net>
4878 * stdlib/longlong.h: Updated from GCC.
4880 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4883 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4884 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4885 sys/debugreg.h sys/io.h here.
4886 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4887 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4889 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4890 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4891 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4892 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4893 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4894 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4896 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4897 Define only if __x86_64__ is defined.
4899 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4902 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4903 Use int64_t for variable i.
4904 * math/libm-test.inc (fmod_test): Add more tests.
4906 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4907 z computation is not scheduled after fetestexcept.
4908 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4909 Use math_force_eval instead of asm to ensure calculation scheduled
4910 before exception test.
4911 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4912 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4914 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4917 computation is not scheduled after fetestexcept.
4919 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4922 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4923 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4925 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4928 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4930 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4933 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4935 (__WCHAR_MIN): Support __WORDSIZE == 64.
4936 (__WCHAR_MAX): Likewise.
4938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4939 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4942 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4943 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4946 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4947 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4949 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4950 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4953 Defined to 1 if __x86_64__ isn't defined.
4954 (_STAT_VER_LINUX_OLD): New.
4955 (st_atime): Remove duplicate.
4956 (st_mtime): Likewise.
4957 (st_ctime): Likewise.
4959 2012-05-31 David S. Miller <davem@davemloft.net>
4961 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4964 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4966 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4970 * elf/dl-reloc.c: Include <_itoa.h>.
4971 (_dl_reloc_bad_type): Remove use of INTUSE.
4972 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4973 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4974 * stdio-common/psiginfo.c (psiginfo): Likewise.
4975 * stdio-common/psignal.c (psignal): Likewise.
4976 * string/strsignal.c (strsignal): Likewise.
4977 * include/signal.h (_sys_siglist): Declare hidden proto.
4978 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4979 INTVARDEF with libc_hidden_data_def.
4980 * stdio-common/itoa-udigits.c: Likewise.
4981 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4982 (_itoa_lower_digits_internal): Remove declaration.
4983 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4984 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4985 (_sys_sigabbrev_internal): Remove aliases.
4986 (_sys_siglist): Define hidden alias.
4988 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4993 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4996 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4997 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4999 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5001 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5002 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5003 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5004 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5006 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5007 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5008 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5010 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5020 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5022 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5023 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5024 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5025 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5026 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5027 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5029 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5030 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5032 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5033 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5035 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5037 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5039 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5040 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5042 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5044 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5045 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5046 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5048 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5050 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5052 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5054 * math/math.h (M_El): Use two more decimal places.
5055 (M_LOG2El): Likewise.
5056 (M_LOG10El): Likewise.
5058 (M_LN10l): Likewise.
5060 (M_PI_2l): Likewise.
5061 (M_PI_4l): Likewise.
5062 (M_1_PIl): Likewise.
5063 (M_2_PIl): Likewise.
5064 (M_2_SQRTPIl): Likewise.
5065 (M_SQRT2l): Likewise.
5066 (M_SQRT1_2l): Likewise.
5068 2012-05-31 David S. Miller <davem@davemloft.net>
5070 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5071 values between float registers.
5072 * sysdeps/sparc/sparc64/memset.S: Likewise.
5073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5075 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5077 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5078 -D_FORTIFY_SOURCE=1.
5079 (CPPFLAGS-tst-longjmp_chk.c): Define.
5080 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5081 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5082 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5083 CFLAGS-tst-wchar-h.c.
5085 2012-05-31 Marek Polacek <polacek@redhat.com>
5088 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5089 __endmntent_internal): Remove declaration.
5090 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5091 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5092 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5094 2012-05-30 David S. Miller <davem@davemloft.net>
5096 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5097 (___Q_simulate_exceptions): Use real FP ops rather than writing
5099 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5102 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5105 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5106 * sysdeps/x86/bits/xtitypes.h: This.
5108 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5109 * sysdeps/x86/bits/wordsize.h: This.
5111 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5112 * sysdeps/x86/bits/huge_vall.h: This.
5114 * sysdeps/i386/bits/select.h: Removed.
5115 * sysdeps/x86_64/bits/select.h: Renamed to ...
5116 * sysdeps/x86/bits/select.h: This.
5118 * sysdeps/i386/bits/setjmp.h: Removed.
5119 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5120 * sysdeps/x86/bits/setjmp.h: This.
5122 * sysdeps/i386/bits/mathdef.h: Removed.
5123 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5124 * sysdeps/x86/bits/mathdef.h: This.
5126 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5129 * include/sys/socket.h (__connect_internal)
5130 (__libc_sa_len_internal): Remove declaration.
5131 (__connect, __libc_sa_len): Declare hidden_proto.
5132 (SA_LEN): Remove use of INTUSE.
5133 * socket/connect.c: Add libc_hidden_def.
5134 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5135 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5136 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5138 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5139 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5140 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5141 of adding _internal alias.
5143 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5146 * sysdeps/i386/bits/link.h: Removed.
5147 * sysdeps/i386/bits/linkmap.h: Likewise.
5148 * sysdeps/x86_64/bits/link.h: Renamed to ...
5149 * sysdeps/x86/bits/link.h: This.
5150 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5151 * sysdeps/x86/bits/linkmap.h: This.
5153 * sysdeps/i386/bits/endian.h: Removed.
5154 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5155 * sysdeps/x86/bits/endian.h: This.
5157 * sysdeps/i386/bits/byteswap.h: Removed.
5158 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5159 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5160 * sysdeps/x86/bits/byteswap.h: This.
5161 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5162 * sysdeps/x86/bits/byteswap-16.h: This.
5163 * sysdeps/i386/Implies: Add x86.
5164 * sysdeps/x86_64/Implies: Likewise.
5166 2012-05-30 David S. Miller <davem@davemloft.net>
5168 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5169 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5170 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5171 (FP_TRAPPING_EXCEPTIONS): Define.
5172 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5173 (FP_TRAPPING_EXCEPTIONS): Define.
5174 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5175 subnormals only when inexact has been signalled or underflow
5176 exceptions are enabled.
5177 (_FP_PACK_CANONICAL): Likewise.
5179 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5183 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5185 2012-05-30 Richard Henderson <rth@twiddle.net>
5187 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5188 with #ifndef NOT_IN_libc.
5190 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5191 marked to avoid plt entry.
5193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5196 * Makeconfig (default-abi): New macro.
5197 (abi-includes): Likewise.
5198 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5199 $(abi-$(default-abi)-lib-soname) for soname if defined.
5200 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5202 * Makefile (installed-stubs): Likewise.
5203 * include/stubs-biarch.h: Removed.
5204 * scripts/lib-names.awk: Only handle one library at a time.
5205 * scripts/soversions.awk: Remove WORDSIZE support.
5206 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5208 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5210 (syscall-list-default-condition): Likewise.
5211 (syscall-list-default-condition): Likewise.
5212 (syscall-list-includes): Likewise.
5213 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5214 syscall-list-* with abi-*. Handle undefined abi-variants.
5215 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5216 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5217 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5218 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5219 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5220 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5222 (syscall-list-32-options): Likewise.
5223 (syscall-list-32-condition): Likewise.
5224 (syscall-list-64-options): Likewise.
5225 (syscall-list-64-condition): Likewise.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5228 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5231 (abi-64-ld-soname): New macro.
5232 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5233 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5236 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5237 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5239 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5241 * sysdeps/unix/sysv/linux/kernel-features.h
5242 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5243 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5244 include <kernel-features.h>.
5245 [!__NR_ftruncate64]: Remove conditional code.
5246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5247 [__NR_ftruncate64]: Make code unconditional.
5248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5249 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5250 include <kernel-features.h>.
5251 [!__NR_ftruncate64]: Remove conditional code.
5252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5253 [__NR_ftruncate64]: Make code unconditional.
5254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5256 include <kernel-features.h>.
5257 [!__NR_ftruncate64]: Remove conditional code.
5258 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5259 [__NR_ftruncate64]: Make code unconditional.
5260 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5262 include <kernel-features.h>.
5263 [!__NR_ftruncate64]: Remove conditional code.
5264 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5265 [__NR_ftruncate64]: Make code unconditional.
5266 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5268 * configure.in (libc_cv_fpie): Weaken to a compile test using
5270 * configure: Regenerated.
5272 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5287 2012-05-27 David S. Miller <davem@davemloft.net>
5289 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5291 (__Q_simulate_exceptions): Return void. Change to simulate
5292 exceptions by writing into the %fsr.
5293 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5294 (__Qp_handle_exceptions): Likewise.
5296 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5297 __Qp_handle_exceptions.
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5299 __Qp_handle_exceptions.
5300 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5301 as unused and give dummy FP_RND_NEAREST initializer.
5302 (FP_INHIBIT_RESULTS): Define.
5303 (___Q_simulate_exceptions): Update declaration.
5304 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5306 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5307 as unused and give dummy FP_RND_NEAREST initializer.
5308 (__Qp_handle_exceptions): Update declaration.
5309 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5312 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5314 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5315 the temporary FPU control word.
5316 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5317 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5319 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5320 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5321 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5322 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5323 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5324 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5325 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5326 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5328 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5330 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5333 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5335 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5336 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5337 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5338 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5340 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5341 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5344 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5346 * po/h.po: Update from translation team.
5348 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5350 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5352 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5353 handling of denormals.
5354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5355 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5356 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5363 2012-05-26 Marek Polacek <polacek@redhat.com>
5366 * math/libm-test.inc (fma_test): Don't always expect underflow
5369 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5372 * elf/tst-execstack.c: Include stackinfo.h.
5373 (do_test): Adjust test case to ensure that pthread_getattr_np
5374 behaviour remains the same after marking stack executable.
5376 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5378 * sysdeps/unix/sysv/linux/kernel-features.h
5379 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5380 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5382 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5383 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5384 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5386 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5387 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5389 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5391 * configure.in: Define the default includes to being none.
5392 * configure: Regenerated.
5394 2012-05-25 Roland McGrath <roland@hack.frob.com>
5396 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5397 * sysdeps/x86_64/setjmp.S: Likewise.
5398 * sysdeps/i386/bsd-setjmp.S: Likewise.
5399 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5400 * sysdeps/i386/setjmp.S: Likewise.
5401 * sysdeps/i386/__longjmp.S: Likewise.
5402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5403 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5405 * include/stap-probe.h: New file.
5406 * configure.in: Handle --enable-systemtap.
5407 * configure: Regenerated.
5408 * config.h.in (USE_STAP_PROBE): New #undef.
5409 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5410 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5411 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5413 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5417 to 2.4.0 where earlier.
5418 * sysdeps/unix/sysv/linux/configure: Regenerated.
5419 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5420 <kernel-features.h>.
5421 [__ASSUME_32BITUIDS]: Make code unconditional.
5422 [!__ASSUME_32BITUIDS]: Remove conditional code.
5423 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5424 <kernel-features.h>.
5425 [__ASSUME_32BITUIDS]: Make code unconditional.
5426 [!__ASSUME_32BITUIDS]: Remove conditional code.
5427 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5428 [__ASSUME_32BITUIDS]: Make code unconditional.
5429 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5430 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5431 <kernel-features.h>.
5432 [__ASSUME_32BITUIDS]: Make code unconditional.
5433 [!__ASSUME_32BITUIDS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5435 <kernel-features.h>.
5436 [__ASSUME_32BITUIDS]: Make code unconditional.
5437 [!__ASSUME_32BITUIDS]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5439 <kernel-features.h>.
5440 [__ASSUME_32BITUIDS]: Make code unconditional.
5441 [!__ASSUME_32BITUIDS]: Remove conditional code.
5442 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5443 <kernel-features.h>.
5444 [__ASSUME_32BITUIDS]: Make code unconditional.
5445 [!__ASSUME_32BITUIDS]: Remove conditional code.
5446 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5447 <kernel-features.h>.
5448 [__ASSUME_32BITUIDS]: Make code unconditional.
5449 [!__ASSUME_32BITUIDS]: Remove conditional code.
5450 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5451 <kernel-features.h>.
5452 [__ASSUME_32BITUIDS]: Make code unconditional.
5453 [!__ASSUME_32BITUIDS]: Remove conditional code.
5454 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5455 <kernel-features.h>.
5456 [__ASSUME_32BITUIDS]: Make code unconditional.
5457 [!__ASSUME_32BITUIDS]: Remove conditional code.
5458 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5459 <kernel-features.h>.
5460 [__ASSUME_32BITUIDS]: Make code unconditional.
5461 [!__ASSUME_32BITUIDS]: Remove conditional code.
5462 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5463 <kernel-features.h>.
5464 [__ASSUME_32BITUIDS]: Make code unconditional.
5465 [!__ASSUME_32BITUIDS]: Remove conditional code.
5466 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5467 <kernel-features.h>.
5468 [__ASSUME_32BITUIDS]: Make code unconditional.
5469 [!__ASSUME_32BITUIDS]: Remove conditional code.
5470 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5471 <kernel-features.h>.
5472 [__NR_setresgid] (__setresgid): Do not declare.
5473 [__ASSUME_32BITUIDS]: Make code unconditional.
5474 [!__ASSUME_32BITUIDS]: Remove conditional code.
5475 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5476 <kernel-features.h>.
5477 [__NR_setresuid] (__setresuid): Do not declare.
5478 [__ASSUME_32BITUIDS]: Make code unconditional.
5479 [!__ASSUME_32BITUIDS]: Remove conditional code.
5480 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
5521 (__ASSUME_SETRESUID_SYSCALL): Remove.
5522 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5523 (__ASSUME_32BITUIDS): Likewise.
5524 (__ASSUME_LDT_WORKS): Likewise.
5525 (__ASSUME_O_DIRECTORY): Likewise.
5526 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5527 architecture but not kernel version.
5528 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5529 (__ASSUME_MMAP2_SYSCALL): Likewise.
5530 (__ASSUME_STAT64_SYSCALL): Likewise.
5531 (__ASSUME_IPC64): Likewise.
5532 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5533 <kernel-features.h>.
5534 [__ASSUME_32BITUIDS]: Make code unconditional.
5535 [!__ASSUME_32BITUIDS]: Remove conditional code.
5536 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5537 <kernel-features.h>.
5538 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5539 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5540 132096]: Remove conditional code.
5541 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5542 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
5551 <kernel-features.h>.
5552 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5554 (__setresgid): Do not declare.
5555 [__ASSUME_32BITUIDS]: Make code unconditional.
5556 [!__ASSUME_32BITUIDS]: Remove conditional code.
5557 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5558 <kernel-features.h>.
5559 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5561 (__setresuid): Do not declare.
5562 [__ASSUME_32BITUIDS]: Make code unconditional.
5563 [!__ASSUME_32BITUIDS]: Remove conditional code.
5564 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5565 <kernel-features.h>.
5566 [__ASSUME_32BITUIDS]: Make code unconditional.
5567 [!__ASSUME_32BITUIDS]: Remove conditional code.
5568 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5569 <kernel-features.h>.
5570 [__ASSUME_32BITUIDS]: Make code unconditional.
5571 [!__ASSUME_32BITUIDS]: Remove conditional code.
5573 2012-05-25 Richard Henderson <rth@twiddle.net>
5575 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5576 dl_hwcap to ifunc resolver.
5577 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5579 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5580 dl_hwcap to ifunc resolver.
5581 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5583 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5586 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5587 for |x| <= 2**-26, not 2**-57.
5588 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5591 2012-05-24 Jeff Law <law@redhat.com>
5593 * stdio-common/Makefile (tests): Add bug25.
5594 * stdio-common/bug25.c: New test.
5596 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5599 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5600 multiple of MALLOC_ALIGNMENT in size.
5601 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5603 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5605 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5607 (FILENAME_MAX): Use macro-int-constant.
5608 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5609 (_IOFBF): Use macro-int-constant.
5612 (SEEK_CUR): Likewise.
5613 (SEEK_END): Likewise.
5614 (SEEK_SET): Likewise.
5615 (TMP_MAX): Likewise.
5616 (EOF): Use macro-int-constant. Require < 0.
5617 (NULL): Use macro-constant. Require == 0.
5618 (stdin): Require type to be FILE *.
5621 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5623 (EXIT_SUCCESS): Likewise.
5624 (NULL): Use macro-constant. Require == 0.
5625 (RAND_MAX): Use macro-int-constant.
5626 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5627 [C99-based standards] (strtof): Require function.
5628 [C99-based standards] (strtold): Likewise.
5629 [C99-based standards] (strtoll): Likewise.
5630 [C99-based standards] (strtoull): Likewise.
5631 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5632 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5633 [ISO || ISO99 || ISO11] (math.h): Likewise.
5634 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5635 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5638 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5641 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5642 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5643 * intl/dgettext.c (DCGETTEXT): Likewise.
5644 * intl/gettext.c (DCGETTEXT): Likewise.
5645 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5646 * posix/regex_internal.h (gettext): Likewise.
5647 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5649 * include/argz.h (__argz_count_internal)
5650 (__argz_stringify_internal): Remove declaration.
5651 (__argz_count, __argz_stringify): Declare hidden proto.
5652 * intl/dcgettext.c: Remove use of INTDEF.
5653 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5654 * string/argz-stringify.c: Likewise.
5655 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5656 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5657 Declare hidden proto.
5658 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5659 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5660 Declare hidden proto.
5661 * include/stdio.h (__asprintf_internal): Don't declare.
5662 (__asprintf): Don't define as macro. Declare hidden proto.
5663 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5664 (__fsetlocking): Declare hidden proto.
5665 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5666 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5668 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5669 (_IO_setlinebuf): Remove use of INTUSE.
5670 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5671 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5672 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5674 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5675 (_IO_do_flush): Remove use of INTUSE.
5676 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5677 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5678 (_IO_adjust_column, _IO_least_wmarker)
5679 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5680 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5681 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5682 (_IO_default_doallocate, _IO_wdefault_doallocate)
5683 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5684 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5685 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5686 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5687 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5688 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5689 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5690 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5691 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5692 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5693 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5694 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5695 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5697 (_IO_flush_all_internal, _IO_adjust_column_internal)
5698 (_IO_default_uflow_internal, _IO_default_finish_internal)
5699 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5700 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5701 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5702 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5703 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5704 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5705 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5706 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5707 (_IO_file_close_internal, _IO_file_close_it_internal)
5708 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5709 (_IO_file_init_internal, _IO_file_attach_internal)
5710 (_IO_file_fopen_internal, _IO_file_read_internal)
5711 (_IO_file_sync_internal, _IO_file_seek_internal)
5712 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5713 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5714 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5715 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5716 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5717 (_IO_list_all_internal, _IO_link_in_internal)
5718 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5719 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5720 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5721 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5722 (_IO_do_write_internal, _IO_padn_internal)
5723 (_IO_getline_info_internal, _IO_getline_internal)
5724 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5725 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5726 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5727 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5728 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5729 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5730 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5731 with libc_hidden_ver, remove use of INTUSE.
5732 * libio/genops.c: Likewise.
5733 * libio/freopen.c: Likewise.
5734 * libio/freopen64.c: Likewise.
5735 * libio/iofclose.c: Likewise.
5736 * libio/iofdopen.c: Likewise.
5737 * libio/iofflush.c: Likewise.
5738 * libio/iofflush_u.c: Likewise.
5739 * libio/iofgets.c: Likewise.
5740 * libio/iofgets_u.c: Likewise.
5741 * libio/iofopen.c: Likewise.
5742 * libio/iofopncook.c: Likewise.
5743 * libio/iofread.c: Likewise.
5744 * libio/iofread_u.c: Likewise.
5745 * libio/ioftell.c: Likewise.
5746 * libio/iofwrite.c: Likewise.
5747 * libio/iogetline.c: Likewise.
5748 * libio/iogets.c: Likewise.
5749 * libio/iogetwline.c: Likewise.
5750 * libio/iopadn.c: Likewise.
5751 * libio/iopopen.c: Likewise.
5752 * libio/ioseekoff.c: Likewise.
5753 * libio/ioseekpos.c: Likewise.
5754 * libio/iosetbuffer.c: Likewise.
5755 * libio/iosetvbuf.c: Likewise.
5756 * libio/ioungetc.c: Likewise.
5757 * libio/ioungetwc.c: Likewise.
5758 * libio/iovdprintf.c: Likewise.
5759 * libio/iovsprintf.c: Likewise.
5760 * libio/iovsscanf.c: Likewise.
5761 * libio/memstream.c: Likewise.
5762 * libio/obprintf.c: Likewise.
5763 * libio/oldfileops.c: Likewise.
5764 * libio/oldiofclose.c: Likewise.
5765 * libio/oldiofdopen.c: Likewise.
5766 * libio/oldiofopen.c: Likewise.
5767 * libio/oldiopopen.c: Likewise.
5768 * libio/oldstdfiles.c: Likewise.
5769 * libio/putc.c: Likewise.
5770 * libio/setbuf.c: Likewise.
5771 * libio/setlinebuf.c: Likewise.
5772 * libio/stdfiles.c: Likewise.
5773 * libio/strops.c: Likewise.
5774 * libio/vasprintf.c: Likewise.
5775 * libio/vscanf.c: Likewise.
5776 * libio/vsnprintf.c: Likewise.
5777 * libio/vswprintf.c: Likewise.
5778 * libio/wfiledoalloc.c: Likewise.
5779 * libio/wfileops.c: Likewise.
5780 * libio/wgenops.c: Likewise.
5781 * libio/wmemstream.c: Likewise.
5782 * libio/wstrops.c: Likewise.
5783 * libio/__fpurge.c: Likewise.
5784 * libio/__fsetlocking.c: Likewise.
5785 * assert/assert.c: Likewise.
5786 * debug/fgets_chk.c: Likewise.
5787 * debug/fgets_u_chk.c: Likewise.
5788 * debug/fread_chk.c: Likewise.
5789 * debug/fread_u_chk.c: Likewise.
5790 * debug/gets_chk.c: Likewise.
5791 * debug/obprintf_chk.c: Likewise.
5792 * debug/vasprintf_chk.c: Likewise.
5793 * debug/vdprintf_chk.c: Likewise.
5794 * debug/vsnprintf_chk.c: Likewise.
5795 * debug/vsprintf_chk.c: Likewise.
5796 * malloc/mtrace.c: Likewise.
5797 * misc/error.c: Likewise.
5798 * misc/syslog.c: Likewise.
5799 * stdio-common/asprintf.c: Likewise.
5800 * stdio-common/fxprintf.c: Likewise.
5801 * stdio-common/getw.c: Likewise.
5802 * stdio-common/isoc99_fscanf.c: Likewise.
5803 * stdio-common/isoc99_scanf.c: Likewise.
5804 * stdio-common/isoc99_vfscanf.c: Likewise.
5805 * stdio-common/isoc99_vscanf.c: Likewise.
5806 * stdio-common/isoc99_vsscanf.c: Likewise.
5807 * stdio-common/printf-prs.c: Likewise.
5808 * stdio-common/printf_fp.c: Likewise.
5809 * stdio-common/printf_fphex.c: Likewise.
5810 * stdio-common/printf_size.c: Likewise.
5811 * stdio-common/putw.c: Likewise.
5812 * stdio-common/scanf.c: Likewise.
5813 * stdio-common/sprintf.c: Likewise.
5814 * stdio-common/tmpfile.c: Likewise.
5815 * stdio-common/vfprintf.c: Likewise.
5816 * stdio-common/vfscanf.c: Likewise.
5817 * stdlib/strfmon_l.c: Likewise.
5818 * sunrpc/openchild.c: Likewise.
5819 * sunrpc/xdr_stdio.c: Likewise.
5820 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5821 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5823 2012-05-24 Roland McGrath <roland@hack.frob.com>
5825 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5827 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5828 in the third column, to generate for the shared library an IFUNC
5829 that uses _dl_vdso_vsym.
5830 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5831 * Makeconfig (object-suffixes-noshared): New variable.
5833 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5834 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5835 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5836 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5839 * include/sys/time.h (__gettimeofday): Remove macro.
5840 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5841 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5843 (__gettimeofday): Add libc_hidden_def.
5844 (gettimeofday): Add libc_hidden_weak.
5845 * sysdeps/mach/gettimeofday.c: Likewise.
5846 * sysdeps/posix/gettimeofday.c: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5848 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5850 (__gettimeofday_internal): Remove strong_alias.
5851 (__gettimeofday): Add libc_hidden_def.
5852 (gettimeofday): Add libc_hidden_weak.
5853 * sysdeps/unix/syscalls.list (gettimeofday):
5854 Remove __gettimeofday_internal alias.
5856 2012-05-24 Daniel Jacobowitz <drow@false.org>
5857 H.J. Lu <hongjiu.lu@intel.com>
5860 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5861 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5862 (largebin_index_32_big): New.
5863 (largebin_index): Use it for 16-byte alignment.
5864 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5865 correction with front_misalign.
5867 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5895 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5896 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5898 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5902 * math/libm-test.inc (exp_test): Add test from bug 14036.
5903 (pow_test): Add test from bug 10846.
5905 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5907 (special_function): Do not include flags in test name.
5908 (parse_args): Likewise.
5909 * sysdeps/i386/fpu/libm-test-ulps: Update.
5910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5911 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5912 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5917 * math/libm-test.inc ("Philosophy"): Update comment about
5919 (UNDERFLOW_EXCEPTION): New macro.
5920 (UNDERFLOW_EXCEPTION_OK): Likewise.
5921 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5922 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5923 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5924 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5925 (INVALID_EXCEPTION_OK): Update value.
5926 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5927 (OVERFLOW_EXCEPTION_OK): Likewise.
5928 (IGNORE_ZERO_INF_SIGN): Likewise.
5929 (test_exceptions): Handle underflow exceptions.
5930 (acos_test): Update for underflow exception expectations.
5931 (cexp_test): Likewise.
5932 (clog_test): Likewise.
5933 (clog10_test): Likewise.
5934 (csqrt_test): Likewise.
5935 (ctan_test): Likewise.
5936 (ctanh_test): Likewise.
5937 (exp_test): Likewise.
5938 (exp10_test): Likewise.
5939 (exp2_test): Likewise.
5940 (expm1_test): Likewise.
5941 (fma_test): Likewise.
5942 (j0_test): Likewise.
5943 (jn_test): Likewise.
5944 (nexttoward_test): Likewise.
5945 (pow_test): Likewise.
5946 (scalbn_test): Likewise.
5947 (scalbln_test): Likewise.
5948 (tan_test): Likewise.
5949 (y1_test): Likewise.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953 2012-05-23 David S. Miller <davem@davemloft.net>
5955 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5956 (__libc_sigaction): Remove unused local variables.
5958 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5960 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5962 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5964 mktime: avoid signed integer overflow
5965 * time/mktime.c (__mktime_internal): Do not mishandle the case
5966 where diff == INT_MIN.
5968 mktime: simplify computation of average
5969 * time/mktime.c (ranged_convert): Use new time_t_avg function
5970 instead of rolling our own (probably-slower) code.
5972 mktime: do not assume signed right shift propagates sign bit
5973 * time/mktime.c (isdst_differ): New static function.
5974 (__mktime_internal): No need to normalize tm_isdst now.
5975 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5978 mktime: merge another wrapv change from gnulib
5979 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5980 from some compilers.
5982 mktime: remove incorrect attempt at unusual arithmetics
5983 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5984 The code didn't really work on such machines anyway.
5985 (TYPE_MINIMUM): Assume two's complement.
5986 (twos_complement_arithmetic): Verify that long_int and time_t
5987 are two's complement (or unsigned, in the latter case).
5989 mktime: check signed shifts on long_int and time_t, too
5990 * time/mktime.c (SHR): Check that shifts work as desired
5991 on the types long_int and time_t too, as SHR is used on
5994 mktime: do not assume 'long' is wide enough
5995 * time/mktime.c (verify): Move decl up.
5996 (long_int): New type.
5997 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5998 to remove assumption in the code that 'long' is wide enough to
5999 store year values. This assumption is not true on x32 and on
6000 some non-glibc platforms.
6002 mktime: merge wrapv change from gnulib
6003 * time/mktime.c (WRAPV): New macro.
6004 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6005 (guess_time_tm, __mktime_internal): Do not assume that signed
6006 integer overflow wraps around; modern compilers generate code
6007 where this assumption is no longer valid.
6009 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6011 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6012 Replace "jmp L(pseudo_end)" with "ret".
6013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6016 2012-05-23 Andreas Jaeger <aj@suse.de>
6018 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6019 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6021 2012-05-23 Andreas Jaeger <aj@suse.de>
6022 Maximilian Attems <max@stro.at>
6024 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6027 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6030 code so that pseudo_end is just ret and the stack pointer is
6031 correct also for static library in error case.
6033 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6035 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6036 move to syscalls.list.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6042 * manual/install.texi (Running make install): Do not mention Linux
6043 kernel version for which pt_chown is not needed.
6044 (Linux): Do not mention problems with nscd with 2.0 kernels.
6045 * INSTALL: Regenerated.
6047 2012-05-23 Andreas Jaeger <aj@suse.de>
6049 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6050 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6052 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6054 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6055 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6056 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6057 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6062 * sysdeps/unix/sysv/linux/bits/in.h
6063 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6065 2012-05-22 Roland McGrath <roland@hack.frob.com>
6067 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6068 (PREPARE_VERSION): Just use assert instead, it will be elided
6069 under [NDEBUG] anyway.
6071 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6073 * sysdeps/unix/sysv/linux/Makefile: Include
6074 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6075 (sysdep_routines): Remove sysctl.
6076 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6077 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6078 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6079 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6080 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6082 2012-05-22 Andreas Jaeger <aj@suse.de>
6084 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6085 that pseudo_end is just ret and the stack pointer is correct also
6086 for static library in error case.
6088 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6091 * nss/nsswitch.c (defconfig_entries): New variable.
6092 (__nss_database_lookup): Don't leak defconfig entries.
6093 (nss_parse_service_list): Don't leak on error paths.
6094 (free_database_entries): New function.
6095 (free_defconfig): New function.
6096 (free_mem): Move common code to free_database_entries.
6098 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6102 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6104 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6105 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6108 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6109 (INTERNAL_SYSCALL_TYPES): Likewise.
6110 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6111 (LOAD_REGS_TYPES_[1-6]): Likewise.
6112 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6113 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6115 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6118 copysignl for GLIBC_2_0.
6119 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6120 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6122 logbl for GLIBC_2_0.
6123 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6124 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6129 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6131 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6134 * time/mktime.c: Update copyright years.
6136 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6138 mktime: merge comment-quoting-style change from gnulib
6139 * time/mktime.c: Quote 'like this' in comments.
6140 The GNU coding standards suggest that we no longer quote `like this',
6141 as "`" and "'" are typically rendered asymmetrically nowadays.
6142 The typical gnulib style is to quote 'like this' when quoting
6143 code, and "like this" when quoting English.
6145 * time/mktime.c (compile-command): Add "-I.".
6147 mktime: merge mktime-internal.h change from gnulib
6148 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6150 mktime: merge time_r change from gnulib
6151 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6153 mktime: merge DEBUG change from gnulib
6154 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6155 case system <time.h> has a #define.
6157 mktime: merge <sys/types.h> change from gnulib
6158 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6159 since <time.t> is now guaranteed to define time_t.
6161 mktime: merge HAVE_CONFIG_H change from gnulib
6162 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6164 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6169 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6171 (struct rusage): Use anonymous union to pad each field to
6174 2012-05-21 David S. Miller <davem@davemloft.net>
6176 * Makefules (o-iterator): Remove .s cases.
6177 (compile-command.s): Delete.
6178 (COMPILE.s): Delete.
6179 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6181 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6183 * configure.in (libc_cv_predef_stack_protector): Only consider
6184 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6185 * configure: Regenerated.
6187 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6190 New macro. Use R*LP on int and pointer.
6191 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6192 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6193 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6194 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6196 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6197 [__WORDSIZE_TIME64_COMPAT32] instead of
6198 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6199 (struct utmp): Likewise.
6200 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6201 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6203 (__WORDSIZE_TIME64_COMPAT32): This.
6204 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6205 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6206 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6209 (__WORDSIZE_TIME64_COMPAT32): New macro.
6211 2012-05-21 Andreas Jaeger <aj@suse.de>
6213 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6214 only if [SHARED]. Add prototype for __wcschr_ia32.
6216 2012-05-21 Roland McGrath <roland@hack.frob.com>
6218 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6219 of %rbp unmolested in the jmp_buf while mangling the low bits.
6220 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6221 unmolested high bits of %rbp while demangling the low bits.
6222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6224 2012-05-21 Andreas Jaeger <aj@suse.de>
6226 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6227 * sunrpc/svc_simple.c: Use it for registerrpc.
6228 * sunrpc/xcrypt.c: Use it for passwd2des.
6230 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6232 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6234 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6235 Don't define if [__SYSCALL_WORDSIZE != 32].
6236 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6239 2012-05-21 Bruno Haible <bruno@clisp.org>
6240 Andreas Jaeger <aj@suse.de>
6242 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6243 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6244 inptr and inend for must_buffer_ch.
6245 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6246 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6247 * stdio-common/Makefile (tests): Remove bug15.
6248 (bug15-ENV): Remove macro.
6249 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6252 2012-05-19 Andreas Jaeger <aj@suse.de>
6253 Roland McGrath <roland@hack.frob.com>
6255 * manual/contrib.texi: Completely rewritten. It contains now an
6256 alphabetical list of contributors and their contributions.
6258 2012-05-21 Richard Henderson <rth@twiddle.net>
6260 * misc/getauxval.c (__getauxval): Use unsigned long int.
6261 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6262 (getauxval): Use unsigned long int.
6264 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6266 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6268 2012-05-21 Roland McGrath <roland@hack.frob.com>
6270 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6271 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6272 __alignof__ (long double).
6274 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6278 2012-05-20 Richard Henderson <rth@twiddle.net>
6280 * misc/getauxval.c: New file.
6281 * misc/sys/auxv.h: New file.
6282 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6283 (routines): Add getauxval.
6284 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6285 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6286 * elf/dl-sysdep.c (_dl_auxv): Remove.
6287 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6288 * elf/dl-support.c (_dl_auxv): New variable.
6289 (_dl_aux_init): Initialize it.
6290 * manual/startup.texi (Auxiliary Vector): New node.
6291 * sysdeps/generic/bits/hwcap.h: New file.
6292 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6293 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6294 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6295 * sysdeps/sparc/sysdep.h: ... here. Include it.
6296 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6297 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6309 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6313 2012-05-19 David S. Miller <davem@davemloft.net>
6315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6317 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6320 * math/s_ccosh.c: Include <float.h>
6321 (__ccosh): Avoid internal overflow calculating sinh and cosh
6322 values before multiplying by sin and cos values.
6323 * math/s_ccoshf.c: Likewise.
6324 * math/s_ccoshl.c: Likewise.
6325 * math/s_csin.c: Likewise.
6326 * math/s_csinf.c: Likewise.
6327 * math/s_csinl.c: Likewise.
6328 * math/s_csinh.c: Likewise.
6329 * math/s_csinhf.c: Likewise.
6330 * math/s_csinhl.c: Likewise.
6331 * math/libm-test.inc (ccos_test): Add more tests.
6332 (ccosh_test): Likewise.
6333 (csin_test): Likewise.
6334 (csinh_test): Likewise.
6335 * sysdeps/i386/fpu/libm-test-ulps: Update.
6336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6338 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6340 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6341 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6343 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6345 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6347 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6348 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6349 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6350 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6351 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6352 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6353 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6354 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6355 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6356 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6357 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6358 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6359 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6360 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6361 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6362 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6363 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6364 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6365 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6366 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6367 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6368 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6369 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6370 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6371 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6372 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6373 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6374 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6375 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6376 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6377 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6379 2012-05-18 Andreas Jaeger <aj@suse.de>
6381 * csu/.gitignore: Delete.
6383 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6385 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6386 (timex): Use __syscall_slong_t.
6388 2012-05-18 Andreas Jaeger <aj@suse.de>
6389 Carlos O'Donell <carlos_odonell@mentor.com>
6391 * manual/install.texi (Configuring and compiling): Update
6392 description about files modified in the source directory.
6393 * INSTALL: Regenerated.
6395 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6397 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6398 value. Use "or" to set return value to -1.
6399 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6400 negate return value.
6402 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6404 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6405 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6406 failure if the compiler has Graphite support disabled.
6407 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6409 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6410 CFLAGS-memmove.c): Likewise.
6411 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6414 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6416 * sysdeps/x86_64/x32/_itoa.h: New file.
6418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6419 getdents system call only if kernel and user dirents have the
6420 same d_ino and d_off.
6422 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6423 LLONG_MAX != LONG_MAX.
6424 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6425 (_fitoa_word): Likewise.
6427 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6429 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6430 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6431 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6433 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6434 include <bits/wordsize.h>. Check __x86_64__ instead of
6436 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6437 if __x86_64__ is defined. Use anonymous union on fpstate.
6439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6442 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6444 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6445 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6446 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6447 Refer to _rtld_local_ro instead of _rtld_global_ro.
6448 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6450 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6452 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6454 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6455 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6456 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6458 * sysdeps/powerpc/powerpc32/dl-machine.c
6459 (__elf_machine_runtime_setup) [PROF]: Don't reference
6462 2012-05-18 Andreas Jaeger <aj@suse.de>
6464 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6465 function only available for GCCs before 3.4 since GCC 3.4
6466 introduced a builtin.
6468 (llrintf): Likewise.
6476 (nearbyint): Likewise.
6477 (nearbyintf): Likewise.
6483 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6485 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6486 on both fields and cast pointer to __syscall_ulong_t.
6488 * bits/types.h (__fsword_t): New type.
6489 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6490 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6492 (__FSWORD_T_TYPE): Likewise.
6493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6494 (__FSWORD_T_TYPE): Likewise.
6495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6496 (__FSWORD_T_TYPE): Likewise.
6497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6498 (__FSWORD_T_TYPE): Likewise.
6499 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6500 __SWORD_TYPE with __fsword_t.
6501 (statfs64): Likewise.
6503 2012-05-17 David S. Miller <davem@davemloft.net>
6505 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6507 2012-05-17 Andreas Jaeger <aj@suse.de>
6509 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6512 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6514 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6516 2012-05-17 Andreas Jaeger <aj@suse.de>
6518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6521 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6523 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6527 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6528 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6530 2012-05-17 Andreas Jaeger <aj@suse.de>
6531 Carlos O'Donell <carlos_odonell@mentor.com>
6534 * sysdeps/x86_64/multiarch/init-arch.h
6535 (bit_YMM_Usable): Rename to...
6536 (bit_AVX_Usable): ... this.
6537 (bit_FMA4_Usable): New macro.
6538 (bit_XMM_state): New macro.
6539 (bit_YMM_state): New macro.
6540 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6541 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6542 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6543 (CPUID_OSXSAVE): New macro.
6544 (CPUID_AVX): New macro.
6545 (CPUID_FMA4): New macro.
6546 (index_YMM_Usable): Rename to...
6547 (index_AVX_Usable): ... this.
6548 (HAS_AVX): Use HAS_ARCH_FEATURE.
6549 (HAS_FMA4): Likewise.
6550 (HAS_YMM_USABLE): Remove.
6551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6552 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6554 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6555 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6556 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6557 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6558 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6560 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6562 * math/libm-test.c: Support platforms without multiple rounding modes.
6563 * math/bug-nextafter.c: Support platforms without FP exceptions.
6564 * math/bug-nexttoward.c: Likewise.
6565 * math/test-fenv.c: Likewise.
6566 * math/test-misc.c: Likewise.
6567 * stdlib/bug-getcontext.c: Likewise.
6569 2012-05-17 Andreas Jaeger <aj@suse.de>
6571 * manual/examples/search.c (critter_cmp): Change signature to
6573 * manual/string.texi (Collation Functions): Likewise.
6575 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6577 * bits/types.h: Fold copyright years.
6578 * bits/typesizes.h: Likewise.
6579 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6583 * time/time.h: Likewise.
6585 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6588 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6589 in instead of returning them. Return void.
6590 (__libc_mallinfo): Accumulate over all arenas.
6591 (__malloc_stats): Adjust for change in int_mallinfo interface.
6593 2012-05-16 Roland McGrath <roland@hack.frob.com>
6596 * configure.in (NM): Add AC_CHECK_TOOL for it.
6597 (libc_extra_cflags): New substituted variable.
6598 Check for -fstack-protector being used implicitly.
6599 * configure: Regenerated.
6600 * config.make.in (config-extra-cflags): New variable,
6601 gets @libc_extra_cflags@.
6602 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6605 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6606 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6607 * configure: Regenerated.
6608 * config.make.in (CPPUNDEFS): New substituted variable.
6609 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6610 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6611 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6613 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6615 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6616 (mq_attr): Use __syscall_slong_t.
6618 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6620 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6621 Check __x86_64__ instead of __WORDSIZE.
6622 (_STAT_VER_LINUX): Likewise.
6623 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6624 __syscall_ulong_t and __syscall_slong_t.
6627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6629 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6633 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6637 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6640 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6641 include <bits/wordsize.h>. Check __x86_64__ instead of
6643 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6645 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6648 include <bits/wordsize.h>. Check __x86_64__ instead of
6650 (user_regs_struct): Use "__extension__ unsigned long long"
6651 instead of "unsigned long" if __x86_64__ is defined.
6652 (user): Likewise. Pad after pointer field if __ILP32__ is
6655 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6657 * configure.in (makeinfo): Require version 4.5 or later. Allow
6659 * configure: Regenerated.
6660 * manual/install.texi (texinfo): Increase version requirement to
6662 * INSTALL: Regenerated.
6664 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6668 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6670 * sysdeps/x86_64/x32/ffs.c: New file.
6672 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6674 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6675 defined. Use __syscall_ulong_t.
6676 (shminfo): Use __syscall_ulong_t.
6677 (shm_info): Likewise.
6679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6682 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6684 (msgqnum_t): Use __syscall_ulong_t.
6685 (msglen_t): Likewise.
6686 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6689 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6690 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6692 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6694 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6695 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6697 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6700 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6701 include <bits/wordsize.h>. Check __x86_64__ instead of
6704 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6705 "unsigned long long int" if __x86_64__ is defined.
6706 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6709 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6710 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6712 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6714 (GET_PC): Cast to uintptr_t first.
6715 (GET_FRAME): Likewise.
6716 (GET_STACK): Likewise.
6718 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6724 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6725 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6726 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6729 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6731 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6735 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6736 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6737 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6739 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6741 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6743 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6745 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6748 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6750 * Makerules (+depfiles): Also collect depfiles from .oS in
6752 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6753 .oS, $(libnldbl-routines)).
6755 * Makerules (native-compile-mkdep-flags): Define.
6756 * sunrpc/Makefile (extra-objs): Add $(addprefix
6757 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6758 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6759 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6760 calling $(make-target-directory).
6762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6764 * bits/types.h (__snseconds_t): Removed.
6765 * time/time.h (struct timespec): Replace __snseconds_t with
6767 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6768 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6771 (__SNSECONDS_T_TYPE): Likewise.
6772 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6773 (__SNSECONDS_T_TYPE): Likewise.
6774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6775 (__SNSECONDS_T_TYPE): Likewise.
6777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6779 * sysdeps/mach/hurd/bits/typesizes.h
6780 (__SYSCALL_SLONG_TYPE): New macro.
6781 (__SYSCALL_ULONG_TYPE): Likewise.
6783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6785 * bits/types.h (__syscall_slong_t): New type.
6786 (__syscall_ulong_t): Likewise.
6788 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6789 (__SYSCALL_ULONG_TYPE): Likewise.
6790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6791 (__SYSCALL_SLONG_TYPE): Likewise.
6792 (__SYSCALL_ULONG_TYPE): Likewise.
6793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6794 (__SYSCALL_SLONG_TYPE): Likewise.
6795 (__SYSCALL_ULONG_TYPE): Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6797 (__SYSCALL_SLONG_TYPE): Likewise.
6798 (__SYSCALL_ULONG_TYPE): Likewise.
6800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6802 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6803 Add sigaltstack-offsets.sym.
6804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6805 <sigaltstack-offsets.h>.
6806 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6807 longjmp_msg pointer.
6808 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6809 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6811 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6813 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6815 * elf/stackguard-macros.h: Remove file.
6816 * sysdeps/generic/stackguard-macros.h: New file.
6817 * sysdeps/i386/stackguard-macros.h: Likewise.
6818 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6819 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6820 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6821 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6822 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6823 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6824 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6825 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6826 <elf/stackguard-macros.h>.
6829 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6830 __aligned__ in attribute.
6831 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6832 (gregset_t): Likewise.
6834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6836 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6837 * sysdeps/x86_64/64/Implies-after: Here. New file.
6838 * sysdeps/x86_64/x32/Implies-after: New file.
6840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6842 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6843 and access return value for _dl_profile_fixup. Use R10_LP to
6846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6848 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6852 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6853 * sysdeps/x86_64/x32/sysdep.h: New file.
6855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6857 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6858 * sysdeps/x86_64/setjmp.S: Likewise.
6860 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6862 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6863 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6864 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6865 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6866 remove unused global constant.
6868 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6870 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6871 include of <not-cancel.h>.
6873 2012-05-15 Roland McGrath <roland@hack.frob.com>
6875 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6877 2012-05-15 Jeff Law <law@redhat.com>
6878 Andreas Jaeger <aj@suse.de>
6881 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6883 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6884 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6885 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6886 code changing __hst_map_handle.map.
6888 2012-05-15 Roland McGrath <roland@hack.frob.com>
6890 * configure.in (sysnames): Look for Implies-before and Implies-after
6892 * configure: Regenerated.
6894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6896 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6897 8-byte data alignment with LP_SIZE alignment.
6899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6901 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6906 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6910 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6911 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6912 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6918 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6919 (stackinfo_sub_sp): Likewise.
6921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6923 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6938 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6942 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6943 into R11_LP and load __x86_64_shared_cache_size_half into
6946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6951 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6960 powerpc32/power7/fpu/s_logb.c via #include.
6961 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6962 powerpc32/power7/fpu/s_logbf.c via #include.
6963 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6964 powerpc32/power7/fpu/s_logbl.c via #include.
6966 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6968 * README.libm: Remove file.
6970 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6972 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6973 count for x32. Use R*_LP and omit operand-size suffix.
6975 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6977 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6978 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6979 * sysdeps/x86_64/x32/shlib-versions: New file.
6981 2012-05-14 Roland McGrath <roland@hack.frob.com>
6983 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6984 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6985 Use _dl_fatal_printf instead.
6987 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6989 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6990 set if not set by the user. Do not allow for being unset.
6991 * sysdeps/unix/sysv/linux/configure: Regenerated.
6993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6995 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6996 the `q' suffix from lea and replace .quad with ASM_ADDR.
6998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7001 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7003 (PTR_DEMANGLE): Likewise.
7005 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7007 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7009 (ASM_ADDR): Likewise.
7027 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7029 * sysdeps/x86_64/x32/dl-machine.h: New file.
7031 2012-05-14 Andreas Jaeger <aj@suse.de>
7033 * manual/Makefile (subdir): Remove export of subdir.
7034 (all): Remove target.
7035 (.PHONY): Remove all from list.
7036 (mkinstalldirs): Remove.
7037 (.PHONY): Remove installdirs from list.
7038 ($(inst_infodir)/libc.info): Use make-target-directory.
7039 (installdirs): Remove.
7041 (glibc-targets): Remove.
7044 ($(objpfx)stubs ../po/manual.pot): Remove.
7045 ($(objpfx)stamp%): Remove.
7046 (make-target-directory): Remove.
7047 (subdir_install): Remove.
7055 * manual/.gitignore: Remove, it's not needed anymore.
7056 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7058 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7060 (texis): Renamed to $(objpfx)texis.
7061 (texis-path): New, contains path to generated files.
7062 (chapters.%): Use texis-path for complete path, add extra argument
7064 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7065 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7066 (summary,texi, stamp-summary): Use complete path of
7067 files. Generate files in build dir.
7068 (dir-add.texi): Build in build dir.
7069 (libm-err.texi,stamp-libm-err): Likewise.
7070 (version.texi, stamp-version): Likewise.
7071 (.%c.texi): Likewise.
7072 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7073 (mostlyclean): Remove target.
7074 (realclean): Remove target.
7075 (generated): Add new variable with contents from mostlyclean and
7076 realclean, remove entries duplicated in common-mostlyclean, add
7077 stamp-libm-err and stamp-version.
7078 (generated-dirs): Add libc directory.
7079 ($(inst_infodir)/libc.info): Install files from build dir.
7081 * manual/install.texi (Configuring and compiling): Adjust since
7082 the info files are not part of the tar ball anymore.
7084 2012-05-14 Andreas Jaeger <aj@suse.de>
7086 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7089 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7092 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7093 to 2.2.0 where earlier.
7094 * sysdeps/unix/sysv/linux/configure: Regenerated.
7095 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7096 Remove conditional code.
7097 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7098 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7099 Remove conditional code.
7100 [!__NR_lchown]: Likewise.
7101 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7102 [__NR_lchown]: Likewise.
7103 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7104 comment referencing __ASSUME_LCHOWN_SYSCALL.
7105 * sysdeps/unix/sysv/linux/i386/sigaction.c
7106 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7107 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7108 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7109 Remove conditional code.
7110 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7111 (__protocol_available): Remove #if 0 code.
7112 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7114 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7115 * sysdeps/unix/sysv/linux/kernel-features.h
7116 (__ASSUME_GETCWD_SYSCALL): Don't define.
7117 (__ASSUME_REALTIME_SIGNALS): Likewise.
7118 (__ASSUME_PREAD_SYSCALL): Likewise.
7119 (__ASSUME_PWRITE_SYSCALL): Likewise.
7120 (__ASSUME_POLL_SYSCALL): Likewise.
7121 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7122 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7124 (__ASSUME_SIOCGIFNAME): Don't define.
7125 (__ASSUME_MSG_NOSIGNAL): Likewise.
7126 (__ASSUME_SENDFILE): Define unconditionally.
7127 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7128 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7130 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7131 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7132 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7133 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7134 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7135 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7136 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7138 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7144 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7150 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7153 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7156 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7161 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7162 Remove conditional code.
7163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7164 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7165 Remove conditional code.
7166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7167 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7168 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7169 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7170 Remove conditional code.
7171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7172 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7173 Remove conditional code.
7174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7175 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7176 Remove conditional code.
7177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7178 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7179 Remove conditional code.
7180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7181 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7182 Remove conditional code.
7183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7184 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7187 * sysdeps/unix/sysv/linux/sigaction.c
7188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7190 * sysdeps/unix/sysv/linux/sigpending.c
7191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7193 * sysdeps/unix/sysv/linux/sigprocmask.c
7194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7196 * sysdeps/unix/sysv/linux/sigsuspend.c
7197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7200 (__libc_missing_rt_sigs): Remove.
7201 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7202 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7203 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7204 Remove conditional code.
7205 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7206 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7209 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7210 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7211 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7213 2012-05-14 Andreas Jaeger <aj@suse.de>
7215 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7216 it's not used in glibc.
7217 (__coshm1): Likewise.
7218 (__acosh1p): Likewise.
7221 * manual/string.texi (Copying and Concatenation): Add missing
7222 variable in concat example.
7223 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7225 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7229 __builtin_clzl with __builtin_clzll.
7231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7234 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7237 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7239 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7240 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7241 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7242 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7244 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7246 * NEWS: Update ia64 info.
7248 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7250 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7253 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7255 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7256 * sysdeps/unix/syscalls.list (dup3): Likewise.
7257 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7258 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7260 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7262 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7263 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7265 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7267 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7269 (TLS_IE): Use mov/add instead of movq/addq to load thread
7271 (TLS_GD_PREFIX): New.
7274 2012-05-11 David S. Miller <davem@davemloft.net>
7276 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7277 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7278 (_FPU_SETCW): Likewise.
7280 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7282 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7285 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7288 * iconvdata/gb18030.c: Update tables.
7289 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7290 characters specially.
7291 (BODY for TO_LOOP): Add encoding of missing ranges.
7293 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7296 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7297 * sysdeps/mach/hurd/dup3.c: Likewise.
7298 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7299 * sysdeps/powerpc/memmove.c:: Likewise.
7301 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7304 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7306 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7308 * elf/elf.h (R_X86_64_RELATIVE64): New.
7309 (R_X86_64_NUM): Updated.
7310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7311 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7312 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7313 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7314 tst-quad1pie tst-quad2pie
7315 (modules-names): Add tst-quadmod1 tst-quadmod2.
7316 ($(objpfx)tst-quad1): New dependency.
7317 ($(objpfx)tst-quad2): Likewise.
7318 ($(objpfx)tst-quad1pie): Likewise.
7319 ($(objpfx)tst-quad2pie): Likewise.
7320 * sysdeps/x86_64/tst-quad1.c: New file.
7321 * sysdeps/x86_64/tst-quad1pie.c: New file.
7322 * sysdeps/x86_64/tst-quad2.c: Likewise.
7323 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7324 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7325 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7326 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7327 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7329 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7331 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7332 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7333 * streams/stropts.h (t_scalar_t): Define type.
7335 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7336 (_PATH_PRESERVE): Set to "/var/lib".
7337 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7339 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7342 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7343 if __dir_mkfile succeeded.
7345 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7346 checking for _hurd_dtablesize. Unlock it right after having
7347 finished _hurd_dtable allocation.
7349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7351 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7352 * sysdeps/mach/hurd/configure: Regenerated.
7353 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7354 special-casing to...
7355 * sysdeps/gnu/configure.in: ... this new file.
7356 * sysdeps/unix/sysv/linux/configure: Regenerated.
7357 * sysdeps/gnu/configure: New generated file.
7359 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7360 for Linux: use nsec instead of usec, as well as:
7361 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7362 members of type struct timespec.
7363 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7365 (struct stat64): Likewise.
7366 (_STATBUF_ST_NSEC): New macro.
7367 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7369 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7370 __strtoul_internal rather than strtoul.
7372 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7374 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7379 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7380 which preserves existing values.
7381 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7383 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7385 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7386 TIMEOUT values. Return EINVAL for NFDS values either negative or
7387 greater than FD_SETSIZE.
7389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7391 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7392 allocated, call __vm_protect to finish enabling the existing space, and
7393 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7394 allocate the remainder.
7396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7398 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7399 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7403 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7404 sysdeps/mach/hurd/readlink.c.
7406 * posix/tst-sysconf.c (posix_options): Only use
7407 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7408 _POSIX_SYNCHRONIZED_IO when they are defined
7409 * sysdeps/mach/hurd/bits/posix_opt.h:
7410 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7411 (_XOPEN_REALTIME): Undefine macro.
7412 (_XOPEN_REALTIME_THREADS): Undefine macro.
7413 (_XOPEN_SHM): Undefine macro.
7414 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7416 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7418 (_POSIX_ASYNC_IO): Undefine macro.
7419 (_POSIX_PRIORITIZED_IO): Undefine macro.
7420 (_POSIX_SPIN_LOCKS): Define macro to -1.
7422 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7423 SA_NODEFER, SA_RESETHAND.
7424 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7425 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7430 * elf/Makefile (pldd-modules): Define unconditionally.
7432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7434 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7438 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7439 Return ENOENT when name is empty.
7440 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7442 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7444 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7446 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7450 Fix mlock in all cases except non-readable pages.
7451 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7452 instead of VM_PROT_ALL as parameter to __vm_wire function.
7454 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7455 (__mkdir): When path is `/', just fail with EEXIST.
7456 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7460 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7461 <sys/uio.h> (for writev).
7462 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7463 and <sys/param.h> (for MIN).
7465 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7467 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7468 REQUESTED_TIME. Properly set the remaining time and return EINTR
7471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7473 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7474 Depend on against $(link-rpcuserlibs).
7476 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7478 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7479 (__libc_stack_end): Do not use attribute_relro.
7480 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7481 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7482 to libthread-provided value.
7483 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7489 * bits/libc-lock.h (__libc_once_get): New macro.
7490 * sysdeps/mach/bits/libc-lock.h: Likewise.
7491 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7493 instead of using implementation details.
7495 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7496 * libio/freopen.c: Likewise.
7497 * libio/freopen64.c: Likewise.
7498 * misc/syslog.c: Likewise.
7499 * nscd/connections.c: Likewise.
7500 * nscd/netgroupcache.c: Likewise.
7501 * sysdeps/posix/getcwd.c: Likewise.
7503 2012-05-10 Roland McGrath <roland@hack.frob.com>
7505 * math/w_ilogbf.c: Add #include <limits.h>.
7507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7509 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7510 path instead of returning without unlocking.
7512 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7513 immediate-write ioctls.
7514 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7518 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7519 __builtin_frame_address instead of making assumptions about the
7520 location of the return address relative to DATA. Force early load of
7522 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7523 __builtin_frame_address.
7526 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7527 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7528 implement dup3 and do some further code clean-ups.
7529 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7530 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7534 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7536 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7537 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7538 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7539 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7540 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7543 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7544 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7545 when handler == SIG_ERR, not when handler != SIG_ERR.
7547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7549 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7550 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7553 accept4 for GNU Hurd.
7554 * include/sys/socket.h (__libc_accept4): New prototype.
7555 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7556 to implement __libc_accept4.
7557 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7559 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7561 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7562 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7563 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7568 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7572 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7573 assertion on O_CLOEXEC flag.
7574 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7575 * hurd/intern-fd.c: Likewise.
7576 * hurd/port2fd.c: Likewise.
7578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7581 * bits/in.h (IPV6_PKTINFO): Define new macro.
7582 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7584 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7589 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7591 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7595 * math/libm-test.inc (logb_test) : Additional logb tests.
7597 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7598 Andreas Jaeger <aj@suse.de>
7600 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7601 * configure: Regenerated.
7602 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7603 * config.make.in (link-obsolete-rpc): New substituted variable.
7604 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7605 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7606 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7607 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7608 so that libc.a contains the symbols.
7609 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7610 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7611 * sunrpc/auth_none.c: Likewise.
7612 * sunrpc/auth_unix.c: Likewise.
7613 * sunrpc/authdes_prot.c: Likewise.
7614 * sunrpc/authuxprot.c: Likewise.
7615 * sunrpc/clnt_gen.c: Likewise.
7616 * sunrpc/clnt_perr.c: Likewise.
7617 * sunrpc/clnt_raw.c: Likewise.
7618 * sunrpc/clnt_simp.c: Likewise.
7619 * sunrpc/clnt_tcp.c: Likewise.
7620 * sunrpc/clnt_udp.c: Likewise.
7621 * sunrpc/clnt_unix.c: Likewise.
7622 * sunrpc/des_crypt.c: Likewise.
7623 * sunrpc/des_soft.c: Likewise.
7624 * sunrpc/get_myaddr.c: Likewise.
7625 * sunrpc/key_call.c: Likewise.
7626 * sunrpc/key_prot.c: Likewise.
7627 * sunrpc/netname.c: Likewise.
7628 * sunrpc/pm_getmaps.c: Likewise.
7629 * sunrpc/pm_getport.c: Likewise.
7630 * sunrpc/pmap_clnt.c: Likewise.
7631 * sunrpc/pmap_prot.c: Likewise.
7632 * sunrpc/pmap_prot2.c: Likewise.
7633 * sunrpc/pmap_rmt.c: Likewise.
7634 * sunrpc/publickey.c: Likewise.
7635 * sunrpc/rpc_cmsg.c: Likewise.
7636 * sunrpc/rpc_common.c: Likewise.
7637 * sunrpc/rpc_dtable.c: Likewise.
7638 * sunrpc/rpc_prot.c: Likewise.
7639 * sunrpc/rpc_thread.c: Likewise.
7640 * sunrpc/rtime.c: Likewise.
7641 * sunrpc/svc.c: Likewise.
7642 * sunrpc/svc_auth.c: Likewise.
7643 * sunrpc/svc_raw.c: Likewise.
7644 * sunrpc/svc_run.c: Likewise.
7645 * sunrpc/svc_tcp.c: Likewise.
7646 * sunrpc/svc_udp.c: Likewise.
7647 * sunrpc/svc_unix.c: Likewise.
7648 * sunrpc/svcauth_des.c: Likewise.
7649 * sunrpc/xcrypt.c: Likewise.
7650 * sunrpc/xdr.c: Likewise.
7651 * sunrpc/xdr_array.c: Likewise.
7652 * sunrpc/xdr_float.c: Likewise.
7653 * sunrpc/xdr_intXX_t.c: Likewise.
7654 * sunrpc/xdr_mem.c: Likewise.
7655 * sunrpc/xdr_rec.c: Likewise.
7656 * sunrpc/xdr_ref.c: Likewise.
7657 * sunrpc/xdr_sizeof.c: Likewise.
7658 * sunrpc/xdr_stdio.c: Likewise.
7660 2012-05-10 Roland McGrath <roland@hack.frob.com>
7662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7663 change. Update copyright years.
7665 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7667 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7669 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7670 Joseph Myers <joseph@codesourcery.com>
7671 Paul Pluzhnikov <ppluzhnikov@google.com>
7674 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7676 [cross-compiling] (extra-libs): Likewise.
7677 [cross-compiling] (extra-libs-others): Likewise.
7678 [cross-compiling] (librpcsvc-routines): Likewise.
7679 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7680 [cross-compiling] (omit-deps): Likewise.
7681 (sunrpc-CPPFLAGS): New variable.
7682 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7683 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7684 (cross-rpcgen-objs): New variable.
7685 (extra-objs): Append $(cross-rpcgen-objs).
7686 ($(cross-rpcgen-objs)): New rule.
7687 ($(objpfx)cross-rpcgen): Likewise.
7688 (rpcgen-cmd): Define to use $(built-program-file). Expand
7690 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7691 ($(objpfx)x%.stmp): Likewise.
7692 * sunrpc/proto.h [IS_IN_build] (_): Define.
7693 [IS_IN_build] (_libc_intl_domainname): Likewise.
7695 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7698 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7699 and R_X86_64_TPOFF64.
7701 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7703 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7704 sysdeps/unix/sysv/syscalls.list.
7707 * sysdeps/unix/sysv/syscalls.list: Remove file.
7709 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7712 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7713 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7714 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7715 (__LC_IDENTIFICATION): Make these macros useful in #if
7716 expressions, as required by C99.
7718 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7720 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7721 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7724 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7726 * stdlib/longlong.h: Updated from GCC.
7728 2012-05-09 Andreas Jaeger <aj@suse.de>
7730 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7731 default is first entry.
7732 (run_mode): Set type.
7733 (main): Remove informal message about syslog.
7734 (options): Fix typo.
7737 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7740 (llrintf): Likewise.
7744 (nearbyint): Likewise.
7745 (nearbyintf): Likewise.
7747 2012-05-09 Andreas Jaeger <aj@suse.de>
7748 Pedro Alves <palves@redhat.com>
7750 * nscd/nscd.c (run_mode): Use enum.
7751 (main): Cleanup coding style issue.
7753 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7754 Andreas Jaeger <aj@suse.de>
7756 * nscd/nscd.c (go_background): Replaced with...
7757 (run_mode): ... this.
7758 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7759 (options): Add -F --foreground.
7760 (main): Implement it.
7761 (parse_opt): Parse it.
7763 2012-05-09 Andreas Jaeger <aj@suse.de>
7766 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7767 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7768 -Wconversion warning.
7769 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7772 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7774 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7776 (LC_ALL): Use macro-int-constant.
7777 (LC_COLLATE): Likewise.
7778 (LC_CTYPE): Likewise.
7779 (LC_MESSAGES): Likewise.
7780 (LC_MONETARY): Likewise.
7781 (LC_NUMERIC): Likewise.
7782 (LC_TIME): Likewise.
7783 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7784 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7786 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7788 [C99-based standards] (float_t): Expect type.
7789 [C99-based standards] (double_t): Expect type.
7790 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7792 [C99-based standards] (HUGE_VALL): Likewise.
7793 [C99-based standards] (INFINITY): Likewise.
7794 [C99-based standards] (NAN): Likewise.
7795 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7796 [C99-based standards] (FP_NAN): Likewise.
7797 [C99-based standards] (FP_NORMAL): Likewise.
7798 [C99-based standards] (FP_SUBNORMAL): Likewise.
7799 [C99-based standards] (FP_ZERO): Likewise.
7800 [C99-based standards] (FP_FAST_FMA): Use
7801 optional-macro-int-constant. Specify type. Require == 1.
7802 [C99-based standards] (FP_FAST_FMAF): Likewise.
7803 [C99-based standards] (FP_FAST_FMAL): Likewise.
7804 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7805 [C99-based standards] (FP_ILOGBNAN): Likewise.
7806 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7808 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7809 [C99-based standards] (math_errhandling): Specify type.
7810 [ISO99 || ISO11] (signgam): Do not allow.
7811 [non-C99-based standards] (copysignf): Do not allow.
7812 [non-C99-based standards] (exp2f): Likewise.
7813 [non-C99-based standards] (log2f): Likewise.
7814 [non-C99-based standards] (modff): Allow.
7815 [non-C99-based standards] (erff): Do not allow.
7816 [non-C99-based standards] (erfcf): Likewise.
7817 [non-C99-based standards] (gammaf): Likewise.
7818 [non-C99-based standards] (hypotf): Likewise.
7819 [non-C99-based standards] (j0f): Likewise.
7820 [non-C99-based standards] (j1f): Likewise.
7821 [non-C99-based standards] (jnf): Likewise.
7822 [non-C99-based standards] (lgammaf): Likewise.
7823 [non-C99-based standards] (tgammaf): Likewise.
7824 [non-C99-based standards] (y0f): Likewise.
7825 [non-C99-based standards] (y1f): Likewise.
7826 [non-C99-based standards] (ynf): Likewise.
7827 [non-C99-based standards] (isnanf): Likewise.
7828 [non-C99-based standards] (acoshf): Likewise.
7829 [non-C99-based standards] (asinhf): Likewise.
7830 [non-C99-based standards] (atanhf): Likewise.
7831 [non-C99-based standards] (cbrtf): Likewise.
7832 [non-C99-based standards] (expm1f): Likewise.
7833 [non-C99-based standards] (ilogbf): Likewise.
7834 [non-C99-based standards] (log1pf): Likewise.
7835 [non-C99-based standards] (logbf): Likewise.
7836 [non-C99-based standards] (nextafterf): Likewise.
7837 [non-C99-based standards] (remainderf): Likewise.
7838 [non-C99-based standards] (rintf): Likewise.
7839 [non-C99-based standards] (scalbf): Likewise.
7840 [non-C99-based standards] (copysignl): Likewise.
7841 [non-C99-based standards] (exp2l): Likewise.
7842 [non-C99-based standards] (log2l): Likewise.
7843 [non-C99-based standards] (modfl): Allow.
7844 [non-C99-based standards] (erfl): Do not allow.
7845 [non-C99-based standards] (erfcl): Likewise.
7846 [non-C99-based standards] (gammal): Likewise.
7847 [non-C99-based standards] (hypotl): Likewise.
7848 [non-C99-based standards] (j0l): Likewise.
7849 [non-C99-based standards] (j1l): Likewise.
7850 [non-C99-based standards] (jnl): Likewise.
7851 [non-C99-based standards] (lgammal): Likewise.
7852 [non-C99-based standards] (tgammal): Likewise.
7853 [non-C99-based standards] (y0l): Likewise.
7854 [non-C99-based standards] (y1l): Likewise.
7855 [non-C99-based standards] (ynl): Likewise.
7856 [non-C99-based standards] (isnanl): Likewise.
7857 [non-C99-based standards] (acoshl): Likewise.
7858 [non-C99-based standards] (asinhl): Likewise.
7859 [non-C99-based standards] (atanhl): Likewise.
7860 [non-C99-based standards] (cbrtl): Likewise.
7861 [non-C99-based standards] (expm1l): Likewise.
7862 [non-C99-based standards] (ilogbl): Likewise.
7863 [non-C99-based standards] (log1pl): Likewise.
7864 [non-C99-based standards] (logbl): Likewise.
7865 [non-C99-based standards] (nextafterl): Likewise.
7866 [non-C99-based standards] (remainderl): Likewise.
7867 [non-C99-based standards] (rintl): Likewise.
7868 [non-C99-based standards] (scalbl): Likewise.
7869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7870 [non-C99-based standards] (FP_*): Do not allow.
7871 [C99-based standards] (FP_*): Change to
7872 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7873 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7875 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7876 (SIG_ERR): Likewise.
7877 [X/Open-based standards] (SIG_HOLD): Likewise.
7878 (SIG_IGN): Likewise.
7879 (SIGABRT): Use macro-int-constant. Specify type. Require
7884 (SIGSEGV): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7896 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7897 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7901 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7902 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7903 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7904 [X/Open-based standards] (SIGTRAP): Likewise.
7905 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7906 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7907 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7908 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7909 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7912 2012-05-08 Ian Wienand <ianw@vmware.com>
7915 * time/tzset.c (__tzset_parse_tz): Update default rules for
7916 daylight time changes in the Energy Policy Act of 2005.
7918 2012-05-09 Andreas Jaeger <aj@suse.de>
7921 * elf/ldconfig.c (parse_conf): Change string to make clear that
7922 ldconfig only issued a warning if ld.so.conf does not exist.
7924 2012-05-08 David S. Miller <davem@davemloft.net>
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7927 movxtod instead of popping the value on the stack.
7929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7931 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7933 * config.h.in: Add HAVE_ARM_PCS_VFP.
7935 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7938 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7939 checking but the checks are disabled for any reason.
7941 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7943 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7944 and ELF64_R_TYPE with ELFW(R_TYPE).
7946 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7951 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7952 (settimeofday): Likewise.
7954 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7956 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7957 a struct th_u2 inside the union, and move tu_block/tu_code into
7958 a new th_u3 union of tu_block/tu_code inside of that. Move
7959 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7960 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7961 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7962 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7963 (th_stuff): Change to th_u1.tu_stuff.
7965 (th_msg): Change to th_u1.th_u2.tu_data.
7967 2012-05-07 David S. Miller <davem@davemloft.net>
7969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7972 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7973 (SETUP_PIC_REG): Use it.
7974 (SETUP_PIC_REG_LEAF): Use it.
7976 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7980 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7982 (EXPL_FINITE): Likewise.
7984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7985 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7989 (EXPL_FINITE): Likewise.
7991 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7992 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7994 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7995 test of -max_value argument for long double.
7996 * sysdeps/i386/fpu/libm-test-ulps: Update.
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7999 2012-05-06 David S. Miller <davem@davemloft.net>
8001 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8002 quad soft-float symbols whose references which are compiler
8004 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8006 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8012 (EXPL_FINITE): Likewise.
8016 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8017 Adjust comments for base varying.
8018 (__expl_finite): Change alias to EXPL_FINITE.
8019 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8021 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8022 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8023 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8024 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8027 (EXPL_FINITE): Likewise.
8031 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8032 Adjust comments for base varying.
8033 (__expl_finite): Change alias to EXPL_FINITE.
8034 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8039 * math/libm-test.inc (check_float_internal): Correct ulp
8040 calculation for subnormal expected results.
8042 2012-05-06 Andreas Jaeger <aj@suse.de>
8044 * Makeconfig (+math-flags): New, set to -frounding-math.
8045 (+cflags): Add +math-flags so that all of glibc gets compiled with
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8050 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8052 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8058 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8059 (__ieee754_expl): Allow for and saturate large arguments.
8060 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8061 (u_threshold): Likewise.
8062 (__exp): Call __ieee754_exp before checking for overflow and
8064 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8065 (u_threshold): Likewise.
8066 (__expf): Call __ieee754_expf before checking for overflow and
8068 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8069 (u_threshold): Likewise.
8070 (__expl): Call __ieee754_expl before checking for overflow and
8072 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8073 (__ieee754_expl): Allow for and saturate large arguments.
8074 * math/libm-test.inc (exp_test): Add another test. Do not allow
8075 missing overflow exception on overflow.
8076 (expm1_test): Do not allow missing overflow exception on overflow.
8078 * sysdeps/i386/fpu/e_expl.c: Move to ...
8079 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8080 rather than using inline asm.
8081 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8082 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8083 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8085 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8092 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8094 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8095 sysdeps/unix/common/syscalls.list.
8098 (ftruncate): Likewise.
8099 (getrusage): Likewise.
8100 (gettimeofday): Likewise.
8101 (setpgid): Likewise.
8102 (setregid): Likewise.
8103 (setreuid): Likewise.
8104 (sigaction): Likewise.
8105 (truncate): Likewise.
8106 (vhangup): Likewise.
8107 * sysdeps/unix/common/syscalls.list: Remove file.
8108 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8109 * sysdeps/unix/sysv/linux/Implies: Likewise.
8111 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8113 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8115 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8119 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8122 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8125 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8128 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8131 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8134 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8137 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8141 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8145 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8148 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8152 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8156 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8158 * sysdeps/unix/common/bits/dirent.h: Remove file.
8159 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8161 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8162 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8163 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8164 * sysdeps/unix/bsd/isatty.c: Likewise.
8165 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8166 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8167 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8169 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8173 long double comparison inaccuracies.
8174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8177 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8179 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8182 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8186 nonzero digits before rounding a hex value.
8187 * stdlib/tst-strtod.c (tests): Add another test.
8189 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8191 * sysdeps/s390/fpu/libm-test-ulps: Update.
8193 2012-05-03 Andreas Jaeger <aj@suse.de>
8195 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8196 does not get optimized out.
8197 (malloc_opt_barrier): New.
8199 2012-05-03 Andreas Jaeger <aj@suse.de>
8200 Roland McGrath <roland@hack.frob.com>
8202 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8203 intermediate file deletion.
8204 (generated): Add .symlist files.
8206 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8209 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8210 Redirect under this condition.
8211 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8212 [__USE_GNU] (__dprintf_chk): Not under this condition.
8213 [__USE_GNU] (__vdprintf_chk): Likewise.
8214 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8215 under this condition.
8216 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8217 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8218 [__USE_XOPEN2K8] (vdprintf): Likewise.
8219 [__USE_GNU] (__dprintf_chk): Not under this condition.
8220 [__USE_GNU] (__vdprintf_chk): Likewise.
8221 [__USE_GNU] (dprintf): Likewise.
8222 [__USE_GNU] (vdprintf): Likewise.
8224 2012-05-03 Roland McGrath <roland@hack.frob.com>
8226 * elf/Makefile (common-generated): Set this instead of generated for
8227 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8228 $(all-built-dso)-derived lists.
8230 2012-05-03 Andreas Jaeger <aj@suse.de>
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8236 * scripts/gen-FAQ.pl: Likewise.
8237 * manual/install.texi (Installation): Point to online location of
8239 * Makefile (files-for-dist): Remove FAQ.
8242 2012-05-02 Allan McRae <allan@archlinux.org>
8244 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8245 (LDFLAGS-reldepmod5.so): Likewise.
8246 (LDFLAGS-reldep6mod1.so): Likewise.
8247 (LDFLAGS-reldep6mod4.so): Likewise.
8248 (LDFLAGS-reldep8mod3.so): Likewise.
8249 (LDFLAGS-unload4mod1.so): Likewise.
8250 (LDFLAGS-unload4mod2.so): Likewise.
8251 (LDFLAGS-tst-initorder): Likewise.
8252 (LDFLAGS-tst-initordera2.so): Likewise.
8253 (LDFLAGS-tst-initordera3.so): Likewise.
8254 (LDFLAGS-tst-initordera4.so): Likewise.
8255 (LDFLAGS-tst-initorderb2.so): Likewise.
8256 (LDFLAGS-noload): Likewise.
8257 (LDFLAGS-next): Likewise.
8258 (LDFLAGS-order2mod1.so): Likewise.
8259 (LDFLAGS-order2mod2.so): Likewise.
8260 (LDFLAGS-tst-initorder2): Likewise.
8261 (LDFLAGS-tst-initorder2a.so): Likewise.
8262 (LDFLAGS-tst-initorder2b.so): Likewise.
8263 (LDFLAGS-tst-initorder2c.so): Likewise.
8264 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8266 2012-05-02 David S. Miller <davem@davemloft.net>
8268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8270 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8273 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8275 2012-05-02 Andreas Jaeger <aj@suse.de>
8277 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8278 since we manipulate rounding mode.
8279 (CPPFLAGS-test-idouble.c): Likewise.
8280 (CPPFLAGS-test-ifloat.c): Likewise.
8281 (CFLAGS-test-ldouble.c): Likewise.
8282 (CFLAGS-test-double.c): Likewise.
8283 (CFLAGS-test-float.c): Likewise.
8284 (CFLAGS-test-misc.c): Likewise.
8285 (CFLAGS-test-test-fenv.c): Likewise.
8287 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8292 comparisons to determine direction to adjust input.
8294 2012-05-01 Roland McGrath <roland@hack.frob.com>
8296 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8297 output to the target.
8299 * scripts/localplt.awk: New file.
8300 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8301 (check-localplt-CFLAGS): Variable removed.
8302 ($(all-built-dso:=.jmprel)): New static pattern rule.
8303 (generated): Add those targets.
8304 (localplt-built-dso): New variable.
8305 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8307 * elf/check-localplt.c: File removed.
8309 * scripts/check-execstack.awk: New file.
8310 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8311 (check-execstack-CFLAGS): Variable removed.
8312 ($(objpfx)check-execstack.h): Target removed.
8313 ($(objpfx)execstack-default): New target.
8314 (generated): Add that instead of check-execstack.h.
8315 ($(all-built-dso:=.phdr)): New static pattern rule.
8316 (generated): Add those targets.
8317 * elf/check-execstack.c: File removed.
8319 * scripts/check-textrel.awk: New file.
8320 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8321 (check-textrel-CFLAGS): Variable removed.
8322 (all-built-dso): Use := to define.o
8323 ($(all-built-dso:=.dyn)): New static pattern rule.
8324 (generated): Add those targets.
8325 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8326 * config.make.in (READELF): New substituted variable.
8327 * elf/check-textrel.c: File removed.
8329 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8331 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8333 * conform/data/ctype.h-data [C99-based standards] (isblank):
8335 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8336 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8338 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8339 Specify type. Require positive value.
8342 [ISO || POSIX] (EILSEQ): Do not expect.
8343 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8344 Specify type. Require positive value.
8345 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8346 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8347 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8348 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8349 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8350 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8351 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8352 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8353 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8354 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8355 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8356 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8357 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8358 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8359 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8360 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8361 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8362 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8363 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8364 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8365 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8366 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8367 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8368 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8369 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8370 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8371 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8372 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8373 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8374 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8375 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8376 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8377 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8378 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8379 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8380 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8381 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8382 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8383 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8384 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8385 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8386 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8387 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8388 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8389 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8390 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8391 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8392 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8393 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8394 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8395 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8396 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8397 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8398 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8399 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8400 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8401 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8402 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8403 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8405 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8407 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8408 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8409 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8410 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8411 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8412 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8413 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8414 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8415 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8416 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8417 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8418 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8419 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8420 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8421 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8423 (FLT_ROUNDS): Expect as macro, not constant.
8424 (FLT_MANT_DIG): Use macro-int-constant.
8425 (DBL_MANT_DIG): Likewise.
8426 (LDBL_MANT_DIG): Likewise.
8427 (FLT_DIG): Likewise.
8428 (DBL_DIG): Likewise.
8429 (LDBL_DIG): Likewise.
8430 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8431 (DBL_MIN_EXP): Likewise.
8432 (LDBL_MIN_EXP): Likewise.
8433 (FLT_MAX_EXP): Use macro-int-constant.
8434 (DBL_MAX_EXP): Likewise.
8435 (LDBL_MAX_EXP): Likewise.
8436 (FLT_MAX_10_EXP): Likewise.
8437 (DBL_MAX_10_EXP): Likewise.
8438 (LDBL_MAX_10_EXP): Likewise.
8439 (FLT_MAX): Use macro-constant.
8440 (DBL_MAX): Likewise.
8441 (LDBL_MAX): Likewise.
8442 (FLT_EPSILON): Use macro-constant. Give upper bound.
8443 (DBL_EPSILON): Likewise.
8444 (LDBL_EPSILON): Likewise.
8445 (FLT_MIN): Likewise.
8446 (DBL_MIN): Likewise.
8447 (LDBL_MIN): Likewise.
8448 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8449 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8450 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8451 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8452 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8453 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8454 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8455 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8456 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8457 [ISO11] (FLT_TRUE_MIN): Likewise.
8458 [ISO11] (LDBL_TRUE_MIN): Likewise.
8459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8460 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8461 (SCHAR_MIN): Use macro-int-constant. Specify type.
8462 (SCHAR_MAX): Likewise.
8463 (UCHAR_MAX): Likewise.
8464 (CHAR_MIN): Likewise.
8465 (CHAR_MAX): Likewise.
8466 (MB_LEN_MAX): Use macro-int-constant.
8467 (SHRT_MIN): Use macro-int-constant. Specify type.
8468 (SHRT_MAX): Likewise.
8469 (USHRT_MAX): Likewise.
8470 (INT_MAX): Likewise.
8471 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8473 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8475 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8477 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8478 bound negative. Suffix upper bound with "L".
8479 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8481 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8483 [C99-based standards] (LLONG_MAX): Likewise.
8484 [C99-based standards] (ULLONG_MAX): Likewise.
8485 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8487 [ISO11] (max_align_t): Require type.
8488 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8490 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8491 from $CFLAGS, without defining away __attribute__ calls.
8492 (checknamespace): Use $CFLAGS_namespace.
8494 * conform/conformtest.pl (@keywords): Only include C99 keywords
8495 for standards based on C99 or C11.
8497 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8499 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8502 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8503 usability of symbols in #if.
8505 * conform/conformtest.pl: If macro or constant types start
8506 "promoted:", expect the symbol to be of the following type
8507 promoted by the integer promotions.
8509 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8510 in one place. Also handle "macro-constant".
8512 * conform/conformtest.pl: Only accept expected macro values with
8513 "==". Parse all "macro" lines in one place.
8514 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8516 * conform/conformtest.pl: Handle braced types on "constant" lines
8517 instead of handling "typed-constant".
8518 * conform/data/signal.h-data: Use "constant" instead of
8521 * conform/conformtest.pl: Handle "optional-" at start of lines in
8522 one place rather than duplicating several cases. Handle each
8523 format of "macro" line with initial "optional-".
8525 * conform/conformtest.pl: Only accept expected constant or
8526 optional-constant values with "==". Parse all "constant" lines in
8527 one place. Parse all "optional-constant" lines in one place.
8528 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8529 * conform/data/fmtmsg.h-data: Likewise.
8530 * conform/data/netinet/in.h-data: Likewise.
8531 * conform/data/tar.h-data: Likewise.
8532 * conform/data/limits.h-data: Use "==" form on "constant" and
8533 "optional-constant" lines.
8535 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8536 Use -std=c99 for XOPEN2K.
8537 (@knownproblems): Remove.
8538 (newtoken): Don't check %isknown.
8540 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8541 Do not expect macro.
8542 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8554 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8555 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8572 [XPG3] (acosh): Likewise.
8573 [XPG3] (asinh): Likewise.
8574 [XPG3] (atanh): Likewise.
8575 [XPG3] (cbrt): Likewise.
8576 [XPG3] (expm1): Likewise.
8577 [XPG3] (ilogb): Likewise.
8578 [XPG3] (log1p): Likewise.
8579 [XPG3] (logb): Likewise.
8580 [XPG3] (nextafter): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8583 [XPG3] (remainder): Likewise.
8584 [XPG3] (rint): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8592 [UNIX98 || XOPEN2K] (scalb): Expect.
8593 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8594 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8624 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8625 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8626 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8627 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8628 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8629 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8630 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8633 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8634 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8635 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8642 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8643 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8644 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8648 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8649 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8650 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8651 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8652 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8653 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8654 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8655 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8656 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8657 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8658 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8659 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8660 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8661 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8662 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8663 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8664 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8665 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8666 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8667 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8668 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8669 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8670 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8671 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8672 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8673 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8674 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8675 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8676 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8677 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8678 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8679 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8680 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8681 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8682 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8683 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8684 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8685 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8686 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8687 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8688 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8689 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8690 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8691 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8692 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8693 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8694 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8695 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8696 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8697 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8698 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8699 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8700 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8701 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8702 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8703 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8704 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8705 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8706 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8707 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8708 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8709 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8710 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8711 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8712 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8713 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8714 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8715 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8716 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8717 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8718 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8719 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8720 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8721 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8722 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8723 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8724 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8725 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8726 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8727 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8728 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8729 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8731 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8732 _XOPEN_SOURCE_EXTENDED for XPG4.
8734 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8736 * Makeconfig (localtime): Remove variable.
8737 (inst_localtime-file): Likewise.
8739 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8760 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8764 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8765 comparisons to determine direction to adjust input.
8766 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8767 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8768 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8777 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8779 * math/libm-test.inc (nexttoward_test): Add more tests.
8781 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8784 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8785 in version GLIBC_2.1, not GLIBC_2.0.
8786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8789 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8792 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8794 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8795 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8796 * math/libm-test.inc (acos_test): Add more tests.
8797 (asin_test): Likewise.
8798 * sysdeps/i386/fpu/libm-test-ulps: Update.
8799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8802 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8804 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8805 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8806 * math/libm-test.inc (acos_test_tonearest): New function.
8807 (acos_test_towardzero): Likewise.
8808 (acos_test_downward): Likewise.
8809 (acos_test_upward): Likewise.
8810 (asin_test_tonearest): Likewise.
8811 (asin_test_towardzero): Likewise.
8812 (asin_test_downward): Likewise.
8813 (asin_test_upward): Likewise.
8814 (main): Call the new functions.
8815 * sysdeps/i386/fpu/libm-test-ulps: Update.
8816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8820 * math/e_exp10.c: Include <float.h>.
8821 (__ieee754_exp10): Handle underflow here rather than multiplying
8822 large negative argument by M_LN10.
8823 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8825 * math/e_exp10l.c: Include <float.h>.
8826 (__ieee754_exp10l): Handle underflow here rather than multiplying
8827 large negative argument by M_LN10l.
8828 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8829 spurious overflow exception on underflow.
8831 2012-04-29 Marek Polacek <polacek@redhat.com>
8833 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8834 (__fortify_function): New macro.
8835 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8836 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8837 __extern_always_inline.
8838 * libio/bits/stdio2.h: Likewise.
8839 * libio/bits/stdio.h: Likewise.
8840 * string/string.h: Likewise.
8841 * string/bits/string3.h: Likewise.
8842 * include/stdio.h: Likewise.
8843 * stdlib/bits/stdlib.h: Likewise.
8844 * stdlib/stdlib.h: Likewise.
8845 * rt/bits/mqueue2.h: Likewise.
8846 * rt/mqueue.h: Likewise.
8847 * posix/bits/unistd.h: Likewise.
8848 * posix/unistd.h: Likewise.
8849 * io/bits/poll2.h: Likewise.
8850 * io/bits/fcntl2.h: Likewise.
8851 * io/fcntl.h: Likewise.
8852 * io/sys/poll.h: Likewise.
8853 * misc/bits/syslog.h: Likewise.
8854 * misc/bits/syslog-ldbl.h: Likewise.
8855 * misc/sys/syslog.h: Likewise.
8856 * socket/bits/socket2.h: Likewise.
8857 * socket/sys/socket.h: Likewise.
8858 * debug/tst-chk1.c: Likewise.
8859 * wcsmbs/bits/wchar2.h: Likewise.
8860 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8861 * wcsmbs/wchar.h: Likewise.
8863 2012-04-29 Andreas Jaeger <aj@suse.de>
8865 * Makerules (tests): Remove enable-check-abi protection.
8866 (check-abi-warn): Remove.
8867 (check-abi-%): Remove check-abi-warn usage.
8869 * configure.in: Remove check-abi configure option.
8870 * configure: Regenerated.
8871 * config.make.in (enable-check-abi): Remove.
8873 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8876 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8877 double functions to double *_finite functions.
8880 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8881 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8883 * stdio-common/Makefile (tests): Add tst-sprintf3.
8884 * stdio-common/tst-sprintf3.c: New file.
8886 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8887 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8889 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8891 * conform/conformtest.pl: Remove duplicate typed-constant
8894 2012-04-28 David S. Miller <davem@davemloft.net>
8896 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8897 (check-abi-%): Remove AWK script prerequisite and explicit
8899 (check-abi): Rewrite to just diff the symlist with the abilist.
8900 (config-tls, config-abi-config): Delete, no longer used.
8901 (update-abi-%): Remove AWK script and explicit abilist directory.
8902 (update-abi): Rewrite to simply compare and conditionally copy the
8903 symlist and the sysdep abilist file. Remove update-abi-config
8905 * abilist/ld.abilist: Remove.
8906 * abilist/libBrokenLocale.abilist: Remove.
8907 * abilist/libanl.abilist: Remove.
8908 * abilist/libcrypt.abilist: Remove.
8909 * abilist/libdl.abilist: Remove.
8910 * abilist/librt.abilist: Remove.
8911 * abilist/libthread_db.abilist: Remove.
8912 * abilist/libutil.abilist: Remove.
8913 * scripts/extract-abilist.awk: Remove.
8914 * scripts/merge-abilist.awk: Remove.
8915 * sysdeps/generic/libcidn.abilist: New file.
8916 * sysdeps/generic/libnss_compat.abilist: New file.
8917 * sysdeps/generic/libnss_db.abilist: New file.
8918 * sysdeps/generic/libnss_dns.abilist: New file.
8919 * sysdeps/generic/libnss_files.abilist: New file.
8920 * sysdeps/generic/libnss_hesiod.abilist: New file.
8921 * sysdeps/generic/libnss_nis.abilist: New file.
8922 * sysdeps/generic/libnss_nisplus.abilist: New file.
8923 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8924 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8925 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8928 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8929 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8930 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8931 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8933 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8934 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8935 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8937 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8938 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8939 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8940 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8942 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8943 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8944 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8945 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8946 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8947 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8949 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8950 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8951 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8953 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9056 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9057 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9058 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9061 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9062 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9063 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9064 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9065 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9066 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9067 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9068 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9069 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9121 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9123 * conform/conformtest.pl: Fix typo in handling typed-constant from
9126 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9128 * README: Cut down references to pre-2.6 Linux kernels and
9129 Linuxthreads. Update lists of configurations in libc and ports
9130 and sort alphabetically. Say "or newer" with Linux kernel version
9133 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9135 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9138 * math/libm-test.inc (logb_test_downward): New test to expose
9139 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9142 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9145 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9147 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9148 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9150 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9152 * sysdeps/unix/i386/brk.S: Remove file.
9153 * sysdeps/unix/i386/dl-brk.S: Likewise.
9154 * sysdeps/unix/i386/pipe.S: Likewise.
9155 * sysdeps/unix/i386/sigreturn.S: Likewise.
9156 * sysdeps/unix/i386/syscall.S: Likewise.
9157 * sysdeps/unix/i386/vfork.S: Likewise.
9158 * sysdeps/unix/i386/wait.S: Likewise.
9160 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9161 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9163 * configure.in (arm*-none*): Do not allow without
9164 --enable-hacker-mode.
9165 (netbsd*): Remove case setting base_os.
9166 (386bsd*): Likewise.
9167 (freebsd*): Likewise.
9171 (ultrix*): Likewise.
9172 (newsos*): Likewise.
9182 (solaris[2-9]*): Likewise.
9184 * configure: Regenerated.
9186 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9190 overflow or cancellation in calculating denominator.
9191 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9193 down expression to avoid unexpected rounding in newer GCCs.
9194 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9196 2012-04-26 David S. Miller <davem@davemloft.net>
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9199 long-double compat symbols.
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9214 2012-04-25 David S. Miller <davem@davemloft.net>
9216 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9217 HWCAP_* values only after the memory barriers have been defined.
9218 (atomic_full_barrier): Define.
9219 (atomic_read_barrier): Define.
9220 (atomic_write_barrier): Define.
9222 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9224 * shlib-versions: Add libgcc_s version information.
9225 * sysdeps/generic/libgcc_s.h: Remove.
9226 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9228 * sysdeps/gnu/unwind-resume.c: Likewise.
9229 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9231 2012-04-25 David S. Miller <davem@davemloft.net>
9233 * sysdeps/unix/sparc/brk.S: Delete.
9234 * sysdeps/unix/sparc/dl-brk.S: Delete.
9235 * sysdeps/unix/sparc/pipe.S: Delete.
9236 * sysdeps/unix/sparc/sysdep.S: Delete.
9237 * sysdeps/unix/sparc/sysdep.h: Delete.
9238 * sysdeps/unix/sparc/vfork.S: Delete.
9239 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9240 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9241 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9242 ret_ERRVAL, r0, r1, MOVE): Define.
9243 (JUMPTARGET): Remove.
9244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9245 sysdeps/unix/sparc/sysdep.h
9246 (ENTRY, END): Remove.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9249 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9251 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9252 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9255 * timezone/README: Update upstream location and email address for
9257 * timezone/zdump.c: Update from tzcode 2012b.
9258 * timezone/zic.c: Likewise.
9260 * configure.in (libc_cv_as_needed): Remove test.
9261 * configure: Regenerated.
9262 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9263 conditional definition.
9264 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9265 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9266 * config.make.in (have-as-needed): Remove variable.
9268 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9269 Paul Pluzhnikov <ppluzhnikov@google.com>
9271 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9274 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9276 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9277 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9278 * sysdeps/sh/strlen.S: Likewise.
9280 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9282 * sysdeps/unix/fork.S: Remove file.
9283 * sysdeps/unix/i386/fork.S: Likewise.
9284 * sysdeps/unix/sparc/fork.S: Likewise.
9286 * sysdeps/unix/system.c: Remove file.
9287 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9289 * sysdeps/unix/getegid.S: Remove file.
9290 * sysdeps/unix/geteuid.S: Likewise.
9292 2012-04-24 Roland McGrath <roland@hack.frob.com>
9294 * scripts/check-localplt.awk: New file.
9295 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9297 * scripts/data/localplt-generic.data: Add a comment.
9299 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9300 NODE when __dir_mkfile failed.
9301 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9302 Reported by Ludovic Courtès <ludo@gnu.org>.
9304 2012-04-24 Andreas Jaeger <aj@suse.de>
9306 * Makerules (common-clean): Also remove gen-as-const-headers
9309 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9311 * Makerules (native-compile): Do not change working directory for
9312 build. Use $(OUTPUT_OPTION) in command.
9313 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9315 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9318 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9319 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9320 * math/libm-test.inc (floor_test): Add more tests.
9321 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9323 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/unix/getdents.c: Remove file.
9326 * sysdeps/unix/sysv/getdents.c: Likewise.
9327 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9329 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9330 sysdeps/unix/mman/syscalls.list.
9332 (mprotect): Likewise.
9335 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9336 * sysdeps/unix/mman/syscalls.list: Remove.
9337 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9339 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9340 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9341 * configure: Regenerated.
9342 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9344 * config.make.in (libgcc_s_suffix): Remove variable.
9346 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9348 * sysdeps/unix/sysv/gethostname.c: Move to ...
9349 * sysdeps/posix/gethostname.c: ... here.
9351 * sysdeps/unix/execve.S: Remove file.
9353 * sysdeps/unix/_exit.S: Remove file.
9355 2012-04-23 Andreas Jaeger <aj@suse.de>
9358 * manual/Makefile: Remove make dist support, there's no
9359 need for a stand-alone documentation tar ball.
9360 (TEXI2DVI): Define always, it's not in Makeconfig.
9364 (glibc-doc-$(edition).tar): Removed
9368 (ETAGS): Remove, it's in Makeconfig.
9369 (move-if-change): Remove, it's in Makeconfig.
9371 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9374 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9375 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9376 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9377 (strtod_l, strtof_l, strtold_l): Remove __wur.
9378 It is not necessarily an error to ignore strtol's return value.
9379 One can reliably look at the stored endptr to decide whether
9380 the number had valid syntax.
9382 2012-04-21 Andreas Jaeger <aj@suse.de>
9385 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9387 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9389 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9390 * sysdeps/unix/sysv/Versions: Remove file.
9392 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9397 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9400 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9401 version from __vm86.
9403 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/unix/common/lxstat.c: Remove file.
9406 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9408 * sysdeps/unix/sysv/Makefile: Remove file.
9410 * sysdeps/unix/sysv/direct.h: Remove file.
9412 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9413 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9414 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9415 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9416 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9417 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9418 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9420 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9422 * sysdeps/unix/xmknod.c: Remove file.
9423 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9425 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9427 * sysdeps/unix/sysv/i386/time.S: Remove file.
9429 * sysdeps/unix/fxstat.c: Remove file.
9430 * sysdeps/unix/xstat.c: Likewise.
9431 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9433 * sysdeps/unix/sysv/sigaction.c: Remove file.
9435 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9436 (sysdep_headers): Remove variable.
9437 [termio.h not in sysdep_headers] (generated): Likewise.
9438 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9439 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9440 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9441 * sysdeps/unix/sysv/tcflow.c: Likewise.
9442 * sysdeps/unix/sysv/tcflush.c: Likewise.
9443 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9444 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9445 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9446 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9447 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9449 * sysdeps/unix/siglist.c: Remove file.
9451 * sysdeps/unix/getppid.S: Remove file.
9453 * sysdeps/unix/mkdir.c: Remove file.
9454 * sysdeps/unix/rmdir.c: Likewise.
9456 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9458 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9461 errlist-compat value.
9463 2012-04-18 David S. Miller <davem@davemloft.net>
9465 * sysdeps/generic/memcopy.h (reg_char): Delete.
9466 * debug/strcat_chk.c: Use char, not reg_char.
9467 * debug/strcpy_chk.c: Likewise.
9468 * debug/strncat_chk.c: Likewise.
9469 * debug/strncpy_chk.c: Likewise.
9470 * string/memchr.c: Likewise.
9471 * string/memrchr.c: Likewise.
9472 * string/rawmemchr.c: Likewise.
9473 * string/strcat.c: Likewise.
9474 * string/strchr.c: Likewise.
9475 * string/strchrnul.c: Likewise.
9476 * string/strcmp.c: Likewise.
9477 * string/strcpy.c: Likewise.
9478 * string/strncat.c: Likewise.
9479 * string/strncmp.c: Likewise.
9480 * string/strncpy.c: Likewise.
9482 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9484 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9485 __builtin_memcopy is called when src and dest ranges are known to not
9488 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9490 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9491 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9492 fwd_align_merge macro call.
9493 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9494 bwd_align_merge macro call.
9495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9497 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9499 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9500 bwd_align_merge macros.
9501 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9502 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9505 2012-04-18 David S. Miller <davem@davemloft.net>
9507 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9509 2012-04-18 Andreas Jaeger <aj@suse.de>
9512 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9513 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9514 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9516 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9517 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9520 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9521 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9522 Adjust for changed ldbl-128 files.
9524 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9525 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9526 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9528 2012-04-17 David S. Miller <davem@davemloft.net>
9530 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9532 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9534 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9535 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9536 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9537 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9538 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9539 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9541 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9544 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9545 * math/libm-test.inc: Add ilogb errno and exception tests.
9546 * math/w_ilogb.c: New file: ilogb wrapper.
9547 * math/w_ilogbf.c: New file: ilogbf wrapper.
9548 * math/w_ilogbl.c: New file: ilogbl wrapper.
9549 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9550 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9551 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9552 exception being thrown with 0.0 as argument.
9553 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9554 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9555 exception being thrown with 0.0 as argument.
9556 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9557 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9558 exception being thrown with 0.0 as argument.
9559 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9560 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9561 exception being thrown with 0.0 as argument.
9562 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9563 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9565 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9566 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9567 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9568 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9569 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9570 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9572 2012-04-17 Petr Baudis <pasky@ucw.cz>
9574 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9577 2012-04-16 Marek Polacek <polacek@redhat.com>
9579 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9581 2012-04-16 Marek Polacek <polacek@redhat.com>
9583 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9584 operands of fdivp instruction.
9586 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9588 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9589 * elf/tst-auditmod3b.c: Likewise.
9590 * elf/tst-auditmod4b.c: Likewise.
9591 * elf/tst-auditmod5b.c: Likewise.
9592 * elf/tst-auditmod6b.c: Likewise.
9593 * elf/tst-auditmod6c.c: Likewise.
9594 * elf/tst-auditmod7b.c: Likewise.
9595 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9596 * sysdeps/x86_64/preconfigure.in: Likewise.
9597 * sysdeps/x86_64/preconfigure: Regenerated.
9599 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9601 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9604 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9607 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9609 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9612 * locale/iso-639.def: Fix gl language name. Spotted by
9615 2012-04-12 Roland McGrath <roland@hack.frob.com>
9618 * libio/libio.h (__io_write_fn): Update comment.
9620 2012-04-12 Petr Baudis <pasky@ucw.cz>
9623 * stdio.texi (Hook Functions): The user provided writer function
9624 is not allowed to return -1.
9626 2012-04-11 David S. Miller <davem@davemloft.net>
9628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9630 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9632 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9633 Add a leading slash to rtkaio.
9635 2012-04-11 Jim Meyering <meyering@redhat.com>
9638 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9639 It is not necessarily an error to ignore fwrite's return
9640 value. One can reliably use ferror to test for errors after
9643 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9645 * bits/types.h (__snseconds_t): New type.
9646 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9648 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9650 (__SNSECONDS_T_TYPE): Likewise.
9651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9652 (__SNSECONDS_T_TYPE): Likewise.
9653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9654 (__SNSECONDS_T_TYPE): Likewise.
9656 2012-04-10 Andreas Jaeger <aj@suse.de>
9659 * manual/time.texi (Processor Time): Return type of times is
9660 elapsed real time since an arbitrary point in the past.
9661 (CPU Time): Move CLK_TCK from here...
9662 (Processor Time): ...to here. Correct description.
9663 * manual/conf.texi (Constants for Sysconf): Correct description of
9666 2012-04-10 David S. Miller <davem@davemloft.net>
9669 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9670 where the is a gap between DT_REL(A) and DT_JMPREL.
9672 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9674 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9675 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9676 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9678 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9680 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9681 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9682 (dl_main): Handle --inhibit-cache.
9683 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9685 * elf/dl-load.c (_dl_map_object): Use it.
9686 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9688 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9691 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9692 (__ieee754_powl): Saturate large exponents rather than testing for
9693 overflow of y*log2(x).
9694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9695 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9699 * math/s_ctan.c: Include <float.h>.
9700 (__ctan): Avoid internal overflow or cancellation in calculating
9702 * math/s_ctanf.c: Likewise.
9703 * math/s_ctanl.c: Likewise.
9704 * math/s_ctanh.c: Likewise.
9705 * math/s_ctanhf.c: Likewise.
9706 * math/s_ctanhl.c: Likewise.
9707 * math/libm-test.inc (ctan_test): Add more tests.
9708 (ctanh_test): Likewise.
9709 * sysdeps/i386/fpu/libm-test-ulps: Update.
9710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9712 2012-04-09 Andreas Jaeger <aj@suse.de>
9715 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9716 is an optional BSD extension.
9719 * manual/stdio.texi (Opening Streams): Document additional fopen
9722 2012-04-09 Roland McGrath <roland@hack.frob.com>
9724 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9725 %eax without telling the compiler.
9727 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9730 * manual/install.texi: Use sourceware.org.
9732 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9735 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9736 (__ieee754_pow): Generate overflow and underflow using huge*huge
9737 and tiny*tiny rather than just returning constant infinity or zero
9738 for large exponents.
9739 * math/libm-test.inc (pow_test): Require overflow exceptions for
9740 applicable cases of large exponents.
9743 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9744 (__ieee754_pow): Use iterative multiplication algorithm only for
9745 integer exponents with absolute value below 1024. Check for odd
9746 integer exponents when using algorithm for real exponents.
9747 * math/libm-test.inc (pow_test): Add more tests.
9748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9750 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9753 * math/libm-test.inc (exp_test): Do not allow overflow exception
9756 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9759 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9760 instead of __kernel_standard_f.
9762 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9764 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9765 * sysdeps/x86_64/memset_chk.S: Likewise.
9767 2012-04-08 Andreas Jaeger <aj@suse.de>
9770 * manual/startup.texi (Environment Access): Describe return value
9771 for putenv and setenv.
9774 * manual/filesys.texi (Directory Entries): Add description for
9778 * manual/filesys.texi (Directory Entries): Clarify that it's file
9779 system not operating system in the description of DT_UNKNOWN.
9782 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9784 2012-04-08 Stephen Compall <s11@member.fsf.org>
9787 * manual/llio.texi (Opening and Closing Files): Add cross
9788 reference to explain mode argument.
9790 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9792 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9793 * sysdeps/x86_64/memset_chk.S: Likewise.
9795 2012-04-07 David S. Miller <davem@davemloft.net>
9797 * elf/elf.h (R_SPARC_WDISP10): Define.
9798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9801 R_SPARC_SIZE64 and R_SPARC_H34.
9803 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9805 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9806 conditions and remove no longer applicable assertion.
9808 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9810 * bits/byteswap.h: Include <features.h>.
9811 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9812 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9814 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9816 * bits/byteswap.h (__bswap_16): Removed.
9817 Include <bits/byteswap-16.h> to get __bswap_16.
9818 * sysdeps/i386/bits/byteswap.h: Likewise.
9819 * sysdeps/s390/bits/byteswap.h: Likewise.
9820 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9821 * bits/byteswap-16.h: New file.
9822 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9823 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9824 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9825 * string/Makefile (headers): Add bits/byteswap-16.h.
9827 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9830 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9832 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9833 * nss/tst-nss-static.c: New.
9835 2012-04-06 Robert Millan <rmh@gnu.org>
9838 * manual/llio.texi (File Position Primitive): lseek
9839 refers to WHENCE when it really means OFFSET.
9841 2012-04-06 Andreas Jaeger <aj@suse.de>
9843 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9844 strncmp declarations.
9846 * abilist/libc.abilist: Add __poll and __ppoll.
9848 2012-04-05 David S. Miller <davem@davemloft.net>
9850 * scripts/check-local-headers.sh: Accept a host triplet in the
9851 path matched by the exclude regexp.
9853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9855 * sysdeps/powerpc/powerpc32/dl-machine.h
9856 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9857 * sysdeps/s390/s390-32/dl-machine.h
9858 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9859 * sysdeps/sparc/sparc32/dl-machine.h
9860 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9861 * sysdeps/sparc/sparc64/dl-machine.h
9862 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9864 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9866 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9867 undefined symbol errors.
9869 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9872 2012-04-05 Michael Matz <matz@suse.de>
9875 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9877 2012-04-05 Andreas Jaeger <aj@suse.de>
9880 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9883 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9885 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9886 which ROUND is no valid rounding mode.
9888 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9890 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9892 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9894 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9896 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9897 an exception using FPU order intentionally.
9899 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9901 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9902 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9903 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9904 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9906 2012-04-05 Simon Josefsson <simon@josefsson.org>
9909 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9910 EINVAL when BUFLEN is too smal.
9912 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9915 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9916 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9918 2012-04-03 Andreas Jaeger <aj@suse.de>
9921 * manual/setjmp.texi (System V contexts): Fix sentence.
9924 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9925 New macro for this case.
9926 [!__GNUC__] (__bswap_64): New inline function for this case.
9927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9928 * bits/byteswap.h: Likewise.
9929 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9930 ull, guard with __GLIBC_HAVE_LONG_LONG.
9932 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9933 __GLIBC_HAVE_LONG_LONG.
9935 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9936 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9938 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9941 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9942 inptr and inend, rather than using last_ch.
9944 2012-04-02 David S. Miller <davem@davemloft.net>
9946 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9947 * stdio-common/printf-parse.h (read_int): Change return type to
9948 'int', return -1 on INT_MAX overflow.
9949 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9950 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9951 overflows INT_MAX. Check for overflow of in-format-string precision
9952 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9953 SIZE_MAX not INT_MAX for integer overflow test.
9954 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9955 skip the construct in the format string but do not record anything.
9956 * stdio-common/bug22.c: Adjust to test both width/prevision
9957 INT_MAX overflow as well as total length INT_MAX overflow. Check
9958 explicitly for proper errno values.
9960 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9962 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9964 * string/test-strcmp.c [! WIDE]: Likewise.
9965 * time/tst-mktime2.c: Likewise for INT_MAX.
9966 * string/test-string.h: #include <sys/param.h> for MIN.
9968 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9969 * sysdeps/i386/init-first.c (init): Likewise.
9970 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9971 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9972 * sysdeps/sh/init-first.c (init): Likewise.
9974 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9976 * po/ru.po: Update from translation team.
9977 * po/vi.po: Likewise.
9979 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9981 * resolv/nss_dns/dns-host.c: Merge copyright years.
9983 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9985 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9986 Optimize memcpy with prefetch if
9987 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9988 src, dst pointers have unequal 16 byte alignments.
9990 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9993 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9994 from a CNAME entry and return the minimum ttl for the query.
9995 (gaih_getanswer_slice): Likewise.
9997 2012-03-30 Jeff Law <law@redhat.com>
9999 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10001 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10002 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10004 * resolv/nss_dns/dns-host.c: Update copyright year.
10006 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10008 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10009 requests to save a system call. Fix check that all bytes are sent.
10011 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10012 comments for sendmmsg.
10014 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10017 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10018 with only 1 character between 0x0041 and 0x01b0.
10019 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10020 * wcsmbs/tst-mbsnrtowcs.c: New file.
10022 2012-03-29 David S. Miller <davem@davemloft.net>
10024 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10025 small copies by hand.
10027 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10030 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10031 _nss_compat_initgroups_dyn): Fall back to malloc/free
10032 for large group memberships.
10034 2012-03-28 David S. Miller <davem@davemloft.net>
10036 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10037 that branches into memcpy.
10038 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10041 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10044 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10045 implementation too.
10046 * sysdeps/sparc/mempcpy.S: New file.
10048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10049 the IFUNC routine in the libc case.
10050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10052 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10053 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10054 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10055 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10056 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10057 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10058 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10059 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10061 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10062 loop to 256 bytes instead of 64 bytes and fix test signedness.
10064 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10065 * sysdeps/sparc/sparc32/Makefile: rather than here...
10066 * sysdeps/sparc/sparc64/Makefile: and here.
10068 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10070 * malloc/mallocbug.c: Avoid warnings about unused variables.
10072 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10075 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10076 in the right place. Discard and retry query if response is
10077 larger than input buffer size.
10079 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10085 x for large integer exponent.
10086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10088 sign of result as needed afterwards.
10089 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10090 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10091 result for underflowing pow the same as for overflow.
10092 (__kernel_standard_l): Handle powl overflow and underflow here
10093 rather than calling __kernel_standard.
10094 * math/libm-test.inc (pow_test): Add more tests.
10109 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10110 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10111 (__kernel_standard_l): New function.
10112 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10114 * math/w_acosl.c (__acosl): Likewise.
10115 * math/w_asinl.c (__asinl): Likewise.
10116 * math/w_atan2l.c (__atan2l): Likewise.
10117 * math/w_atanhl.c (__atanhl): Likewise.
10118 * math/w_coshl.c (__coshl): Likewise.
10119 * math/w_exp10l.c (__exp10l): Likewise.
10120 * math/w_exp2l.c (__exp2l): Likewise.
10121 * math/w_fmodl.c (__fmodl): Likewise.
10122 * math/w_hypotl.c (__hypotl): Likewise.
10123 * math/w_j0l.c (__j0l, __y0l): Likewise.
10124 * math/w_j1l.c (__j1l, __y1l): Likewise.
10125 * math/w_jnl.c (__jnl, __ynl): Likewise.
10126 * math/w_lgammal.c (__lgammal): Likewise.
10127 * math/w_log10l.c (__log10l): Likewise.
10128 * math/w_log2l.c (__log2l): Likewise.
10129 * math/w_logl.c (__logl): Likewise.
10130 * math/w_powl.c (__powl): Likewise.
10131 * math/w_remainderl.c (__remainderl): Likewise.
10132 * math/w_scalbl.c (sysv_scalbl): Likewise.
10133 * math/w_sinhl.c (__sinhl): Likewise.
10134 * math/w_sqrtl.c (__sqrtl): Likewise.
10135 * math/w_tgammal.c (__tgammal): Likewise.
10136 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10137 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10138 * math/libm-test.inc (acos_test): Add more tests.
10139 (acosh_test): Likewise.
10140 (asin_test): Likewise.
10141 (atanh_test): Likewise.
10142 (exp_test): Likewise.
10143 (exp10_test): Likewise.
10144 (exp2_test): Likewise.
10145 (expm1_test): Likewise.
10146 (lgamma_test): Likewise.
10147 (log_test): Likewise.
10148 (log10_test): Likewise.
10149 (log1p_test): Likewise.
10150 (log2_test): Likewise.
10151 (pow_test): Do not allow some spurious overflow exceptions.
10152 (sqrt_test): Add more tests.
10153 (tgamma_test): Likewise.
10154 (y0_test): Likewise.
10155 (y1_test): Likewise.
10156 (yn_test): Likewise.
10158 2012-03-27 Anton Blanchard <anton@samba.org>
10160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10166 2012-03-27 David S. Miller <davem@davemloft.net>
10168 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10170 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10171 have-as-vis3 check.
10173 2012-03-27 Andreas Jaeger <aj@suse.de>
10175 * sysdeps/x86_64/elf/configure.in: Moved to ...
10176 * sysdeps/x86_64/configure.in: ... here.
10177 * sysdeps/x86_64/elf/start.S: Moved to ...
10178 * sysdeps/x86_64/start.S: ... here.
10179 * sysdeps/x86_64/elf/configure: Delete.
10181 * sysdeps/x86_64/configure.in: Merge contents from
10182 sysdeps/i386/configure.in (without i686 check).
10184 * sysdeps/i386/elf/Versions: Merge into ...
10185 * sysdeps/i386/Versions: ... this.
10186 * sysdeps/i386/elf/Versions: Delete file.
10187 * sysdeps/i386/elf/start.S: Moved to ...
10188 * sysdeps/i386/start.S: ...here.
10189 * sysdeps/i386/elf/configure.in: Merge into...
10190 * sysdeps/i386/configure.in: ...here.
10191 * sysdeps/i386/elf/configure.in: Delete file.
10192 * sysdeps/i386/elf/configure: Delete file.
10194 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10195 * debug/backtracesyms.c: ... here.
10196 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10197 * debug/backtracesymsfd.c: ... here.
10198 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10199 * sysdeps/generic/ifunc-sel.h: ... here.
10201 * sysdeps/unix/i386/start.c: Delete file.
10202 * sysdeps/unix/sparc/start.c: Delete file.
10203 * sysdeps/unix/start.c: Delete file.
10205 * sysdeps/sh/elf/configure.in: Moved to ...
10206 * sysdeps/sh/configure.in: ... here.
10207 * sysdeps/sh/elf/start.S: Moved to ...
10208 * sysdeps/sh/start.S: ... here.
10209 * sysdeps/sh/elf/configure: Delete file.
10211 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10212 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10213 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10214 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10215 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10216 * sysdeps/powerpc/powerpc64/start.S: here.
10217 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10218 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10219 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10220 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10221 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10223 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10224 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10225 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10226 * sysdeps/powerpc/powerpc32/start.S: ... here.
10227 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10228 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10229 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10231 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10232 * sysdeps/powerpc/ifunc-sel.h: ... here.
10233 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10234 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10236 * sysdeps/sparc/elf/configure.in: Moved to ...
10237 * sysdeps/sparc/configure.in: ... here.
10238 * sysdeps/sparc/elf/configure: Delete file.
10239 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10240 * sysdeps/sparc/sparc32/start.S: ... here.
10241 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10242 * sysdeps/sparc/sparc64/start.S: ... here.
10243 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10244 * sysdeps/sparc/sparc32/Makefile: ... this.
10245 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10246 * sysdeps/sparc/sparc64/Makefile: ... this.
10248 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10249 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10250 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10251 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10252 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10253 * sysdeps/s390/s390-32/setjmp.S: ... here.
10254 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10255 * sysdeps/s390/s390-32/configure.in: ... here.
10256 * sysdeps/s390/s390-32/elf/configure: Delete file.
10257 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10258 * sysdeps/s390/s390-32/start.S: ... here.
10260 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10261 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10262 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10263 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10264 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10265 * sysdeps/s390/s390-64/setjmp.S: ... here.
10266 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10267 * sysdeps/s390/s390-64/configure.in: ... here
10268 * sysdeps/s390/s390-64/elf/configure: Delete file.
10269 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10270 * sysdeps/s390/s390-64/start.S: ... here.
10271 * sysdeps/s390/s390-64/elf/configure: Delete.
10273 * configure.in: Remove support for elf directories in sysdeps.
10275 * configure: Regenerated.
10276 * sysdeps/i386/configure: Regenerated.
10277 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10278 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10279 * sysdeps/s390/s390-32/configure: Regenerated.
10280 * sysdeps/s390/s390-64/configure: Regenerated.
10281 * sysdeps/sh/configure: Regenerated.
10282 * sysdeps/sparc/configure: Regenerated.
10283 * sysdeps/x86_64/configure: Regenerated.
10285 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10289 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10290 denormal result into account.
10292 2012-03-25 Roland McGrath <roland@hack.frob.com>
10294 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10295 Reported by Allan McRae <allan@archlinux.org>.
10297 2012-03-23 Jeff Law <law@redhat.com>
10299 * nss/getnssent.c (__nss_getent): Fix typo.
10301 2012-03-23 David S. Miller <davem@davemloft.net>
10303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10305 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10307 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10308 to pad to uint64_t for each field.
10309 (dl_tls_index): Replace unsigned long with uint64_t.
10311 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10312 Paul Pluzhnikov <ppluzhnikov@google.com>
10315 * grp/Makefile (otherlibs): Don't set it.
10316 * inet/Makefile (otherlibs): Likewise.
10317 * login/Makefile (otherlibs): Likewise.
10318 * nscd/Makefile (otherlibs): Likewise.
10319 * posix/Makefile (otherlibs): Likewise.
10320 * pwd/Makefile (otherlibs): Likewise.
10321 * rt/Makefile (otherlibs): Likewise.
10322 * sunrpc/Makefile (otherlibs): Likewise.
10323 * nss/Makefile (otherlibs): Likewise.
10324 Add libnss_files to routines and static-only-routines.
10325 ($(objpfx)getent): Remove rule.
10326 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10327 static-only-routines.
10329 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10332 * math/s_cexp.c: Include <float.h>.
10333 (__cexp): Handle exp result overflowing not necessarily
10334 overflowing both real and imaginary parts of result.
10335 * math/s_cexpf.c: Likewise.
10336 * math/s_cexpl.c: Likewise.
10337 * math/libm-test.inc (cexp_test): Add more tests.
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10341 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10343 * include/link.h (ELFW): New macro.
10344 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10345 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10347 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10349 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10352 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10354 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10356 (struct La_x32_retval): Likewise.
10358 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10360 * sysdeps/x86_64/preconfigure.in: New file.
10361 * sysdeps/x86_64/preconfigure: New generated file.
10363 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10366 * math/e_exp2l.c: Include <float.h>.
10367 (__ieee754_exp2l): Handle overflow and underflow cases
10368 separately. Only pass fractional part of argument to
10370 * math/libm-test.inc (exp2_test): Add more tests.
10372 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10373 negating x to take absolute value.
10374 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10376 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10379 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10380 computing low part if x was negated.
10381 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10383 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10385 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10386 la_x32_gnu_pltexit.
10387 (pltexit): Cast int_retval to ptrdiff_t.
10388 * elf/tst-auditmod3b.c: Likewise.
10389 * elf/tst-auditmod4b.c: Likewise.
10390 * elf/tst-auditmod5b.c: Likewise.
10391 * elf/tst-auditmod6b.c: Likewise.
10392 * elf/tst-auditmod6c.c: Likewise.
10393 * elf/tst-auditmod7b.c: Likewise.
10395 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10396 and x32_gnu_pltexit.
10398 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10399 __ELF_NATIVE_CLASS.
10400 (La_x32_regs): New macro.
10401 (La_x32_retval): Likewise.
10402 (la_x32_gnu_pltenter): New function prototype.
10403 (la_x32_gnu_pltexit): Likewise.
10405 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10412 * configure.in (libc_cv_cc_nofma): Check for option to disable
10413 generation of FMA instructions.
10414 * configure: Regenerate.
10415 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10416 * sysdeps/ieee754/dbl-64/Makefile: New file.
10417 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10418 Remove brandred-fma4.
10419 (CFLAGS-brandred-fma4.c): Remove.
10420 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10426 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10428 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10429 LLONG_MAX != LONG_MAX.
10430 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10431 (_fitoa_word): Likewise.
10432 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10433 LLONG_MAX != LONG_MAX.
10434 * stdio-common/_itowa.h: Include <_itoa.h>.
10435 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10436 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10437 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10438 only if not defined.
10439 (_ITOA_WORD_TYPE): Likewise.
10440 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10441 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10443 2012-03-21 David S. Miller <davem@davemloft.net>
10445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10447 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10449 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10450 of x86_64 when setting libc_cv_slibdir, libdir and
10452 * sysdeps/unix/sysv/linux/configure: Regenerated.
10454 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10456 * manual/lang.texi (Old Varargs): Remove section.
10457 (How Variadic): Update menu.
10458 (va_start): Do not mention varargs.h.
10460 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10461 Joseph Myers <joseph@codesourcery.com>
10463 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10465 * configure: Regenerated.
10467 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10469 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10470 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10473 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10476 * Makefile (files-for-dist): Remove NOTES.
10477 (NOTES): Remove rule.
10478 * README: Don't refer to NOTES.
10479 * manual/creature.texi: Don't include macros.texi.
10480 * manual/intro.texi (creature.texi): Remove comment referring to
10483 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10484 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10485 * configure: Regenerated.
10486 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10487 LIBC_TRY_CC_OPTION.
10488 (libc_cv_as_i686): Likewise.
10489 (libc_cv_cc_avx): Likewise.
10490 (libc_cv_cc_sse2avx): Likewise.
10491 (libc_cv_cc_fma4): Likewise.
10492 (libc_cv_cc_novzeroupper): Likewise.
10493 * sysdeps/i386/configure: Regenerated.
10496 * sysdeps/i386/fpu/s_cexp.S: Remove.
10497 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10498 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10499 * math/libm-test.inc (cexp_test): Add more tests.
10500 * sysdeps/i386/fpu/libm-test-ulps: Update.
10501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10503 2012-03-21 Allan McRae <allan@archlinux.org>
10505 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10507 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10510 * math/w_exp2.c: Do not include <float.h>.
10511 (o_threshold, u_threshold): Remove.
10512 (__exp2): Calculate result before checking finiteness and calling
10514 * math/w_exp2f.c: Likewise.
10515 * math/w_exp2l.c: Likewise.
10516 * math/libm-test.inc (exp2_test): Require overflow exception for
10520 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10521 range of signed 64-bit integers before using fistpll. Remove
10522 checks for whether integers fit in mantissa bits.
10523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10524 the range of signed 32-bit integers before using fistpl. Remove
10525 checks for whether integers fit in mantissa bits.
10526 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10527 (__ieee754_powl): Test for y outside the range of signed 64-bit
10528 integers before using fistpll. Reduce 64-bit values to 63-bit
10530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10531 divide-by-zero is raised for zero to large negative powers.
10532 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10533 (__ieee754_powl): Test for y outside the range of signed 64-bit
10534 integers before using fistpll. Reduce 64-bit values to 63-bit
10536 * math/libm-test.inc (pow_test): Add more tests.
10538 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10540 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10541 <stdio-common/_itoa.h>.
10542 * debug/segfault.c: Likewise.
10543 * elf/dl-cache.c: Likewise.
10544 * elf/dl-minimal.c: Likewise.
10545 * elf/dl-misc.c: Likewise.
10546 * elf/dl-sysdep.c: Likewise.
10547 * elf/dl-version.c: Likewise.
10548 * elf/rtld.c: Likewise.
10549 * hurd/hurdsock.c: Likewise.
10550 * hurd/lookup-retry.c: Likewise.
10551 * malloc/malloc.c: Likewise.
10552 * malloc/mtrace.c: Likewise.
10553 * nscd/nscd_getgr_r.c: Likewise.
10554 * nscd/nscd_getpw_r.c: Likewise.
10555 * nscd/nscd_getserv_r.c: Likewise.
10556 * posix/getopt_init.c: Likewise.
10557 * posix/wordexp.c: Likewise.
10558 * stdio-common/_itoa.c: Likewise.
10559 * stdio-common/printf_fphex.c: Likewise.
10560 * stdio-common/vfprintf.c: Likewise.
10561 * string/_strerror.c: Likewise.
10562 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10563 * sysdeps/i386/i686/hp-timing.h: Likewise.
10564 * sysdeps/mach/_strerror.c: Likewise.
10565 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10566 * sysdeps/mach/hurd/sethostid.c: Likewise.
10567 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10568 * sysdeps/mach/xpg-strerror.c: Likewise.
10569 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10571 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10572 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10573 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10574 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10575 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10576 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10577 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10578 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10579 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10580 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10582 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10583 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10584 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10585 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10587 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10588 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10589 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10591 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10593 * stdio-common/_itoa.h: Moved to ...
10594 * sysdeps/generic/_itoa.h: Here.
10596 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10598 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10599 instead of "_itoa.h" and "_itowa.h".
10600 * stdio-common/vfprintf.: Likewise.
10602 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10604 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10606 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10607 (__signbit): Likwise.
10608 (llrintf): Likwise.
10611 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10613 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10616 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10618 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10619 OVERFLOW_EXCEPTION_OK.
10620 * math/libm-test.inc ("Philosophy"): Update comment about
10622 (OVERFLOW_EXCEPTION): Define.
10623 (OVERFLOW_EXCEPTION_OK): Likewise.
10624 (INVALID_EXCEPTION_OK): Renumber.
10625 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10626 (IGNORE_ZERO_INF_SIGN): Likewise.
10627 (test_exceptions): Handle FE_OVERFLOW.
10628 (exp10_test): Expect overflow exceptions.
10629 (exp2_test): Likewise.
10630 (expm1_test): Likewise.
10631 (nextafter_test): Likewise.
10632 (pow_test): Likewise.
10633 (scalbn_test): Likewise.
10634 (scalbln_test): Likewise.
10636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10638 * sysdeps/x86_64/bits/atomic.h
10639 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10641 (atomic_exchange_acq): Likewise.
10642 (__arch_exchange_and_add_body): Likewise.
10643 (__arch_add_body): Likewise.
10644 (atomic_add_negative): Likewise.
10645 (atomic_add_zero): Likewise.
10647 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10650 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10654 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10655 Check __x86_64__ instead of __WORDSIZE.
10657 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10661 2012-03-19 David S. Miller <davem@davemloft.net>
10663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10665 * sysdeps/sparc/fpu/fenv_private.h: New file.
10666 * sysdeps/sparc/fpu/math_private.h: Use it.
10667 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10669 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10670 (libc_feholdexcept_setroundl): Remove.
10671 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10673 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10674 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10676 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10678 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10679 int64_t instead of long int.
10680 (INSERT_WORDS64): Likwise.
10682 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10684 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10685 _Unwind_GetCFA return to _Unwind_Ptr first.
10687 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10690 * math/s_clog.c: Include <float.h>.
10691 (__clog): Scale large or subnormal inputs.
10692 * math/s_clogf.c: Likewise.
10693 * math/s_clogl.c: Likewise.
10694 * math/s_clog10.c: Include <float.h>.
10695 (M_LOG10_2): Define.
10696 (__clog10): Scale large or subnormal inputs.
10697 * math/s_clog10f.c: Likewise.
10698 * math/s_clog10l.c: Likewise.
10699 * math/libm-test.inc (clog_test): Add more tests.
10700 (clog10_test): Likewise.
10701 * sysdeps/i386/fpu/libm-test-ulps: Update.
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10707 * math/libm-test.inc (atan2_test): Add another test.
10709 * Makerules (common-objdir-compile): Remove.
10710 * sysdeps/unix/Makefile (config-generated): Do not add
10711 $(unix-generated) to variable.
10712 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10713 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10715 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10717 [generic bits/local_lim.h] (before-compile): Do not append to
10719 [generic bits/local_lim.h] (common-generated): Likewise.
10720 [generic sys/param.h] (before-compile): Do not append to variable.
10721 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10722 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10723 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10724 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10726 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10727 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10728 [generic sys/param.h] ($(addprefix
10729 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10730 [generic sys/param.h] (common-generated): Do not append to
10732 [generic sys/param.h] (sysdep_headers): Likewise.
10733 [generic bits/errno.h] (before-compile): Do not append to
10735 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10737 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10738 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10739 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10740 [generic bits/errno.h] (common-generated): Do not append to
10742 [generic bits/ioctls.h] (before-compile): Do not append to
10744 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10746 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10747 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10748 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10750 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10751 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10752 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10753 [generic bits/ioctls.h] (common-generated): Do not append to
10755 [generic sys/syscall.h] (syscall.h): Remove variable.
10756 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10758 [generic sys/syscall.h] (before-compile): Do not append to
10760 [generic sys/syscall.h] (common-generated): Likewise.
10761 * sysdeps/unix/errnos-tmpl.c: Remove file.
10762 * sysdeps/unix/errnos.awk: Likewise.
10763 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10764 * sysdeps/unix/ioctls.awk: Likewise.
10765 * sysdeps/unix/mk-local_lim.c: Likewise.
10766 * sysdeps/unix/snarf-ioctls: Likewise.
10768 2012-03-19 Richard Henderson <rth@twiddle.net>
10770 * sysdeps/i386/fpu/fenv_private.h: New file.
10771 * sysdeps/i386/fpu/math_private.h: Use it.
10772 (math_opt_barrier, math_force_eval): Remove.
10773 (libc_feholdexcept_setround_53bit): Remove.
10774 (libc_feupdateenv_53bit): Remove.
10775 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10776 (math_opt_barrier, math_force_eval): Remove.
10777 (libc_feholdexcept): Remove.
10778 (libc_feholdexcept_setround): Remove.
10779 (libc_fetestexcept, libc_fesetenv): Remove.
10780 (libc_feupdateenv_test): Remove.
10781 (libc_feupdateenv, libc_feholdsetround): Remove.
10782 (libc_feresetround): Remove.
10784 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10785 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10787 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10788 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10789 (libc_feupdateenv_testl): New.
10790 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10791 (libc_feupdateenv_testf): New.
10792 (libc_feupdateenv): Use libc_feupdateenv_test.
10793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10796 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10797 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10798 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10799 (libc_feresetround_noex): New.
10800 (libc_feresetround_noexf): New.
10801 (libc_feresetround_noexl): New.
10802 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10803 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10804 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10805 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10808 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10810 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10811 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10812 SET_RESTORE_ROUND_NOEX.
10813 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10814 SET_RESTORE_ROUND_NOEXF.
10815 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10816 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10817 (libc_feholdsetroundf): New.
10818 (libc_feresetround, libc_feresetroundf): New.
10820 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10821 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10822 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10824 * sysdeps/generic/math_private.h: Include <fenv.h>.
10825 (default_libc_feholdexcept): New.
10826 (default_libc_feholdexcept_setround): New.
10827 (default_libc_fesetenv, default_libc_feupdateenv): New.
10828 (libc_feholdexcept): Only define if undefined.
10829 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10830 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10831 (libc_feholdexcept_setroundl): Likewise.
10832 (libc_feholdexcept_setround_53bit): Likewise.
10833 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10834 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10835 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10836 (libc_feupdateenv_53bit): Likewise.
10837 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10838 (libc_feholdexcept): Convert from macro to inline function.
10839 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10840 (libc_fesetenv, libc_feupdateenv): Likewise.
10842 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10843 not previously defined.
10844 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10845 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10846 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10847 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10848 * sysdeps/ieee754/flt-32/math_private.h: New file.
10849 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10850 math_private.h below SET_FLOAT_WORD.
10851 (__isnan, __isinf_ns, __finite): Remove.
10852 (__isnanf, __isinf_nsf, __finitef): Remove.
10854 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10858 2012-03-17 David S. Miller <davem@davemloft.net>
10861 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10864 2012-03-16 David S. Miller <davem@davemloft.net>
10866 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10870 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10872 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10873 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10874 sysdep_routines when subdir is sysvipc.
10875 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10876 __getshmlba helper.
10878 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10880 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10882 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10885 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10887 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10888 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10889 (__lround): Renamed to ...
10890 (__llround): This. Replace long int with long long int.
10891 Define lround functions as aliases of llround functions.
10892 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10894 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10896 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10897 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10898 adresses to uintptr_t. Replace "long int" and "unsigned long
10899 int" with "greg_t" on va_arg.
10901 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10903 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10904 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10906 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10907 Move e_machine check before EI_CLASS check. Handle x32
10908 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10909 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10910 SKIP_EM_IA_64 and include
10911 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10913 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10914 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10915 (add_system_dir): New macro.
10917 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10918 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10920 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10931 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10933 * math/w_j0f.c (j0f): Likewise.
10935 * math/w_j0l.c (__j0l): Likewise.
10937 * math/w_j1.c (j1): Likewise.
10939 * math/w_j1f.c (j1f): Likewise.
10941 * math/w_j1l.c (__j1l): Likewise.
10943 * math/w_jn.c (jn): Likewise.
10945 * math/w_jnf.c (jnf): Likewise.
10947 * math/w_jnl.c (__jnl): Likewise.
10949 * math/libm-test.inc (j0_test): Add more tests.
10950 (j1_test): Likewise.
10951 (jn_test): Likewise. Add trailing semicolon to existing test.
10952 (y0_test): Likewise.
10953 (y1_test): Likewise.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10960 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10961 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10962 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10963 (__tanl): Set errno for infinite argument.
10964 * sysdeps/i386/fpu/mptan.c: Remove.
10965 * sysdeps/i386/fpu/s_tan.S: Likewise.
10966 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10967 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10968 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10969 * math/libm-test.inc (tan_test): Add more tests and enable more
10970 tests for double and long double.
10971 * sysdeps/i386/fpu/libm-test-ulps: Update.
10972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10976 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10977 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10979 2012-03-16 Roland McGrath <roland@hack.frob.com>
10981 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10982 * configure.in: Use it for both main tree and add-ons.
10983 * configure: Regenerated.
10985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10987 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10989 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10995 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10996 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11001 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11003 != 0 for prec == 2.
11004 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11005 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11006 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11007 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11008 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11009 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11010 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11011 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11012 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11013 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11014 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11015 * math/libm-test.inc (cos_test): Add more tests and enable more
11016 tests for long double.
11017 (sin_test): Likewise.
11018 (sincos_test): Likewise.
11019 * sysdeps/i386/fpu/libm-test-ulps: Update.
11020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11022 2012-03-16 David S. Miller <davem@davemloft.net>
11024 * sysdeps/sparc/fpu/math_private.h: New file.
11026 2012-03-15 David S. Miller <davem@davemloft.net>
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11042 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11043 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11045 * sysdeps/sparc/sparc-ifunc.h: New file.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11091 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11093 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11097 2012-03-15 Andreas Jaeger <aj@suse.de>
11100 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11101 ieee754/flt-32 implementation for sin, cos and sincos.
11102 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11103 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11104 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11105 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11106 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11107 ieee754/flt-32 implementation for tan.
11109 * math/libm-test.inc (cos_test): Enable some large input tests for
11111 (sin_test): Likewise.
11112 (sincos_test): Likewise.
11113 (tan_test): Add tests for large input.
11115 * sysdeps/i386/fpu/libm-test-ulps: Update.
11117 2012-03-15 Andreas Jaeger <aj@suse.de>
11120 * math/libm-test.inc (cos_test): Add more test cases.
11121 (sin_test): Likewise.
11122 (sincos_test): Likewise.
11124 2012-03-15 Andreas Jaeger <aj@suse.de>
11127 * math/libm-test.inc (cos_test): Add a test case for large input
11129 (sin_test): Likewise.
11130 (sincos_test): Likewise.
11132 2012-03-15 Andreas Jaeger <aj@suse.de>,
11133 Joseph Myers <joseph@codesourcery.com>
11136 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11137 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11138 * sysdeps/i386/fpu/branred.c: Likewise.
11139 * sysdeps/i386/fpu/dosincos.c: Likewise.
11140 * sysdeps/i386/fpu/mpa.c: Likewise.
11141 * sysdeps/i386/fpu/s_cos.S: Likewise.
11142 * sysdeps/i386/fpu/s_sin.S: Likewise.
11143 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11144 * sysdeps/i386/fpu/sincos32.c: Likewise.
11146 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11148 (libc_feupdateenv_53bit): Define.
11149 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11151 (libc_feupdateenv_53bit): Define.
11153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11154 53 bit (without extend i386 double precision).
11156 * math/libm-test.inc (sincos_test): Add tests for large input.
11160 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11162 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11166 2012-03-15 David S. Miller <davem@davemloft.net>
11168 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11169 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11170 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11171 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11196 fmin/fmax sysdep routines.
11197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11199 2012-03-14 David S. Miller <davem@davemloft.net>
11201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11273 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11278 * sysdeps/sparc/configure.in: New file.
11279 * sysdeps/sparc/configure: Generate.
11280 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11281 * configure: Regenerate.
11282 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11283 * config.make.in (have-as-vis3): New.
11284 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11285 available use -Av9d instead of -Av9a.
11286 * sysdeps/sparc/sparc64/Makefile: Likewise.
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11302 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11303 fzeros/fnegs to load 0x80000000 into a float register instead of
11305 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11307 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11311 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11312 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11313 ($(inst_includedir)/bits/syscall.h): Remove rule.
11314 ($(objpfx)bits/syscall.d): Include instead of
11315 $(objpfx)syscall-list.d.
11316 (generated): Change syscall-list.h and syscall-list.d to
11317 bits/syscall.h and bits/syscall.d.
11319 2012-03-14 Roland McGrath <roland@hack.frob.com>
11322 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11324 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11327 * math/s_csqrt.c: Include <float.h>.
11328 (__csqrt): Scale large or subnormal inputs.
11329 * math/s_csqrtf.c: Likewise.
11330 * math/s_csqrtl.c: Likewise.
11331 * math/libm-test.inc (csqrt_test): Add more tests.
11332 * sysdeps/i386/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11336 * math/libm-test.inc (hypot_test): Add more tests.
11338 2012-03-13 David S. Miller <davem@davemloft.net>
11341 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11342 double-precision for the calculation instead of scaling.
11344 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11346 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11347 manipulate bits before adding and subtracting TWO52[sx].
11348 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11349 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11351 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11353 2012-03-13 David S. Miller <davem@davemloft.net>
11355 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11356 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11358 rtld-global-offsets.h
11359 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11361 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11366 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11367 'err' in the ifdef scope in which it is actually used.
11369 * nss/nss_db/db-init.c: Include string.h
11371 2012-03-12 David S. Miller <davem@davemloft.net>
11373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11374 masking out of the most significant byte of random value used.
11375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11376 Fix coding style in previous change.
11378 * sysdeps/unix/sysv/linux/kernel-features.h
11379 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11380 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11382 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11385 2012-03-11 David S. Miller <davem@davemloft.net>
11387 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11388 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11389 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11390 for 'resultvar' otherwise things get truncated on 64-bit.
11392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11393 Fix masking out of the most significant byte of random value used.
11395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11397 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11401 2012-03-09 David S. Miller <davem@davemloft.net>
11403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11404 variables with appropriate CPP guards.
11405 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11406 frame pointer, not the stack pointer. Correct layout comments. Fix test
11407 on resulting framesize and the management of the outregs buffer for pltexit.
11408 Preserve floating point return values across _dl_call_pltexit call.
11409 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11410 framesize and the management of the outregs buffer for pltexit.
11411 Preserve floating point return values across _dl_call_pltexit
11413 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11414 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11415 (print_exit): Fix format string for return register value.
11417 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11419 * sunrpc/Makefile (others): Add rpcgen.
11420 ($(objpfx)rpcgen): Remove special build rule and dependency on
11422 * sunrpc/rpcgen.c: New file.
11424 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11427 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11428 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11429 * sysdeps/i386/crti.S: Likewise.
11430 * sysdeps/i386/crtn.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11432 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11433 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11434 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11435 * sysdeps/sh/crti.S: Likewise.
11436 * sysdeps/sh/crtn.S: Likewise.
11437 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11440 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11442 * locale/programs/locfile-kw.gperf: Likewise.
11443 * locale/programs/charmap-kw.h: Regenerated.
11444 * locale/programs/locfile-kw.h: Likewise.
11447 * intl/plural.y: Replace FSF snail mail address with URL.
11448 * intl/plural.c: Regenerated.
11450 2012-03-09 Richard Henderson <rth@twiddle.net>
11452 * include/math_private.h: Remove file.
11453 * math/math_private.h: Move file ...
11454 * sysdeps/generic/math_private.h: ... here.
11456 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11457 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11458 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11460 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11461 and <math_private.h>.
11462 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11463 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11464 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11465 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11466 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11473 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11474 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11505 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11507 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11508 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11509 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11510 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11513 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11514 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11516 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11550 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11551 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11552 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11553 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11555 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11556 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11557 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11558 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11559 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11561 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11562 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11563 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11564 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11565 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11566 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11567 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11568 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11569 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11570 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11572 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11573 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11574 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11575 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11576 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11577 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11579 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11580 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11581 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11582 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11583 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11585 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11586 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11587 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11588 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11589 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11590 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11591 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11592 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11593 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11595 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11596 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11597 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11598 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11599 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11600 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11602 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11603 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11604 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11607 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11609 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11610 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11611 * sysdeps/ieee754/k_standard.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11727 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11739 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11744 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11760 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11761 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11762 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11772 * sysdeps/ieee754/s_lib_version.c: Likewise.
11773 * sysdeps/ieee754/s_matherr.c: Likewise.
11774 * sysdeps/ieee754/s_signgam.c: Likewise.
11775 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11776 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11777 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11778 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11779 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11780 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11781 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11782 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11783 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11784 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11785 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11786 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11787 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11788 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11789 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11790 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11791 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11792 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11797 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11799 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11800 * sunrpc/rpc_main.c: Likewise.
11801 * sunrpc/rpc_svcout.c: Likewise.
11803 2012-03-09 David S. Miller <davem@davemloft.net>
11805 * include/math_private.h: New file.
11807 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11809 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11810 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11811 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11812 from <bits/socket_type.h>.
11813 (enum __socket_type): Don't define here.
11814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11816 bits/socket_type.h.
11819 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11820 checking __USE_GNU.
11822 * Makerules ($(inst_includedir)/%.h): New rule.
11823 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11824 (install-others): Remove variable setting.
11825 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11827 2012-03-08 Richard Henderson <rth@twiddle.net>
11829 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11830 from macro to inline function; merge with the
11831 !__LIBC_INTERNAL_MATH_INLINES version.
11832 (__ieee754_sqrtf): Likewise.
11834 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11835 to inline function.
11836 (__rintf, __floor, __floorf): Likewise.
11838 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11839 macro to inline function.
11840 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11842 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11843 not <math/math_private.h>.
11845 2012-03-08 David S. Miller <davem@davemloft.net>
11847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11849 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11851 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11853 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11855 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11856 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11858 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11860 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11861 be defined individually, they must be defined as a block. Define
11862 S for printing a string instead of hidint the different by using a
11863 macro for adding the 'l'.
11864 * stdio-common/tst-fphex-wide.c: Adjust.
11866 2012-03-07 Marek Polacek <polacek@redhat.com>
11868 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11870 2012-03-08 Marek Polacek <polacek@redhat.com>
11873 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11874 * stdio-common/tst-fphex.c: Define a few macros to make the
11875 test reusable. Use them.
11876 * stdio-common/tst-fphex-wide.c: New file.
11878 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11881 * manual/macros.texi (gnusystems): New macro.
11882 (nongnusystems): Likewise.
11883 (gnulinuxhurdsystems): Likewise.
11884 (gnuhurdsystems): Likewise..
11885 (gnulinuxsystems): Likewise.
11886 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11887 variants of the GNU system, not "GNU system".
11888 * manual/conf.texi: Likewise.
11889 * manual/errno.texi: Likewise. Update example of errno macro
11891 * manual/filesys.texi: Likewise.
11892 (getumask): Document as specific to GNU/Hurd.
11893 * manual/install.texi: Likewise. Reword some references to
11895 * manual/intro.texi: Likewise.
11896 * manual/io.texi: Likewise.
11897 (File Name Portability): Detail which constraints are inapplicable
11898 to all GNU systems and which are only inapplicable to GNU/Hurd.
11899 * manual/job.texi: Likewise.
11900 * manual/llio.texi: Likewise.
11901 (O_NOCTTY): Document as present on GNU/Linux.
11902 * manual/maint.texi: Likewise.
11903 * manual/memory.texi: Likewise.
11904 * manual/pattern.texi: Likewise.
11905 * manual/pipe.texi: Likewise.
11906 * manual/process.texi: Likewise.
11907 * manual/resource.texi: Likewise.
11908 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11910 * manual/setjmp.texi: Likewise.
11911 * manual/signal.texi: Likewise.
11912 * manual/startup.texi: Likewise.
11913 * manual/stdio.texi: Likewise.
11914 * manual/terminal.texi: Likewise.
11915 (ONLCR): Document as POSIX.
11916 (OXTABS): Document availability on GNU/Linux as XTABS.
11917 (ONOEOT): Document availability separately from other bits.
11918 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11919 * manual/time.texi: Likewise.
11920 * manual/users.texi: Likewise.
11921 * INSTALL: Regenerated.
11922 * sysdeps/gnu/errlist.c: Regenerated.
11924 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11925 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11926 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11928 * configure: Regenerated.
11930 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11933 default includes instead of AC_HEADER_CHECK.
11934 * sysdeps/i386/configure: Regenerated.
11937 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11938 * math/s_cacoshf.c (__cacoshf): Likewise.
11939 * math/s_cacoshl.c (__cacoshl): Likewise.
11940 * math/s_casinh.c (__casinh): Set signs of result from argument.
11941 * math/s_casinhf.c (__casinhf): Likewise.
11942 * math/s_casinhl.c (__casinhl): Likewise.
11943 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11944 (casinh_test): Add more tests.
11945 * sysdeps/i386/fpu/libm-test-ulps: Update.
11946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11950 * po/zh_TW.po: Update from translation team.
11952 * login/Makefile (distribute): Remove variable.
11953 * catgets/Makefile: Likewise.
11954 * mach/Makefile: Likewise.
11955 * malloc/Makefile: Likewise.
11956 * misc/Makefile: Likewise.
11957 * iconv/Makefile: Likewise.
11958 * nscd/Makefile: Likewise.
11959 * hurd/Makefile: Likewise.
11960 * manual/Makefile: Likewise.
11961 * locale/Makefile: Likewise.
11962 * intl/Makefile: Likewise.
11963 * conform/Makefile: Likewise.
11964 * nss/Makefile: Likewise.
11965 * time/Makefile: Likewise.
11966 * soft-fp/Makefile: Likewise.
11967 * dirent/Makefile: Likewise.
11968 * gmon/Makefile: Likewise.
11969 * po/Makefile: Likewise.
11970 * rt/Makefile: Likewise.
11971 * socket/Makefile: Likewise.
11972 * math/Makefile: Likewise.
11973 * signal/Makefile: Likewise.
11974 * debug/Makefile: Likewise.
11975 * elf/Makefile: Likewise.
11976 * timezone/Makefile: Likewise.
11977 * stdlib/Makefile: Likewise.
11978 * iconvdata/Makefile: Likewise.
11979 * sunrpc/Makefile: Likewise.
11980 * io/Makefile: Likewise.
11981 * argp/Makefile: Likewise.
11982 * inet/Makefile: Likewise.
11983 * hesiod/Makefile: Likewise.
11984 * grp/Makefile: Likewise.
11985 * csu/Makefile: Likewise.
11986 * wctype/Makefile: Likewise.
11987 * crypt/Makefile: Likewise.
11988 * libio/Makefile: Likewise.
11989 * string/Makefile: Likewise.
11990 * nis/Makefile: Likewise.
11991 * resolv/Makefile: Likewise.
11992 * stdio-common/Makefile: Likewise.
11993 * wcsmbs/Makefile: Likewise.
11994 * dlfcn/Makefile: Likewise.
11995 * posix/Makefile: Likewise.
11998 * timezone/Makefile: Don't install timezone files, just the programs
12001 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12003 * nss/databases.def: Add missing gshadow entry.
12005 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12007 2012-03-06 Marek Polacek <polacek@redhat.com>
12010 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12011 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12012 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12013 * stdio-common/tst-long-dbl-fphex.c: New file.
12015 2012-03-06 David S. Miller <davem@davemloft.net>
12017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12018 (set_obp_int): New function.
12019 (get_obp_int): New function.
12020 (__get_clockfreq_via_dev_openprom): Likewise.
12021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12022 Avoid unused variable warnings on 'val' and use builtin_expect.
12023 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12025 (INLINE_CLONE_SYSCALL): Likewise.
12027 2012-03-05 David S. Miller <davem@davemloft.net>
12029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12031 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12035 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12036 only for |x| >= 40.
12037 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12039 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12042 Replace gettimeofday with __vdso_gettimeofday.
12044 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12045 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12046 __vdso_clock_gettime and __vdso_getcpu.
12048 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12049 time with __vdso_time.
12051 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12053 * manual/lang.texi (size_t): Note types to which size_t may be
12054 equivalent with the GNU C Library, but do not describe when
12055 differences between them are significant.
12057 2012-03-05 Andreas Jaeger <aj@suse.de>
12059 * sysdeps/i386/fpu/libm-test-ulps: Update.
12061 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12064 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12065 (__ieee754_pow): Save and restore rounding mode and use
12066 round-to-nearest for main computations.
12067 * math/libm-test.inc (pow_test_tonearest): New function.
12068 (pow_test_towardzero): Likewise.
12069 (pow_test_downward): Likewise.
12070 (pow_test_upward): Likewise.
12071 (main): Call the new functions.
12072 * sysdeps/i386/fpu/libm-test-ulps: Update.
12073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 * math/libm-test.inc (cosh_test_tonearest): New function.
12077 (cosh_test_towardzero): Likewise.
12078 (cosh_test_downward): Likewise.
12079 (cosh_test_upward): Likewise.
12080 (sinh_test_tonearest): Likewise.
12081 (sinh_test_towardzero): Likewise.
12082 (sinh_test_downward): Likewise.
12083 (sinh_test_upward): Likewise.
12084 (main): Call the new functions.
12085 * sysdeps/i386/fpu/libm-test-ulps: Update.
12086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12088 2012-03-05 Tom de Vries <tom@codesourcery.com>
12090 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12091 default stack guard is set in last bytes.
12092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12094 2012-03-05 Kees Cook <keescook@chromium.org>
12096 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12099 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12100 possibly allocate from heap instead of stack.
12101 * stdio-common/bug-vfprintf-nargs.c: New file.
12102 * stdio-common/Makefile (tests): Add nargs overflow test.
12104 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12108 2012-03-03 Marek Polacek <polacek@redhat.com>
12110 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12111 * math/math_private.h: Likewise.
12112 * stdlib/tst-strtod.c: Likewise.
12113 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12114 * sysdeps/x86_64/bits/atomic.h: Likewise.
12116 2012-03-02 David S. Miller <davem@davemloft.net>
12118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12122 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12123 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12124 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12125 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12127 2012-03-02 Roland McGrath <roland@hack.frob.com>
12130 * manual/examples/README: New file, says the example source files
12131 can be used under GPL>=2.
12132 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12133 line containing just "*/".
12134 * manual/examples/add.c: Add copyright header (GPL>=2).
12135 * manual/examples/argp-ex1.c: Likewise.
12136 * manual/examples/argp-ex2.c: Likewise.
12137 * manual/examples/argp-ex3.c: Likewise.
12138 * manual/examples/argp-ex4.c: Likewise.
12139 * manual/examples/atexit.c: Likewise.
12140 * manual/examples/db.c: Likewise.
12141 * manual/examples/dir.c: Likewise.
12142 * manual/examples/dir2.c: Likewise.
12143 * manual/examples/execinfo.c: Likewise.
12144 * manual/examples/filecli.c: Likewise.
12145 * manual/examples/filesrv.c: Likewise.
12146 * manual/examples/fmtmsgexpl.c: Likewise.
12147 * manual/examples/genpass.c: Likewise.
12148 * manual/examples/inetcli.c: Likewise.
12149 * manual/examples/inetsrv.c: Likewise.
12150 * manual/examples/isockad.c: Likewise.
12151 * manual/examples/longopt.c: Likewise.
12152 * manual/examples/memopen.c: Likewise.
12153 * manual/examples/memstrm.c: Likewise.
12154 * manual/examples/mkfsock.c: Likewise.
12155 * manual/examples/mkisock.c: Likewise.
12156 * manual/examples/mygetpass.c: Likewise.
12157 * manual/examples/pipe.c: Likewise.
12158 * manual/examples/popen.c: Likewise.
12159 * manual/examples/rprintf.c: Likewise.
12160 * manual/examples/search.c: Likewise.
12161 * manual/examples/select.c: Likewise.
12162 * manual/examples/setjmp.c: Likewise.
12163 * manual/examples/sigh1.c: Likewise.
12164 * manual/examples/sigusr.c: Likewise.
12165 * manual/examples/stpcpy.c: Likewise.
12166 * manual/examples/strdupa.c: Likewise.
12167 * manual/examples/strftim.c: Likewise.
12168 * manual/examples/strncat.c: Likewise.
12169 * manual/examples/subopt.c: Likewise.
12170 * manual/examples/swapcontext.c: Likewise.
12171 * manual/examples/termios.c: Likewise.
12172 * manual/examples/testopt.c: Likewise.
12173 * manual/examples/testpass.c: Likewise.
12174 * manual/examples/timeval_subtract.c: Likewise.
12177 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12179 * manual/timeval_subtract.c.texi: ... here, new file.
12181 2012-03-02 David S. Miller <davem@davemloft.net>
12183 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12185 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12188 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12189 (__sin): Save and restore rounding mode and use round-to-nearest
12190 for all computations.
12191 (__cos): Save and restore rounding mode and use round-to-nearest
12192 for all computations.
12193 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12195 (tan): Save and restore rounding mode and use round-to-nearest for
12197 * math/libm-test.inc (cos_test_tonearest): New function.
12198 (cos_test_towardzero): Likewise.
12199 (cos_test_downward): Likewise.
12200 (cos_test_upward): Likewise.
12201 (sin_test_tonearest): Likewise.
12202 (sin_test_towardzero): Likewise.
12203 (sin_test_downward): Likewise.
12204 (sin_test_upward): Likewise.
12205 (tan_test_tonearest): Likewise.
12206 (tan_test_towardzero): Likewise.
12207 (tan_test_downward): Likewise.
12208 (tan_test_upward): Likewise.
12209 (main): Call the new functions.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12215 small n, then large n, before computing and testing k+n.
12216 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12221 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12222 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12227 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12229 * math/libm-test.inc (scalbn_test): Add more tests.
12230 (scalbln_test): Likewise.
12232 * manual/filesys.texi (mode_t): Describe constraints on size and
12233 signedness, not exact equivalence to a particular type.
12235 (ino64_t): Likewise.
12237 (nlink_t): Likewise.
12238 (blkcnt_t): Likewise.
12239 (blkcnt64_t): Likewise.
12240 * manual/llio.texi (off_t): Likewise.
12243 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12244 (__ieee754_exp): Save and restore rounding mode and use
12245 round-to-nearest for all computations.
12246 * math/libm-test.inc (exp_test_tonearest): New function.
12247 (exp_test_towardzero): Likewise.
12248 (exp_test_downward): Likewise.
12249 (exp_test_upward): Likewise.
12250 (main): Call the new functions.
12251 * sysdeps/i386/fpu/libm-test-ulps: Update.
12252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12254 2012-03-01 Chris Demetriou <cgd@google.com>
12256 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12257 have predictable order.
12259 2012-03-01 David S. Miller <davem@davemloft.net>
12261 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12263 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12264 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12265 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12266 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12268 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12269 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12270 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12272 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12273 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12274 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12275 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12276 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12280 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12281 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12282 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12284 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12285 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12286 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12287 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12288 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12292 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12300 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12301 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12302 * sysdeps/sparc/elf/configure: Regenerated.
12304 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12306 * configure.in (AS, LD): Require binutils 2.20 or later.
12307 * configure: Regenerated.
12308 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12309 as required minimum version.
12310 * INSTALL: Regenerated.
12314 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12315 before squaring exponent.
12316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12317 bottom long double and 27 bits of top long double before squaring
12319 * math/libm-test.inc (erfc_test): Add more tests.
12320 * sysdeps/i386/fpu/libm-test-ulps: Update.
12321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324 2012-03-01 Kai Tietz <ktietz@redhat.com>
12326 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12327 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12328 containing bit-fields.
12329 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12330 * soft-fp/single.h (_FP_UNION_S): Likewise.
12331 * soft-fp/double.h (_FP_UNION_D): Likewise.
12333 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12336 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12337 not include ../strcmp.S.
12338 [USE_AS_STRNCASECMP_L]: Likewise.
12339 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12340 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12341 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12342 (__strncasecmp_l_ia32): Define as alias to
12343 __strncasecmp_l_nonascii.
12346 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12347 * sysdeps/i386/fpu/libm-test-ulps: Update.
12348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12350 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12353 2012-02-29 Jeff Law <law@redhat.com>
12355 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12356 out of bounds read.
12358 2012-02-29 Marek Polacek <polacek@redhat.com>
12361 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12362 * elf/Makefile: Add rules to run tst-unused-dep.out.
12364 2012-02-28 David S. Miller <davem@davemloft.net>
12366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12370 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12373 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12375 * math/libm-test.inc (llround_test): Move one test from
12376 lround_test. Use TEST_f_L in moved test.
12377 (lround_test): Move misplaced test to llround_test. Add testcase
12380 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12382 * sysdeps/x86_64/fpu/e_expf.S: New file.
12383 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12385 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12388 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12389 of remain_len that may cause incomplete multi-byte character and
12391 * posix/bug-regex33.c: New file.
12392 * posix/Makefile (tests): Add bug-regex33.
12394 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12396 * manual/macros.texi: New file.
12397 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12398 * manual/libc.texinfo: Include macros.texi.
12399 * manual/creatute.texi: Likewise.
12400 * manual/install.texi: Likewise.
12401 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12402 @glibcadj{} in references to the GNU C Library.
12403 * manual/charset.texi: Likewise.
12404 * manual/conf.texi: Likewise.
12405 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12406 when not using those macros.
12407 * manual/creature.texi: Likewise.
12408 * manual/crypt.texi: Likewise.
12409 * manual/errno.texi: Likewise.
12410 * manual/filesys.texi: Likewise.
12411 * manual/header.texi: Likewise.
12412 * manual/install.texi: Likewise.
12413 * manual/intro.texi: Likewise.
12414 * manual/io.texi: Likewise.
12415 * manual/job.texi: Likewise.
12416 * manual/lang.texi: Likewise.
12417 * manual/libc.texiinfo: Likewise.
12418 * manual/llio.texi: Likewise.
12419 * manual/locale.texi: Likewise.
12420 * manual/maint.texi: Likewise.
12421 * manual/math.texi: Likewise.
12422 * manual/memory.texi: Likewise.
12423 * manual/message.texi: Likewise.
12424 * manual/nss.texi: Likewise.
12425 * manual/pattern.texi: Likewise.
12426 * manual/process.texi: Likewise.
12427 * manual/resource.texi: Likewise.
12428 * manual/search.texi: Likewise.
12429 * manual/setjmp.texi: Likewise.
12430 * manual/signal.texi: Likewise.
12431 * manual/socket.texi: Likewise.
12432 * manual/startup.texi: Likewise.
12433 * manual/stdio.texi: Likewise.
12434 * manual/string.texi: Likewise.
12435 * manual/sysinfo.texi: Likewise.
12436 * manual/syslog.texi: Likewise.
12437 * manual/terminal.texi: Likewise.
12438 * manual/time.texi: Likewise.
12439 * manual/users.texi: Likewise.
12440 * INSTALL: Regenerated.
12441 * NOTES: Regenerated.
12442 * sysdeps/gnu/errlist.c: Regenerated.
12444 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12446 * include/dirent.h: Include <dirstream.h> before
12449 2012-02-28 David S. Miller <davem@davemloft.net>
12451 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12452 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12453 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12454 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12456 2012-02-27 David S. Miller <davem@davemloft.net>
12458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12460 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12461 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12464 frame pointer instead of stack pointer relative arg slot.
12465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12469 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12472 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12474 2012-02-27 David S. Miller <davem@davemloft.net>
12476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12480 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12481 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12482 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12483 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12485 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12487 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12488 later. Allow versions 5-9.
12489 * configure: Regenerated.
12490 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12491 required minimum version and 4.6 as recommended version. Do not
12492 mention bugs in GCC 2.7 and 2.8.
12493 * INSTALL: Regenerated.
12495 2012-02-27 David S. Miller <davem@davemloft.net>
12497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12503 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12504 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12507 manipulate bits before adding and subtracting TWO112[sx].
12508 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12510 2012-02-27 Roland McGrath <roland@hack.frob.com>
12513 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12514 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12515 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12516 being in POSIX, because they are in 1003.1-2008.
12518 * rt/tst-aio.c: Include <fcntl.h>.
12519 * rt/tst-aio7.c: Likewise.
12520 * rt/tst-aio64.c: Likewise.
12522 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12524 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12526 * manual/install.texi (--with-headers): Describe headers as
12527 interface headers, not private headers.
12528 (Specific advice for GNU/Linux systems): Describe use of headers
12529 from "make headers_install", not private headers from older
12531 * INSTALL: Regenerated.
12532 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12534 * sysdeps/unix/sysv/linux/configure: Regenerated.
12536 * manual/llio.texi (fclean): Remove documentation.
12538 * manual/Makefile (libc-texi-generated): New variable. Include
12540 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12541 $(libc-texi-generated), not duplicated list of files.
12542 (version.texi, stamp-version): New rules.
12543 (realclean): Remove $(libc-texi-generated), not individual files
12544 from that list. Do not remove dir-add.texinfo.
12545 * manual/libc.texinfo: Comment out uses of edition numbers and
12546 references to printed manual. Remove last-updated dates.
12547 (EDITION): Comment out.
12549 (VERSION, UPDATED): Remove.
12550 (version.texi): Include.
12552 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12554 * sysdeps/posix/spawni.c: Include <signal.h>.
12555 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12556 * sysdeps/pthread/aio_fsync.c: Likewise.
12558 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12560 * conform/Makefile (tests): Run only when not cross-compiling and
12561 when fast-check is not defined.
12563 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12564 * conform/data/limits.h-data: Fixes for POSIX2008.
12565 * conform/run-conformtest.sh: Run all tests.
12566 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12568 * include/bits/dlfcn.h: Likewise.
12569 * include/langinfo.h: Likewise.
12570 * include/monetary.h: Likewise.
12571 * include/sys/poll.h: Likewise.
12573 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12575 * posix/spawn.h: Define __need_sigset_t.
12576 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12577 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12578 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12579 to get sigevent_t only.
12580 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12581 only for __USE_GNU.
12582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12583 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12584 process_vm_writev only for __USE_GNU.
12585 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12587 * conform/Makefile: For now ignore errors from run-conformtest.
12588 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12589 POSIX to avoid namespace pollution. Don't prepend headers.
12590 * conform/data/aio.h-data: Fixes for POSIX testing.
12591 * conform/data/fcntl.h-data: Likewise.
12592 * conform/data/glob.h-data: Likewise.
12593 * conform/data/grp.h-data: Likewise.
12594 * conform/data/pthread.h-data: Likewise.
12595 * conform/data/pwd.h-data: Likewise.
12596 * conform/data/signal.h-data: Likewise.
12597 * conform/data/spawn.h-data: Likewise.
12598 * conform/data/stdio.h-data: Likewise.
12599 * conform/data/stdlib.h-data: Likewise.
12600 * conform/data/stropts.h-data: Likewise.
12601 * conform/data/sys/mman.h-data: Likewise.
12602 * conform/data/sys/stat.h-data: Likewise.
12603 * conform/data/sys/types.h-data: Likewise.
12604 * conform/data/sys/wait.h-data: Likewise.
12605 * conform/data/time.h-data: Likewise.
12606 * conform/data/unistd.h-data: Likewise.
12607 * conform/data/utime.h-data: Likewise.
12609 * io/sys/stat.h: fchmod was always in POSIX.
12610 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12611 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12612 * rt/aio.h: Define __need_timespec before including <time.h>.
12613 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12614 struct. Add forward declaration of pthread_attr_t and use it in
12616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12618 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12619 always remove CLK_TCK definition.
12621 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12623 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12625 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12627 * conform/run-conformtest.sh: New file.
12628 * conform/Makefile: Run run-conformtest for tests.
12629 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12632 * conform/data/uchar.h-data: New file.
12633 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12634 * conform/data/arpa/inet.h-data: Likewise.
12635 * conform/data/assert.h-data: Likewise.
12636 * conform/data/complex.h-data: Likewise.
12637 * conform/data/cpio.h-data: Likewise.
12638 * conform/data/ctype.h-data: Likewise.
12639 * conform/data/dirent.h-data: Likewise.
12640 * conform/data/dlfcn.h-data: Likewise.
12641 * conform/data/errno.h-data: Likewise.
12642 * conform/data/fcntl.h-data: Likewise.
12643 * conform/data/float.h-data: Likewise.
12644 * conform/data/fmtmsg.h-data: Likewise.
12645 * conform/data/fnmatch.h-data: Likewise.
12646 * conform/data/ftw.h-data: Likewise.
12647 * conform/data/glob.h-data: Likewise.
12648 * conform/data/grp.h-data: Likewise.
12649 * conform/data/iconv.h-data: Likewise.
12650 * conform/data/inttypes.h-data: Likewise.
12651 * conform/data/langinfo.h-data: Likewise.
12652 * conform/data/libgen.h-data: Likewise.
12653 * conform/data/limits.h-data: Likewise.
12654 * conform/data/locale.h-data: Likewise.
12655 * conform/data/math.h-data: Likewise.
12656 * conform/data/monetary.h-data: Likewise.
12657 * conform/data/mqueue.h-data: Likewise.
12658 * conform/data/ndbm.h-data: Likewise.
12659 * conform/data/net/if.h-data: Likewise.
12660 * conform/data/netdb.h-data: Likewise.
12661 * conform/data/netinet/in.h-data: Likewise.
12662 * conform/data/nl_types.h-data: Likewise.
12663 * conform/data/poll.h-data: Likewise.
12664 * conform/data/pthread.h-data: Likewise.
12665 * conform/data/pwd.h-data: Likewise.
12666 * conform/data/regex.h-data: Likewise.
12667 * conform/data/sched.h-data: Likewise.
12668 * conform/data/search.h-data: Likewise.
12669 * conform/data/semaphore.h-data: Likewise.
12670 * conform/data/setjmp.h-data: Likewise.
12671 * conform/data/signal.h-data: Likewise.
12672 * conform/data/spawn.h-data: Likewise.
12673 * conform/data/stdarg.h-data: Likewise.
12674 * conform/data/stdio.h-data: Likewise.
12675 * conform/data/stdlib.h-data: Likewise.
12676 * conform/data/string.h-data: Likewise.
12677 * conform/data/strings.h-data: Likewise.
12678 * conform/data/stropts.h-data: Likewise.
12679 * conform/data/sys/ipc.h-data: Likewise.
12680 * conform/data/sys/mman.h-data: Likewise.
12681 * conform/data/sys/msg.h-data: Likewise.
12682 * conform/data/sys/resource.h-data: Likewise.
12683 * conform/data/sys/select.h-data: Likewise.
12684 * conform/data/sys/sem.h-data: Likewise.
12685 * conform/data/sys/shm.h-data: Likewise.
12686 * conform/data/sys/socket.h-data: Likewise.
12687 * conform/data/sys/stat.h-data: Likewise.
12688 * conform/data/sys/statvfs.h-data: Likewise.
12689 * conform/data/sys/time.h-data: Likewise.
12690 * conform/data/sys/timeb.h-data: Likewise.
12691 * conform/data/sys/times.h-data: Likewise.
12692 * conform/data/sys/types.h-data: Likewise.
12693 * conform/data/sys/uio.h-data: Likewise.
12694 * conform/data/sys/un.h-data: Likewise.
12695 * conform/data/sys/utsname.h-data: Likewise.
12696 * conform/data/sys/wait.h-data: Likewise.
12697 * conform/data/syslog.h-data: Likewise.
12698 * conform/data/tar.h-data: Likewise.
12699 * conform/data/termios.h-data: Likewise.
12700 * conform/data/utime.h-data: Likewise.
12701 * conform/data/utmpx.h-data: Likewise.
12702 * conform/data/varargs.h-data: Likewise.
12703 * conform/data/wchar.h-data: Likewise.
12704 * conform/data/wctype.h-data: Likewise.
12705 * conform/data/wordexp.h-data: Likewise.
12707 * include/stropts.h: New file.
12708 * include/uchar.h: New file.
12709 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12710 * include/assert.h: Likewise.
12711 * include/ctype.h: Likewise.
12712 * include/dirent.h: Likewise.
12713 * include/dlfcn.h: Likewise.
12714 * include/fcntl.h: Likewise.
12715 * include/fnmatch.h: Likewise.
12716 * include/glob.h: Likewise.
12717 * include/grp.h: Likewise.
12718 * include/libio.h: Likewise.
12719 * include/locale.h: Likewise.
12720 * include/math.h: Likewise.
12721 * include/net/if.h: Likewise.
12722 * include/netdb.h: Likewise.
12723 * include/netinet/in.h: Likewise.
12724 * include/pthread.h: Likewise.
12725 * include/pwd.h: Likewise.
12726 * include/regex.h: Likewise.
12727 * include/sched.h: Likewise.
12728 * include/search.h: Likewise.
12729 * include/setjmp.h: Likewise.
12730 * include/signal.h: Likewise.
12731 * include/stdio.h: Likewise.
12732 * include/stdlib.h: Likewise.
12733 * include/string.h: Likewise.
12734 * include/sys/cdefs.h: Likewise.
12735 * include/sys/mman.h: Likewise.
12736 * include/sys/msg.h: Likewise.
12737 * include/sys/resource.h: Likewise.
12738 * include/sys/select.h: Likewise.
12739 * include/sys/socket.h: Likewise.
12740 * include/sys/stat.h: Likewise.
12741 * include/sys/statvfs.h: Likewise.
12742 * include/sys/time.h: Likewise.
12743 * include/sys/times.h: Likewise.
12744 * include/sys/uio.h: Likewise.
12745 * include/sys/utsname.h: Likewise.
12746 * include/sys/wait.h: Likewise.
12747 * include/termios.h: Likewise.
12748 * include/time.h: Likewise.
12749 * include/ulimit.h: Likewise.
12750 * include/unistd.h: Likewise.
12751 * include/utime.h: Likewise.
12752 * include/wchar.h: Likewise.
12753 * include/wctype.h: Likewise.
12754 * include/wordexp.h: Likewise.
12756 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12758 * time/time.h: TIME_UTC must be a macro.
12759 Make timespec_get available for ISO C11 only as well.
12761 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12763 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12764 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12766 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12768 * configure.in: Use -o not -a in test for unsupported multi-arch.
12770 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12772 * manual/texinfo.tex: Update to version 2012-01-19.16.
12774 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12776 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12778 2012-02-24 Roland McGrath <roland@hack.frob.com>
12781 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12782 * manual/fdl-1.3.texi: New file.
12783 * manual/fdl-1.1.texi: File removed.
12786 * manual/libc.texinfo (FDL_VERSION): New @set.
12787 Use it for mention of FDL in cover text.
12788 (Documentation License): Use it in @include file name.
12790 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12791 Roland McGrath <roland@hack.frob.com>
12794 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12795 not LONG_LONG_MAX and LONG_LONG_MIN.
12796 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12797 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12799 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12801 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12805 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12806 manipulate bits before adding and subtracting TWO23[sx].
12807 * math/libm-test.inc (nearbyint_test): Add more tests.
12809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12813 bits before adding and subtracting TWO23[sx].
12814 * math/libm-test.inc (rint_test): Add more tests.
12815 (rint_test_tonearest): Likewise.
12816 (rint_test_towardzero): Likewise.
12817 (rint_test_downward): Likewise.
12818 (rint_test_upward: Likewise.
12820 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12823 * include/stdc-predef.h: New file. Extracted from features.h.
12824 * include/features.h: Include stdc-predef.h.
12825 * Makefile (headers): Add stdc-predef.h.
12826 * CONFORMANCE (Compiler limitations): Update.
12828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12830 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12832 2012-02-21 David S. Miller <davem@davemloft.net>
12834 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12837 2012-02-20 David S. Miller <davem@davemloft.net>
12839 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12840 using a normal save/restore sequence, rather than allocating a
12841 dummy stack frame just to store a frame pointer and restore.
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12844 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12846 * manual/install.texi: Fix stray word in line-wrapped comment.
12848 2012-02-20 David S. Miller <davem@davemloft.net>
12850 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12851 both binutils and gcc support GOTDATA.
12853 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12854 "rd %pc" in the PIC register setup sequences.
12856 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12857 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12858 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12859 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12860 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12865 (SYSCALL_ERROR_HANDLER): Likewise.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12869 (SYSCALL_ERROR_HANDLER): Likewise.
12871 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12872 (HAVE_GCC_GOTDATA): New.
12873 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12874 relocation support in both binutils and gcc.
12875 * sysdeps/sparc/elf/configure: Regenerate.
12877 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12878 * sysdeps/sparc/sparc32/elf/configure: Delete.
12879 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12880 * sysdeps/sparc/sparc64/elf/configure: Delete.
12881 * sysdeps/sparc/elf/configure.in: New file.
12882 * sysdeps/sparc/elf/configure: Generate.
12884 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12885 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12886 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12887 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12888 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12890 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12892 * manual/install.texi: Do not mention specific glibc version
12894 * manual/libc.texinfo (VERSION, UPDATED): Update.
12895 (@copying): Use @copyright{} and range of years.
12897 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12900 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12901 [crti.S not in sysdirs] (generated): Do not append.
12902 [crti.S not in sysdirs] (omit-deps): Likewise.
12903 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12904 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12905 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12906 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12907 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12909 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12910 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12911 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12912 * csu/defs.awk: Remove file.
12913 * sysdeps/generic/initfini.c: Likewise.
12914 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12916 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12919 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12921 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12922 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12923 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12924 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12926 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12928 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12929 (__EPOLL_PACKED): Define to empty if not defined by
12931 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12935 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12937 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12938 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12939 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12940 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12942 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12946 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12948 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12951 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12955 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12960 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12962 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12963 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12965 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12967 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12970 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12972 * math/w_acos.c: Use non-signaling floating-point comparisons.
12973 * math/w_acosf.c: Likewise.
12974 * math/w_acosh.c: Likewise.
12975 * math/w_acoshf.c: Likewise.
12976 * math/w_acoshl.c: Likewise.
12977 * math/w_acosl.c: Likewise.
12978 * math/w_asin.c: Likewise.
12979 * math/w_asinf.c: Likewise.
12980 * math/w_asinl.c: Likewise.
12981 * math/w_atanh.c: Likewise.
12982 * math/w_atanhf.c: Likewise.
12983 * math/w_atanhl.c: Likewise.
12984 * math/w_exp2.c: Likewise.
12985 * math/w_exp2f.c: Likewise.
12986 * math/w_exp2l.c: Likewise.
12987 * math/w_j0.c: Likewise.
12988 * math/w_j0f.c: Likewise.
12989 * math/w_j0l.c: Likewise.
12990 * math/w_j1.c: Likewise.
12991 * math/w_j1f.c: Likewise.
12992 * math/w_j1l.c: Likewise.
12993 * math/w_jn.c: Likewise.
12994 * math/w_jnf.c: Likewise.
12995 * math/w_log.c: Likewise.
12996 * math/w_log10.c: Likewise.
12997 * math/w_log10f.c: Likewise.
12998 * math/w_log10l.c: Likewise.
12999 * math/w_log2.c: Likewise.
13000 * math/w_log2f.c: Likewise.
13001 * math/w_log2l.c: Likewise.
13002 * math/w_logf.c: Likewise.
13003 * math/w_logl.c: Likewise.
13004 * math/w_sqrt.c: Likewise.
13005 * math/w_sqrtf.c: Likewise.
13006 * math/w_sqrtl.c: Likewise.
13007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13008 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13010 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13011 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13013 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13016 * manual/string.texi (strnlen): Use correct parameter name in
13017 equivalent expression.
13019 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13022 * manual/users.texi (seteuid): Consistently use neweuid for
13025 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13028 * manual/nss.texi (Services in the NSS configuration): Correct
13029 list of services in example configuration file.
13031 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13034 * manual/arith.texi: Remove statements about negative zero
13035 behaving identically to zero.
13037 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13040 * manual/install.texi: Do not document upgrading from libc5.
13042 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13045 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13047 2012-02-18 David S. Miller <davem@davemloft.net>
13049 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13050 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13051 %o7 across the call.
13052 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13055 SETUP_PIC_REG_LEAF.
13056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13057 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13058 * sysdeps/sparc/crtn.S: Likewise.
13060 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13062 * aout/Makefile: Remove.
13064 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13067 * manual/examples/argp-ex1.c (main): Format definition in GNU
13069 * manual/examples/argp-ex2.c (main): Likewise.
13070 * manual/examples/argp-ex3.c (main): Likewise.
13071 * manual/examples/argp-ex4.c (main): Likewise.
13072 * manual/examples/longopt.c (main): Use new-style prototype
13074 * manual/examples/strncat.c (main): Specify return type and use
13075 (void) for arguments.
13076 * manual/examples/subopt.c (main): Use char **argv argument.
13078 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13081 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13084 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13087 * manual/string.texi (strchr): Change when strchrnul is
13090 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13093 * manual/locale.texi (setlocale): Document LOCPATH.
13095 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13098 * manual/process.texi (execle): Move @dots{} before last argument.
13100 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13103 * manual/charset.texi (Generic Charset Conversion): Fix typo
13104 (LC_TYPE -> LC_CTYPE).
13106 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13109 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13110 (scalbnf): Likewise.
13111 (scalbnl): Likewise.
13112 (scalbln): Likewise.
13113 (scalblnf): Likewise.
13114 (scalblnl): Likewise.
13115 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13116 (vwarnx): Likewise.
13119 * manual/filesys.texi (telldir): Use braces around return type.
13120 * manual/llio.texi (mmap): Add space after comma.
13121 (mmap64): Likewise.
13122 * manual/math.texi (jn): Use @var{} on parameter names.
13128 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13130 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13132 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13133 (sched_get_priority_max): Likewise.
13134 * manual/signal.texi (sigvec): Add space after comma.
13135 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13137 (if_indextoname): Likewise.
13138 (if_freenameindex): Likewise.
13139 (sendto): Use ',' instead of '.' in prototype.
13140 * manual/startup.texi (syscall): Use @dots{} instead of literal
13142 * manual/stdio.texi (__fpending): Separate initial words of
13143 paragraph from @deftypefun line.
13144 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13146 (vsyslog): Use @var{} on parameter names.
13147 * manual/terminal.texi (stty): Use @var{} on parameter names.
13148 * manual/users.texi (getutmp): Use @var{} on parameter names.
13149 (getutmpx): Likewise.
13151 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13154 * manual/stdio.texi (fopen): Fix typos in description of
13157 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13160 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13161 get clock_id definition.
13163 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13166 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13167 (madvise): Cast every argument to void on its own.
13169 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13172 * manual/startup.texi (Exit Status): Fix typo.
13174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13177 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13178 * manual/examples/argp-ex2.c: Likewise.
13179 * manual/examples/argp-ex3.c: Likewise.
13181 2012-02-16 Richard Henderson <rth@redhat.com>
13183 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13184 * sysdeps/s390/s390-32/initfini.c: Remove.
13185 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13186 * sysdeps/s390/s390-64/initfini.c: Remove.
13188 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13190 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13191 compiler output for sysdeps/generic/initfini.c.
13192 * sysdeps/sh/elf/initfini.c: Remove file.
13194 2012-02-16 David S. Miller <davem@davemloft.net>
13197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13199 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13200 * sysdeps/sparc/crti.S: New file.
13201 * sysdeps/sparc/crtn.S: New file.
13202 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13203 * sysdeps/sparc/sparc64/Makefile: Likewise.
13205 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13208 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13210 2012-02-15 Roland McGrath <roland@hack.frob.com>
13213 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13215 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13216 (write, read, close): Likewise.
13217 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13219 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13221 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13222 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13224 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13226 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13230 2012-02-14 Marek Polacek <polacek@redhat.com>
13232 * sysdeps/x86_64/crti.S: New file.
13233 * sysdeps/x86_64/crtn.S: New file.
13234 * sysdeps/x86_64/elf/initfini.c: Remove file.
13236 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13238 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13239 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13240 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13241 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13243 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13247 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13249 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13250 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13251 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13252 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13254 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13258 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13260 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13261 __feraiseexcept instead of feraiseexcept.
13263 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13264 nanosleep invocations.
13265 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13266 strings, and add error checking for a nanosleep invocations.
13268 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13270 Replace FSF snail mail address with URLs, as per GNU coding standards.
13271 Most of the snail mail addresses were wrong anyway, and omitting
13272 them makes the source code easier to maintain. Almost all of the
13273 changes are to license notices and to locale LC_IDENTIFICATION
13274 addresses, except for this one:
13275 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13276 not its snail mail address.
13278 2012-02-09 Richard Henderson <rth@twiddle.net>
13280 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13281 of kernel-features.h.
13283 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13285 2012-02-08 Marek Polacek <polacek@redhat.com>
13287 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13288 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13289 * sysdeps/gnu/_G_config.h: Likewise.
13290 * sysdeps/generic/_G_config.h: Likewise.
13292 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13294 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298 * sysdeps/powerpc/powerpc32/crti.S: New file.
13299 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13300 * sysdeps/powerpc/powerpc64/crti.S: New file.
13301 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13303 * Makeconfig (have-initfini): Don't set.
13304 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13305 * configure.in (nopic_initfini): Don't substitute.
13306 * config.h.in (HAVE_INITFINI): Don't #undef.
13307 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13308 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13310 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13312 Support crti.S and crtn.S provided directly by architectures.
13313 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13314 [crti.S in sysdirs] (omit-deps): Likewise.
13315 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13316 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13317 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13318 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13319 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13320 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13321 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13322 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13323 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13324 compiler output for sysdeps/generic/initfini.c.
13325 * sysdeps/i386/elf/Makefile: Remove file.
13326 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13328 2012-02-07 Marek Polacek <polacek@redhat.com>
13330 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13331 * sysdeps/gnu/_G_config.h: Likewise.
13332 * sysdeps/mach/hurd/_G_config.h: Likewise.
13334 2012-02-07 Marek Polacek <polacek@redhat.com>
13336 * math/Makefile (tests): Add tst-CMPLX2.
13337 * math/tst-CMPLX2.c: New file.
13339 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13341 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13343 * math/libm-test.inc (jn_test): Add missing L suffix.
13345 2012-02-06 Marek Polacek <polacek@redhat.com>
13347 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13348 * sysdeps/i386/fpu/e_powf.S: Likewise.
13349 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13350 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13351 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13352 * sysdeps/i386/fpu/e_pow.S: Likewise.
13353 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13354 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13355 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13356 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13357 * sysdeps/i386/fpu/e_log2.S: Likewise.
13358 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13359 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13360 * sysdeps/i386/fpu/e_powl.S: Likewise.
13361 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13364 * sysdeps/i386/fpu/e_logl.S: Likewise.
13365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13366 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13371 * sysdeps/i386/fpu/e_log.S: Likewise.
13372 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13373 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13374 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13375 * sysdeps/i386/fpu/e_logf.S: Likewise.
13376 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13377 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13378 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13380 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13381 * sysdeps/i386/fpu/e_log10.S: Likewise.
13382 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13383 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13384 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13385 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13386 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13388 * sysdeps/i386/asm-syntax.h: Likewise.
13389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13392 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13393 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13394 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13395 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13396 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13397 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13398 * sysdeps/powerpc/sysdep.h: Likewise.
13399 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13400 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13402 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13405 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13407 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13409 * sysdeps/i386/sysdep.h: Include <features.h>.
13410 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13413 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13415 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13417 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13420 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13422 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13423 (SETUP_PIC_REG): Use GET_PC_THUNK.
13424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13427 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13429 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13430 for non-PIC compilation.
13431 (SETUP_PIC_REG): Add .p2align directive.
13432 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13433 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13434 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13435 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13437 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13438 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13440 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13441 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13442 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13443 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13444 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13445 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13446 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13447 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13448 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13449 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13450 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13451 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13452 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13454 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13455 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13462 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13464 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13469 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13471 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13472 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13474 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13476 * math/tst-CMPLX.c: Include <stdio.h>.
13478 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13480 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13482 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13483 * sysdeps/sparc/bits/mathdef.h: Likewise.
13485 2012-01-31 Marek Polacek <polacek@redhat.com>
13487 * libio/libio.h: Don't define _PARAMS.
13488 * locale/programs/config.h: Don't define PARAMS.
13489 * stdlib/strtol_l.c: Likewise.
13490 (__strtol_l): Remove PARAMS from the prototype.
13492 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13494 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13495 names. Just use the correct names. Remove unnecessary wrapper
13497 * malloc/arena.c: Likewise.
13498 * malloc/hooks.c: Likewise.
13500 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13501 ARENA_TEST says not to. Simplify test for creation of a new arena.
13502 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13504 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13506 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13508 (update_get_addr): New function.
13509 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13510 GET_ADDR_MODULE parameter.
13512 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13514 * crypt/cert.c: Remove __STDC__ conditionals.
13515 * crypt/crypt-entry.c: Likewise.
13516 * crypt/crypt_util.c: Likewise.
13517 * libio/filedoalloc.c: Likewise.
13518 * libio/fileops.c: Likewise.
13519 * libio/genops.c: Likewise.
13520 * libio/iofclose.c: Likewise.
13521 * libio/iofdopen.c: Likewise.
13522 * libio/iofopen.c: Likewise.
13523 * libio/iofopen64.c: Likewise.
13524 * libio/iogetdelim.c: Likewise.
13525 * libio/iopopen.c: Likewise.
13526 * libio/obprintf.c: Likewise.
13527 * libio/oldfileops.c: Likewise.
13528 * libio/oldiofclose.c: Likewise.
13529 * libio/oldiofdopen.c: Likewise.
13530 * libio/oldiofopen.c: Likewise.
13531 * libio/oldiopopen.c: Likewise.
13532 * libio/wfiledoalloc.c: Likewise.
13533 * libio/wgenops.c: Likewise.
13534 * locale/programs/xmalloc.c: Likewise.
13535 * misc/syslog.c: Likewise.
13536 * stdio-common/xbug.c: Likewise.
13537 * string/memchr.c: Likewise.
13538 * string/memcmp.c: Likewise.
13539 * string/memrchr.c: Likewise.
13540 * string/rawmemchr.c: Likewise.
13541 * sysdeps/posix/getcwd.c: Likewise.
13542 * time/strftime_l.c: Likewise.
13544 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13546 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13547 * config.make.in (config-cflags-sse2avx): Define.
13548 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13551 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13553 * scripts/config.guess: Update from upstream config git repository.
13554 * scripts/config.sub: Likewise.
13556 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13558 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13560 (R_TILEPRO_*, R_TILEGX_*): New macros.
13562 * scripts/firstversions.awk: Fix bug in version range handling.
13564 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13566 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13568 * include/sys/epoll.h: New file.
13569 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13572 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13574 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13575 Avoid unnecessary __WORDSIZE == 64 test.
13576 (fmaxf): Use VEX format if possible.
13581 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13582 * math/math_private.h: Remove libc_fegetround* and
13584 * sysdeps/i386/configure.in: Check for -msse2avx.
13585 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13586 also if SSE2AVX is defined.
13587 Remove libc_fegetround* and libc_fesetround*.
13588 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13589 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13590 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13592 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13593 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13594 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13595 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13596 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13598 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13600 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13606 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13609 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13611 * Makeconfig (libm): Define.
13612 * elf/Makefile: Add rules to build and run tst-relsort1.
13613 * elf/tst-relsort1.c: New file.
13614 * elf/tst-relsort1mod1.c: New file.
13615 * elf/tst-relsort1mod2.c: New file.
13617 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13619 * math/s_ldexp.c: Remove __STDC__ conditionals.
13620 * math/s_ldexpf.c: Likewise.
13621 * math/s_ldexpl.c: Likewise.
13622 * math/s_nextafter.c: Likewise.
13623 * math/s_nexttowardf.c: Likewise.
13624 * math/s_significand.c: Likewise.
13625 * math/s_significandf.c: Likewise.
13626 * math/s_significandl.c: Likewise.
13627 * math/w_jnl.c: Likewise.
13628 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13629 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13630 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13631 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13632 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13647 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13660 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13664 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13665 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13666 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13667 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13668 * sysdeps/ieee754/k_standard.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13735 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13743 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13744 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13748 * sysdeps/ieee754/s_matherr.c: Likewise.
13749 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13750 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13754 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13756 * crypt/md5.h: Remove __STDC__ conditionals.
13757 * libio/libioP.h: Likewise.
13758 * locale/programs/config.h: Likewise.
13759 * sysdeps/generic/sysdep.h: Likewise.
13760 * sysdeps/i386/asm-syntax.h: Likewise.
13761 * sysdeps/s390/asm-syntax.h: Likewise.
13762 * sysdeps/unix/sysdep.h: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13766 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13768 * libio/libio.h: Remove __STDC__ conditionals.
13769 * malloc/obstack.h: Likewise.
13770 * math/complex.h: Likewise.
13771 * math/math.h: Likewise.
13772 * sysdeps/generic/_G_config.h: Likewise.
13773 * sysdeps/gnu/_G_config.h: Likewise.
13774 * sysdeps/mach/hurd/_G_config.h: Likewise.
13775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13776 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13777 * sysdeps/sparc/bits/mathdef.h: Likewise.
13779 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13782 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13783 Clean up HAS_* macros.
13784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13785 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13795 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13797 * elf/tst-unique3.cc (gets): Remove declaration.
13798 * elf/tst-unique3lib.cc (gets): Likewise.
13799 * elf/tst-unique3lib2.cc (gets): Likewise.
13800 * elf/tst-unique4.cc (gets): Likewise.
13802 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13804 * include/stdio.h: Add C++ protection. Add gets declarations and
13806 * debug/tst-chk1.c: Don't declare gets here.
13807 * stdio-common/tst-gets.c: Likewise.
13809 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13811 * posix/glob: Remove directory.
13813 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13815 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13817 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13819 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13820 of the non-standard EPFNOSUPPORT.
13822 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13824 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13825 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13826 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13828 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13830 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13832 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13834 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13836 * nscd/grpcache.c (cache_addgr): Likewise.
13837 * nscd/hstcache.c (cache_addhst): Likewise.
13838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13839 * nscd/pwdcache.c (cache_addpw): Likewise.
13840 * nscd/servicescache.c (cache_addserv): Likewise.
13842 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13844 * malloc/malloc.c: Various cleanups.
13845 * malloc/hooks.c: Likewise.
13847 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13848 * stdlib/bug-fmtmsg1.c: New file.
13850 * stdlib/fmtmsg.c (init): Add missing unlock.
13851 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13853 2012-01-12 Marek Polacek <polacek@redhat.com>
13855 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13858 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13860 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13861 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13862 macro to ensure uniqueness of label name.
13863 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13864 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13866 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13868 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13870 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13871 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13875 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13877 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13879 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13880 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13883 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13886 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13890 * math/bits/math-finite.h: Add ldexp support.
13892 2012-01-10 Marek Polacek <polacek@redhat.com>
13894 * locale/programs/localedef.h (show_archive_content): Add noreturn
13897 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13899 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13901 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13903 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13905 * io/Makefile (headers): Add bits/poll2.h.
13907 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13910 typo #include statement.
13912 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13914 * include/sys/cdefs.h: Define __attribute_alloc_size.
13915 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13916 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13917 * elf/pldd.c: Likewise.
13918 * iconv/iconv_charmap.c: Likewise.
13919 * iconv/iconvconfig.c: Likewise.
13920 * iconv/strtab.c: Likewise.
13921 * locale/programs/locale.c: Likewise.
13922 * locale/programs/localedef.h: Likewise.
13923 * locale/programs/simple-hash.c: Likewise.
13924 * nscd/nscd.h: Likewise.
13925 * nss/makedb.c: Likewise.
13926 * sysdeps/generic/ldconfig.h: Likewise.
13927 * locale/programs/localedef.c: Remove xmalloc prototype.
13928 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13930 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13932 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13935 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13937 * math/Makefile (tests): Add tst-CMPLX.
13938 * math/tst-CMPLX.c: New file.
13940 * math/complex.h (CMPLXL): Fix typo.
13942 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13943 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13945 * debug/tst-chk1.c: Add poll and ppoll tests.
13946 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13947 * include/sys/poll.h: Add hidden proto for ppoll.
13948 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13949 * sysdeps/mach/hurd/ppoll.c: Likewise.
13950 * io/ppoll.c: Likewise.
13951 * debug/poll_chk.c: New file.
13952 * debug/ppoll_chk.c: New file.
13953 * include/bits/poll2.h: New file.
13954 * io/bits/poll2.h: New file.
13957 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13959 * configure.in: static is always set to yes. Remove.
13960 * config.make.in: Don't set build-static.
13961 * Makeconfig: Remove use of build-static.
13962 * dlfcn/Makefile: Likewise.
13963 * elf/Makefile: Likewise.
13964 * math/Makefile: Likewise.
13965 * misc/Makefile: Likewise.
13966 * nptl/Makefile: Likewise.
13967 * sysdeps/mach/hurd/Makefile: Likewise.
13969 * configure.in: PWD_P is not used anymore.
13970 * config.make.in: Remove PWD_P entry.
13972 * configure.in: Remove last remnants of RANLIB.
13973 No need to check for signed size_t anymore.
13974 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13976 Remove __builtin_expect test because we require at least gcc 3.4.
13977 * aclocal.m4: Likewise.
13979 * wcsmbs/mbrtoc16.c: Implement using towc function.
13980 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13981 * wcsmbs/wcsmbsload.c: Likewise.
13982 * iconv/gconv_simple.c: Likewise.
13983 * iconv/gconv_int.h: Likewise.
13984 * iconv/gconv_builtin.h: Likewise.
13985 * iconv/iconv_prog.c: Remove CHAR16 handling.
13987 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13989 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13991 * configure.in: Remove --with-elf and --enable-bounded options.
13992 Dont set base_machine for ia64. More non-ELF conditions removed.
13993 Remove testing and setting of leading underscore information.
13994 * config.make.in (build-bounded): Set to no.
13995 * config.h.in: Remove NO_UNDERSCORES entry.
13996 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13998 * csu/start.c: Remove !NO_UNDERSCORE code.
13999 * locale/localeinfo.h: Likewise.
14000 * sysdeps/generic/machine-gmon.h: Likewise.
14001 * sysdeps/generic/sysdep.h: Likewise.
14002 * sysdeps/i386/sysdep.h: Likewise.
14003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14004 * sysdeps/mach/sysdep.h: Likewise.
14005 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14007 * sysdeps/sh/sysdep.h: Likewise.
14008 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14009 * sysdeps/unix/i386/sysdep.S: Likewise.
14010 * sysdeps/unix/sparc/start.c: Likewise.
14011 * sysdeps/unix/sparc/sysdep.S: Likewise.
14012 * sysdeps/unix/sparc/sysdep.h: Likewise.
14013 * sysdeps/unix/start.c: Likewise.
14014 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14015 * sysdeps/x86_64/sysdep.h: Likewise.
14017 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14020 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14022 * argp/argp-fmtstream.h: Use const instead __const.
14023 * argp/argp.h: Likewise.
14024 * assert/assert.h: Likewise.
14025 * bits/fenv.h: Likewise.
14026 * bits/sched.h: Likewise.
14027 * bits/sigset.h: Likewise.
14028 * bits/sigthread.h: Likewise.
14029 * catgets/nl_types.h: Likewise.
14030 * conform/data/pthread.h-data: Likewise.
14031 * crypt/crypt-private.h: Likewise.
14032 * crypt/crypt.h: Likewise.
14033 * crypt/crypt_util.c: Likewise.
14034 * ctype/ctype.h: Likewise.
14035 * debug/execinfo.h: Likewise.
14036 * debug/mbsnrtowcs_chk.c: Likewise.
14037 * debug/mbsrtowcs_chk.c: Likewise.
14038 * debug/wcsnrtombs_chk.c: Likewise.
14039 * debug/wcsrtombs_chk.c: Likewise.
14040 * debug/wcstombs_chk.c: Likewise.
14041 * dirent/dirent.h: Likewise.
14042 * dlfcn/dlfcn.h: Likewise.
14043 * elf/neededtest4.c: Likewise.
14044 * grp/grp.h: Likewise.
14045 * gshadow/gshadow.h: Likewise.
14046 * iconv/gconv.h: Likewise.
14047 * iconv/gconv_int.h: Likewise.
14048 * iconv/gconv_simple.c: Likewise.
14049 * iconv/iconv.h: Likewise.
14050 * iconv/loop.c: Likewise.
14051 * iconv/skeleton.c: Likewise.
14052 * include/aio.h: Likewise.
14053 * include/aliases.h: Likewise.
14054 * include/argz.h: Likewise.
14055 * include/arpa/inet.h: Likewise.
14056 * include/assert.h: Likewise.
14057 * include/dirent.h: Likewise.
14058 * include/dlfcn.h: Likewise.
14059 * include/execinfo.h: Likewise.
14060 * include/fcntl.h: Likewise.
14061 * include/fenv.h: Likewise.
14062 * include/glob.h: Likewise.
14063 * include/grp.h: Likewise.
14064 * include/libintl.h: Likewise.
14065 * include/mntent.h: Likewise.
14066 * include/netdb.h: Likewise.
14067 * include/pwd.h: Likewise.
14068 * include/rpc/netdb.h: Likewise.
14069 * include/sched.h: Likewise.
14070 * include/search.h: Likewise.
14071 * include/shadow.h: Likewise.
14072 * include/signal.h: Likewise.
14073 * include/stdio.h: Likewise.
14074 * include/stdlib.h: Likewise.
14075 * include/string.h: Likewise.
14076 * include/sys/socket.h: Likewise.
14077 * include/sys/stat.h: Likewise.
14078 * include/sys/statfs.h: Likewise.
14079 * include/sys/statvfs.h: Likewise.
14080 * include/sys/syslog.h: Likewise.
14081 * include/sys/time.h: Likewise.
14082 * include/sys/uio.h: Likewise.
14083 * include/time.h: Likewise.
14084 * include/unistd.h: Likewise.
14085 * include/utmp.h: Likewise.
14086 * include/wchar.h: Likewise.
14087 * include/wctype.h: Likewise.
14088 * inet/aliases.h: Likewise.
14089 * inet/arpa/inet.h: Likewise.
14090 * inet/netinet/ether.h: Likewise.
14091 * inet/netinet/in.h: Likewise.
14092 * intl/libintl.h: Likewise.
14093 * io/bits/fcntl2.h: Likewise.
14094 * io/fcntl.h: Likewise.
14095 * io/ftw.h: Likewise.
14096 * io/sys/poll.h: Likewise.
14097 * io/sys/stat.h: Likewise.
14098 * io/sys/statfs.h: Likewise.
14099 * io/sys/statvfs.h: Likewise.
14100 * io/utime.h: Likewise.
14101 * libio/bits/stdio.h: Likewise.
14102 * libio/bits/stdio2.h: Likewise.
14103 * libio/libio.h: Likewise.
14104 * libio/libioP.h: Likewise.
14105 * libio/stdio.h: Likewise.
14106 * locale/lc-ctype.c: Likewise.
14107 * locale/locale.h: Likewise.
14108 * login/utmp.h: Likewise.
14109 * malloc/arena.c: Likewise.
14110 * malloc/malloc.c: Likewise.
14111 * malloc/malloc.h: Likewise.
14112 * malloc/mcheck.c: Likewise.
14113 * malloc/mtrace.c: Likewise.
14114 * math/bits/mathcalls.h: Likewise.
14115 * math/fenv.h: Likewise.
14116 * math/math_private.h: Likewise.
14117 * misc/bits/error.h: Likewise.
14118 * misc/bits/syslog.h: Likewise.
14119 * misc/err.h: Likewise.
14120 * misc/error.h: Likewise.
14121 * misc/fstab.h: Likewise.
14122 * misc/mntent.h: Likewise.
14123 * misc/regexp.h: Likewise.
14124 * misc/search.h: Likewise.
14125 * misc/sgtty.h: Likewise.
14126 * misc/sys/mman.h: Likewise.
14127 * misc/sys/syslog.h: Likewise.
14128 * misc/sys/uio.h: Likewise.
14129 * misc/sys/xattr.h: Likewise.
14130 * misc/ttyent.h: Likewise.
14131 * nis/rpcsvc/ypclnt.h: Likewise.
14132 * nss/nss.h: Likewise.
14133 * posix/bits/unistd.h: Likewise.
14134 * posix/fnmatch.h: Likewise.
14135 * posix/glob.h: Likewise.
14136 * posix/sched.h: Likewise.
14137 * posix/spawn.h: Likewise.
14138 * posix/sys/wait.h: Likewise.
14139 * posix/unistd.h: Likewise.
14140 * posix/wordexp.h: Likewise.
14141 * pwd/pwd.h: Likewise.
14142 * resolv/netdb.h: Likewise.
14143 * resource/sys/resource.h: Likewise.
14144 * rt/aio.h: Likewise.
14145 * rt/bits/mqueue2.h: Likewise.
14146 * rt/mqueue.h: Likewise.
14147 * shadow/shadow.h: Likewise.
14148 * signal/signal.h: Likewise.
14149 * socket/send.c: Likewise.
14150 * socket/sendto.c: Likewise.
14151 * socket/sys/socket.h: Likewise.
14152 * stdio-common/printf.h: Likewise.
14153 * stdlib/bits/stdlib.h: Likewise.
14154 * stdlib/fmtmsg.h: Likewise.
14155 * stdlib/monetary.h: Likewise.
14156 * stdlib/stdlib.h: Likewise.
14157 * stdlib/ucontext.h: Likewise.
14158 * streams/stropts.h: Likewise.
14159 * string/argz.h: Likewise.
14160 * string/bits/string2.h: Likewise.
14161 * string/string.h: Likewise.
14162 * string/strings.h: Likewise.
14163 * sunrpc/rpc/auth.h: Likewise.
14164 * sunrpc/rpc/auth_des.h: Likewise.
14165 * sunrpc/rpc/clnt.h: Likewise.
14166 * sunrpc/rpc/netdb.h: Likewise.
14167 * sunrpc/rpc/pmap_clnt.h: Likewise.
14168 * sunrpc/rpc/xdr.h: Likewise.
14169 * sysdeps/generic/inttypes.h: Likewise.
14170 * sysdeps/generic/net/if.h: Likewise.
14171 * sysdeps/generic/sys/swap.h: Likewise.
14172 * sysdeps/gnu/net/if.h: Likewise.
14173 * sysdeps/gnu/utmpx.h: Likewise.
14174 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14175 * sysdeps/i386/i486/bits/string.h: Likewise.
14176 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14177 * sysdeps/s390/bits/string.h: Likewise.
14178 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14179 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14180 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14181 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14182 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14183 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14184 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14185 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14186 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14187 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14189 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14190 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14191 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14192 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14193 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14201 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14203 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14204 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14205 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14206 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14207 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14208 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14209 * sysvipc/sys/ipc.h: Likewise.
14210 * sysvipc/sys/msg.h: Likewise.
14211 * sysvipc/sys/sem.h: Likewise.
14212 * sysvipc/sys/shm.h: Likewise.
14213 * termios/termios.h: Likewise.
14214 * time/sys/time.h: Likewise.
14215 * time/time.h: Likewise.
14216 * wcsmbs/bits/wchar2.h: Likewise.
14217 * wcsmbs/uchar.h: Likewise.
14218 * wcsmbs/wchar.h: Likewise.
14219 * wctype/wctype.h: Likewise.
14222 * Makeconfig: Remove all but ELF support including AIX support.
14223 * Makerules: Likewise.
14224 * config.h.in: Likewise.
14225 * config.make.in: Likewise.
14226 * configure: Likewise.
14227 * configure.in: Likewise.
14228 * csu/Makefile: Likewise.
14229 * csu/version.c: Likewise.
14230 * debug/Makefile: Likewise.
14231 * dlfcn/Makefile: Likewise.
14232 * elf/Makefile: Likewise.
14233 * extra-lib.mk: Likewise.
14234 * iconv/Makefile: Likewise.
14235 * include/libc-symbols.h: Likewise.
14236 * include/shlib-compat.h: Likewise.
14237 * resolv/Makefile: Likewise.
14238 * resolv/res_libc.c: Likewise.
14239 * rt/Makefile: Likewise.
14240 * sysdeps/i386/asm-syntax.h: Likewise.
14241 * sysdeps/i386/sysdep.h: Likewise.
14242 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14243 * sysdeps/mach/sysdep.h: Likewise.
14244 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14245 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14246 * sysdeps/s390/asm-syntax.h: Likewise.
14247 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14249 * sysdeps/sh/sysdep.h: Likewise.
14250 * sysdeps/unix/sparc/sysdep.h: Likewise.
14251 * sysdeps/wordsize-32/divdi3.c: Likewise.
14252 * sysdeps/x86_64/sysdep.h: Likewise.
14254 * argp/Versions: Remove _argp_unlock_xxx.
14257 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14258 * abilist/libBrokenLocale.abilist: Likewise.
14259 * abilist/libanl.abilist: Likewise.
14260 * abilist/libc.abilist: Likewise.
14261 * abilist/libcrypt.abilist: Likewise.
14262 * abilist/libdl.abilist: Likewise.
14263 * abilist/libm.abilist: Likewise.
14264 * abilist/libnsl.abilist: Likewise.
14265 * abilist/libpthread.abilist: Likewise.
14266 * abilist/libresolv.abilist: Likewise.
14267 * abilist/librt.abilist: Likewise.
14268 * abilist/libthread_db.abilist: Likewise.
14269 * abilist/libutil.abilist: Likewise.
14270 * abilist/libnss_db.abilist: New file.
14272 * scripts/abilist.awk: Add support for indirect functions.
14274 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14276 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14278 * shlib-versions: Remove entries for ports architectures.
14280 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14282 * elf/stackguard-macros.h: Remove support for IA-64.
14283 * elf/tst-auditmod1.c: Likewise.
14284 * sysdeps/generic/ldsodefs.h: Likewise.
14286 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14287 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14291 * configure.in: Remove --enable-omitfp support.
14293 * config.make.in: Likewise.
14294 * Makeconfig: Likewise.
14295 * manual/install.texi: Likewise.
14297 In case anyone cares, the IA-64 architecture could move to ports.
14298 * sysdeps/ia64/*: Removed.
14299 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14300 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14303 * configure.in: Remove entries for unsupported architectures.
14306 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14307 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14309 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14310 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14311 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14312 fall back to using wcrtomb.
14313 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14314 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14316 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14317 * wcsmbs/tst-c16c32-1.c: New file.
14319 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14322 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14324 * elf/tst-unique3.cc: Add explicit declaration of gets.
14325 * elf/tst-unique3lib.cc: Likewise.
14326 * elf/tst-unique3lib2.cc: Likewise.
14327 * elf/tst-unique4.cc: Likewise.
14329 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14331 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14334 * assert/assert.h (static_assert): Don't define for C++.
14335 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14336 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14338 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14340 * iconv/loop.c (single loop): Fix assertion in storing of
14343 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14345 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14347 * posix/getconf.c: Update copyright year.
14348 * nss/getent.c: Likewise.
14349 * nss/makedb.c: Likewise.
14350 * iconv/iconvconfig.c: Likewise.
14351 * iconv/iconv_prog.c: Likewise.
14352 * elf/ldconfig.c: Likewise.
14353 * elf/pldd.c: Likewise.
14354 * elf/sotruss.ksh: Likewise.
14355 * catgets/gencat.c: Likewise.
14356 * csu/version.c: Likewise.
14357 * elf/ldd.bash.in: Likewise.
14358 * elf/sprof.c (print_version): Likewise.
14359 * locale/programs/locale.c: Likewise.
14360 * locale/programs/localedef.c: Likewise.
14361 * login/programs/pt_chown.c: Likewise.
14362 * nscd/nscd.c (print_version): Likewise.
14363 * debug/xtrace.sh: Likewise.
14364 * malloc/memusage.sh: Likewise.
14365 * malloc/mtrace.pl: Likewise.
14366 * debug/catchsegv.sh: Likewise.
14368 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14370 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14373 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14376 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14377 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14379 * iconv/gconv_int.h: Likewise.
14380 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14381 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14382 from libc for GLIBC_2.16.
14383 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14384 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14385 * wcsmbs/uchar.h: Really define mbstate_t.
14386 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14387 * wcsmbs/c16rtomb.c: New file.
14388 * wcsmbs/mbrtoc16.c: New file.
14389 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14390 for C/POSIX locale.
14391 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14392 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14394 * wcsmbs/wchar.h: Add missing __restrict.
14396 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14399 * time/Makefile (routines): Add timespec_get.
14400 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14401 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14402 timespec for ISO C11.
14403 * time/timespec_get.c: New file.
14404 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14405 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14408 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14409 * stdlib/stdlib.h: Declare aligned_alloc.
14410 * Versions.def: Add GLIBC_2.16 for libc.
14411 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14414 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14417 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14421 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14424 * assert/assert.h (static_assert): Define.
14426 * version.h: Update for 2.16 development version.
14429 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14432 * version.h (RELEASE): Bump for 2.15 release.
14433 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14435 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14436 Patch by Marek Polacek <mpolacek@redhat.com>.
14438 * bits/byteswap.h: Protect long long constants with __extension__.
14439 * sysdeps/i386/bits/byteswap.h: Likewise.
14440 * sysdeps/ia64/bits/byteswap.h: Likewise.
14441 * sysdeps/s390/bits/byteswap.h: Likewise.
14442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14444 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14448 destination buffer.
14449 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14451 2011-12-23 Marek Polacek <polacek@redhat.com>
14453 * elf/dl-addr.c (determine_info): Add inline keyword.
14454 * elf/tst-auditmod4b.c (check_avx): Likewise.
14455 * elf/tst-auditmod6b.c (check_avx): Likewise.
14456 * elf/tst-auditmod6c.c (check_avx): Likewise.
14457 * elf/tst-auditmod7b.c (check_avx): Likewise.
14459 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14461 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14464 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14467 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14468 processing for last bytes.
14470 2011-08-06 Bruno Haible <bruno@clisp.org>
14473 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14474 U+0385, not to U+1FEE.
14477 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14478 entry for U+00A5 U+0301.
14480 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14483 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14484 buffer for the output is too small.
14486 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14490 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14491 SSE flags if possible.
14493 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14496 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14497 processing for last bytes.
14499 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14501 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14502 (syscall-list-default-options, syscall-list-default-condition)
14503 (syscall-list-includes): Define.
14504 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14505 list of ABIs and options and #if conditions for each ABI. Do not
14506 handle common syscalls between ABIs specially.
14507 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14509 (syscall-list-variants, syscall-list-32bit-options)
14510 (syscall-list-32bit-condition, syscall-list-64bit-options)
14511 (syscall-list-64bit-condition): Define.
14512 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14513 (syscall-list-variants, syscall-list-32bit-options)
14514 (syscall-list-32bit-condition, syscall-list-64bit-options)
14515 (syscall-list-64bit-condition): Define.
14516 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14518 (syscall-list-variants, syscall-list-32bit-options)
14519 (syscall-list-32bit-condition, syscall-list-64bit-options)
14520 (syscall-list-64bit-condition): Define.
14521 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14523 (syscall-list-variants, syscall-list-32bit-options)
14524 (syscall-list-32bit-condition, syscall-list-64bit-options)
14525 (syscall-list-64bit-condition): Define.
14527 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14529 * locale/iso-639.def: Add brx entry.
14532 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14533 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14535 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14536 __feraiseexcept_renamed.
14538 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14541 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14542 EPOLLET with unsigned values.
14543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14546 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14547 to large cancellation.
14548 * math/s_cacoshf.c: Likewise.
14549 * math/s_cacoshl.c: Likewise.
14551 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14555 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14556 * math/s_cacoshf.c: Likewise.
14557 * math/s_cacoshl.c: Likewise.
14559 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14562 * iconv/gconv.h: Define __GCONV_SWAP.
14563 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14564 * iconvdata/utf-16.c: Likewise.
14565 * iconvdata/utf-32.c: Likewise.
14567 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14570 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14571 numerator after shifting it by one limb.
14573 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14575 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14576 under [__USE_EXTERN_INLINES].
14578 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14581 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14583 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14586 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14588 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14589 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14590 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14591 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14592 for strncasecmp/strncasecmp_l compilation.
14593 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14594 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14596 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14599 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14602 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14605 * time/tzfile.c (__tzfile_read): Check values from file header.
14607 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14609 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14610 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14611 * powerpc/powerpc32/dl-start.S: Likewise.
14612 * powerpc/powerpc32/elf/start.S: Likewise.
14613 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14614 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14615 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14616 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14617 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14618 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14619 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14620 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14621 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14622 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14623 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14624 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14625 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14626 * powerpc/powerpc32/memset.S: Likewise.
14627 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14628 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14629 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14630 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14631 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14632 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14633 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14634 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14635 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14636 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14637 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14638 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14639 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14641 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14643 * math/libm-test.inc: Added more nearbyint tests.
14644 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14649 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14651 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14654 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14656 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14657 Add wcscpy-ssse3 wcscpy-c.
14658 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14659 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14660 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14661 * sysdeps/x86_64/wcschr.S: New file.
14662 * sysdeps/x86_64/wcsrchr.S: New file.
14663 * string/test-strcmp.c: Remove checking of wcscmp function for
14665 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14666 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14667 wcsrchr-sse2 wcsrchr-c.
14668 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14669 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14670 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14671 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14672 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14673 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14674 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14675 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14676 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14677 * wcsmbc/wcschr.c (WCSCHR): New macro.
14679 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14681 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14682 * wcsmbs/test-wcsrchr.c: New file.
14683 * string/test-strrchr.c: Add wcsrchr support.
14685 * wcsmbs/test-wcscpy.c: New file.
14686 * string/test-strcpy.c: Add wcscpy support.
14689 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14694 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14697 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14699 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14701 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14702 Minor optimizations.
14704 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14705 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14706 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14708 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14710 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14711 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14712 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14713 for gcc to avoid warnings.
14714 * inet/Makefile (tests): Add tst-checks.
14715 * inet/tst-checks.c: New file.
14717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14720 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14723 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14724 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14726 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14728 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14730 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14733 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14735 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14737 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14738 conditional on GCC version.
14739 (__arch_compare_and_exchange_val_8_acq)
14740 (__arch_compare_and_exchange_val_16_acq)
14741 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14742 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14743 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14745 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14747 * sysdeps/sh/backtrace.c: New file.
14749 2011-12-02 Andreas Schwab <schwab@redhat.com>
14751 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14754 2011-12-01 Andreas Schwab <schwab@redhat.com>
14756 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14757 falling back to utime.
14759 2011-11-30 Andreas Schwab <schwab@redhat.com>
14761 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14762 expectations for float.
14764 2011-11-29 Andreas Schwab <schwab@redhat.com>
14766 * locale/weight.h (findidx): Add parameter len.
14767 * locale/weightwc.h (findidx): Likewise.
14768 * posix/fnmatch_loop.c (FCT): Adjust caller.
14769 * posix/regcomp.c (build_equiv_class): Likewise.
14770 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14771 * posix/regexec.c (check_node_accept_bytes): Likewise.
14772 * string/strcoll_l.c (STRCOLL): Likewise.
14773 * string/strxfrm_l.c (STRXFRM): Likewise.
14775 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14777 * Makefile.in: Remove CVSOPT handling.
14778 * configure.in: Remove use of AC_REVISION.
14779 * iconvdata/Makefile (distribute): No need to filter out CVS.
14780 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14783 2011-11-16 Andreas Schwab <schwab@redhat.com>
14785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14786 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14787 [USE_AS_STRNCASECMP_L]: Likewise.
14788 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14789 NO_TLS_DIRECT_SEG_REFS.
14790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14791 Fix argument offsets for non-PIC.
14792 [USE_AS_STRNCASECMP_L]: Likewise.
14793 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14794 NO_TLS_DIRECT_SEG_REFS.
14796 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14798 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14800 * locale/loadlocale.c (_nl_load_locale): Likewise.
14802 2011-11-15 Andreas Schwab <schwab@redhat.com>
14804 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14805 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14806 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14807 (SYSCALL_GETTIME): Set errno on error.
14809 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14810 count references to noai6ai_cached.
14812 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14814 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14816 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14817 FD_CLOEXEC for /proc/self/maps.
14819 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14820 FD_CLOEXEC for /proc/meminfo.
14822 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14825 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14826 FD_CLOEXEC for given file.
14828 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14830 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14831 FD_CLOEXEC for /etc/hosts.
14832 (_gethtent): Likewise.
14834 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14836 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14837 cancellation and set FD_CLOEXEC for /etc/netgroup.
14839 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14840 reading /etc/publickey.
14842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14843 allow cancellation when reading /etc/group.
14845 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14847 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14849 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14850 when using data file.
14852 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14854 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14855 (write_nis_obj): Use "c" and "e" in fopen.
14857 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14859 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14861 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14863 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14865 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14868 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14870 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14872 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14874 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14875 file parsing and set FD_CLOEXEC.
14877 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14879 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14881 2011-11-14 Andreas Schwab <schwab@redhat.com>
14883 * malloc/arena.c (arena_get2): Don't call reused_arena when
14884 _int_new_arena failed.
14886 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14888 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14889 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14890 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14891 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14894 to compile strcasecmp and strncasecmp.
14895 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14896 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14900 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14902 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14903 locale-defines.sym to gen-as-const-headers.
14904 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14905 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14907 to compile strcasecmp and strncasecmp.
14908 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14909 strcasecmp_l and strncasecmp_l.
14910 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14911 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14912 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14913 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14914 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14915 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14916 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14917 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14918 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14919 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14920 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14922 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14924 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14925 result of SYSDEP_GETTIME_CPU to retval.
14926 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14927 parameter list to macro. Remove trailing semicolon. Adjust users.
14929 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14932 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14934 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14936 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14937 from unused variable.
14939 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14941 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14944 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14947 * sunrpc/rpc_prot.c (rejected): Fix case value.
14949 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14950 unsigned long long int to avoid warnings in shift.
14952 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14954 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14957 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14958 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14959 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14961 * nis/nis_table.c (nis_list): Use variable of correct type for
14962 result of __follow_path call.
14964 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14966 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14967 of math functions ceil, trunc, floor, round, and sqrt, when
14968 avaliable on the platform.
14969 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14972 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14973 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14975 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14977 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14980 2011-11-11 Roland McGrath <roland@hack.frob.com>
14982 * include/unistd.h: Fix __readlink return type.
14983 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14985 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14987 * stdlib/ucontext.h: Undo last change for makecontext.
14989 2011-11-11 Andreas Schwab <schwab@redhat.com>
14991 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14993 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14994 * setjmp/setjmp.h: Mark functions as non-leaf.
14995 * setjmp/bits/setjmp2.h: Likewise.
14996 * stdlib/ucontext.h: Likewise.
14998 2011-11-10 Andreas Schwab <schwab@redhat.com>
15000 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15001 (reused_arena): Don't check arena limit.
15002 (arena_get2): Atomically check arena limit.
15004 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15006 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15007 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15012 2011-11-07 Andreas Schwab <schwab@redhat.com>
15014 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15015 handler when locking.
15017 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15018 Fix size of allocated buffer.
15020 2011-11-04 Andreas Schwab <schwab@redhat.com>
15023 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15024 declarations for long double functions.
15025 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15027 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15029 2011-11-03 Andreas Schwab <schwab@redhat.com>
15031 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15034 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15037 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15039 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15041 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15043 * include/alloca.h (stackinfo_alloca_round): Define.
15044 (extend_alloca): Use it.
15045 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15046 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15049 * scripts/check-local-headers.sh: Ignore libaudit.h.
15051 * nscd/Makefile (extra-objs): Make recursively expanded.
15053 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15055 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15058 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15059 * posix/tst-rfc3484-2.c: Likewise.
15060 * posix/tst-rfc3484-3.c: Likewise.
15062 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15064 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15066 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15067 process_vm_writev from libc using GLIBC_2.15 version.
15069 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15071 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15073 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15076 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15079 * nss/getent.c (initgroups_keys): Show error message in case no group
15082 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15083 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15084 __bump_nl_timestamp.
15085 * nscd/connections (nscd_init): When host database is served open
15086 netlink socket and request notification about configuration changes.
15087 (main_loop_poll): Track netlink file descriptor and bump timestamp
15088 in case data becomes available.
15089 (main_loop_epoll): Likewise.
15090 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15091 (database_pers_head): Add extra_data fileds.
15092 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15093 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15094 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15097 in6ai data, call __free_in6ai.
15098 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15099 Add -DHAVE_NETLINK.
15100 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15101 interface information. Reuse previous data if netlink timestamp
15103 (__bump_nl_timestamp): New function.
15104 (__free_in6ai): New function.
15106 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15108 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15109 close_not_cancel_no_status here.
15110 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15112 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15115 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15118 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15119 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15120 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15122 2011-07-03 Andreas Jaeger <aj@suse.de>
15125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15126 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15127 * math/libm-test.inc (sin_test): Add test case.
15129 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15132 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15135 * elf/chroot_canon.c (chroot_canon): Cleanups.
15137 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15140 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15141 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15143 * string/test-strchr.c: Make usable for strchrnul testing.
15144 * string/test-strchrnul.c: New file.
15145 * string/Makefile (strop-tests): Add strchrnul.
15147 * po/it.po: Update from translation team.
15148 * po/es.po: Likewise.
15150 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15153 the three constants needed as parameters. Drop the others.
15154 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15155 __m128i_strloadu_tolower.
15156 Create and initialize variable zero and use it in all the places
15157 where _mm_setzero_si128 was used.
15159 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15160 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15161 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15162 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15164 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15165 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15166 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15167 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15168 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15169 __mpranred, __mptan.
15170 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15171 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15172 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15173 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15174 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15175 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15177 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15178 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15180 2011-10-28 Andreas Schwab <schwab@redhat.com>
15182 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15183 redefine if SHARED.
15184 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15187 wide char related routines to wcsmbs subdir.
15189 2011-10-27 Andreas Schwab <schwab@redhat.com>
15192 * misc/sys/cdefs.h (__THROWNL): Define.
15193 * posix/unistd.h: Use __THREADNL instead of __THREAD
15194 for memory synchronization functions.
15196 2011-10-26 Roland McGrath <roland@hack.frob.com>
15199 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15201 * manual/stdio.texi (Obstack Streams): Node removed.
15203 2011-10-26 Andreas Schwab <schwab@redhat.com>
15205 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15207 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15209 * math/math_private.h (math_force_eval): Allow non-addressable
15211 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15213 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15215 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15216 file is not needed.
15218 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15219 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15222 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15223 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15224 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15225 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15227 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15228 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15229 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15230 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15231 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15232 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15233 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15234 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15235 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15236 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15237 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15238 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15240 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15241 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15242 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15244 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15245 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15247 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15248 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15251 place. Use VEX encoding when compiling for AVX.
15253 2011-10-25 Andreas Schwab <schwab@redhat.com>
15255 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15258 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15260 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15262 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15263 useless if() expression.
15264 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15274 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15276 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15277 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15278 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15279 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15282 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15284 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15286 2011-10-25 Andreas Schwab <schwab@redhat.com>
15288 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15294 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15295 .text section. Avoid duplicate constants.
15296 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15308 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15313 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15319 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15320 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15321 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15322 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15323 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15324 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15325 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15326 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15327 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15328 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15329 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15330 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15331 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15332 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15334 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15335 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15336 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15337 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15338 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15340 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15342 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15344 * sysdeps/x86_64/dla.h: Move to ...
15345 * sysdeps/x86_64/fpu/dla.h: ...here.
15346 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15347 situations. Use __builtin_fma only for gcc 4.6 and up.
15349 * config.make.in: Add have-mfma4 entry.
15350 * configure.in: Substitute libc_cv_cc_fma4.
15351 * math/Makefile (dbl-only-routines): Add sincostab.
15352 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15353 Use __sincostab not sincos.
15354 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15361 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15362 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15363 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15364 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15366 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15367 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15369 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15370 define aliases when function name is a macro.
15371 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15372 sysdeps/ieee754/dbl-64/sincos.tbl.
15373 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15374 fma4-enabled routines.
15375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15376 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15377 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15378 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15379 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15380 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15382 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15384 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15385 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15387 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15388 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15389 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15390 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15391 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15392 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15393 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15395 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15396 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15397 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15398 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15400 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15402 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15403 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15404 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15406 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15417 2011-10-24 Andreas Schwab <schwab@redhat.com>
15419 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15421 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15423 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15425 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15429 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15430 Remove unused variable magic_bits.
15431 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15433 * string/strnlen.c: Define and use STRNLEN macro.
15434 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15435 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15437 * wcsmbs/wcslen.c: Define and use WCSLEN.
15438 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15439 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15440 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15441 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15442 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15443 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15444 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15446 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15449 strnlen-sse2-no-bsf.
15450 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15452 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15453 Add strnlen support.
15454 (USE_AS_STRNLEN): New macro.
15455 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15456 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15457 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15458 * sysdeps/x86_64/wcslen.S: New file.
15460 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15463 XMM-moves are used for copying on small sizes.
15465 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15467 * wcsmbs/Makefile (strop-tests): Add wcschr.
15468 * wcsmbs/test-wcschr.c: New file.
15469 * string/test-strchr.c: Update.
15470 Add wcschr support.
15473 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15475 * wcsmbs/Makefile (strop-tests): Add wcslen.
15476 * wcsmbs/test-wcslen.c: New file.
15477 * string/test-strlen.c: Update.
15478 Add wcslen support.
15481 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15483 * po/it.po: Update from translation team.
15485 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15487 * sysdeps/x86_64/wcscmp.S: Update.
15488 Fix wrong comparison semantics.
15489 wcscmp shall use signed comparison not unsigned.
15490 Don't use substraction to avoid overflow bug.
15491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15492 * wcsmbc/wcscmp.c: Likewise.
15493 * string/test-strcmp.c: Likewise.
15494 Add new tests to check cases with negative values.
15496 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15498 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15499 * sysdeps/x86_64/dla.h: ...here. New file.
15500 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15510 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15513 __ynl_finite aliases.
15515 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15519 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15521 [DLA_FMA] (EMULV): Use DLA_FMA.
15522 [DLA_FMA] (MUL12): Use EMULV.
15523 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15524 that are not needed.
15525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15533 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15535 * math/s_nan.c: Undef __nan.
15536 * math/s_nanf.c: Undef __nanf.
15537 * math/s_nanl.c: Undef __nanl.
15538 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15541 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15543 * math/s_catan.c: Add branch predictions.
15544 * math/s_catanf.c: Likewise.
15545 * math/s_catanh.c: Likewise.
15546 * math/s_catanhf.c: Likewise.
15547 * math/s_catanhl.c: Likewise.
15548 * math/s_catanl.c: Likewise.
15549 * math/s_cexp.c: Likewise.
15550 * math/s_cexpf.c: Likewise.
15551 * math/s_cexpl.c: Likewise.
15552 * math/s_clog.c: Likewise.
15553 * math/s_clog10.c: Likewise.
15554 * math/s_clog10f.c: Likewise.
15555 * math/s_clog10l.c: Likewise.
15556 * math/s_clogf.c: Likewise.
15557 * math/s_clogl.c: Likewise.
15558 * math/s_csqrt.c: Likewise.
15559 * math/s_csqrtf.c: Likewise.
15560 * math/s_csqrtl.c: Likewise.
15561 * math/s_ctanf.c: Likewise.
15562 * math/s_ctanh.c: Likewise.
15563 * math/s_ctanhf.c: Likewise.
15564 * math/s_ctanhl.c: Likewise.
15565 * math/s_ctanl.c: Likewise.
15567 * math/math_private.h: Define __nan, __nanf, __nanl.
15568 * math/s_cacosh.c: Include <math_private.h>.
15569 * math/s_cacoshl.c: Likewise.
15570 * math/s_casinh.c: Likewise.
15571 * math/s_casinhf.c: Likewise.
15572 * math/s_casinhl.c: Likewise.
15573 * math/s_ccos.c: Rely entire on ccosh.
15574 * math/s_ccosf.c: Rely entire on ccoshf.
15575 * math/s_ccosl.c: Rely entirely on ccoshl.
15576 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15577 Remove tests for FE_INVALID.
15578 * math/s_ccoshf.c: Likewise.
15579 * math/s_ccoshl.c: Likewise.
15580 * math/s_csin.c: Likewise.
15581 * math/s_csinf.c: Likewise.
15582 * math/s_csinh.c Likewise.
15583 * math/s_csinhf.c: Likewise.
15584 * math/s_csinhl.c: Likewise.
15585 * math/s_csinl.c: Likewise.
15586 * math/s_ctan.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15588 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15589 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15591 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15594 compilation problems.
15596 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15599 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15601 * sysdeps/i386/configure.in: Test for -mfma4 option.
15602 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15603 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15604 COMMON_CPUID_INDEX_80000001.
15605 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15606 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15607 use it if FMA3 is not supported.
15608 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15610 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15611 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15613 2011-10-20 Andreas Schwab <schwab@redhat.com>
15616 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15617 it would create a cycle with a link time dependency.
15619 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15621 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15623 * string/Makefile (strop-tests): Add rawmemchr.
15624 * string/test-rawmemchr.c: New file.
15626 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15628 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15629 when compiling str{,n}casecmp and when AVX is available. Hook up
15630 new optimized code in initializers.
15632 2011-10-19 Andreas Schwab <schwab@redhat.com>
15634 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15635 __feraiseexcept instead of feraiseexcept.
15637 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15639 * math/math_private.h: Define defaults for libc_fetestexcept and
15641 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15642 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15643 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15644 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15645 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15646 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15647 libc_fetestexcept and libc_feupdateenv.
15649 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15650 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15651 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15652 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15653 libc_feholdexcept_setround.
15655 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15656 Add s_nearbyint-c and s_nearbyintf-c.
15657 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15658 nearbyintf inlines.
15659 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15660 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15661 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15664 * math/math_private.h: Define defaults for libc_fegetround,
15665 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15666 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15667 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15669 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15670 standard functions.
15671 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15672 Remove comments and hacks for old compiler versions.
15673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15674 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15675 libc_feholdexceptl.
15677 2011-10-18 Andreas Schwab <schwab@redhat.com>
15679 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15680 (__feraiseexcept_renamed): Add __NTH.
15681 (feraiseexcept): Add __NTH. Rename local variables to fix
15682 namespace violations.
15684 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15688 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15690 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15691 recently added interfaces.
15692 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15694 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15695 about macro parameter expansion.
15697 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15698 __NO_MATH_INLINES is defined. Cleanups.
15700 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15701 and __floorf is target has SSE4.1.
15702 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15703 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15704 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15705 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15707 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15709 (floorf): Likewise.
15711 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15713 2011-10-17 Andreas Schwab <schwab@redhat.com>
15715 * misc/sys/cdefs.h: Fix last change.
15717 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15720 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15722 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15724 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15730 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15732 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15733 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15734 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15735 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15736 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15737 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15738 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15739 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15741 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15742 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15743 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15744 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15745 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15747 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15748 ceil, ceilf, floor, floorf.
15750 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15751 Perform IRELATIVE relocations last.
15753 * elf/do-rel.h: Add another parameter nrelative, replacing the
15754 local variable with the same name. Change name of the function
15755 to end in Rel or Rela (uppercase).
15756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15757 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15758 elf_dynamic_do_##reloc function.
15760 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15762 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15763 is sufficient, at least on modern CPUs.
15765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15767 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15770 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15772 * math/bits/math-finite.h: Add entries for exp.
15773 * math/e_expl.c: Add __*_finite alias.
15774 * sysdeps/i386/fpu/e_exp.S: Likewise.
15775 * sysdeps/i386/fpu/e_expf.S: Likewise.
15776 * sysdeps/i386/fpu/e_expl.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15778 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15782 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15785 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15786 is sufficient, at least on modern CPUs.
15788 * ctype/ctype-info.c (__ctype_init): Define.
15789 * include/ctype.h (__ctype_init): Declare.
15790 (__ctype_b_loc): The variable is always initialized.
15791 (__ctype_toupper_loc): Likewise.
15792 (__ctype_tolower_loc): Likewise.
15793 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15794 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15796 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15798 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15800 * configure.in: Also look in $cxxmachine/include for C++ system
15803 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15805 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15806 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15807 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15808 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15810 (USE_AS_WMEMCMP): New macro.
15812 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15813 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15814 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15815 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15817 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15818 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15819 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15820 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15821 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15822 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15823 (USE_AS_WMEMCMP): New macro.
15824 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15825 * sysdeps/string/test-memcmp.c: Update.
15826 Fix simple_wmemcmp.
15828 * wcsmbs/wmemcmp.c: Update.
15829 (WMEMCMP): New macro.
15832 2011-10-12 Andreas Jaeger <aj@suse.de>
15835 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15837 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15839 * libio/iofwide.c (do_length): Avoid warning.
15841 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15843 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15845 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15847 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15848 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15849 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15850 * sysdeps/i386/i686/fpu/e_log.S: New file.
15851 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15852 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15854 * ctype/ctype.h: Add support for inlined isXXX functions when
15855 compiling C++ code.
15857 2011-10-14 Andreas Schwab <schwab@redhat.com>
15859 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15861 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15863 2011-10-13 Roland McGrath <roland@hack.frob.com>
15866 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15868 2011-10-13 Andreas Schwab <schwab@redhat.com>
15870 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15871 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15874 * sysdeps/x86_64/memrchr.S: Check for zero size.
15876 * string/stratcliff.c: Add memrchr tests.
15878 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15881 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15882 rawmemchr-sse2 rawmemchr-sse2-bsf.
15883 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15884 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15885 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15886 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15887 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15888 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15889 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15890 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15891 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15892 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15893 * string/memrchr.c (MEMRCHR): New macro.
15895 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15897 Add integration with gcc's -ffinite-math-only and optimize wrapper
15899 * Versions.def: Define GLIBC_2.15 version for libm.
15900 * math/Makefile (headers): Add bits/math-finite.h.
15901 * math/bits/math-finite.h: New file.
15902 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15903 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15904 * math/e_acoshl.c: Add __*_finite alias.
15905 * math/e_acosl.c: Likewise.
15906 * math/e_asinl.c: Likewise.
15907 * math/e_atan2l.c: Likewise.
15908 * math/e_atanhl.c: Likewise.
15909 * math/e_coshl.c: Likewise.
15910 * math/e_exp10.c: Likewise.
15911 * math/e_exp10f.c: Likewise.
15912 * math/e_exp10l.c: Likewise.
15913 * math/e_exp2l.c: Likewise.
15914 * math/e_fmodl.c: Likewise.
15915 * math/e_gammal_r.c: Likewise.
15916 * math/e_hypotl.c: Likewise.
15917 * math/e_j0l.c: Likewise.
15918 * math/e_j1l.c: Likewise.
15919 * math/e_jnl.c: Likewise.
15920 * math/e_lgammal_r.c: Likewise.
15921 * math/e_log10l.c: Likewise.
15922 * math/e_log2l.c: Likewise.
15923 * math/e_logl.c: Likewise.
15924 * math/e_powl.c: Likewise.
15925 * math/e_sinhl.c: Likewise.
15926 * math/e_sqrtl.c: Likewise.
15927 * math/e_scalb.c: Completely rewritten and optimized.
15928 * math/e_scalbf.c: Likewise.
15929 * math/e_scalbl.c: Likewise.
15930 * math/w_acos.c: Likewise.
15931 * math/w_acosf.c: Likewise.
15932 * math/w_acosl.c: Likewise.
15933 * math/w_acosh.c: Likewise.
15934 * math/w_acoshf.c: Likewise.
15935 * math/w_acoshl.c: Likewise.
15936 * math/w_asin.c: Likewise.
15937 * math/w_asinf.c: Likewise.
15938 * math/w_asinl.c: Likewise.
15939 * math/w_atan2.c: Likewise.
15940 * math/w_atan2f.c: Likewise.
15941 * math/w_atan2l.c: Likewise.
15942 * math/w_atanh.c: Likewise.
15943 * math/w_atanhf.c: Likewise.
15944 * math/w_atanhl.c: Likewise.
15945 * math/w_exp10.c: Likewise.
15946 * math/w_exp10f.c: Likewise.
15947 * math/w_exp10l.c: Likewise.
15948 * math/w_fmod.c: Likewise.
15949 * math/w_fmodf.c: Likewise.
15950 * math/w_fmodl.c: Likewise.
15951 * math/w_j0.c: Likewise.
15952 * math/w_j0f.c: Likewise.
15953 * math/w_j0l.c: Likewise.
15954 * math/w_j1.c: Likewise.
15955 * math/w_j1f.c: Likewise.
15956 * math/w_j1l.c: Likewise.
15957 * math/w_jn.c: Likewise.
15958 * math/w_jnf.c: Likewise.
15959 * math/w_log.c: Likewise.
15960 * math/w_logf.c: Likewise.
15961 * math/w_logl.c: Likewise.
15962 * math/w_log10.c: Likewise.
15963 * math/w_log10f.c: Likewise.
15964 * math/w_log10l.c: Likewise.
15965 * math/w_log2.c: Likewise.
15966 * math/w_log2f.c: Likewise.
15967 * math/w_log2l.c: Likewise.
15968 * math/w_pow.c: Likewise.
15969 * math/w_powf.c: Likewise.
15970 * math/w_powl.c: Likewise.
15971 * math/w_remainder.c: Likewise.
15972 * math/w_remainderf.c: Likewise.
15973 * math/w_remainderl.c: Likewise.
15974 * math/w_scalb.c: Likewise.
15975 * math/w_scalbf.c: Likewise.
15976 * math/w_scalbl.c: Likewise.
15977 * math/w_sqrt.c: Likewise.
15978 * math/w_sqrtf.c: Likewise.
15979 * math/w_sqrtl.c: Likewise.
15980 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15981 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15983 * math/math_private.h: Declare __kernel_standard_f.
15984 * math/w_cosh.c: Remove cruft and optimize a bit.
15985 * math/w_coshf.c: Likewise.
15986 * math/w_coshl.c: Likewise.
15987 * math/w_exp2.c: Likewise.
15988 * math/w_exp2f.c: Likewise.
15989 * math/w_exp2l.c: Likewise.
15990 * math/w_hypot.c: Likewise.
15991 * math/w_hypotf.c: Likewise.
15992 * math/w_hypotl.c: Likewise.
15993 * math/w_lgamma.c: Likewise.
15994 * math/w_lgamma_r.c: Likewise.
15995 * math/w_lgammaf.c: Likewise.
15996 * math/w_lgammaf_r.c: Likewise.
15997 * math/w_lgammal.c: Likewise.
15998 * math/w_lgammal_r.c: Likewise.
15999 * math/w_sinh.c: Likewise.
16000 * math/w_sinhf.c: Likewise.
16001 * math/w_sinhl.c: Likewise.
16002 * math/w_tgamma.c: Likewise.
16003 * math/w_tgammaf.c: Likewise.
16004 * math/w_tgammal.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16007 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16008 Minor optimizations. Pretty printing. Remove cruft.
16009 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16010 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16013 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16014 * sysdeps/i386/fpu/e_asin.S: Likewise.
16015 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16016 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16017 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16018 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16020 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16022 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16023 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16024 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16025 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16026 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16027 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16028 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16029 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16030 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16031 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16032 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16033 * sysdeps/i386/fpu/e_log.S: Likewise.
16034 * sysdeps/i386/fpu/e_log10.S: Likewise.
16035 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16036 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16037 * sysdeps/i386/fpu/e_log2.S: Likewise.
16038 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16039 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16040 * sysdeps/i386/fpu/e_logf.S: Likewise.
16041 * sysdeps/i386/fpu/e_logl.S: Likewise.
16042 * sysdeps/i386/fpu/e_pow.S: Likewise.
16043 * sysdeps/i386/fpu/e_powf.S: Likewise.
16044 * sysdeps/i386/fpu/e_powl.S: Likewise.
16045 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16046 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16047 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16049 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16050 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16051 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16052 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16053 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16060 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16075 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16076 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16077 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16078 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16079 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16080 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16081 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16082 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16083 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16084 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16085 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16086 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16087 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16088 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16089 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16090 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16091 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16092 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16093 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16094 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16095 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16134 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16139 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16140 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16142 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16145 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16147 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16148 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16149 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16150 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16151 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16152 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16153 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16154 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16155 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16156 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16157 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16158 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16159 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16162 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16163 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16164 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16165 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16166 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16167 (__isnanf): Likewise.
16168 (__isinf_ns): Likewise.
16169 (__isinf_nsf): Likewise.
16170 (__finite): Likewise.
16171 (__finitef): Likewise.
16172 (__ieee754_sqrt): Define as macro.
16173 (__ieee754_sqrtf): Define as macro.
16174 (__ieee754_sqrtl): Define as macro.
16175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16177 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16178 __FINITE_MATH_ONLY__ consistent.
16179 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16181 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16183 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16188 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16190 * po/ja.po: Update from translation team.
16192 2011-10-08 Roland McGrath <roland@hack.frob.com>
16194 * locale/programs/locarchive.c (prepare_address_space): New function.
16195 (create_archive, enlarge_archive, open_archive): Use it.
16197 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16198 inside [SHARED], where it is used.
16200 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16202 * nss/getent.c (netgroup_keys): Remove unused variable.
16203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16205 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16207 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16208 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16210 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16211 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16212 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16213 * math/Makefile (libm-calls): Add s_isinf_ns.
16214 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16215 * math/multc3.c: Likewise.
16216 * math/s_casin.c: Likewise.
16217 * math/s_casinf.c: Likewise.
16218 * math/s_casinl.c: Likewise.
16219 * math/s_ccos.c: Likewise.
16220 * math/s_ccosf.c: Likewise.
16221 * math/s_ccosl.c: Likewise.
16222 * math/s_ctan.c: Likewise.
16223 * math/s_ctanf.c: Likewise.
16224 * math/s_ctanh.c: Likewise.
16225 * math/s_ctanhf.c: Likewise.
16226 * math/s_ctanhl.c: Likewise.
16227 * math/s_ctanl.c: Likewise.
16228 * math/w_fmod.c: Likewise.
16229 * math/w_fmodf.c: Likewise.
16230 * math/w_fmodl.c: Likewise.
16231 * math/w_remainder.c: Likewise.
16232 * math/w_remainderf.c: Likewise.
16233 * math/w_remainderl.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16235 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16236 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16238 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16239 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16240 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16241 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16243 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16245 * stdio-common/printf_fphex.c: Likewise.
16246 * stdio-common/printf_size.c: Likewise.
16248 * math/e_exp10.c: Include math_private.h using <...> not "...".
16249 * math/e_exp10f.c: Likewise.
16250 * math/e_exp10l.c: Likewise.
16251 * math/e_exp2l.c: Likewise.
16252 * math/e_j0l.c: Likewise.
16253 * math/e_j1l.c: Likewise.
16254 * math/e_jnl.c: Likewise.
16255 * math/e_lgammal_r.c: Likewise.
16256 * math/e_rem_pio2l.c: Likewise.
16257 * math/e_scalb.c: Likewise.
16258 * math/e_scalbf.c: Likewise.
16259 * math/e_scalbl.c: Likewise.
16260 * math/k_cosl.c: Likewise.
16261 * math/k_sinl.c: Likewise.
16262 * math/k_tanl.c: Likewise.
16263 * math/s_cacoshf.c: Likewise.
16264 * math/s_catan.c: Likewise.
16265 * math/s_catanf.c: Likewise.
16266 * math/s_catanh.c: Likewise.
16267 * math/s_catanhf.c: Likewise.
16268 * math/s_catanhl.c: Likewise.
16269 * math/s_catanl.c: Likewise.
16270 * math/s_ccosh.c: Likewise.
16271 * math/s_ccoshf.c: Likewise.
16272 * math/s_ccoshl.c: Likewise.
16273 * math/s_cexp.c: Likewise.
16274 * math/s_cexpf.c: Likewise.
16275 * math/s_cexpl.c: Likewise.
16276 * math/s_clog.c: Likewise.
16277 * math/s_clog10.c: Likewise.
16278 * math/s_clog10f.c: Likewise.
16279 * math/s_clog10l.c: Likewise.
16280 * math/s_clogf.c: Likewise.
16281 * math/s_clogl.c: Likewise.
16282 * math/s_csin.c: Likewise.
16283 * math/s_csinf.c: Likewise.
16284 * math/s_csinh.c: Likewise.
16285 * math/s_csinhf.c: Likewise.
16286 * math/s_csinhl.c: Likewise.
16287 * math/s_csinl.c: Likewise.
16288 * math/s_csqrt.c: Likewise.
16289 * math/s_csqrtf.c: Likewise.
16290 * math/s_csqrtl.c: Likewise.
16291 * math/s_ctan.c: Likewise.
16292 * math/s_ctanf.c: Likewise.
16293 * math/s_ctanh.c: Likewise.
16294 * math/s_ctanhf.c: Likewise.
16295 * math/s_ctanhl.c: Likewise.
16296 * math/s_ctanl.c: Likewise.
16297 * math/s_ldexp.c: Likewise.
16298 * math/s_ldexpf.c: Likewise.
16299 * math/s_ldexpl.c: Likewise.
16300 * math/s_significand.c: Likewise.
16301 * math/s_significandf.c: Likewise.
16302 * math/s_significandl.c: Likewise.
16303 * math/w_acos.c: Likewise.
16304 * math/w_acosf.c: Likewise.
16305 * math/w_acosh.c: Likewise.
16306 * math/w_acoshf.c: Likewise.
16307 * math/w_acoshl.c: Likewise.
16308 * math/w_acosl.c: Likewise.
16309 * math/w_asin.c: Likewise.
16310 * math/w_asinf.c: Likewise.
16311 * math/w_asinl.c: Likewise.
16312 * math/w_atan2.c: Likewise.
16313 * math/w_atan2f.c: Likewise.
16314 * math/w_atan2l.c: Likewise.
16315 * math/w_atanh.c: Likewise.
16316 * math/w_atanhf.c: Likewise.
16317 * math/w_atanhl.c: Likewise.
16318 * math/w_cosh.c: Likewise.
16319 * math/w_coshf.c: Likewise.
16320 * math/w_coshl.c: Likewise.
16321 * math/w_dremf.c: Likewise.
16322 * math/w_exp10.c: Likewise.
16323 * math/w_exp10f.c: Likewise.
16324 * math/w_exp10l.c: Likewise.
16325 * math/w_exp2.c: Likewise.
16326 * math/w_exp2f.c: Likewise.
16327 * math/w_fmod.c: Likewise.
16328 * math/w_fmodf.c: Likewise.
16329 * math/w_fmodl.c: Likewise.
16330 * math/w_hypot.c: Likewise.
16331 * math/w_hypotf.c: Likewise.
16332 * math/w_hypotl.c: Likewise.
16333 * math/w_j0.c: Likewise.
16334 * math/w_j0f.c: Likewise.
16335 * math/w_j0l.c: Likewise.
16336 * math/w_j1.c: Likewise.
16337 * math/w_j1f.c: Likewise.
16338 * math/w_j1l.c: Likewise.
16339 * math/w_jn.c: Likewise.
16340 * math/w_jnf.c: Likewise.
16341 * math/w_jnl.c: Likewise.
16342 * math/w_lgamma.c: Likewise.
16343 * math/w_lgamma_r.c: Likewise.
16344 * math/w_lgammaf.c: Likewise.
16345 * math/w_lgammaf_r.c: Likewise.
16346 * math/w_lgammal.c: Likewise.
16347 * math/w_lgammal_r.c: Likewise.
16348 * math/w_log.c: Likewise.
16349 * math/w_log10.c: Likewise.
16350 * math/w_log10f.c: Likewise.
16351 * math/w_log10l.c: Likewise.
16352 * math/w_log2.c: Likewise.
16353 * math/w_log2f.c: Likewise.
16354 * math/w_log2l.c: Likewise.
16355 * math/w_logf.c: Likewise.
16356 * math/w_logl.c: Likewise.
16357 * math/w_pow.c: Likewise.
16358 * math/w_powf.c: Likewise.
16359 * math/w_powl.c: Likewise.
16360 * math/w_remainder.c: Likewise.
16361 * math/w_remainderf.c: Likewise.
16362 * math/w_remainderl.c: Likewise.
16363 * math/w_scalb.c: Likewise.
16364 * math/w_scalbf.c: Likewise.
16365 * math/w_scalbl.c: Likewise.
16366 * math/w_sinh.c: Likewise.
16367 * math/w_sinhf.c: Likewise.
16368 * math/w_sinhl.c: Likewise.
16369 * math/w_sqrt.c: Likewise.
16370 * math/w_sqrtf.c: Likewise.
16371 * math/w_sqrtl.c: Likewise.
16372 * math/w_tgamma.c: Likewise.
16373 * math/w_tgammaf.c: Likewise.
16374 * math/w_tgammal.c: Likewise.
16376 * po/ja.po: Update from translation team.
16378 2011-09-29 Andreas Jaeger <aj@suse.de>
16381 * sunrpc/netname.c (netname2host): Fix logic.
16385 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16387 * math/w_remainder.c (__remainder): Likewise.
16388 * math/w_remainderf.c (__remainderf): Likewise.
16389 * math/libm-test.inc (remainder_test): Add test cases.
16391 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16393 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16396 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16398 * string/test-memcmp.c: Avoid unncessary #defines.
16399 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16401 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16403 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16404 Use new sse2 version for core i3 - i7 as it's faster
16405 than sse42 version.
16406 (bit_Prefer_PMINUB_for_stringop): New.
16407 * sysdeps/x86_64/rawmemchr.S: Update.
16408 Replace with faster SSE2 version.
16409 * sysdeps/x86_64/memrchr.S: New file.
16410 * sysdeps/x86_64/memchr.S: Update.
16411 Replace with faster SSE2 version.
16413 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16415 * elf/dl-load.c (lose): Add cast to avoid warning.
16417 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16419 * po/ca.po: Update from translation team.
16421 * inet/getnetgrent_r.c: Hook up nscd.
16422 * nscd/Makefile (routines): Add nscd_netgroup.
16423 (nscd-modules): Add netgroupcache.
16424 (CFLAGS-netgroupcache.c): Define.
16425 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16426 (cache_search): Add const to second parameter.
16427 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16429 (dbs): Add netgrdb entry.
16430 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16431 (verify_persistent_db): Handle netgrdb.
16432 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16433 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16435 (netgroup_response_header): Define.
16436 (innetgroup_response_header): Define.
16437 (datahead): Add netgroup_response_header and innetgroup_response_header
16439 * nscd/nscd.conf: Add entries for netgroup cache.
16440 * nscd/nscd.h (dbtype): Add netgrdb.
16441 (_PATH_NSCD_NETGROUP_DB): Define.
16442 (netgroup_iov_disabled): Declare.
16443 (xmalloc, xcalloc, xrealloc): Move declarations here.
16444 (cache_search): Adjust prototype.
16445 Add netgroup-related prototypes.
16446 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16447 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16448 (__nscd_innetgr): Declare.
16449 * nscd/selinux.c (perms): Use access_vector_t as element type and
16450 add netgroup-related initializers.
16451 * nscd/netgroupcache.c: New file.
16452 * nscd/nscd_netgroup.c: New file.
16453 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16454 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16455 For four parameters use innetgr.
16456 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16457 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16458 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16459 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16461 * nscd/connections.c (register_traced_file): Don't register file
16462 for disabled databases.
16464 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16466 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16468 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16469 from tree and freeing node.
16471 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16473 * nss/nsswitch.c (__nss_database_lookup): Handle
16474 nss_parse_service_list out of memory case.
16476 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16478 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16479 out of memory case.
16481 2011-10-04 Andreas Schwab <schwab@redhat.com>
16483 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16484 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16486 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16487 elf_machine_rela, elf_machine_lazy_rel.
16488 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16489 (ELF_DYNAMIC_DO_REL): Likewise.
16490 (ELF_DYNAMIC_DO_RELA): Likewise.
16491 (ELF_DYNAMIC_RELOCATE): Likewise.
16492 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16493 to ELF_DYNAMIC_DO_REL.
16494 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16495 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16496 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16498 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16499 skip_ifunc, don't call ifunc function if non-zero.
16500 (elf_machine_rela): Likewise.
16501 (elf_machine_lazy_rel): Likewise.
16502 (elf_machine_lazy_rela): Likewise.
16503 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16504 (elf_machine_lazy_rel): Likewise.
16505 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16507 (elf_machine_lazy_rel): Likewise.
16508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16510 (elf_machine_lazy_rel): Likewise.
16511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16512 (elf_machine_lazy_rel): Likewise.
16513 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16514 (elf_machine_lazy_rel): Likewise.
16515 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16516 (elf_machine_lazy_rel): Likewise.
16517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16518 (elf_machine_lazy_rel): Likewise.
16519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16520 (elf_machine_lazy_rel): Likewise.
16521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16522 (elf_machine_lazy_rel): Likewise.
16524 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16526 * nss/nss_files/files-init.c (_nss_files_init): Use static
16527 initialization for all the *_traced_file variables.
16529 2011-09-28 Andreas Schwab <schwab@redhat.com>
16531 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16533 2011-09-27 Roland McGrath <roland@hack.frob.com>
16536 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16538 2011-09-27 Andreas Schwab <schwab@redhat.com>
16540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16541 Reread the line before reparsing it.
16543 2011-09-26 Andreas Schwab <schwab@redhat.com>
16545 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16547 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16548 Maxim Kuvyrkov <maxim@codesourcery.com>
16549 Joseph Myers <joseph@codesourcery.com>
16551 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16552 if needed for __stack_chk_guard.
16554 2011-09-19 Roland McGrath <roland@hack.frob.com>
16556 * sysdeps/posix/spawni.c (script_execute): Always define it.
16557 It will be optimized away if unused.
16558 (maybe_script_execute): New function.
16559 (__spawni): Call it.
16561 * Makerules: Don't include tls.make.
16562 (config-tls): Always set to thread.
16563 * tls.make.c: File removed.
16565 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16567 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16568 * config.make.in (CPPFLAGS-config): New substituted variable.
16570 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16575 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16576 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16578 2011-09-15 Roland McGrath <roland@hack.frob.com>
16580 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16581 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16583 (CALL_FAIL): Likewise.
16584 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16585 (CALL_FAIL): Macro removed.
16586 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16588 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16590 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16591 for __FINITE_MATH_ONLY__ == 1.
16593 2011-09-15 Andreas Schwab <schwab@redhat.com>
16595 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16596 __ieee754_sqrt instead of sqrt.
16597 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16598 __ieee754_sqrtf instead of sqrtf.
16599 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16600 __floorf instead of floorf.
16601 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16602 __floorf, __truncf instead of floorf, truncf.
16604 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16606 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16608 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16609 __extern_always_inline.
16610 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16613 2011-09-14 Andreas Schwab <schwab@redhat.com>
16615 * elf/rtld.c (dl_main): Also relocate in dependency order when
16616 doing symbol dependency testing.
16618 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16621 Always define `refsym'.
16623 2011-09-13 Andreas Schwab <schwab@redhat.com>
16625 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16626 (__FD_ELT): Renamed from __FDELT.
16627 * misc/bits/select2.h (__FD_ELT): Likewise.
16628 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16629 __FD_MASK instead of __FDELT, __FDMASK.
16630 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16632 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16635 * elf/Makefile (gen-ldd): Fix pattern.
16637 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16638 (init_tls): Likewise.
16640 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16644 2011-09-12 Andreas Schwab <schwab@redhat.com>
16646 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16647 `struct cmsghdr *' instead of `void *'.
16648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16651 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16653 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16655 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16656 ldd_rewrite_script.
16658 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16660 * configure.in: Remove --with-tls option.
16661 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16662 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16663 out in case it is missing.
16664 * sysdeps/ia64/elf/configure.in: Likewise.
16665 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16666 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16667 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16668 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16669 * sysdeps/sh/elf/configure.in: Likewise.
16670 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16671 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16672 * sysdeps/x86_64/elf/configure.in: Likewise.
16673 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16674 * sysdeps/mach/hurd/tls.h: Likewise.
16677 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16680 * configure.in: Fix use of AC_INIT.
16682 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16684 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16686 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16688 * malloc/hooks.c: Likewise.
16691 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16692 variables statically.
16693 (narenas): Initialize.
16694 (list_lock): Initialize.
16695 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16696 initializtion of main_arena and list_lock. Small cleanups.
16697 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16698 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16699 Add initializers to main_arena and mp_.
16700 (malloc_state): Remove pagesize member. Change all users to use
16703 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16704 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16705 is always initialized.
16707 * malloc/malloc.c: Removed unused configurations and dead code.
16708 * malloc/arena.c: Likewise.
16709 * malloc/hooks.c: Likewise.
16710 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16712 * include/tls.h: Removed. USE___THREAD must always be defined.
16713 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16714 * elf/dl-libc.c: Likewise.
16715 * elf/dl-tsd.c: Likewise.
16716 * include/errno.h: Likewise.
16717 * include/netdb.h: Likewise.
16718 * include/resolv.h: Likewise.
16719 * inet/herrno-loc.c: Likewise.
16720 * inet/herrno.c: Likewise.
16721 * malloc/arena.c: Likewise.
16722 * malloc/hooks.c: Likewise.
16723 * malloc/malloc.c: Likewise.
16724 * resolv/res-state.c: Likewise.
16725 * resolv/res_libc.c: Likewise.
16726 * sysdeps/i386/dl-machine.h: Likewise.
16727 * sysdeps/ia64/dl-machine.h: Likewise.
16728 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16729 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16730 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16731 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16732 * sysdeps/sh/dl-machine.h: Likewise.
16733 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16735 * sysdeps/unix/i386/sysdep.S: Likewise.
16736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16737 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16742 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16746 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16747 * sysdeps/x86_64/dl-machine.h: Likewise.
16748 * tls.make.c: Likewise.
16750 * configure.in: Remove --with-__thread option. Make tests for
16751 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16752 tls_model attribute fail if no support is available. Remove
16754 * Makeconfig: Adjust for dropped configure option. All features are
16756 * Makerules: Likewise.
16757 * Versions.def: Likewise.
16758 * argp/argp-fmtstream.c: Likewise.
16759 * argp/argp-fmtstream.h: Likewise.
16760 * argp/argp-help.c: Likewise.
16761 * assert/assert.c: Likewise.
16762 * config.h.in: Likewise.
16763 * config.make.in: Likewise.
16764 * configure: Likewise.
16765 * configure.in: Likewise.
16766 * csu/Versions: Likewise.
16767 * csu/init.c: Likewise.
16768 * elf/tst-audit2.c: Likewise.
16769 * elf/tst-tls10.c: Likewise.
16770 * elf/tst-tls10.h: Likewise.
16771 * elf/tst-tls11.c: Likewise.
16772 * elf/tst-tls12.c: Likewise.
16773 * elf/tst-tls14.c: Likewise.
16774 * elf/tst-tlsmod11.c: Likewise.
16775 * elf/tst-tlsmod12.c: Likewise.
16776 * elf/tst-tlsmod13.c: Likewise.
16777 * elf/tst-tlsmod13a.c: Likewise.
16778 * elf/tst-tlsmod14a.c: Likewise.
16779 * elf/tst-tlsmod15b.c: Likewise.
16780 * elf/tst-tlsmod16a.c: Likewise.
16781 * elf/tst-tlsmod16b.c: Likewise.
16782 * elf/tst-tlsmod7.c: Likewise.
16783 * elf/tst-tlsmod8.c: Likewise.
16784 * elf/tst-tlsmod9.c: Likewise.
16785 * gmon/gmon.c: Likewise.
16786 * grp/fgetgrent_r.c: Likewise.
16787 * grp/putgrent.c: Likewise.
16788 * hurd/fopenport.c: Likewise.
16789 * include/libc-symbols.h: Likewise.
16790 * include/tls.h: Likewise.
16791 * intl/gettextP.h: Likewise.
16792 * intl/loadinfo.h: Likewise.
16793 * locale/global-locale.c: Likewise.
16794 * locale/localeinfo.h: Likewise.
16795 * mach/devstream.c: Likewise.
16796 * malloc/arena.c: Likewise.
16797 * malloc/set-freeres.c: Likewise.
16798 * misc/err.c: Likewise.
16799 * misc/getttyent.c: Likewise.
16800 * misc/mntent_r.c: Likewise.
16801 * posix/getopt.c: Likewise.
16802 * posix/wordexp.c: Likewise.
16803 * pwd/fgetpwent_r.c: Likewise.
16804 * resolv/Versions: Likewise.
16805 * resolv/res_hconf.c: Likewise.
16806 * shadow/fgetspent_r.c: Likewise.
16807 * shadow/putspent.c: Likewise.
16808 * stdio-common/printf_fphex.c: Likewise.
16809 * stdio-common/tmpfile.c: Likewise.
16810 * stdlib/abort.c: Likewise.
16811 * stdlib/fmtmsg.c: Likewise.
16812 * sunrpc/auth_unix.c: Likewise.
16813 * sunrpc/clnt_perr.c: Likewise.
16814 * sunrpc/clnt_tcp.c: Likewise.
16815 * sunrpc/clnt_udp.c: Likewise.
16816 * sunrpc/clnt_unix.c: Likewise.
16817 * sunrpc/openchild.c: Likewise.
16818 * sunrpc/svc_simple.c: Likewise.
16819 * sunrpc/svc_tcp.c: Likewise.
16820 * sunrpc/svc_udp.c: Likewise.
16821 * sunrpc/svc_unix.c: Likewise.
16822 * sunrpc/xdr.c: Likewise.
16823 * sunrpc/xdr_array.c: Likewise.
16824 * sunrpc/xdr_rec.c: Likewise.
16825 * sunrpc/xdr_ref.c: Likewise.
16826 * sunrpc/xdr_stdio.c: Likewise.
16828 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16830 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16832 2011-07-03 Andreas Jaeger <aj@suse.de>
16834 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16835 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16836 regenerate with gen-libm-tests.pl.
16838 2010-05-12 Petr Baudis <pasky@suse.cz>
16841 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16842 around j0() zero points by switching to j1().
16843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16848 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16850 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16852 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16855 Patch in part by Pavel Roskin <proski@gnu.org>.
16858 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16860 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16861 Free memory block if necessary.
16864 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16865 be NULL. Don't lock in this case.
16867 2011-09-09 Roland McGrath <roland@hack.frob.com>
16869 * elf/elf.h (ELFOSABI_GNU): New macro.
16870 (ELFOSABI_LINUX): Define to that.
16872 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16874 * string/strncat.c (strncat): Undef the symbol in case it has been
16875 defined in bits/string.h.
16877 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16879 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16881 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16884 2011-08-17 Andreas Jaeger <aj@suse.de>
16886 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16888 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16889 Ian Lance Taylor <iant@google.com>
16891 * math/libm-test.inc (lround_test): New testcase.
16892 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16894 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16896 * Makefile: Remove support for automatic cvs check-ins.
16897 * Makerules: Likewise.
16898 * config.make.in: Likewise.
16899 * configure.in: Likewise.
16900 * intl/Makefile: Likewise.
16901 * locale/Makefile: Likewise.
16902 * po/Makefile: Likewise.
16903 * posix/Makefile: Likewise.
16904 * sysdeps/gnu/Makefile: Likewise.
16905 * sysdeps/mach/hurd/Makefile: Likewise.
16906 * sysdeps/sparc/sparc32/Makefile: Likewise.
16909 * posix/Makefile (bug-regex32-ENV): Define.
16910 Patch by John Stanley <jpsinthemix@verizon.net>.
16912 * misc/Makefile (headers): Add bits/select2.h.
16913 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16914 * misc/bits/select2.h: New file.
16915 * include/bits/select2.h: New file.
16916 * debug/Makefile (routines): Add fdelt_chk.
16917 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16918 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16920 * debug/fdelt_chk.c: New file.
16922 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16923 * wcsmbs/test-wmemcmp.c: Likewise.
16924 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16925 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16927 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16929 * string/Makefile (strop-tests): Add memcmp.
16930 * string/test-wmemcmp.c: New file.
16931 * string/test-memcmp.c: Add wmemcmp support.
16933 2011-09-08 Roland McGrath <roland@hack.frob.com>
16936 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16939 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16940 garbage value in a __mach_port_mod_refs call in the cases of the
16941 task-self and thread-self ports.
16943 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16945 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16947 2011-09-08 Andreas Schwab <schwab@redhat.com>
16949 * elf/dl-load.c (lose): Check for non-null L.
16951 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16953 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16955 * elf/dl-libc.c (dlerror_run): Pass back error code from
16959 * elf/dl-load.c (lose): Free l_origin if it is valid.
16961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16963 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16966 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16967 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16968 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16970 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16972 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16973 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16974 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16975 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16976 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16977 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16978 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16979 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16980 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16981 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16983 2011-08-15 Alan Modra <amodra@gmail.com>
16986 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16987 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16988 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16989 ppc_mcount to static-only-routines.
16990 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16992 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16993 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16995 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16997 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16998 for finite and infinity parameters.
17000 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17003 and add nop instructions for throughput optimization.
17004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17006 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17008 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17009 aligned copy for power7 with vector-scalar instructions.
17010 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17012 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17017 2011-09-07 Andreas Schwab <schwab@redhat.com>
17020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17023 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17025 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17026 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17027 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17028 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17031 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17033 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17034 Forgot to demangle the pointer.
17036 * sysdeps/i386/sysdep.h: Define atom_text_section.
17037 * sysdeps/x86_64/sysdep.h: Likewise.
17038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17039 section with atom_text_section.
17040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17044 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17047 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17048 already be defined. Change to take two parameters and don't assign
17049 result to variable. Adjust all users.
17050 Define INTERNAL_GETTIME if not already defined.
17051 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17054 HAVE_CLOCK_GETTIME_VSYSCALL.
17055 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17058 gettimeofday vsyscall, just use time.
17060 2011-09-06 Andreas Schwab <schwab@redhat.com>
17062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17065 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17067 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17071 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17073 syscall if possible.
17075 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17077 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17078 e_ident. Don't pass to find_mapsXX.
17079 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17081 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17084 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17085 * sysdeps/x86_64/multiarch/strchr.S: Update.
17086 Check bit_slow_BSF bit.
17087 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17088 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17089 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17091 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17094 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17096 (tryshell): Define.
17097 (__spawni): Change last parameter to be flag. Test
17098 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17099 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17100 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17101 * posix/spawni.c: Likewise.
17102 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17103 * posix/spawnp.c: Likewise. Change normal version to use
17104 SPAWN_XFLAGS_USE_PATH.
17105 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17106 SPAWN_XFLAGS_TRY_SHELL.
17109 * posix/glob.h: Remove gcc 1.x support.
17112 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17114 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17117 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17119 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17120 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17121 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17123 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17124 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17126 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17128 * sysdeps/x86_64/wcscmp.S: New file.
17130 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17131 wcscmp-c wcscmp-sse2
17132 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17133 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17134 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17135 * wcsmbs/wcscmp.c: Allow renaming.
17137 2011-09-05 David S. Miller <davem@davemloft.net>
17139 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17140 stack slot, rather than the struct return pointer slot.
17141 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17142 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17144 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17146 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17148 * po/ja.po: Update from translation team.
17151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17152 kernel in 64-bit binaries.
17154 2011-09-01 David S. Miller <davem@davemloft.net>
17156 * elf/elf.h (HWCAP_SPARC_*): Move to..
17157 * sysdeps/sparc/sysdep.h: this new file and add new values.
17158 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17159 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17160 _DL_HWCAP_COUNT to 24.
17161 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17163 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17164 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17165 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17167 instead of magic constants.
17168 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17170 2011-08-31 David S. Miller <davem@davemloft.net>
17172 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17174 Reimplement to do errno handling inline.
17175 (SYSCALL_ERROR_HANDLER): New macro.
17176 (__SYSCALL_STRING): Do not do errno handling in asm.
17177 (__CLONE_SYSCALL_STRING): Delete.
17178 (__INTERNAL_SYSCALL_STRING): Delete.
17179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17180 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17181 (PSEUDO): Reimplement to do errno handling inline.
17182 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17183 (SYSCALL_ERROR_HANDLER): New macro.
17184 (__SYSCALL_STRING): Do not do errno handling in asm.
17185 (__CLONE_SYSCALL_STRING): Delete.
17186 (__INTERNAL_SYSCALL_STRING): Delete.
17187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17188 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17190 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17191 (inline_syscall*): Add 'err' argument.
17192 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17193 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17194 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17195 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17197 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17198 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17200 2011-08-30 Andreas Schwab <schwab@redhat.com>
17202 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17204 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17206 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17209 2011-08-24 David S. Miller <davem@davemloft.net>
17211 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17213 2011-08-24 Andreas Schwab <schwab@redhat.com>
17215 * elf/Makefile: Add rules to build and run unload8 test.
17216 * elf/unload8.c: New file.
17217 * elf/unload8mod1.c: New file.
17218 * elf/unload8mod1x.c: New file.
17219 * elf/unload8mod2.c: New file.
17220 * elf/unload8mod3.c: New file.
17222 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17225 2011-08-23 David S. Miller <davem@davemloft.net>
17227 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17228 subtract stack bias.
17229 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17230 %sp not %fp in calculations.
17231 (_JMPBUF_UNWINDS_ADJ): Likewise.
17233 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17234 (aio_suspend): Call it to force an exception region around the
17235 AIO_MISC_WAIT() invocation.
17237 2011-08-23 Andreas Schwab <schwab@redhat.com>
17239 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17242 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17244 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17246 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17247 and <dl-machine.h>.
17248 (Elf64_FuncDesc): Remove.
17250 2011-08-22 David S. Miller <davem@davemloft.net>
17252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17253 sigaltstack check, add missing cfi directives.
17254 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17255 missing cfi directives, and sigaltstack handling.
17257 2011-08-16 Andreas Schwab <schwab@redhat.com>
17260 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17261 object is seen twice.
17262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17264 * elf/Makefile (distribute): Add tst-initorder2.c.
17265 (tests): Add tst-initorder2.
17266 (modules-names): Add tst-initorder2a tst-initorder2b
17267 tst-initorder2c tst-initorder2d. Add rules to build them.
17268 ($(objpfx)tst-initorder2.out): New rule.
17269 * elf/tst-initorder2.c: New file.
17270 * elf/tst-initorder2.exp: New file.
17272 2011-08-22 Andreas Schwab <schwab@redhat.com>
17274 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17276 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17277 dependencies back to end of function.
17279 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17280 $(elfobjdir)/ld.so.
17282 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17285 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17287 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17288 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17289 of __vdso_gettimeofday.
17290 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17291 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17293 (_libc_vdso_platform_setup): Remove initialization of
17294 __vdso_gettimeofday and __vdso_time.
17296 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17298 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17299 and fgetc_unlocked.
17300 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17303 * elf/dl-open.c (add_to_global): Report additions to the global scope
17304 for LD_DEBUG=scopes.
17305 (dl_open_worker): Also print scope of newly loaded dependencies.
17306 (_dl_show_scope): Indicate if there is no scope.
17309 * stdio-common/Makefile (tests): Add bug24.
17310 * stdio-common/bug24.c: New file.
17312 2011-08-19 Andreas Jaeger <aj@suse.de>
17315 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17316 non-existant file when using close-on-exec mode.
17318 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17321 the very first instruction.
17323 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17324 the CFI state in the end.
17325 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17326 inclusion of dl-trampoline.h.
17327 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17329 2011-08-19 Andreas Schwab <schwab@redhat.com>
17331 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17332 expectations for long double.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17335 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17337 2011-08-14 David S. Miller <davem@davemloft.net>
17339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17340 artificual limit depends upon the system page size.
17342 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17344 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17345 * resolv/Makefile: Define CFLAGS-libresolv.
17347 2011-08-17 Andreas Schwab <schwab@redhat.com>
17349 * nss/makedb.c (compute_tables): Make variables used in nested
17352 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17354 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17355 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17356 if buffer was too small.
17358 * elf/pldd.c (main): Attach to all threads in the process.
17359 Rewrite /proc handling to use *at functions.
17361 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17363 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17364 specifies first scope to show.
17365 (dl_open_worker): Update callers. Move printing scope of new
17366 object to before the relocation.
17367 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17368 * sysdeps/generic/ldsodefs.h: Update declaration.
17370 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17371 string for the scope number.
17373 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17375 * nscd/servicescache.c (cache_addserv): Make sure written is always
17378 2011-08-14 Roland McGrath <roland@hack.frob.com>
17380 * sysdeps/i386/i486/bits/atomic.h
17381 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17382 statement expression, so as to suppress "set but not used" warning.
17383 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17385 * string/strncat.c (STRNCAT): Use prototype definition.
17387 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17388 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17390 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17391 (localedef-modules): Add localedef.
17392 (locale-modules): Add locale.
17394 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17395 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17396 to avoid a warning.
17398 2011-08-14 David S. Miller <davem@davemloft.net>
17400 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17401 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17403 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17405 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17406 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17407 * elf/rtld.c (dl_main): Set l_name of vDSO.
17408 Call _dl_show_scope when DL_DEBUG_SCOPES.
17409 (process_dl_debug): Recognize scopes flag and also set it for all.
17410 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17411 Declare _dl_show_scope.
17413 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17414 (do_dlopen): Pass caller_dlopen to dl_open.
17415 (__libc_dlopen_mode): Initialize caller_dlopen.
17417 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17418 of libc. Make tolower call locale-independent. Optimize a bit by
17419 using isdigit instead of isalnum.
17420 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17422 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17424 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17425 was a dependency or dynamically loaded.
17427 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17429 * intl/l10nflist.c: Allow architecture-specific pop function.
17430 * sysdeps/x86_64/l10nflist.c: New file.
17432 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17435 2011-08-10 Andreas Schwab <schwab@redhat.com>
17437 * include/dirent.h: Add libc_hidden_proto for scandirat and
17438 scandirat64. Don't declare __scandirat64.
17439 * dirent/scandirat.c: Add libc_hidden_def.
17440 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17441 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17443 2011-08-10 David S. Miller <davem@davemloft.net>
17445 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17451 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17453 * Versions.def [libc]: Add GLIBC_2.15.
17454 * dirent/Makefile (routines): Add scandirat and scandirat64.
17455 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17457 * dirent/dirent.h: Declare scandirat and scandirat64.
17458 * dirent/scandirat.c: New file.
17459 * dirent/scandirat64.c: New file.
17460 * sysdeps/wordsize-64/scandirat.c: New file.
17461 * sysdeps/wordsize-64/scandirat64.c: New file.
17462 * dirent/opendir.c: Define opendirat.
17463 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17465 * dirent/scandir64.c: Adjust for scandir.c change.
17466 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17467 __scandirat64, and __scandir_cancel_handler.
17468 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17469 additional parameter and use openat instead of open (outside of ld.so).
17470 Add new __opendir as wrapper around __opendirat.
17471 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17472 here without requiring old scandirat implementation.
17474 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17476 * dirent/scandir.c (cancel_handler): Renamed to
17477 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17478 defined. Adjust users.
17479 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17480 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17482 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17484 * string/test-string.h (IMPL): Use __STRING to expand name and then
17487 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17490 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17492 * string/Makefile: Update.
17493 (strop-tests): Append strncat.
17494 * string/test-wcscmp.c: New file.
17495 New comprehensive test for wcscmp.
17496 * string/test-strcmp.c: Update.
17497 (WIDE): New define.
17499 2011-07-22 Andreas Schwab <schwab@redhat.com>
17501 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17504 2011-07-26 Andreas Schwab <schwab@redhat.com>
17506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17507 encoding to ACE if AI_IDN.
17509 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17512 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17514 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17516 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17517 Fix overflow bug in strncat.
17518 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17520 * string/test-strncat.c: Update.
17521 Add new tests for checking overflow bugs.
17523 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17526 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17527 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17528 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17530 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17531 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17532 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17533 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17535 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17536 (USE_AS_STRCAT): Define.
17537 Add strcat and strncat support.
17538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17540 2011-07-25 Andreas Schwab <schwab@redhat.com>
17542 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17543 __n bigger than INT_MAX+1.
17544 (__strncmp_g): Likewise.
17546 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17548 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17549 * libio/stido.h: Likewise.
17551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17556 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17560 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17563 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17568 (_dl_x86_64_save_sse): Likewise.
17570 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17574 (_dl_x86_64_save_sse): Likewise.
17576 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17578 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17580 2011-07-21 Andreas Schwab <schwab@redhat.com>
17582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17584 (_dl_x86_64_save_sse): Use correct AVX check.
17586 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17589 bug in strncpy/strncat.
17590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17592 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17594 * string/tester.c (test_strcat): Add tests for different alignments
17595 of source and destination.
17596 (test_strncat): Likewise.
17598 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17601 * posix/glob.c (glob): Check passed in values before using them in
17602 expressions to avoid some overflows.
17603 (glob_in_dir): Likewise.
17606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17607 check for AVX enablement so that we don't crash with old kernels and
17609 * elf/tst-audit4.c: Add same checks here.
17610 * elf/tst-audit6.c: Likewise.
17612 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17614 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17616 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17618 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17620 * po/cs.po: Update from translation team.
17621 * po/bg.po: Likewise.
17623 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17625 * misc/sys/cdefs.h: Add support for const attribute.
17626 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17627 to gnu_dev_{major,minor,makedev} functions.
17629 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17631 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17633 2011-07-20 Andreas Schwab <schwab@redhat.com>
17635 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17638 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17641 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17642 register in order to avoid conflicts with the soft frame pointer
17643 being held in r11 when necessary.
17644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17645 (INTERNAL_VSYSCALL_NCS): Likewise.
17647 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17649 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17650 * elf/dl-fini.c (_dl_fini): Adjust caller.
17651 * elf/dl-close.c (_dl_close_worker): Likewise.
17652 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17654 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17656 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17657 "aux_cache->nlibs < 0".
17659 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17660 in the reload-count case.
17662 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17665 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17666 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17667 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17668 * sysdeps/x86_64/multiarch/strcat.S: New file.
17669 * sysdeps/x86_64/multiarch/strncat.S: New file.
17670 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17672 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17673 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17675 (USE_AS_STRCAT): Define.
17676 Add strcat and strncat support.
17677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17679 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17680 * string/strncat.c: Update.
17681 (USE_AS_STRNCAT): Define.
17682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17683 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17685 * sysdeps/x86_64/multiarch/init-arch.h
17686 (bit_Prefer_PMINUB_for_stringop): New.
17687 (index_Prefer_PMINUB_for_stringop): Likewise.
17688 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17689 bit_Prefer_PMINUB_for_stringop.
17691 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17693 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17695 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17696 of casting of buffer.
17697 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17698 buffer32 and buffer64.
17699 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17700 writes instead of casting of buffer.
17701 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17703 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17706 2011-07-19 Andreas Schwab <schwab@redhat.com>
17708 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17710 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17712 * nscd/nscd.c (termination_handler): Don't do anything for a database
17713 if it has not yet been initialized.
17715 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17717 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17719 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17721 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17723 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17725 * po/nl.po: Update from translation team.
17726 * po/sv.po: Likewise.
17728 2011-07-16 Roland McGrath <roland@hack.frob.com>
17730 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17731 now disallowed by GCC.
17733 * configure.in (use-default-link): Default to yes if a test -shared
17734 link meets our qualifications.
17735 * configure: Regenerated.
17737 * config.make.in (output-format): New variable.
17738 * configure.in: Check for ld --print-output-format support.
17739 * configure: Regenerated.
17740 * Makerules ($(common-objpfx)format.lds)
17741 [$(output-format) != unknown]: Just use $(output-format),
17742 instead of the linker-script munging.
17744 2011-07-14 Roland McGrath <roland@hack.frob.com>
17746 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17747 of $(common-objpfx)shlib.lds.
17748 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17750 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17751 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17753 * configure.in (-z relro check): Adjust test code to add a large
17754 writable data section after it.
17755 * configure: Regenerated.
17757 2011-07-11 Roland McGrath <roland@hack.frob.com>
17759 * configure.in (-z relro check): Fix test code to make the variable
17761 * configure: Regenerated.
17763 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17765 * nscd/nscd.h (struct traced_file): Define.
17766 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17767 elements. Add traced_files.
17768 (inotify_fd): Declare.
17769 (register_traced_file): Declare.
17770 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17771 (inotify_fd): Export.
17772 (resolv_conf_descr): Remove.
17773 (nscd_init): Move inotify descriptor creation to main.
17774 Don't register files for notification here.
17775 (register_traced_file): New function.
17776 (invalidate_cache): Don't use reset_res to determine whether to call
17777 res_init, go through the list of registered files.
17778 (main_loop_poll): The inotify descriptors are now stored in the
17779 structures for the traced files.
17780 (main_loop_epoll): Likewise
17781 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17782 to __nss_disable_nscd.
17783 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17784 for a database anymore. Check the records for all the registered
17786 * nss/Makefile (libnss_files-routines): Add files-init.
17787 (libnss_db-routines): Add db-init.
17788 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17789 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17790 * nss/nss_db/db-init.c: New file.
17791 * nss/nss_files/files-init.c: New file.
17792 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17793 __nss_lookup_function.
17794 (__nss_lookup_function): Call nss_load_library.
17795 (nss_load_all_libraries): New function.
17796 (__nss_disable_nscd): Take parameter with callback function for files
17797 to register. Set is_nscd. Load all the DSOs for the NSS modules
17798 used for the cached services.
17799 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17800 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17801 options for features to all the files in nscd.
17803 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17805 2011-07-10 Roland McGrath <roland@hack.frob.com>
17807 * csu/elf-init.c (__libc_csu_init): Comment typo.
17809 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17811 * po/pl.po: Update from translation team.
17812 * po/ja.po: Likewise.
17813 * po/ru.po: Likewise.
17814 * po/ko.po: Likewise.
17815 * po/fr.po: Likewise.
17817 2011-07-09 Roland McGrath <roland@hack.frob.com>
17819 * configure.in (.ctors/.dtors header and trailer check):
17820 Use an empirical test on a built program.
17821 * configure: Regenerated.
17823 * configure.in (-z relro check): Use an empirical test on a built DSO.
17824 Detect, but do not require, on ia64.
17825 * configure: Regenerated.
17827 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17828 Update tests that use readelf to use $READELF instead.
17829 * configure: Regenerated.
17831 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17833 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17834 if the result is not used.
17836 2011-07-05 Andreas Jaeger <aj@suse.de>
17839 * stdlib/tst-strtod.c: Add testcase.
17841 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17843 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17844 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17845 The latter has a higher limit. Take additional parameter to pass to
17847 (__pathconf): Pass file to __statfs_link_max.
17848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17850 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17854 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17855 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17858 (__statfs_filesize_max): Likewise.
17859 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17861 2011-07-05 Andreas Jaeger <aj@suse.de>
17863 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17865 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17867 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17869 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17872 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17874 * Makefile (strop-tests): Add strncat.
17875 * string/test-strncat.c: New file.
17877 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17879 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17881 2011-06-21 Andreas Jaeger <aj@suse.de>
17883 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17884 Copy rule from iconvdata/Makefile.
17886 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17889 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17890 but no long options are defined, just return 'W'.
17892 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17895 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17897 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17899 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17901 (innetgr): Likewise.
17903 2011-07-05 Roland McGrath <roland@hack.frob.com>
17905 * config.make.in (install_root): Default to $(DESTDIR).
17907 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17909 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17911 2011-07-02 Roland McGrath <roland@hack.frob.com>
17913 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17915 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17916 containing directory rather than embedding absolute directory names.
17918 * scripts/check-local-headers.sh: Rewritten using awk.
17919 Match by word, not by line. Print error messages for matches.
17920 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17922 * Makerules [shlib-lds-flags empty]:
17923 ($(common-objpfx)libc_pic.opts): New target.
17924 ($(common-objpfx)libc_pic.os.clean): New target.
17925 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17927 * config.make.in (OBJCOPY): New variable.
17928 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17929 * configure: Regenerated.
17931 * config.make.in (use-default-link): New variable.
17932 * configure.in (use_default_link): Grok --with-default-link to set it.
17933 * configure: Regenerated.
17934 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17935 (shlib-lds, shlib-lds-flags): Define to empty.
17937 * Makerules (shlib-lds): New variable.
17938 (shlib-lds-flags): New variable.
17939 (build-shlib, build-moduile, build-module-asneeded): Use it.
17940 ($(common-objpfx)libc.so): Use $(shlib-lds).
17941 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17942 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17944 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17945 DT_FLAGS/DT_FLAGS_1 with zero flags.
17947 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17948 linker script munging.
17950 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17952 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17954 * crypt/sha512.c (sha512_process_block): Perform total addition using
17955 128-bit if possible.
17956 (__sha512_finish_ctx): Likewise.
17957 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17959 * crypt/sha256.c (SWAP64): Define.
17960 (sha256_process_block): Perform total addition using 64-bit if
17962 (__sha256_finish_ctx): Likewise.
17964 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17966 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17968 * nscd/hstcache.c (cache_addhst): Likewise.
17969 * nscd/grpcache.c (cache_addgr): Likewise.
17970 * nscd/aicache.c (addhstaiX): Likewise
17971 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17973 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17975 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17976 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17977 * nscd/hstcache.c (cache_addhst): Likewise.
17978 * nscd/grpcache.c (cache_addgr): Likewise.
17979 * nscd/aicache.c (addhstaiX): Likewise
17981 2011-07-01 Andreas Schwab <schwab@redhat.com>
17983 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17984 domain only when needed.
17986 2011-06-30 Andreas Schwab <schwab@redhat.com>
17988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17989 is always restored.
17991 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17993 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17994 are re-adding the entry.
17995 * nscd/servicescache.c (cache_addserv): Likewise.
17997 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17999 * sysdeps/generic/dl-irel.h: fix protection against multiple
18001 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18003 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18006 * malloc/memusage.sh: Fix quoting in message.
18007 * debug/xtrace.sh: Likewise.
18009 * configure.in: Remove support for --experimental-malloc option, make
18011 * config.make.in: Likewise.
18012 * malloc/Makefile: Likewise.
18014 2011-06-27 Andreas Schwab <schwab@redhat.com>
18016 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18017 two-byte characters.
18019 2011-06-27 Roland McGrath <roland@hack.frob.com>
18021 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18022 AC_CACHE_CHECK invocation.
18023 * configure: Regenerated.
18025 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18027 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18030 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18031 bit from old_res_options.
18033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18035 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18036 value type for setfct.
18038 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18041 __gettimeofday instead of gettimeofday.
18043 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18045 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18047 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18054 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18057 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18058 strcpy-sse2-unaligned strncpy-sse2-unaligned
18059 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18060 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18061 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18062 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18063 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18066 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18067 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18068 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18069 (STRCPY): Support SSE2 and SSSE3 versions.
18071 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18074 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18075 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18076 kernels which artificially limit size of requests.
18078 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18081 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18082 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18083 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18084 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18085 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18086 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18087 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18088 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18090 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18091 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18092 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18093 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18094 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18096 Enable unaligned load optimization for Intel Core i3, i5 and i7
18098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18100 (index_Fast_Unaligned_Load): Define.
18101 (HAS_FAST_UNALIGNED_LOAD): Define.
18103 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18105 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18107 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18111 until it is clear that the information is realy needed.
18112 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18114 2011-06-22 Andreas Schwab <schwab@redhat.com>
18116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18118 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18121 /sys/devices/system/cpu/online if it is usable.
18123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18124 reading the information from the /proc filesystem to once a second.
18126 2011-06-21 Andreas Jaeger <aj@suse.de>
18128 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18129 NULL after inclusion of kernel headers.
18131 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18133 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18134 calls to internal_setent.
18137 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18138 addresses using gethostbyname4_r ignore IPv4 addresses.
18140 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18141 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18143 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18145 2011-06-20 David S. Miller <davem@davemloft.net>
18147 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18149 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18151 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18152 (elf_irel): Use it.
18153 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18154 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18155 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18156 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18157 * sysdeps/x86_64/dl-irel.h: Likewise.
18159 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18160 * elf/dl-sym.c: Likewise.
18162 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18164 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18165 need to dereference resplen2.
18167 2011-06-14 Andreas Schwab <schwab@redhat.com>
18169 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18171 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18173 * Makeconfig: Define vardbdir and inst_vardbdir.
18174 * nss/Makefile: Add rules to install db-Makefile.
18176 * nss/nss_db/db-XXX.c: Cleanup.
18178 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18179 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18181 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18182 * nss/makedb.c: Implement -g option to specify that value strings
18183 are generated and should not be added to table iterated over for
18185 * nss/nss_db/db-initgroups.c: New file.
18187 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18190 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18191 (internal_getgrouplist): Adjust to name change.
18192 Update use_initgroups_entry if this is not the first call.
18193 * nss/databases.def: Add initgroups entry.
18195 * nss/makedb.c (compute_tables): Check result of multiple hash table
18196 sizes to minimize maximum chain length.
18198 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18200 * Versions.def: Add entry for libnss_db.
18201 * shlib-versions: Likewise.
18202 * nss/Makefile: Add rules to build libnss_db.
18203 * nss/Versions: Add libnss_db information. Organize libnss_files
18205 * nss/db-Makefile: Add gshadow support. Change rules for the new
18206 makedb progra. Some minor improvements to generate smaller files.
18207 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18209 * nss/makedb.c: ...here.
18210 Improve database format to be smaller and require less memory at
18212 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18214 * nss/nss_db/db-netgrp.c: Likewise.
18215 * nss/nss_db/db-open.c: Likewise.
18216 * nss/nss_files/flies-XXX.x: Adjust comments.
18217 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18218 * nss/nss_files/files-grp.c: Likewise.
18219 * nss/nss_files/files-hosts.c: Likewise.
18220 * nss/nss_files/files-network.c: Likewise.
18221 * nss/nss_files/files-proto.c: Likewise.
18222 * nss/nss_files/files-pwd.c: Likewise.
18223 * nss/nss_files/files-rpc.c: Likewise.
18224 * nss/nss_files/files-service.c: Likewise.
18225 * nss/nss_files/files-sgrp.c: Likewise.
18226 * nss/nss_files/files-spwd.c: Likewise.
18227 * nss/nss_db/db-alias.c: Removed.
18228 * nss/nss_db/dummy-db.h: Removed.
18230 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18232 * nss/makedb.c: Rewritten to not use database library.
18233 * nss/Makefile: Update to build new makedb program.
18235 2011-06-14 Andreas Jaeger <aj@suse.de>
18237 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18238 memset declaration.
18240 2011-06-10 Andreas Schwab <schwab@redhat.com>
18242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18245 2011-06-10 Roland McGrath <roland@hack.frob.com>
18247 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18248 * elf/Makefile ($(objpfx)ld.so): Likewise.
18250 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18251 Don't list ld.so twice in dependencies.
18253 * posix/bug-regex31.c: Include <stdlib.h>.
18255 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18257 * nis/nss_compat/compat-spwd.c
18258 (getspent_next_nss_netgr): Remove unused variable.
18259 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18261 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18262 nonmembers" output to use the right array.
18264 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18266 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18268 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18269 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18270 * catgets/gencat.c (read_input_file): Likewise.
18271 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18273 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18274 variable definition inside #if's controlling its use.
18276 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18278 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18280 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18282 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18285 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18287 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18288 * configure: Regenerated.
18290 * Makerules: Revert last change.
18291 * elf/Makefile: Likewise.
18293 2011-06-09 Roland McGrath <roland@hack.frob.com>
18295 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18296 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18297 (reloc-link): Likewise.
18299 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18301 * elf/Makefile: Add rules to build pldd.
18302 * elf/pldd.c: New file.
18303 * elf/pldd-xx.c: New file.
18305 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18307 * version.h: Update for 2.15 development version.
18309 2011-06-07 David S. Miller <davem@davemloft.net>
18311 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18314 elf_machine_lazy_rel): Likewise.
18315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18317 elf_machine_lazy_rel): Likewise.
18318 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18319 dl_hwcap via passed in argument.
18320 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18323 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18325 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18327 2011-06-06 Roland McGrath <roland@hack.frob.com>
18330 * manual/fdl-1.1.texi: New file, verbatim from:
18331 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18332 * manual/lgpl-2.1.texi: New file, verbatim from:
18333 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18334 * manual/Makefile (licenses): New variable, list those new file names.
18336 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18338 * manual/fdl.texi: File removed.
18339 * manual/lesser.texi: File removed.
18340 * manual/libc.texinfo (Copying, Documentation License):
18341 Use new @include file names, put @appendix directive before @include.
18343 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18346 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18347 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18348 (mq_open): Add __NTH.
18350 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18353 Assume Intel Core i3/i5/i7 processor if AVX is available.
18355 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18360 2011-05-31 Andreas Schwab <schwab@redhat.com>
18362 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18363 memory. Use alloca_account. Fix memory leak when retrying.
18365 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18367 * version.h (RELEASE): Bump for 2.14 release.
18368 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18370 * config.make.in (RANLIB): Remove entry.
18372 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18374 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18375 (libc.pot): Work around missing support for .ksh extension in xgettext.
18378 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18379 if both request failed.
18380 (send_dg): In case of server errors clear resplen or *resplen2.
18383 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18384 when there are multiple maps.
18385 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18386 (_dl_fini): Remove test here.
18388 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18390 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18393 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18394 bit from old_res_options.
18395 (gaih_inet): Likewise.
18398 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18401 * resolv/res_init.c (res_setoptions): Make the code more compact.
18404 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18408 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18410 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18413 * malloc/malloc.h: Declare malloc hook variables as volatile.
18415 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18419 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18420 raise in the comment.
18421 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18423 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18425 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18428 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18429 grow the buffers more if it already has to be sufficient.
18430 (build_wcs_upper_buffer): Likewise.
18431 * posix/regexec.c (check_matching): Likewise.
18432 (clean_state_log_if_needed): Likewise.
18433 (extend_buffers): Don't enlarge buffers beyond size of the input
18435 Patches mostly by Emil Wojak <emil@wojak.eu>.
18436 * posix/bug-regex32.c: New file.
18437 * posix/Makefile (tests): Add bug-regex32.
18439 * locale/findlocale.c (_nl_find_locale): Return right away if
18440 _nl_explode_name failed.
18441 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18443 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18445 * debug/xtrace.sh: Unify messages.
18446 * malloc/memusage.sh: Likewise.
18449 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18450 time symbol from vDSO. Substitute with vsyscall if not available.
18451 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18454 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18455 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18456 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18457 Add sendmmsg and internal_sendmmsg.
18458 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18459 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18460 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18462 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18463 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18466 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18469 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18470 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18476 * iconvdata/Makefile (tests): Add bug-iconv9.
18477 * iconvdata/bug-iconv9.c: New file.
18479 2011-05-27 Andreas Schwab <schwab@redhat.com>
18482 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18484 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18487 (struct user_regs_struct): Change intcs field back to cs.
18489 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18491 * po/ja.po: Update from translation team.
18493 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18496 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18497 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18499 2011-05-20 Andreas Schwab <schwab@redhat.com>
18501 * stdlib/longlong.h: Update from GCC.
18503 2011-05-23 Andreas Schwab <schwab@redhat.com>
18505 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18507 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18508 Add parameter name.
18509 (__sysconf): Pass it down.
18511 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18514 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18517 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18518 add in in __libc_use_alloca calls. Adjust callers.
18519 (glob): Use malloc in some situations.
18521 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18522 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18525 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18527 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18528 and CLOCK_BOOTTIME_ALARM.
18531 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18534 * string/_strerror.c (__strerror_r): Print negative errors as signed
18538 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18539 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18540 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18542 * configure.in: Fix typo in redirection and correct removal of test
18543 files in two cases.
18546 * locale/setlocale.c (new_composite_name): Fix test to check for
18547 identical name of all categories.
18550 * libio/filedoalloc.c (local_isatty): New function.
18551 (_IO_file_doallocate): Use local_isatty.
18552 * stdio-common/perror.c (perror): In case a new stream is used
18553 forward the stream error.
18554 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18557 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18562 * include/alloca.h (extend_alloca_account): Define.
18565 * posix/regex.h: Fix comments with documentation of user-accessible
18566 fields after compilation and describe correct free'ing of pattern
18567 after re_compile_pattern.
18568 Patch by Reuben Thomas <rrt@sc3d.org>.
18570 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18572 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18573 and -mno-altivec to prevent the compiler from using Altivec and/or
18574 VSX instructions when the corresponding registers are not available.
18576 2011-05-19 Andreas Schwab <schwab@redhat.com>
18578 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18580 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18582 * libio/freopen.c (freopen): Use __dup2, not dup2.
18583 * libio/freopen64.c (freopen64): Likewise.
18585 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18588 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18589 * math/Makefile (tests): Add test-powl.
18590 (CFLAGS-test-powl.c): Define.
18591 * math/test-powl.c: New file.
18593 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18595 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18597 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18600 * iconvdata/gb18030.c: Update to GB18020-2005.
18602 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18604 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18605 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18606 Patch by Aharon Robbins <arnold@skeeve.com>.
18609 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18613 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18614 through underflows.
18617 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18618 point to strings before performing equality test for error_one_per_line
18622 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18626 (struct user_fpregs_struct): Avoid __uint*_t types.
18629 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18630 symbol info. Use it instead of calling _dl_addr locally.
18631 (lock_and_info): New function.
18632 (tr_freehook): Call lock_and_info and pass symbol info as additional
18633 parameter to tr_where.
18634 (tr_mallochook): Likewise.
18635 (tr_reallochook): Likewise.
18636 (tr_memalignhook): Likewise.
18638 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18639 used and couldn't be at all thread-safe.
18641 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18643 * libio/freopen.c (freopen): Don't close old file descriptor
18644 before the new one is opened. Instead dup the new file descriptor
18645 to the old one after the new stream is created.
18646 * libio/freopen64.c (freopen64): Likewise.
18647 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18648 * libio/fileops.c (_IO_new_file_close_it): Handle new
18649 _IO_FLAGS2_NOCLOSE flag.
18650 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18651 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18652 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18653 _IO_FLAGS2_NOCLOSE flag.
18654 * include/unistd.h: Add hidden_proto for dup3.
18655 Define __have_dup3.
18656 * io/dup3.c: Define hidden symbol.
18657 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18660 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18661 when an incomplete long option is used.
18662 * posix/tst-getopt_long1.c: New file.
18663 * posix/Makefile (tests): Add tst-getopt_long1.
18666 * scripts/config.guess: Update from autoconf-2.68.
18667 * scripts/config.sub: Likewise.
18670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18672 (has_cpuclock): ...this. New function.
18673 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18674 macro here based on has_cpuclock code.
18677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18678 First byte (not low byte) is now always NUL.
18679 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18682 Use non-cancelable interfaces.
18685 * locale/iso-639.def: Add entry for Sorani.
18688 * include/stdlib.h: Move include protection to the right place.
18689 Define abort_msg_s. Declare __abort_msg with it.
18690 * stdlib/abort.c (__abort_msg): Adjust type.
18691 * assert/assert.c (__assert_fail_base): New function. Majority
18692 of code from __assert_fail. Allocate memory for __abort_msg with
18694 (__assert_fail): Now call __assert_fail_base.
18695 * assert/assert-perr.c: Remove bulk of implementation. Use
18696 __assert_fail_base.
18697 * include/assert.hL Declare __assert_fail_base.
18698 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18700 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18702 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18706 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18707 until all modules are registered in the DTV.
18708 * elf/Makefile: Add rules to build and run tst-tls19.
18709 * elf/tst-tls19.c: New file.
18710 * elf/tst-tls19mod1.c: New file.
18711 * elf/tst-tls19mod2.c: New file.
18712 * elf/tst-tls19mod3.c: New file.
18713 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18716 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18720 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18721 two-byte sequence errors.
18722 * iconvdata/Makefile (tests): Add bug-iconv8.
18723 * iconvdata/bug-iconv8.c: New file.
18726 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18729 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18732 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18733 (dummy_getcfa): New function.
18734 (init): Get _Unwind_GetCFA address, use dummy if not found.
18735 (backtrace_helper): In recursion check, also check whether CFA changes.
18736 (__backtrace): Completely initialize arg.
18738 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18739 storing incomplete byte sequence in state object. Avoid testing for
18740 guaranteed too small input if we know there is enough data available.
18742 2011-05-11 Andreas Schwab <schwab@redhat.com>
18744 * Makeconfig (+link-pie): Indent.
18745 * Rules (binaries-pie): Define if $(have-fpie) and
18747 (binaries-shared): Also filter out $(binaries-pie).
18748 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18749 * nscd/Makefile (others-pie): Add nscd.
18750 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18751 ($(objpfx)nscd): Remove command override.
18752 * login/Makefile (others-pie): Add pt_chown.
18753 ($(objpfx)pt_chown): Remove command override.
18754 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18755 remove command overrides.
18757 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18759 * libio/tst_putwc.c: Fix error messages.
18762 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18763 currently writing and seek to current position when not.
18764 * libio/Makefile (tests): Add bug-fclose1.
18765 * libio/bug-fclose1.c: New file.
18767 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18770 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18771 don't set DF_1_NODELETE here.
18772 (do_lookup_x): When entering new entry test for copy relocation
18773 and if necessary set DF_1_NODELETE flag.
18774 * elf/tst-unique4.cc: New file.
18775 * elf/tst-unique4.h: New file.
18776 * elf/tst-unique4lib.cc: New file.
18777 * elf/Makefile: Add rules to build and run tst-unique4.
18778 Patch by Piotr Bury <pbury@goahead.com>.
18780 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18783 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18786 * misc/mntent_r.c (addmntent): Flush the stream after the output
18789 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18790 (is_trusted_path_normalize): Skip initial colon. Append slash
18791 to empty buffer. Duplicate is_trusted_path code but allow
18792 constructed patch to be prefix.
18793 (is_dst): Allow $ORIGIN followed by /.
18794 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18795 Correct testing of result of is_trusted_path_normalize
18796 (decompose_rpath): Fix warning.
18798 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18801 * grp/initgroups.c (internal_getgrouplist): When we found the service
18802 list through the initgroups entry in nsswitch.conf do not always
18803 continue on a successful lookup. Don't always use the
18804 __nss_group_database value if it is set.
18805 * nss/nsswitch.conf (initgroups): Change action for successful db
18806 lookup to continue for compatibility.
18808 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18811 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18813 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18815 * iconvdata/tst-tables.sh: Likewise.
18816 * iconvdata/cp770.c: New file.
18817 * iconvdata/cp771.c: New file.
18818 * iconvdata/cp772.c: New file.
18819 * iconvdata/cp773.c: New file.
18820 * iconvdata/cp774.c: New file.
18821 * iconvdata/testdata/CP770: New file.
18822 * iconvdata/testdata/CP770..UTF8: New file.
18823 * iconvdata/testdata/CP771: New file.
18824 * iconvdata/testdata/CP771..UTF8: New file.
18825 * iconvdata/testdata/CP772: New file.
18826 * iconvdata/testdata/CP772..UTF8: New file.
18827 * iconvdata/testdata/CP773: New file.
18828 * iconvdata/testdata/CP773..UTF8: New file.
18829 * iconvdata/testdata/CP774: New file.
18830 * iconvdata/testdata/CP774..UTF8: New file.
18832 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18834 * iconvdata/gen-8bit-gap.sh: Likewise.
18835 * iconvdata/gen-8bit.sh: Likewise.
18837 * locale/iso-639.def: Add ary entry.
18840 * locale/C-translit.h.in: Add U20A1 transliteration.
18843 * locale/iso-639.def: Add wae entry.
18844 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18847 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18851 * locale/C-translit.h.in: Add entry for U20B9.
18852 Patch by pravin.d.s@gmail.com.
18854 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18857 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18858 ENAMETOOLONG use generic getcwd.
18859 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18860 in rtld. Use *stat64.
18861 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18862 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18863 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18864 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18865 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18866 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18867 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18868 __fstatat64 macros.
18869 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18870 * dirent/rewinddir.c: Add libc_hidden_def.
18871 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18872 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18874 * include/dirent.h (__alloc_dir): Add flags parameter.
18875 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18876 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18878 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18879 from fdopendir if O_CLOEXEC is already set.
18881 2011-03-15 Alan Modra <amodra@gmail.com>
18883 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18884 l_tls_firstbyte_offset non-zero. Save padding offset in
18885 l_tls_firstbyte_offset for later use.
18886 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18887 freeing static tls block.
18889 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18891 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18892 where #ifdef was intended. The intent is to prevent ARG_MAX from
18893 being defined by the kernel headers.
18895 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18898 * resolv/resolv.h: Define RES_NOTLDQUERY.
18899 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18900 no-tld-query and set RES_NOTLDQUERY.
18901 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18902 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18903 modern BIND to search name as TLD unless forbidden.
18905 2011-05-07 Petr Baudis <pasky@suse.cz>
18906 Ulrich Drepper <drepper@gmail.com>
18909 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18910 (is_trusted_path): ...to here.
18911 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18912 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18913 using is_trusted_path_normalize() in setuid scripts.
18915 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18917 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18918 __BEGIN/__END_DECLS.
18920 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18923 NSS_STATUS_NOTFOUND if no record was found.
18925 2011-05-05 Andreas Schwab <schwab@redhat.com>
18927 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18928 (headers-not-in-tirpc): Remove rpc/netdb.h
18929 * resolv/netdb.h: Revert last change.
18931 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18933 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18934 circular dependency between libgcc.a and libc.a.
18936 2011-05-05 Andreas Schwab <schwab@redhat.com>
18938 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18939 * nis/Makefile: Don't install rpcsvc/*.
18940 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18941 instead of <rpc/types.h>.
18942 (MAXHOSTNAMELEN): Define.
18944 2011-05-03 Andreas Schwab <schwab@redhat.com>
18946 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18948 2011-04-28 Maciej Babinski <mbabinski@google.com>
18951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18952 gethostbyname4_r when IPv6 results are possible.
18954 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18957 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18958 _PC_PIPE_BUF handling.
18960 2011-04-30 Bruno Haible <bruno@clisp.org>
18963 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18964 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18966 * inet/getnameinfo.c (getnameinfo): Likewise.
18968 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18970 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18971 to groups setting in database lookup.
18972 * nss/nsswitch.conf: Add initgroups entry.
18974 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18977 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18979 Patch by Eric Blake <eblake@redhat.com>.
18981 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18983 * sunrpc/Makefile (need-export-routines): Add svc_run.
18984 (routines): Remove svc_run.
18985 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18986 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18987 * sunrpc/svc_run.c (svc_run): Likewise.
18988 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18990 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18993 problem in reallocation in last patch.
18995 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18997 * sunrpc/Makefile: Move inclusion of Rules.
18999 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19001 * nss/nss_files/files-initgroups.c: New file.
19002 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19003 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19004 _nss_files_initgroups_dyn.
19006 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19008 * elf/elf.h (R_ARM_IRELATIVE): Define.
19010 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19012 * po/ru.po: Update from translation team.
19014 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19016 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19019 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19023 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19028 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19030 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19036 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19039 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19041 * stdlib/bug-getcontext.c: New file.
19042 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19044 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19046 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19047 instructions into .machine "z9-109".
19048 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19049 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19051 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19053 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19054 between environment variables and auxiliary vector.
19056 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19058 * Makefile: Add rules to build linkobj/libc.so.
19059 * include/libc-symbols.h: Define libc_hidden_nolink.
19060 * include/rpc/auth.h: Mark functions which are to be hidden.
19061 * include/rpc/auth_des.h: Likewise.
19062 * include/rpc/auth_unix.h: Likewise.
19063 * include/rpc/clnt.h: Likewise.
19064 * include/rpc/des_crypt.h: Likewise.
19065 * include/rpc/key_prot.h: Likewise.
19066 * include/rpc/pmap_clnt.h: Likewise.
19067 * include/rpc/pmap_prot.h: Likewise.
19068 * include/rpc/pmap_rmt.h: Likewise.
19069 * include/rpc/rpc_msg.h: Likewise.
19070 * include/rpc/svc.h: Likewise.
19071 * include/rpc/svc_auth.h: Likewise.
19072 * include/rpc/xdr.h: Likewise.
19073 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19074 * nss/Makefile: Likewise.
19075 * sunrpc/Makefile: Don't install headers. Build library with normal
19076 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19077 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19078 for the compat linking library. Remove use of INTDEF/INTUSE.
19079 * sunrpc/auth_none.c: Likewise.
19080 * sunrpc/auth_unix.c: Likewise.
19081 * sunrpc/authdes_prot.c: Likewise.
19082 * sunrpc/authuxprot.c: Likewise.
19083 * sunrpc/clnt_gen.c: Likewise.
19084 * sunrpc/clnt_perr.c: Likewise.
19085 * sunrpc/clnt_raw.c: Likewise.
19086 * sunrpc/clnt_simp.c: Likewise.
19087 * sunrpc/clnt_tcp.c: Likewise.
19088 * sunrpc/clnt_udp.c: Likewise.
19089 * sunrpc/clnt_unix.c: Likewise.
19090 * sunrpc/des_crypt.c: Likewise.
19091 * sunrpc/des_soft.c: Likewise.
19092 * sunrpc/get_myaddr.c: Likewise.
19093 * sunrpc/key_call.c: Likewise.
19094 * sunrpc/key_prot.c: Likewise.
19095 * sunrpc/netname.c: Likewise.
19096 * sunrpc/pm_getmaps.c: Likewise.
19097 * sunrpc/pm_getport.c: Likewise.
19098 * sunrpc/pmap_clnt.c: Likewise.
19099 * sunrpc/pmap_prot.c: Likewise.
19100 * sunrpc/pmap_prot2.c: Likewise.
19101 * sunrpc/pmap_rmt.c: Likewise.
19102 * sunrpc/publickey.c: Likewise.
19103 * sunrpc/rpc_cmsg.c: Likewise.
19104 * sunrpc/rpc_common.c: Likewise.
19105 * sunrpc/rpc_dtable.c: Likewise.
19106 * sunrpc/rpc_prot.c: Likewise.
19107 * sunrpc/rpc_thread.c: Likewise.
19108 * sunrpc/rtime.c: Likewise.
19109 * sunrpc/svc.c: Likewise.
19110 * sunrpc/svc_auth.c: Likewise.
19111 * sunrpc/svc_authux.c: Likewise.
19112 * sunrpc/svc_raw.c: Likewise.
19113 * sunrpc/svc_run.c: Likewise.
19114 * sunrpc/svc_simple.c: Likewise.
19115 * sunrpc/svc_tcp.c: Likewise.
19116 * sunrpc/svc_udp.c: Likewise.
19117 * sunrpc/svc_unix.c: Likewise.
19118 * sunrpc/svcauth_des.c: Likewise.
19119 * sunrpc/xcrypt.c: Likewise.
19120 * sunrpc/xdr.c: Likewise.
19121 * sunrpc/xdr_array.c: Likewise.
19122 * sunrpc/xdr_float.c: Likewise.
19123 * sunrpc/xdr_intXX_t.c: Likewise.
19124 * sunrpc/xdr_mem.c: Likewise.
19125 * sunrpc/xdr_rec.c: Likewise.
19126 * sunrpc/xdr_ref.c: Likewise.
19127 * sunrpc/xdr_sizeof.c: Likewise.
19128 * sunrpc/xdr_stdio.c: Likewise.
19130 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19133 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19134 * sysdeps/ia64/dl-tls.h: Likewise.
19135 * sysdeps/powerpc/dl-tls.h: Likewise.
19136 * sysdeps/s390/dl-tls.h: Likewise.
19137 * sysdeps/sh/dl-tls.h: Likewise.
19138 * sysdeps/sparc/dl-tls.h: Likewise.
19139 * sysdeps/x86_64/dl-tls.h: Likewise.
19140 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19142 2011-03-14 Andreas Schwab <schwab@redhat.com>
19144 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19145 rpath element also skip the following colon.
19146 (expand_dynamic_string_token): Add is_path parameter and pass
19147 down to DL_DST_REQUIRED and _dl_dst_substitute.
19148 (decompose_rpath): Call expand_dynamic_string_token with
19149 non-zero is_path. Ignore empty rpaths.
19150 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19153 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19158 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19161 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19162 Patch by Filipe David Manana <fdmanana@apache.org>.
19164 2011-04-07 Andreas Schwab <schwab@redhat.com>
19166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19167 Maintain aligned stack.
19168 (CHECK_RSP): Remove unused macro.
19170 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19172 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19173 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19175 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19177 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19179 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19181 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19184 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19185 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19186 * sysdeps/x86_64/memmove.c: New file.
19187 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19188 (memcpy): Renamed to ...
19189 (__new_memcpy): This.
19190 (memcpy): Provide GLIBC_2_14 memcpy.
19191 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19192 (memcpy): Provide GLIBC_2_2_5 memcpy.
19194 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19197 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19199 2011-03-30 Andreas Schwab <schwab@redhat.com>
19201 * misc/syncfs.c: New file.
19202 * misc/Makefile (routines): Add syncfs.
19203 * posix/unistd.h: Declare syncfs.
19204 * sysdeps/unix/syscalls.list: Add syncfs.
19206 2011-04-01 Andreas Schwab <schwab@redhat.com>
19208 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19215 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19218 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19228 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19229 sync_file_range.c with -fexceptions.
19230 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19231 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19232 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19233 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19234 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19235 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19237 sync_file_range as cancellation point
19238 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19239 now a wrapper around __call_sync_file_range with cancellation handling.
19240 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19242 function name to __call_sync_file_range.
19243 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19244 Add call_sync_file_range.
19246 2011-04-01 Andreas Schwab <schwab@redhat.com>
19248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19251 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19253 * iconv/iconv.h: Fix typo in comment.
19254 * io/fcntl.h: Likewise.
19255 * libio/stdio.h: Likewise.
19256 * posix/spawn.h: Likewise.
19257 * posix/unistd.h: Likewise.
19258 * stdlib/stdlib.h: Likewise.
19259 * time/time.h: Likewise.
19260 * wcsmbs/wchar.h: Likewise.
19262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19263 open_by_handle): Add.
19264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19265 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19266 Augment a few comments.
19267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19272 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19275 * io/fcntl.h (AT_EMPTY_PATH): Define.
19277 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19279 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19280 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19281 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19283 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19284 * Versions.def: Add GLIBC_2.14.
19285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19288 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19292 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19294 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19297 * string/test-strncmp.c (do_page_test): New function.
19298 (check2): Likewise.
19299 (test_main): Call check2.
19300 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19302 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19305 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19306 Handle cache information in CPU leaf 4.
19307 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19309 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19312 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19313 character representation.
19314 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19316 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19318 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19319 END(__isnan) to END(__isnanf) to match function entry point/label
19320 EALIGN(__isnanf,...).
19322 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19324 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19326 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19329 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19330 copy from the symbol referenced in the relocation to initialize the
19332 Patch by Piotr Bury <pbury@goahead.com>.
19333 * elf/Makefile: Add rules to build and tst-unique3.
19334 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19335 * elf/tst-unique3.cc: New file.
19336 * elf/tst-unique3.h: New file.
19337 * elf/tst-unique3lib.cc: New file.
19338 * elf/tst-unique3lib2.cc: New file.
19340 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19342 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19344 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19345 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19348 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19350 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19351 to-be-loaded object along a path to loader is ld.so.
19353 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19354 Ulrich Drepper <drepper@gmail.com>
19356 * sysdeps/x86_64/memset.S: After aligning destination, code
19357 branches to different locations depending on the value of
19358 misalignment, when multiarch is enabled. Fix this.
19360 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19362 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19363 Set _x86_64_preferred_memory_instruction for AMD processsors.
19364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19365 Set bit_Prefer_SSE_for_memop for AMD processors.
19367 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19369 * libio/fmemopen.c (fmemopen): Optimize a bit.
19371 2011-03-03 Andreas Schwab <schwab@redhat.com>
19373 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19375 2011-03-03 Roland McGrath <roland@redhat.com>
19377 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19379 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19381 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19382 __bzero_ultra1 instead of __memset_ultra1.
19384 2011-02-23 Andreas Schwab <schwab@redhat.com>
19385 Ulrich Drepper <drepper@gmail.com>
19388 * include/link.h (struct link_map): Add l_orig_initfini.
19389 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19390 returning unsuccessfully.
19391 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19392 close of a file loaded at startup, restore the original l_initfini
19394 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19395 list, store the pointer.
19396 * elf/Makefile ($(objpfx)noload-mem): New rule.
19397 (noload-ENV): Define.
19398 (tests): Add $(objpfx)noload-mem.
19399 * elf/noload.c: Include <memcheck.h>.
19400 (main): Call mtrace. Close all opened handles.
19402 2011-02-17 Andreas Schwab <schwab@redhat.com>
19405 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19406 dependencies are missing.
19408 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19410 Fix __if_freereq crash: Unlike the generic version which uses free,
19412 * sysdeps/mach/hurd/ifreq.h: New file.
19414 2011-01-27 Petr Baudis <pasky@suse.cz>
19415 Ulrich Drepper <drepper@gmail.com>
19418 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19419 to extend_alloca().
19420 * stdio-common/bug23.c: New file.
19421 * stdio-common/Makefile (tests): Add bug23.
19423 2010-09-28 Andreas Schwab <schwab@redhat.com>
19424 Ulrich Drepper <drepper@gmail.com>
19427 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19428 before performing relro protection. At old place add assertion
19429 to make sure nothing changed.
19431 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19432 Glauber de Oliveira Costa <glommer@gmail.com>
19434 * elf/elf.h: Add new ARM TLS relocs.
19436 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19439 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19441 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19443 * sysdeps/wordsize-64/tst-writev.c: New file.
19445 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19447 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19448 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19449 insns in _dl_start to prevent a TOC reference before relocs are
19452 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19455 * Makeconfig: Remove RANLIB definition.
19456 * Makerules: Don't use RANLIB.
19457 * aclocal.m4: Remove ranlib test.
19458 * configure.in: No need to check for ranlib.
19459 * elf/rtld-Rules: Don't use RANLIB.
19461 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19463 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19465 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19466 inclusion protection macro.
19468 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19469 SIGRTMIN and SIGRTMAX and print information in that case only when
19470 SIGRTMIN is defined.
19472 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19474 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19475 arginfo fn returning -1.
19477 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19478 and thousands string is zero terminated.
19480 2011-02-03 Andreas Schwab <schwab@redhat.com>
19482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19483 sysdeps/unix/sysv/linux/bits/socket.h.
19485 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19487 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19488 (__CPU_COUNT): Remove old macros.
19489 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19490 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19491 (__CPU_ALLOC, __CPU_FREE): Add macros.
19492 (__sched_cpualloc, __sched_cpufree): Add declarations.
19494 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19496 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19497 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19498 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19499 (readdhstai): Return value of addhstaiX call.
19500 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19501 (addgrbyX): Return value returned by cache_addgr.
19502 (readdgrbyname): Return value returned by addgrbyX.
19503 (readdgrbygid): Likewise.
19504 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19505 (addpwbyX): Return value returned by cache_addpw.
19506 (readdpwbyname): Return value returned by addhstbyX.
19507 (readdpwbyuid): Likewise.
19508 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19509 (addservbyX): Return value returned by cache_addserv.
19510 (readdservbyname): Return value returned by addservbyX:
19511 (readdservbyport): Likewise.
19512 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19513 (addhstbyX): Return value returned by cache_addhst.
19514 (readdhstbyname): Return value returned by addhstbyX.
19515 (readdhstbyaddr): Likewise.
19516 (readdhstbynamev6): Likewise.
19517 (readdhstbyaddrv6): Likewise.
19518 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19519 (readdinitgroups): Return value returned by addinitgroupsX.
19520 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19521 (prune_cache): Keep track of timeout value of re-added entries.
19522 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19523 * nscd/nscd.h: Adjust prototypes of readd* functions.
19525 2011-02-04 Roland McGrath <roland@redhat.com>
19527 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19528 (nis_stats): Likewise.
19529 * nis/nis_modify.c (nis_modify): Likewise.
19530 * nis/nis_remove.c (nis_remove): Likewise.
19531 * nis/nis_add.c (nis_add): Likewise.
19533 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19535 * posix/fnmatch_loop.c: Add some consts.
19537 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19539 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19542 * config.make.in (config-cflags-novzeroupper): Define.
19543 * configure.in: Substitute libc_cv_cc_novzeroupper.
19544 * elf/Makefile (AVX-CFLAGS): Define.
19545 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19546 (CFLAGS-tst-auditmod4a.c): Likewise.
19547 (CFLAGS-tst-auditmod4b.c): Likewise.
19548 (CFLAGS-tst-auditmod6b.c): Likewise.
19549 (CFLAGS-tst-auditmod6c.c): Likewise.
19550 (CFLAGS-tst-auditmod7b.c): Likewise.
19551 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19553 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19555 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19556 function to the callback.
19557 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19559 2011-02-02 Andreas Schwab <schwab@redhat.com>
19561 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19564 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19567 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19569 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19571 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19574 * elf/Makefile: Add rules to build and run new test.
19575 * elf/tst-initorder.c: New file.
19576 * elf/tst-initorder.exp: New file.
19577 * elf/tst-initordera1.c: New file.
19578 * elf/tst-initordera2.c: New file.
19579 * elf/tst-initordera3.c: New file.
19580 * elf/tst-initordera4.c: New file.
19581 * elf/tst-initorderb1.c: New file.
19582 * elf/tst-initorderb2.c: New file.
19583 * elf/tst-order-a1.c: New file.
19584 * elf/tst-order-a2.c: New file.
19585 * elf/tst-order-a3.c: New file.
19586 * elf/tst-order-a4.c: New file.
19587 * elf/tst-order-b1.c: New file.
19588 * elf/tst-order-b2.c: New file.
19589 * elf/tst-order-main.c: New file.
19590 New test case by George Gensure <werkt0@gmail.com>.
19592 2010-10-01 Andreas Schwab <schwab@redhat.com>
19594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19595 decoding ACE if AI_CANONIDN.
19597 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19599 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19601 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19603 * version.h (RELEASE): Bump for 2.13 release.
19604 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19606 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19610 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19611 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19612 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19613 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19617 * posix/getconf.c: Update copyright year.
19618 * catgets/gencat.c: Likewise.
19619 * csu/version.c: Likewise.
19620 * debug/catchsegv.sh: Likewise.
19621 * debug/xtrace.sh: Likewise.
19622 * elf/ldconfig.c: Likewise.
19623 * elf/ldd.bash.in: Likewise.
19624 * elf/sprof.c (print_version): Likewise.
19625 * iconv/iconv_prog.c: Likewise.
19626 * iconv/iconvconfig.c: Likewise.
19627 * locale/programs/locale.c: Likewise.
19628 * locale/programs/localedef.c: Likewise.
19629 * malloc/memusage.sh: Likewise.
19630 * malloc/mtrace.pl: Likewise.
19631 * nscd/nscd.c (print_version): Likewise.
19632 * nss/getent.c: Likewise.
19634 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19635 PF_CAIF, and PF_ALG.
19636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19638 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19640 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19641 (modules-names): Use them.
19642 (ifunc-test-modules, ifunc-pie-tests): Define.
19643 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19644 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19645 (test-extras): Likewise.
19646 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19647 $(compile-command.c).
19648 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19649 (all-built-dso): Define.
19650 (check-textrel.out, check-execstack.out): Depend on it.
19652 * configure.in: Don't override --enable-multi-arch.
19654 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19657 * nscd/hstcache.c (tryagain): Define.
19658 (cache_addhst): Return tryagain not notfound for temporary errors.
19659 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19662 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19665 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19666 to make the syscall.
19667 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19670 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19671 and fall back to matching as normal character if the string ends before
19672 the matching ']' is found. This is what POSIX requires.
19673 * posix/testfnm.c: Adjust test result.
19674 * posix/globtest.sh: Adjust test result. Add new test.
19675 * posix/tst-fnmatch.input: Likewise.
19676 * posix/tst-fnmatch2.c: Add new test.
19678 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19680 * elf/Makefile (check-execstack): Revert last change. Depend on
19682 (check-execstack.h): New target.
19683 (generated): Add check-execstack.h.
19684 * elf/check-execstack.c: Include "check-execstack.h".
19685 (main): Revert last change.
19686 (handle_file): Return zero if GNU_STACK is absent and
19687 DEFAULT_STACK_PERMS doesn't include PF_X.
19689 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19691 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19692 in child fails because the descriptor is already closed.
19693 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19694 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19695 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19698 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19702 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19703 temporary buffer used to handle multi lookups locally.
19704 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19706 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19708 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19711 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19713 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19714 alignment for SSE2.
19716 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19719 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19720 characters. When rounding increased number of integer digits recompute
19722 * stdio-common/tst-grouping.c: New file.
19723 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19725 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19727 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19728 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19730 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19732 * bits/select.h: Likewise.
19734 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19736 * po/ja.po: Update from translation team.
19738 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19741 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19742 implementation just like for lxstat, fxstatat, et al.
19744 2010-12-27 Jim Meyering <meyering@redhat.com>
19747 * posix/regexec.c (build_trtable): Return failure indication upon
19748 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19750 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19753 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19754 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19759 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19762 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19763 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19765 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19767 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19768 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19769 script has SORT_BY_INIT_PRIORITY.
19770 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19771 NO_CTORS_DTORS_SECTIONS is defined.
19772 * elf/soinit.c: Likewise.
19773 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19774 NO_CTORS_DTORS_SECTIONS is defined.
19775 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19776 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19777 * sysdeps/sh/init-first.c: Likewise.
19778 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19780 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19782 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19783 always use the slow path.
19785 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19787 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19788 similar rule which adds the sysdep directories to the header search in
19789 order to pick up the correct platform stackinfo.h.
19790 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19791 perform test if it is, otherwise return successfully without testing.
19792 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19793 DEFAULT_STACK_PERMS define in stackinfo.h.
19794 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19795 defined in stackinfo.h.
19796 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19797 DEFAULT_STACK_PERMS defined in stackinfo.h.
19798 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19799 * sysdeps/ia64/stackinfo.h: Likewise.
19800 * sysdeps/s390/stackinfo.h: Likewise.
19801 * sysdeps/sh/stackinfo.h: Likewise.
19802 * sysdeps/sparc/stackinfo.h: Likewise.
19803 * sysdeps/x86_64/stackinfo.h: Likewise.
19804 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19805 PF_X for powerpc64. Retain PF_X for powerpc32.
19807 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19809 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19811 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19812 GETDENTS_64BIT_ALIGNED.
19814 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19816 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19818 2010-12-10 Andreas Schwab <schwab@redhat.com>
19820 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19824 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19826 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19827 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19829 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19832 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19835 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19837 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19839 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19841 * po/it.po: Update from translation team.
19843 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19848 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19850 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19852 2010-11-24 Andreas Schwab <schwab@redhat.com>
19854 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19856 (gaih_getanswer_slice): Likewise.
19858 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19862 2010-05-31 Petr Baudis <pasky@suse.cz>
19865 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19866 silently even in the chroot mode.
19868 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19870 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19871 last patch a bit. Pretty printing
19873 2010-05-31 Petr Baudis <pasky@suse.cz>
19876 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19877 initialization of skip_initgroups_dyn.
19879 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19882 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19884 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19886 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19888 2010-11-11 Andreas Schwab <schwab@redhat.com>
19890 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19891 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19892 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19893 ($(objpfx)tst-fnmatch-mem): New rule.
19894 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19895 * posix/tst-fnmatch.c (main): Call mtrace.
19897 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19900 Support Intel processor model 6 and model 0x2c.
19902 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19904 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19907 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19910 * string/test-strncasecmp.c (check_result): New function.
19911 (do_one_test): Use it.
19912 (check1): New function.
19913 (test_main): Use it.
19914 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19915 Support strcasecmp and strncasecmp.
19917 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19920 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19923 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19925 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19929 * sysdeps/x86_64/multiarch/bzero.S: New file.
19930 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19931 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19932 * sysdeps/x86_64/multiarch/memset.S: New file.
19933 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19935 Set bit_Prefer_SSE_for_memop for Intel processors.
19936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19938 (index_Prefer_SSE_for_memop): Define.
19939 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19941 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19943 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19944 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19946 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19949 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19950 (__x86_64_raw_data_cache_size_half): Likewise.
19951 (__x86_64_raw_shared_cache_size): Likewise.
19952 (__x86_64_raw_shared_cache_size_half): Likewise.
19954 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19955 (__x86_64_raw_data_cache_size_half): Likewise.
19956 (__x86_64_raw_shared_cache_size): Likewise.
19957 (__x86_64_raw_shared_cache_size_half): Likewise.
19958 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19959 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19960 and __x86_64_raw_shared_cache_size_half. Round
19961 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19962 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19963 to multiple of 256 bytes.
19965 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19968 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19969 of inacessible symlinks. Verify result of symlink before returning it.
19970 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19971 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19973 2010-10-28 Erich Ritz <erichritz@gmail.com>
19975 * math/math.h (isinf): Fix typo in comment.
19977 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19979 * po/da.po: Update from translation team.
19981 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19983 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19984 is added to the list.
19986 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19987 Ulrich Drepper <drepper@gmail.com>
19989 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19990 the global list here. Move code to...
19991 (_dl_add_to_namespace_list): ...here. New function.
19992 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19993 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19994 * elf/dl-load.c (lose): Don't remove the element from the list.
19995 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19996 (_dl_map_object): Likewise.
19998 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20001 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20002 into all bytes of SSE register.
20003 Patch by Richard Li <richardpku@gmail.com>.
20005 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20008 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20011 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20013 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20014 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20021 2010-10-22 Andreas Schwab <schwab@redhat.com>
20023 * include/dlfcn.h (__RTLD_SECURE): Define.
20024 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20025 mode & __RTLD_SECURE instead.
20026 (open_path): Rename preloaded parameter to secure.
20027 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20028 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20029 * elf/dl-deps.c (openaux): Likewise.
20030 * elf/rtld.c (struct map_args): Remove is_preloaded.
20031 (map_doit): Don't use it.
20032 (dl_main): Likewise.
20033 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20034 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20036 2010-09-09 Andreas Schwab <schwab@redhat.com>
20038 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20039 (sysd-rules-targets): Remove duplicates.
20040 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20041 rtld-%.$o dependency.
20043 2010-10-18 Andreas Schwab <schwab@redhat.com>
20045 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20046 _dl_map_object do it.
20048 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20050 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20051 fast fma builtins, define the macros in the C99 standard.
20052 (FP_FAST_FMAF): Likewise.
20053 (FP_FAST_FMAL): Likewise.
20054 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20056 * bits/mathdef.h: Update copyright year.
20057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20059 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20061 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20062 builtins, define the macros in the C99 standard.
20063 (FP_FAST_FMAF): Likewise.
20064 (FP_FAST_FMAL): Likewise.
20065 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20067 (FP_FAST_FMAF): Likewise.
20069 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20072 * math/libm-test.inc (fma_test): Some new testcases.
20073 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20075 y and infinite z. Do multiplication by C already in long double.
20076 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20078 y and infinite z. Do bitwise or of inexact bit into u.d.
20079 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20080 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20081 * sysdeps/i386/fpu/s_fma.S: Removed.
20082 * sysdeps/i386/fpu/s_fmal.S: Removed.
20084 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20087 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20089 computation is not scheduled after fetestexcept. Fix value
20090 of minimum denormal long double.
20092 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20095 * math/libm-test.inc (fma_test): Add some more tests.
20096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20099 2010-10-15 Andreas Schwab <schwab@redhat.com>
20101 * scripts/data/localplt-s390-linux-gnu.data: New file.
20102 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20104 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20107 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20108 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20110 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20112 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20114 if one of x and y is very large and the other is subnormal.
20115 * sysdeps/s390/fpu/s_fmaf.c: New file.
20116 * sysdeps/s390/fpu/s_fma.c: New file.
20117 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20118 * sysdeps/powerpc/fpu/s_fma.S: New file.
20119 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20120 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20121 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20123 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20126 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20128 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20129 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20130 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20131 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20132 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20133 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20136 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20139 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20140 * posix/bug-regex31.input: Add test case.
20142 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20144 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20145 * posix/bug-regex31.input: New file.
20148 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20149 (parse_sub_exp): Fix last change, use postorder.
20151 * posix/bug-regex31.c: New file.
20152 * posix/Makefile: Add rules to build and run bug-regex31.
20154 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20157 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20160 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20161 to have entries in sys_siglist.
20164 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20167 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20170 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20171 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20172 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20173 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20174 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20175 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20176 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20177 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20178 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20179 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20180 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20181 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20182 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20183 * math/ftestexcept.c (fetestexcept): Likewise.
20184 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20185 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20186 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20187 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20188 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20189 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20190 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20195 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20198 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20200 * string/bug-strstr1.c: New file.
20201 * string/Makefile: Add rules to build and run bug-strstr1.
20203 2010-10-05 Eric Blake <eblake@redhat.com>
20206 * string/str-two-way.h (two_way_long_needle): Always clear memory
20207 when skipping input due to the shift table.
20209 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20212 * malloc/mcheck.c: Handle large requests.
20215 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20216 for strncmp and strncasecmp.
20217 * string/stratcliff.c: Add tests for strcmp and strncmp.
20218 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20220 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20222 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20225 2010-09-30 Andreas Jaeger <aj@suse.de>
20227 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20228 (CGROUP_SUPER_MAGIC): Define.
20229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20230 Handle btrfs and cgroup file systems.
20231 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20234 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20236 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20237 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20239 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20242 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20243 trying to locate the ELF header.
20245 2010-09-27 Andreas Schwab <schwab@redhat.com>
20248 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20249 Mask out sign-bit copies when constructing f_fsid.
20251 2010-09-24 Petr Baudis <pasky@suse.cz>
20253 * debug/stack_chk_fail_local.c: Add missing licence exception.
20254 * debug/warning-nop.c: Likewise.
20256 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20259 implementing getdents64 using getdents syscall, set d_type if
20260 __ASSUME_GETDENTS32_D_TYPE.
20262 2010-09-16 Andreas Schwab <schwab@redhat.com>
20264 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20265 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20267 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20270 * posix/unistd.h: Undo change of feature selection for ftruncate from
20273 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20275 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20278 2010-09-20 Andreas Schwab <schwab@redhat.com>
20280 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20282 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20284 2010-09-14 Andreas Schwab <schwab@redhat.com>
20286 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20287 variables after CHECK_SP call.
20288 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20290 2010-09-13 Andreas Schwab <schwab@redhat.com>
20291 Ulrich Drepper <drepper@redhat.com>
20293 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20294 re-relocationg ld.so.
20295 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20296 _dl_init_paths call.
20297 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20300 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20302 * resolv/res_init.c (__res_vinit): Count the default server we added.
20304 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20305 Ulrich Drepper <drepper@redhat.com>
20308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20309 (____longjmp_chk): Use %ebx for saving value across system call.
20312 2010-09-06 Andreas Schwab <schwab@redhat.com>
20314 * manual/Makefile: Don't mix pattern rules with normal rules.
20316 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20318 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20320 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20321 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20322 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20323 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20327 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20330 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20331 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20333 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20335 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20336 * sysdeps/x86_64/addmul_1.S: Likewise.
20337 * sysdeps/x86_64/lshift.S: Likewise.
20338 * sysdeps/x86_64/mul_1.S: Likewise.
20339 * sysdeps/x86_64/rshift.S: Likewise.
20340 * sysdeps/x86_64/sub_n.S: Likewise.
20341 * sysdeps/x86_64/submul_1.S: Likewise.
20343 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20345 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20346 Define __sched_param instead of SCHED_* and sched_param when
20347 <bits/sched.h> is included with __need_schedparam defined.
20348 * bits/sched.h [__need_schedparam]
20349 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20350 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20351 (__defined_schedparam): Define to 1.
20352 (__sched_param): New structure, identical to sched_param.
20353 (__need_schedparam): Undefine.
20355 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20358 (epoll_create1): Declare.
20360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20362 2010-08-31 Andreas Schwab <schwab@redhat.com>
20365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20366 shifting retval into place.
20368 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20370 * nis/rpcsvc/nis.h: Update copyright notice.
20371 * nis/rpcsvc/nis.x: Likewise.
20372 * nis/rpcsvc/nis_callback.h: Likewise.
20373 * nis/rpcsvc/nis_callback.x: Likewise.
20374 * nis/rpcsvc/nis_object.x: Likewise.
20375 * nis/rpcsvc/nis_tags.h: Likewise.
20376 * nis/rpcsvc/yp.h: Likewise.
20377 * nis/rpcsvc/yp.x: Likewise.
20378 * nis/rpcsvc/ypupd.h: Likewise.
20379 * nis/yp_xdr.c: Likewise.
20380 * nis/ypupdate_xdr.c: Likewise.
20382 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20383 mainly the body of pmap_getport. Add parameters to specify timeouts.
20384 (pmap_getport): Use __libc_rpc_getport.
20385 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20386 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20387 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20389 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20394 2010-08-27 Roland McGrath <roland@redhat.com>
20396 * sysdeps/i386/i686/multiarch/Makefile
20397 (CFLAGS-varshift.c): New variable.
20399 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20401 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20402 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20406 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20408 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20410 * sysdeps/x86_64/strlen.S: Unroll the loop.
20411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20412 strlen-sse2 strlen-sse2-bsf.
20413 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20414 __strlen_no_bsf if bit_Slow_BSF is set.
20415 (__strlen_sse42): Removed.
20416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20417 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20419 2010-08-25 Roland McGrath <roland@redhat.com>
20421 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20422 * sysdeps/x86_64/multiarch/varshift.c: New file.
20423 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20424 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20425 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20426 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20428 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20431 strlen-sse2 strlen-sse2-bsf.
20432 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20433 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20434 (__strlen_sse2): Removed.
20435 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20438 bit_Slow_BSF for Atom.
20439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20440 (index_Slow_BSF): Define.
20441 (HAS_SLOW_BSF): Define.
20443 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20446 * resolv/res_init.c (__res_vinit): When no server address at all
20447 is given default to loopback.
20449 2010-08-24 Roland McGrath <roland@redhat.com>
20451 * configure.in: Remove config-name.h generation.
20452 * configure: Regenerated.
20453 * config-name.in: File removed.
20454 * scripts/config-uname.sh: New file.
20455 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20456 ($(objdir)config-name.h): New target.
20458 * sunrpc/rpc_parse.h: Avoid nested comment.
20460 2010-08-24 Richard Henderson <rth@redhat.com>
20461 Ulrich Drepper <drepper@redhat.com>
20462 H.J. Lu <hongjiu.lu@intel.com>
20464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20466 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20467 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20468 _mm_alignr_epi8 with _mm_loadu_si128.
20469 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20470 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20471 (__m128i_shift_right): Removed.
20472 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20473 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20474 * sysdeps/x86_64/multiarch/varshift.h: New file.
20475 * sysdeps/x86_64/multiarch/varshift.S: New file.
20477 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20479 * configure.in: Move assembler checks to before sysdep dir checking.
20481 2010-08-20 Petr Baudis <pasky@suse.cz>
20483 * LICENSES: Sync the sunrpc license.
20485 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20487 * sunrpc/auth_des.c: Update copyright notice once again.
20488 * sunrpc/auth_none.c: Likewise.
20489 * sunrpc/auth_unix.c: Likewise.
20490 * sunrpc/authdes_prot.c: Likewise.
20491 * sunrpc/authuxprot.c: Likewise.
20492 * sunrpc/bindrsvprt.c: Likewise.
20493 * sunrpc/clnt_gen.c: Likewise.
20494 * sunrpc/clnt_perr.c: Likewise.
20495 * sunrpc/clnt_raw.c: Likewise.
20496 * sunrpc/clnt_simp.c: Likewise.
20497 * sunrpc/clnt_tcp.c: Likewise.
20498 * sunrpc/clnt_udp.c: Likewise.
20499 * sunrpc/clnt_unix.c: Likewise.
20500 * sunrpc/des_crypt.c: Likewise.
20501 * sunrpc/des_soft.c: Likewise.
20502 * sunrpc/get_myaddr.c: Likewise.
20503 * sunrpc/getrpcport.c: Likewise.
20504 * sunrpc/key_call.c: Likewise.
20505 * sunrpc/key_prot.c: Likewise.
20506 * sunrpc/openchild.c: Likewise.
20507 * sunrpc/pm_getmaps.c: Likewise.
20508 * sunrpc/pm_getport.c: Likewise.
20509 * sunrpc/pmap_clnt.c: Likewise.
20510 * sunrpc/pmap_prot.c: Likewise.
20511 * sunrpc/pmap_prot2.c: Likewise.
20512 * sunrpc/pmap_rmt.c: Likewise.
20513 * sunrpc/rpc/auth.h: Likewise.
20514 * sunrpc/rpc/auth_unix.h: Likewise.
20515 * sunrpc/rpc/clnt.h: Likewise.
20516 * sunrpc/rpc/des_crypt.h: Likewise.
20517 * sunrpc/rpc/key_prot.h: Likewise.
20518 * sunrpc/rpc/netdb.h: Likewise.
20519 * sunrpc/rpc/pmap_clnt.h: Likewise.
20520 * sunrpc/rpc/pmap_prot.h: Likewise.
20521 * sunrpc/rpc/pmap_rmt.h: Likewise.
20522 * sunrpc/rpc/rpc.h: Likewise.
20523 * sunrpc/rpc/rpc_des.h: Likewise.
20524 * sunrpc/rpc/rpc_msg.h: Likewise.
20525 * sunrpc/rpc/svc.h: Likewise.
20526 * sunrpc/rpc/svc_auth.h: Likewise.
20527 * sunrpc/rpc/types.h: Likewise.
20528 * sunrpc/rpc/xdr.h: Likewise.
20529 * sunrpc/rpc_clntout.c: Likewise.
20530 * sunrpc/rpc_cmsg.c: Likewise.
20531 * sunrpc/rpc_common.c: Likewise.
20532 * sunrpc/rpc_cout.c: Likewise.
20533 * sunrpc/rpc_dtable.c: Likewise.
20534 * sunrpc/rpc_hout.c: Likewise.
20535 * sunrpc/rpc_main.c: Likewise.
20536 * sunrpc/rpc_parse.c: Likewise.
20537 * sunrpc/rpc_parse.h: Likewise.
20538 * sunrpc/rpc_prot.c: Likewise.
20539 * sunrpc/rpc_sample.c: Likewise.
20540 * sunrpc/rpc_scan.c: Likewise.
20541 * sunrpc/rpc_scan.h: Likewise.
20542 * sunrpc/rpc_svcout.c: Likewise.
20543 * sunrpc/rpc_tblout.c: Likewise.
20544 * sunrpc/rpc_util.c: Likewise.
20545 * sunrpc/rpc_util.h: Likewise.
20546 * sunrpc/rpcinfo.c: Likewise.
20547 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20548 * sunrpc/rpcsvc/key_prot.x: Likewise.
20549 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20550 * sunrpc/rpcsvc/mount.x: Likewise.
20551 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20552 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20553 * sunrpc/rpcsvc/rex.x: Likewise.
20554 * sunrpc/rpcsvc/rstat.x: Likewise.
20555 * sunrpc/rpcsvc/rusers.x: Likewise.
20556 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20557 * sunrpc/rpcsvc/spray.x: Likewise.
20558 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20559 * sunrpc/rtime.c: Likewise.
20560 * sunrpc/svc.c: Likewise.
20561 * sunrpc/svc_auth.c: Likewise.
20562 * sunrpc/svc_authux.c: Likewise.
20563 * sunrpc/svc_raw.c: Likewise.
20564 * sunrpc/svc_run.c: Likewise.
20565 * sunrpc/svc_simple.c: Likewise.
20566 * sunrpc/svc_tcp.c: Likewise.
20567 * sunrpc/svc_udp.c: Likewise.
20568 * sunrpc/svc_unix.c: Likewise.
20569 * sunrpc/svcauth_des.c: Likewise.
20570 * sunrpc/xcrypt.c: Likewise.
20571 * sunrpc/xdr.c: Likewise.
20572 * sunrpc/xdr_array.c: Likewise.
20573 * sunrpc/xdr_float.c: Likewise.
20574 * sunrpc/xdr_mem.c: Likewise.
20575 * sunrpc/xdr_rec.c: Likewise.
20576 * sunrpc/xdr_ref.c: Likewise.
20577 * sunrpc/xdr_sizeof.c: Likewise.
20578 * sunrpc/xdr_stdio.c: Likewise.
20580 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20583 2010-08-19 Andreas Schwab <schwab@redhat.com>
20585 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20587 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20589 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20590 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20591 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20592 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20593 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20594 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20595 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20596 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20599 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20600 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20601 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20602 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20604 2010-07-26 Anton Blanchard <anton@samba.org>
20606 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20607 * malloc/arena.c (heap_trim): Likewise.
20609 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20611 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20614 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20616 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20618 * sysdeps/i386/elf/Makefile: New file.
20620 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20622 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20623 from fanotify_init.
20624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20627 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20629 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20631 * sysdeps/multiarch/strcmp.S: Likewise.
20633 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20635 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20636 strncase_l-nonascii.
20637 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20638 Add strncase_l-ssse3.
20639 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20640 * sysdeps/x86_64/strcmp.S: Likewise.
20641 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20642 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20643 * sysdeps/x86_64/strncase.S: New file.
20644 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20645 * sysdeps/x86_64/strncase_l.S: New file.
20646 * string/Makefile (strop-tests): Add strncasecmp.
20647 * string/test-strncasecmp.c: New file.
20649 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20652 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20653 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20655 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20657 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20659 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20661 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20662 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20665 2010-05-01 Alan Modra <amodra@gmail.com>
20667 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20668 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20669 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20670 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20671 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20672 tidying. Don't tail-call __sigjmp_save for static lib.
20673 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20675 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20676 (CALL_MCOUNT): Add eh info, and nop after bl.
20677 (TAIL_CALL_SYSCALL_ERROR): New macro.
20678 (PSEUDO_RET): Use it.
20679 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20680 Correct save location of integer regs and cr.
20681 (_dl_profile_resolve): Correct cr save location. Delete nops
20682 after bl when SHARED. Reduce cfi size a little by better
20683 placement of cfi directives.
20684 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20685 make a stack frame. Instead use parm save area as a temp.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20687 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20689 Don't make a stack frame for parent, use parm save area.
20690 Increase child stack frame to 112 bytes. Don't save unused reg,
20691 and adjust reg usage. Set up cfi on error recovery and
20692 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20694 (__makecontext): Add dummy nop after jump to exit.
20695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20696 Use correct parm save area and cr save, reduce stack frame.
20697 Correct cfi for possible PSEUDO_RET frame setup.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20699 Branch to local label emitted by PSEUDO_RET rather than
20702 2010-08-12 Andreas Schwab <schwab@redhat.com>
20705 * locale/programs/locale.c (print_assignment): New function.
20706 (show_locale_vars): Use it.
20708 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20710 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20712 (struct statfs64): Likewise.
20713 (_STATFS_F_FLAGS): Define.
20714 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20715 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20716 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20717 (ST_VALID): Define locally.
20718 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20719 __statvfs_getflags, use the provided value.
20720 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20721 __ASSUME_STATFS_F_FLAGS.
20723 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20725 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20726 Add sys/fanotify.h.
20727 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20728 fanotify_mask for GLIBC_2.13.
20729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20730 fanotify_init and fanotify_mark.
20731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20732 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20734 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20736 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20737 prlimit64 for GLIBC_2.13.
20738 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20744 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20745 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20748 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20751 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20752 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20754 * nss/Makefile: Add rules to build and run tst-nss-test1.
20755 * shlib-versions: Add entry for libnss_test1.
20756 * nss/nss_test1.c: New file.
20757 * nss/tst-nss-test1.c: New file.
20759 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20760 (__nss_configure_lookup): Set appropriate entry in
20761 __nss_configure_lookup to true.
20762 * nss/nsswitch.h: Define enum with indeces of databases in
20763 databases and __nss_database_custom arrays. Declare
20764 __nss_database_custom.
20765 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20766 to avoid using nscd when custom rules are installed.
20767 * nss/getXXbyYY_r.c: Likewise.
20768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20770 * nss/nss_files/files-parse.c: Whitespace fixes.
20772 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20775 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20776 * posix/fnmatch_loop.c: Likewise.
20778 2010-07-17 Andi Kleen <ak@linux.intel.com>
20780 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20781 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20782 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20783 * Versions.def [GLIBC_2.13]: Add.
20785 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20788 Also fail if tpwd after pwuid call is NULL.
20790 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20792 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20793 when converting to ms.
20795 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20797 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20798 EOPNOTSUPP errors with ENOTTY.
20799 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20800 EOPNOTSUPP errors with ENOTTY.
20802 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20804 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20805 Add strcasecmp_l-ssse3.
20806 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20808 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20809 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20810 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20812 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20814 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20816 * string/Makefile (strop-tests): Add strcasecmp.
20817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20818 strcasecmp_l-nonascii.
20819 (gen-as-const-headers): Add locale-defines.sym.
20820 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20821 * sysdeps/x86_64/strcasecmp.S: New file.
20822 * sysdeps/x86_64/strcasecmp_l.S: New file.
20823 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20824 * sysdeps/x86_64/locale-defines.sym: New file.
20825 * string/test-strcasecmp.c: New file.
20827 * string/test-strcasestr.c: Test both ends of the range of characters.
20828 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20830 2010-07-29 Roland McGrath <roland@redhat.com>
20833 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20835 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20837 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20840 2010-07-27 Andreas Schwab <schwab@redhat.com>
20842 * manual/memory.texi (Malloc Tunable Parameters): Document
20845 2010-07-26 Roland McGrath <roland@redhat.com>
20848 * configure.in (-fgnu89-inline check): Set and substitute
20849 gnu89_inline, not libc_cv_gnu89_inline.
20850 * configure: Regenerated.
20851 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20853 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20855 * string/test-strnlen.c: New file.
20856 * string/Makefile (strop-tests): Add strnlen.
20857 * string/tester.c (test_strnlen): Add a few more test cases.
20858 * string/tst-strlen.c: Better error reporting.
20860 * sysdeps/x86_64/strnlen.S: New file.
20862 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20865 lower-latency instructions.
20867 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20869 * string/test-strcasestr.c: New file.
20870 * string/test-strstr.c: New file.
20871 * string/Makefile (strop-tests): Add strstr and strcasestr.
20872 * string/str-two-way.h: Don't undefine MAX.
20873 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20875 2010-07-21 Andreas Schwab <schwab@redhat.com>
20877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20878 strcasestr-nonascii.
20879 (CFLAGS-strcasestr-nonascii.c): Define.
20880 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20882 Remove unused attribute.
20884 2010-07-20 Roland McGrath <roland@redhat.com>
20886 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20887 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20888 ld.so.cache was broken. With it, there is no way to disable dsocaps
20889 like LD_HWCAP_MASK can disable hwcaps.
20891 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20893 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20895 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20897 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20898 call in strcasestr.
20899 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20900 __strcasestr_sse42_nonascii.
20901 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20902 strcasestr-nonascii.c.
20903 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20905 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20908 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20909 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20912 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20917 2010-07-06 Andreas Schwab <schwab@redhat.com>
20920 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20923 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20925 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20926 _PC_PIPE_BUF using F_GETPIPE_SZ.
20928 2010-07-05 Roland McGrath <roland@redhat.com>
20930 * manual/arith.texi (Rounding Functions): Fix rint description
20931 implicit in round description.
20933 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20935 * elf/Makefile: Fix linking for a few tests to make recent linker
20938 2010-06-30 Andreas Schwab <schwab@redhat.com>
20940 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20941 $(common-objpfx)libc_nonshared.a.
20943 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20945 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20946 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20947 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20948 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20949 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20950 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20951 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20952 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20967 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20968 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20969 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20970 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20971 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20972 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20973 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20974 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20975 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20976 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20977 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20978 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20994 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20996 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20997 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20998 * string/memmove.c (memmove): Renamed to ...
20999 (MEMMOVE): ...this. Default to memmove.
21000 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21001 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21004 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21005 mempcpy-ssse3-back memmove-ssse3-back.
21006 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21007 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21008 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21009 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21010 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21011 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21012 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21013 * sysdeps/x86_64/multiarch/memmove.c: New file.
21014 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21015 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21016 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21017 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21018 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21019 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21021 (index_Fast_Copy_Backward): Define.
21022 (HAS_ARCH_FEATURE): Define.
21023 (HAS_FAST_REP_STRING): Define.
21024 (HAS_FAST_COPY_BACKWARD): Define.
21026 2010-06-21 Andreas Schwab <schwab@redhat.com>
21028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21029 Restore proper fallback handling.
21031 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21034 * posix/group_member.c (__group_member): Correct checking loop.
21036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21037 OOM in getpwuid_r correctly. Return error number when the caller
21038 should return, otherwise -1.
21039 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21040 call returning > 0 value.
21041 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21043 2010-06-07 Andreas Schwab <schwab@redhat.com>
21045 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21046 libc_nonshared.a from targets in modules-names.
21048 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21050 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21053 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21056 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21060 2010-06-02 Andreas Schwab <schwab@redhat.com>
21062 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21064 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21073 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21075 2010-06-14 Roland McGrath <roland@redhat.com>
21077 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21079 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21081 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21082 __REDIRECT followed by __THROW.
21083 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21084 * posix/getopt.h (getopt): Likewise.
21086 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21088 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21089 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21090 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21092 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21093 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21095 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21097 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21099 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21103 Properly check family and model.
21105 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21107 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21109 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21111 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21113 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21115 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21118 2010-05-19 Andreas Schwab <schwab@redhat.com>
21120 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21123 2010-05-21 Andreas Schwab <schwab@redhat.com>
21125 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21126 and internal_recvmmsg.
21127 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21128 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21129 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21130 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21132 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21133 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21134 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21136 2010-05-20 Andreas Schwab <schwab@redhat.com>
21138 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21140 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21142 POWER7 optimizations.
21143 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21144 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21146 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21148 * version.h: Update for 2.13 development version.
21150 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21152 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21153 exceptions. Return 0.
21155 2010-05-07 Roland McGrath <roland@redhat.com>
21157 * elf/ldconfig.c (main): Add a const.
21159 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21161 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21162 (args_options): Add no-idn option.
21163 (ahosts_keys_int): Add idn_flags to ai_flags.
21164 (parse_option): Handle 'i' option to clear idn_flags.
21166 * malloc/malloc.c (_int_free): Possible race in the most recently
21167 added check. Only act on the data if no current modification
21170 See ChangeLog.17 for earlier changes.