1 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9 (blacklist_exports): Don't use remove_newlines. Replace "declare
11 (remove_newlines): Remove.
13 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16 * stdlib/stdlib.h (atof): Moved to ...
17 * include/bits/stdlib-float.h: Here. New file.
18 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19 * stdlib/bits/stdlib-float.h: New file.
20 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27 * conform/conformtest.pl (@headers): Add fenv.h.
28 * conform/data/fenv.h-data: New file.
29 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30 include of <math/fenv.h>.
32 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34 && !UNIX98]. Enables tests for XOPEN2K8.
35 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39 (struct rusage): Do not expect type or its members.
42 * math/math.h (FP_NAN): Define macro to integer constant usable in
43 #if and use that to give value to enum constant.
44 (FP_INFINITE): Likewise.
46 (FP_SUBNORMAL): Likewise.
47 (FP_NORMAL): Likewise.
49 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
51 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55 2012-11-02 Roland McGrath <roland@hack.frob.com>
57 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60 * configure.in: Remove AC_PREREQ.
62 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66 of the internal implementation.
68 2012-11-02 Joseph Myers <joseph@codesourcery.com>
70 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71 except include of <misc/sys/syslog.h>.
73 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
76 function returns with a NULL context exit with zero.
78 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
82 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
84 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
85 (run_program_cmd): This.
86 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
87 (tst_langinfo): New variable. Use it.
89 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
91 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
92 floating point opcodes.
94 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
96 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
99 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
101 * sysdeps/mach/hurd/powerpc: Remove directory.
102 * sysdeps/mach/powerpc: Likewise.
104 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
106 * scripts/check-local-headers.sh: Ignore c++ headers.
108 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
110 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
111 __libc_cleanup_region_start argument.
113 2012-11-01 Joseph Myers <joseph@codesourcery.com>
117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
118 x * y using scaling, not as x * y + z.
119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
121 * math/libm-test.inc (fma_test): Add more tests.
122 (fma_test_towardzero): Likewise.
123 (fma_test_downward): Likewise.
124 (fma_test_upward): Likewise.
126 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
128 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
130 2012-10-31 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
135 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
137 * rt/tst-shm.c (worker): Correct checking for mmap failure.
139 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
146 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
149 Fix the order of the list for glibc 2.17.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
153 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
157 2012-10-31 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
161 for low part of x being zero before using __atanl (y).
162 * math/libm-test.inc (atan2_test): Add another test.
164 * manual/install.texi (Configuring and compiling): Document
165 general use of test-wrapper and test-wrapper-env.
166 * INSTALL: Regenerated.
168 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
169 (__fma): Do not extract and scale down low bits on after-rounding
170 systems when result rounded to normal precision would have normal
172 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
173 (__fmal): Do not extract and scale down low bits on after-rounding
174 systems when result rounded to normal precision would have normal
176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
177 (__fmal): Do not extract and scale down low bits on after-rounding
178 systems when result rounded to normal precision would have normal
180 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
182 (fma_test): Add more tests.
183 (fma_test_towardzero): Likewise.
184 (fma_test_downward): Likewise.
185 (fma_test_upward): Likewise.
187 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/i386/tininess.h: Renamed to ...
190 * sysdeps/x86/tininess.h: This.
191 * sysdeps/x86_64/tininess.h: Removed.
193 2012-10-30 Joseph Myers <joseph@codesourcery.com>
195 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
196 input. Use $(build-program-cmd).
197 ($(objpfx)tst-array1-static.out): Likewise.
198 ($(objpfx)tst-array2.out): Likewise.
199 ($(objpfx)tst-array3.out): Likewise.
200 ($(objpfx)tst-array4.out): Likewise.
201 ($(objpfx)tst-array5.out): Likewise.
202 ($(objpfx)tst-array5-static.out): Likewise.
204 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
206 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
209 * nss/nsswitch.h (nss_interface_function): Provide new
210 macro for use with NSS functions.
211 * grp/initgroups.c: Use new macro.
212 * nss/getXXbyYY.c: Likewise.
213 * nss/getXXbyYY_r.c: Likewise.
214 * nss/getXXent.c: Likewise.
215 * nss/getXXent_r.c: Likewise.
216 * sysdeps/posix/getaddrinfo.c: Likewise.
218 2012-10-30 Andreas Jaeger <aj@suse.de>
220 * po/ru.po: Update Russion translation from translation project.
222 2012-10-30 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
227 result and shift together with sticky bit instead of replicating
228 round-to-nearest rounding.
229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
231 * math/libm-test.inc (fma_test): Add more tests. Do not permit
232 missing underflow exceptions.
233 (fma_test_towardzero): Add more tests.
234 (fma_test_downward): Likewise.
235 (fma_test_upward): Likewise.
238 * sysdeps/generic/tininess.h: New file.
239 * sysdeps/i386/tininess.h: Likewise.
240 * sysdeps/sh/tininess.h: Likewise.
241 * sysdeps/x86_64/tininess.h: Likewise.
242 * stdlib/tst-strtod-underflow.c: Likewise.
243 * stdlib/tst-tininess.c: Likewise.
244 * stdlib/strtod_l.c: Include <tininess.h>.
245 (round_and_return): Do not set errno for exact underflow cases.
246 Force an underflow exception when setting errno for underflow.
247 Determine underflow based on rounding to normal precision if
248 TININESS_AFTER_ROUNDING.
249 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
250 ERANGE for exact underflow cases.
251 * stdlib/Makefile (tests): Add tst-tininess and
252 tst-strtod-underflow.
253 ($(objpfx)tst-tininess): Use $(link-libm).
254 ($(objpfx)tst-strtod-underflow): Likewise.
256 2012-10-30 Andreas Jaeger <aj@suse.de>
259 * elf/Makefile (tests): Remove conditional for have-initfini-array
260 since this is now always required and the variable does not exist
262 (tests-static): Likewise.
263 (modules-names): Likewise.
265 * po/eo.po: Add Esperanto translation from translation project.
267 * elf/tst-array1.c (fini_array): Make writeable so that it can be
268 merged with constructor/destructor.
269 (init_array): Likewise.
270 * elf/tst-array2dep.c (fini_array): Likewise.
271 (init_array): Likewise.
273 2012-10-29 Mike Frysinger <vapier@gentoo.org>
275 * manual/message.texi: Delete @cartouche tags.
277 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
279 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
281 * sysdeps/mach/hurd/fsync.c: Likewise.
283 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
284 [_POSIX_REALTIME_SIGNALS]: Change condition to
285 [_POSIX_REALTIME_SIGNALS > 0].
287 2012-10-27 Andreas Jaeger <aj@suse.de>
289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
290 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
292 [__WORDSIZE != 64]: Likewise.
294 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
296 * iconvdata/tst-table.sh: Remove ${SHELL}.
297 * iconvdata/tst-tables.sh: Likewise.
299 2012-10-25 David S. Miller <davem@davemloft.net>
301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
302 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
308 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
309 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
312 2012-10-25 Roland McGrath <roland@hack.frob.com>
314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
315 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
318 2012-10-25 Joseph Myers <joseph@codesourcery.com>
319 Jim Blandy <jimb@codesourcery.com>
321 * scripts/cross-test-ssh.sh: New file.
322 * manual/install.texi (Configuring and compiling): Document use of
324 * INSTALL: Regenerated.
326 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
328 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
331 2012-10-25 Joseph Myers <joseph@codesourcery.com>
333 * Makeconfig (run-program-prefix): Fix comment.
335 2012-10-24 Joseph Myers <joseph@codesourcery.com>
336 Jim Blandy <jimb@codesourcery.com>
338 * Makeconfig (test-wrapper): New variable,
339 (test-wrapper-env): Likewise.
340 [$(cross-compiling) = yes && $(test-wrapper) != ""]
341 (run-built-tests): Define to yes.
342 (run-program-prefix): Use $(test-wrapper).
343 (built-program-cmd): Likewise.
344 * Rules (make-test-out): Use $(test-wrapper-env) and
345 $(host-built-program-cmd).
346 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
347 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
349 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
350 $(test-wrapper-env) to tst-rtld-load-self.sh.
351 ($(objpfx)order2.out): Use $(test-wrapper).
352 ($(objpfx)tst-initorder.out): Likewise.
353 ($(objpfx)tst-initorder2.out): Likewise.
354 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
355 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
356 (test_wrapper_env): New variable. Use it to run ld.so.
357 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
359 (test_wrapper_env): Likewise.
360 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
361 $(test-wrapper) to run-iconv-test.sh.
362 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
363 (ICONV): Use $test_wrapper.
364 * posix/Makefile ($(objpfx)globtest.out): Pass
365 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
366 globtest.sh, not $(run-program-prefix).
367 * posix/globtest.sh (run_via_rtld_prefix): New variable.
368 (test_wrapper): Likewise.
369 (test_wrapper_env): Likewise. Use it to run globtest with HOME
370 set together with run_via_rtld_prefix.
371 (run_program_prefix): Define in terms of test_wrapper and
374 2012-10-24 Roland McGrath <roland@hack.frob.com>
376 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
377 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
381 * include/time.h: Remove librt_hidden_proto (clock_gettime).
382 Declare __clock_getres, __clock_gettime, __clock_settime,
383 __clock_nanosleep, and __clock_getcpuclockid.
384 * rt/clock_gettime.c: Define __clock_gettime as an alias.
385 Remove librt_hidden_def (clock_gettime).
386 * sysdeps/unix/clock_gettime.c: Likewise.
387 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
389 * rt/clock_getres.c: Define __clock_getres as an alias.
390 * sysdeps/posix/clock_getres.c: Likewise.
391 * rt/clock_settime.c: Define __clock_settime as an alias.
392 * sysdeps/unix/clock_settime.c: Likewise.
393 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
394 * sysdeps/unix/clock_nanosleep.c: Likewise.
395 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
396 * rt/clock-compat.c: New file.
397 * rt/Makefile (librt-routines): Add clock-compat and move
398 $(clock-routines) to ...
399 (routines): ... here, new variable.
400 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
401 Don't add get_clockfreq here.
402 * rt/Versions (libc: GLIBC_2.17): New version set.
403 Add clock_* symbols here.
404 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
406 (GLIBC_2.17): Add clock_* symbols.
407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
418 * NEWS: Mention the move.
420 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
421 Use __open, __read, __close rather than their public counterparts.
422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
423 (__get_clockfreq_via_cpuinfo): Likewise.
424 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
425 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
427 * config.h.in (HAVE_IFUNC): New #undef.
428 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
430 * configure: Regenerated.
432 2012-10-24 Mike Frysinger <vapier@gentoo.org>
434 * configure.in: Move READELF check to start of file.
435 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
436 libc_cv_asm_gnu_indirect_function in the process.
437 * configure: Regenerated.
439 2012-10-24 Mike Frysinger <vapier@gentoo.org>
441 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
442 send the output to /dev/null.
443 (libc_cv_cc_with_libunwind): Likewise.
444 (libc_cv_as_noexecstack): Likewise.
445 * configure: Regenerate.
447 2012-10-24 Joseph Myers <joseph@codesourcery.com>
449 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
451 * posix/globtest.sh (TMPDIR): Do not set.
452 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
455 2012-10-24 Andreas Jaeger <aj@suse.de>
457 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
458 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
459 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
460 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
461 posix_fadvise64, posix_fallocate64.
463 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
464 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
465 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
467 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
469 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
472 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
473 <bits/fcntl-linux.h>.
474 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
477 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
478 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
479 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
480 [__WORDSIZE != 64]: Likewise.
482 2012-10-23 Joseph Myers <joseph@codesourcery.com>
484 * Makeconfig (run-built-tests): New variable.
485 * Rules [$(cross-compiling) = yes]: Change condition to
486 [$(run-built-tests) = no].
487 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
488 to [$(run-built-tests) = yes].
489 * elf/Makefile [$(cross-compiling) = no]: Likewise
490 * grp/Makefile [$(cross-compiling) = no]: Likewise.
491 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
492 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
493 * intl/Makefile [$(cross-compiling) = no]: Likewise.
494 * io/Makefile [$(cross-compiling) = no]: Likewise.
495 * libio/Makefile [$(cross-compiling) = no]: Likewise.
496 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
497 * misc/Makefile [$(cross-compiling) = no]: Likewise.
498 * posix/Makefile [$(cross-compiling) = no]: Likewise.
499 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
500 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
501 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
502 * string/Makefile [$(cross-compiling) = no]: Likewise.
504 * posix/Makefile ($(objpfx)globtest.out): Pass
505 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
506 $(rtld-installed-name).
507 * posix/globtest.sh (elf_objpfx): Remove variable.
508 (rtld_installed_name): Likewise.
509 (library_path): Likewise.
510 (run_program_prefix): New variable. Use for running globtest
513 2012-10-23 Jim Blandy <jimb@codesourcery.com>
514 Joseph Myers <joseph@codesourcery.com>
516 * Makeconfig (host-built-program-cmd): New variable.
517 * elf/Makefile (tst-stackguard1-ARGS): Use
518 $(host-built-program-cmd).
519 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
520 (tst-spawn-ARGS): Likewise.
521 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
523 2012-10-23 Joseph Myers <joseph@codesourcery.com>
524 Jim Blandy <jimb@codesourcery.com>
526 * Makeconfig (run-via-rtld-prefix): New variable.
527 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
528 (built-program-cmd): Likewise.
530 2012-10-22 Andreas Jaeger <aj@suse.de>
532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
533 __O_RSYNC if it exists, otherwise to O_SYNC.
535 2012-10-22 Jim Blandy <jimb@codesourcery.com>
536 Joseph Myers <joseph@codesourcery.com>
538 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
540 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
542 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
545 2012-10-22 Andreas Jaeger <aj@suse.de>
547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
555 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
562 2012-10-21 Jim Blandy <jimb@codesourcery.com>
563 Joseph Myers <joseph@codesourcery.com>
565 * config.make.in (NM): New variable.
567 2012-10-21 Andreas Jaeger <aj@suse.de>
569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
570 definitions and declarations that are provided by
571 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
573 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
576 * elf/Makefile (tests-static): Add tst-leaks1-static.
577 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
578 ($(objpfx)tst-leaks1-static): New rule.
579 ($(objpfx)tst-leaks1-static-mem): Likewise.
580 (tst-leaks1-static-ENV): New macro.
581 * elf/dl-open.c (dl_open_worker): Check the main application
582 only if SHARED is defined.
583 * elf/tst-leaks1-static.c: New file.
585 2012-10-20 Andreas Jaeger <aj@suse.de>
587 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
588 generic values for Linux.
589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
590 and declarations that are provided by <bits/fcntl-linux.h> and
591 include <bits/fcntl-linux.h>.
592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
595 2012-10-20 Roland McGrath <roland@hack.frob.com>
597 * io/fcntl.h: Move include of <bits/types.h> to the top and
598 include it unconditionally.
600 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
602 * wcsmbs/Makefile (tests-ifunc): New variable.
603 (tests): Add $(tests-ifunc).
604 * wcsmbs/test-wcschr-ifunc.c: New file.
605 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
606 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
607 * wcsmbs/test-wcslen-ifunc.c: Likewise.
608 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
609 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
611 * string/Makefile (tests-ifunc): New variable.
612 (tests): Add $(tests-ifunc).
613 * string/test-memccpy.c (TEST_NAME): New macro.
614 * string/test-memchr.c (TEST_NAME): Likewise.
615 * string/test-memcmp.c (TEST_NAME): Likewise.
616 * string/test-memcpy.c (TEST_NAME): Likewise.
617 * string/test-memmem.c (TEST_NAME): Likewise.
618 * string/test-memmove.c (TEST_NAME): Likewise.
619 * string/test-memset.c (TEST_NAME): Likewise.
620 * string/test-rawmemchr.c (TEST_NAME): Likewise.
621 * string/test-stpcpy.c (TEST_NAME): Likewise.
622 * string/test-stpncpy.c (TEST_NAME): Likewise.
623 * string/test-strcasecmp.c (TEST_NAME): Likewise.
624 * string/test-strcasestr.c (TEST_NAME): Likewise.
625 * string/test-strcat.c (TEST_NAME): Likewise.
626 * string/test-strchr.c (TEST_NAME): Likewise.
627 * string/test-strcmp.c(TEST_NAME): Likewise.
628 * string/test-strcpy.c (TEST_NAME): Likewise.
629 * string/test-strcspn.c (TEST_NAME): Likewise.
630 * string/test-strlen.c (TEST_NAME): Likewise.
631 * string/test-strncasecmp.c (TEST_NAME): Likewise.
632 * string/test-strncmp.c (TEST_NAME): Likewise.
633 * string/test-strncpy.c (TEST_NAME): Likewise.
634 * string/test-strnlen.c (TEST_NAME): Likewise.
635 * string/test-strpbrk.c (TEST_NAME): Likewise.
636 * string/test-strrchr.c (TEST_NAME): Likewise.
637 * string/test-strspn.c (TEST_NAME): Likewise.
638 * string/test-strstr.c (TEST_NAME): Likewise.
639 * string/test-bcopy-ifunc.c: New file.
640 * string/test-bzero-ifunc.c: Likewise.
641 * string/test-memccpy-ifunc.c: Likewise.
642 * string/test-memchr-ifunc.c: Likewise.
643 * string/test-memcmp-ifunc.c: Likewise.
644 * string/test-memcpy-ifunc.c: Likewise.
645 * string/test-memmem-ifunc.c: Likewise.
646 * string/test-memmove-ifunc.c: Likewise.
647 * string/test-mempcpy-ifunc.c: Likewise.
648 * string/test-memset-ifunc.c: Likewise.
649 * string/test-rawmemchr-ifunc.c: Likewise.
650 * string/test-stpcpy-ifunc.c: Likewise.
651 * string/test-stpncpy-ifunc.c: Likewise.
652 * string/test-strcasecmp-ifunc.c: Likewise.
653 * string/test-strcasestr-ifunc.c: Likewise.
654 * string/test-strcat-ifunc.c: Likewise.
655 * string/test-strchr-ifunc.c: Likewise.
656 * string/test-strchrnul-ifunc.c: Likewise.
657 * string/test-strcmp-ifunc.c: Likewise.
658 * string/test-strcpy-ifunc.c: Likewise.
659 * string/test-strcspn-ifunc.c: Likewise.
660 * string/test-strlen-ifunc.c: Likewise.
661 * string/test-strncasecmp-ifunc.c: Likewise.
662 * string/test-strncat-ifunc.c: Likewise.
663 * string/test-strncmp-ifunc.c: Likewise.
664 * string/test-strncpy-ifunc.c: Likewise.
665 * string/test-strnlen-ifunc.c: Likewise.
666 * string/test-strpbrk-ifunc.c: Likewise.
667 * string/test-strrchr-ifunc.c: Likewise.
668 * string/test-strspn-ifunc.c: Likewise.
669 * string/test-strstr-ifunc.c: Likewise.
671 * debug/Makefile (tests-ifunc): New variable.
672 (tests): Add $(tests-ifunc).
673 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
674 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
675 * debug/test-stpcpy_chk-ifunc.c: New file.
676 * debug/test-strcpy_chk-ifunc.c: Likewise.
678 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * elf/dl-load.c (open_verify): Retry read if the entire ELF
682 header is not read in.
684 2012-10-19 Joseph Myers <joseph@codesourcery.com>
686 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
687 script to $(SHELL) as $<. Pass $(common-objpfx) to script
688 directly. Pass built executable to script as
689 $(built-program-cmd).
690 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
691 $testprogram without using LD_LIBRARY_PATH and $ldso.
693 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
694 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
695 $(rtld-installed-name).
696 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
697 (rtld_installed_name): Likewise.
698 (library_path): Likewise.
699 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
700 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
701 $(run-program-prefix) to tst-tables.sh.
702 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
703 it to run tst-table-from and tst-table-to.
704 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
705 Pass it to tst-table.sh.
706 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
707 $(run-program-prefix) to tst-gettext.sh.
708 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
710 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
712 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
714 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
716 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
719 $(run-program-prefix) to tst-mtrace.sh.
720 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
722 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
723 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
724 $(rtld-installed-name).
725 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
726 (rtld_installed_name): Likewise.
727 (run_program_prefix): New variable. Use it to run wordexp-test.
729 * Makeconfig (ARCH): Remove all definitions.
731 [ARCH]: Remove conditional code.
732 [!objdir]: Give error.
733 [!objdir] (objpfx): Remove.
734 [!objdir] (common-objpfx): Likewise.
735 [!objdir] (common-objdir): Likewise.
736 * configure.in (config_makefile): Remove. Hardcode Makefile in
737 AC_CONFIG_FILES call.
738 * configure: Regenerated.
741 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
745 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
746 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
747 $(rtld-installed-name).
748 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
749 (rtld_installed_name): Likwise.
750 (runit): Remove function.
751 (run_getconf): New variable, Use it for running getconf binary.
753 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
756 * string/test-memmem.c (check_result): New function.
757 (do_one_test): Use it.
758 (check1): New function.
761 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
763 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
765 2012-10-18 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
768 (_G_LSEEK64): Likewise.
769 (_G_MMAP64): Likewise.
770 (_G_FSTAT64): Likewise.
771 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
772 (_G_LSEEK64): Likewise.
773 (_G_MMAP64): Likewise.
774 (_G_FSTAT64): Likewise.
775 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
776 unconditional. Call __mmap64 directly.
777 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
778 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
780 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
781 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
783 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
784 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
786 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
787 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
789 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
790 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
792 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
793 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
795 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
796 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
798 (freopen64) [!_G_OPEN64]: Remove conditional code.
799 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
801 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
802 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
804 (ftello64) [!_G_LSEEK64]: Remove conditional code.
805 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
807 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
808 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
810 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
811 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
813 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
814 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
816 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
817 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
819 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
821 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
824 * manual/memory.texi (Malloc Tunable Parameters): Add note
825 about free list pointers overwriting some perturb bytes.
826 Wording suggested by Roland McGrath.
828 2012-10-17 Joseph Myers <joseph@codesourcery.com>
830 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
831 (lgamma_test): Likewise.
832 (tgamma_test): Likewise.
834 2012-10-16 Florian Weimer <fweimer@redhat.com>
837 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
838 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
840 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
842 * NEWS: Mention BZ #14716.
843 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
844 when removing AVAILABLE1_USES_J macro.
846 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
848 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
849 (__bswap_64): __uint64_t for unsigned 64-bit int.
851 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
853 * include/string.h (memmem): Declare libc hidden alias.
854 * string/memmem.c (memmem): Define libc hidden alias.
855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
856 __read, __close instead of open, read, close.
858 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
861 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
863 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
864 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
865 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
867 (__rawmemchr_sse2): Likewise.
868 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
869 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
870 (__strchr_sse2): Likewise.
871 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
872 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
873 (__strcasecmp_sse2): Likewise.
874 (__strncasecmp_sse2): Likewise.
875 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
876 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
877 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
878 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
879 (__strrchr_sse2): Likewise.
880 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
882 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
883 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
884 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
886 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
888 * sysdeps/x86_64/multiarch/memset.S: Likewise.
889 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
890 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
891 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
892 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
894 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
895 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
896 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
897 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
898 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
899 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
900 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
901 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
902 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
903 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
904 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
905 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
906 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
908 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
909 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
910 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
911 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
913 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
915 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
916 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
917 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
918 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
920 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
922 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
923 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
924 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
925 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
927 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
928 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
929 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
940 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
941 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
944 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
946 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
947 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
948 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
949 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
950 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
952 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
953 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
954 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
955 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
956 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
957 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
958 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
959 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
960 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
967 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
969 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
970 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
971 * include/ifunc-impl-list.h: New file.
972 * misc/ifunc-impl-list.c: Likewise.
973 * misc/Makefile (routines): Add ifunc-impl-list.
974 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
975 * string/test-string.h: Include <ifunc-impl-list.h>.
976 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
977 impl_array): New variables.
978 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
980 (test_init): Call __libc_ifunc_impl_list to initialize
981 func_list if TEST_IFUNC and TEST_NAME are defined.
983 * string/Makefile (strop-tests): Add bcopy and bzero.
984 * string/test-bcopy.c: New file.
985 * string/test-bzero.c: Likewise.
986 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
988 * string/test-memset.c: Support bzero test if TEST_BZERO is
990 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
992 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
994 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
997 2012-10-10 Joseph Myers <joseph@codesourcery.com>
999 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1000 * configure: Regenerated.
1002 * Makeconfig (+link-static-before-libc): Don't include
1003 $(link-static-libc).
1005 * libio/libio.h (_IO_pos_t): Remove.
1007 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1009 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1012 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1014 * crypt/crypt-entry.c: Include fips-private.h.
1015 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1016 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1017 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1018 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1020 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1022 * crypt/crypt-private.h: Include stdbool.h.
1023 (_ufc_setup_salt_r): Return bool.
1024 * crypt/crypt-entry.c: Include errno.h.
1025 (__crypt_r): Return NULL with EINVAL for bad salt.
1026 * crypt/crypt_util.c (bad_for_salt): New.
1027 (_ufc_setup_salt_r): Check that salt is long enough and within
1028 the specified alphabet.
1029 * crypt/badsalttest.c: New file.
1030 * crypt/Makefile (tests): Add it.
1031 ($(objpfx)badsalttest): New.
1033 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1035 * NEWS: Add entry for BZ #14602.
1037 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1039 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1041 * math/libm-test.inc: Update comment listing what functions and
1043 (isgreater_test): New function.
1044 (isgreaterequal_test): Likewise.
1045 (isless_test): Likewise.
1046 (islessequal_test): Likewise.
1047 (islessgreater_test): Likewise.
1048 (isunordered_test): Likewise.
1049 (main): Call the new functions.
1051 2012-10-09 Roland McGrath <roland@hack.frob.com>
1053 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1054 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1055 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1056 * sysdeps/i386/configure: Regenerated.
1057 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1058 * sysdeps/mach/configure: Regenerated.
1059 * sysdeps/mach/hurd/configure: Regenerated.
1060 * sysdeps/powerpc/configure: Regenerated.
1061 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1062 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1063 * sysdeps/s390/s390-32/configure: Regenerated.
1064 * sysdeps/s390/s390-64/configure: Regenerated.
1065 * sysdeps/sh/configure: Regenerated.
1066 * sysdeps/sparc/configure: Regenerated.
1067 * sysdeps/unix/sysv/linux/configure: Regenerated.
1068 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1069 * sysdeps/x86_64/configure: Regenerated.
1071 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1072 defined. Don't check if MAP is NULL.
1074 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1077 (_G_stat64): Likewise.
1078 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1079 (_G_stat64): Likewise.
1080 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1081 instead of struct _G_stat64.
1082 * libio/fileops.c (mmap_remap_check): Likewise.
1083 (decide_maybe_mmap): Likewise.
1084 (_IO_new_file_seekoff): Likewise.
1085 (_IO_file_stat): Likewise.
1086 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1088 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1089 instead of struct _G_stat64.
1090 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1092 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1095 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1097 (CHECK_EOL): New macro.
1098 (two_way_short_needle): Check beginning of haystack for EOL. Use
1100 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1101 Replace with CHECK_EOL.
1102 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1103 Replace with CHECK_EOL.
1105 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1107 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1109 * math/libm-test.inc: Update comment listing what functions and
1111 (finite_test): New function.
1112 (isinf_test): Likewise.
1113 (isnan_test): Likewise.
1114 (fpclassify_test): Test subnormal input.
1115 (isfinite_test): Likewise.
1116 (isnormal_test): Likewise.
1117 (main): Call the new functions.
1119 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1122 * Makerules (%.dynsym): Force C locale when running
1123 $(OBJDUMP) --dynamic-syms.
1125 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1127 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1130 2012-10-06 David S. Miller <davem@davemloft.net>
1132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1133 upper 32-bits of the length value in %o2 since we use branch-on-register
1134 tests which consider the entire 64-bit register.
1136 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1138 * string/test-strstr.c (check2): Add a test for page boundary.
1140 2012-10-05 David S. Miller <davem@davemloft.net>
1142 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1148 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1149 and bzero when HWCAP_SPARC_CRYPTO is present.
1151 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1154 * string/test-strstr.c (check2): New function.
1155 (test_main): Call check2.
1157 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1159 * string/bug-strcasestr1.c (do_test): Moved to ...
1160 * string/test-strcasestr.c (check1): Here. New function.
1161 (do_one_test): Break out result checking code into ...
1162 (check_result): This. New function.
1163 (do_one_test): Call check_result.
1164 (test_main): Call check1.
1165 * string/bug-strchr1.c (do_test): Moved to ...
1166 * string/test-strchr.c (check1): Here. New function.
1167 (do_one_test): Break out result checking code into ...
1168 (check_result): This. New function.
1169 (do_one_test): Call check_result.
1170 (test_main): Call check1.
1171 * string/bug-strstr1.c (main): Moved to ...
1172 * string/test-strchr.c (check1): Here. New function.
1173 (do_one_test): Break out result checking code into ...
1174 (check_result): This. New function.
1175 (do_one_test): Call check_result.
1176 (test_main): Call check1.
1177 * string/bug-strcasestr1.c: Removed.
1178 * string/bug-strchr1.c: Likewise.
1179 * string/bug-strstr1.c: Likewise.
1181 * elf/Makefile (dl-routines): Add hwcaps.
1182 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1183 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1184 (_dl_important_hwcaps): Moved to ...
1185 * elf/dl-hwcaps.c: Here. New file.
1186 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1189 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1190 if IS_IN_rtld isn't defined.
1192 * elf/dl-support.c (_dl_sysinfo_map): New.
1193 Include "get-dynamic-info.h" and "setup-vdso.h".
1194 (_dl_non_dynamic_init): Call setup_vdso.
1195 * elf/dynamic-link.h: Don't include <assert.h>.
1196 (elf_get_dynamic_info): Moved to ...
1197 * elf/get-dynamic-info.h: Here. New file.
1198 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1199 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1200 * elf/setup-vdso.h: Here. New file.
1201 * elf/rtld.c: Include "setup-vdso.h".
1202 (dl_main): Call setup_vdso.
1204 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1206 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1207 creal in comment listing functions tested. List finite, isinf,
1208 isnan, isless, islessequal, isgreater, isgreaterequal,
1209 islessgreater, isunordered, lgamma_r and pow10 as functions and
1210 macros not tested. Mention which functions not tested are aliases
1211 for other functions. Fix typo. Note that signs of NaNs are not
1214 * scripts/config.guess: Update from config.git.
1215 * scripts/config.sub: Likewise.
1217 2012-10-04 Roland McGrath <roland@hack.frob.com>
1219 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1220 * misc/madvise.c (madvise): Renamed to __madvise.
1221 Make madvise a weak alias.
1222 * include/sys/mman.h: Declare __madvise.
1223 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1224 * sysdeps/unix/syscalls.list
1225 (madvise): Make __madvise the strong name, and madvise a weak alias.
1226 * sysdeps/unix/sysv/linux/syscalls.list
1227 (madvise, mmap): Remove redundant entries.
1228 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1229 * malloc/malloc.c (mtrim): Likewise.
1230 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1232 2012-10-03 Roland McGrath <roland@hack.frob.com>
1234 * sysdeps/mach/hurd/dl-cache.c: File removed.
1235 * config.h.in (USE_LDCONFIG): New #undef.
1236 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1237 * configure: Regenerated.
1238 * elf/Makefile (dl-routines): Add dl-cache only under
1239 [$(use-ldconfig) = yes].
1240 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1241 cache on [USE_LDCONFIG].
1242 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1244 * elf/rtld.c (dl_main): Likewise.
1246 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1248 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1249 _SC_LEVEL4_CACHE_LINESIZE.
1251 2012-10-03 Roland McGrath <roland@hack.frob.com>
1253 * sysdeps/unix/bsd/confstr.h: File removed.
1255 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1257 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1260 2012-10-02 Roland McGrath <roland@hack.frob.com>
1262 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1263 Make 'mapoff' field ElfW(Off) rather than off_t.
1265 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1267 * nscd/Makefile: Remove nscd-cflags and all its users.
1268 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1269 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1272 * malloc.c (malloc_printerr): Clarify error message.
1274 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1278 Set bit_FMA_Usable if FMA is supported.
1279 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1281 (bit_FMA4_Usable): Updated.
1282 (index_FMA_Usable): New macro.
1283 (CPUID_FMA): Likewise
1284 (HAS_FMA): Defined with bit_FMA_Usable.
1286 2012-10-01 Roland McGrath <roland@hack.frob.com>
1288 * bits/types.h (__swblk_t): Type removed.
1289 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1290 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1292 (__SWBLK_T_TYPE): Likewise.
1293 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1294 (__SWBLK_T_TYPE): Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1296 (__SWBLK_T_TYPE): Likewise.
1297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1298 (__SWBLK_T_TYPE): Likewise.
1300 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1301 Honza Horak <hhorak@redhat.com>
1303 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1304 (xdr_mapname): Use YPMAXMAP as maxsize.
1305 (xdr_peername): Use YPMAXPEER as maxsize.
1306 (xdr_keydat): Use YPAXRECORD as maxsize.
1307 (xdr_valdat): Use YPMAXRECORD as maxsize.
1309 2012-10-01 Roland McGrath <roland@hack.frob.com>
1311 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1313 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1314 * csu/init-first.c: ... here.
1315 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1316 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1319 * sysdeps/i386/init-first.c: File removed.
1320 * sysdeps/sh/init-first.c: File removed.
1322 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1326 if x * y might underflow to zero and z is zero.
1327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1329 * math/libm-test.inc (min_subnorm_value): New variable.
1330 (fma_test): Add more tests.
1331 (fma_test_towardzero): Likewise.
1332 (fma_test_downward): Likewise
1333 (fma_test_upward): Likewise.
1334 (initialize): Set min_subnorm_value.
1336 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1342 mode for addition resulting in exact zero.
1343 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1348 * math/libm-test.inc (fma_test): Add more tests.
1349 (fma_test_towardzero): New function.
1350 (fma_test_downward): Likewise.
1351 (fma_test_upward): Likewise.
1352 (main): Call the new functions.
1354 2012-09-28 David S. Miller <davem@davemloft.net>
1356 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1358 2012-09-28 Roland McGrath <roland@hack.frob.com>
1360 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1363 * sysdeps/gnu/_G_config.h: Moved to ...
1364 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1365 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1366 * sysdeps/generic/_G_config.h: ... here.
1368 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1370 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1372 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1373 Conditionalize target on [libnss_test1.so-version].
1375 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1377 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1378 (elfobjdir): Move out of conditionals.
1380 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1381 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1382 (__nss_lookup_function): Conditionalize label remove_from_tree on
1383 [!DO_STATIC_NSS || SHARED], matching its only use.
1385 2012-09-28 David S. Miller <davem@davemloft.net>
1387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1390 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1392 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1394 when HWCAP_SPARC_CRYPTO is present.
1396 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1398 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1400 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1403 * stdio-common/vfprintf.c (process_string_arg): Revert
1406 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1408 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1410 * stdio-common/tst-sprintf.c: Include <locale.h>
1411 (main): Test sprintf's handling of incomplete multibyte
1414 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1416 * elf/dl-runtime.c (VERSYMIDX): Removed.
1417 * elf/dl-version.c (VERSYMIDX): Likewise.
1418 * elf/do-rel.h (VERSYMIDX): Likewise.
1420 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1421 * elf/rtld.c (VALIDX): Likewise.
1422 (ADDRIDX): Likewise.
1423 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1424 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1425 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1426 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1428 (ADDRIDX): Likewise.
1430 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1432 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1434 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1437 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1439 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1440 addresses are in the same scope as 192.0.2/24.
1441 * posix/gai.conf: Document new scope table defaults.
1443 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1446 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1447 for ftell. Compute offsets from write pointers instead.
1448 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1450 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1453 * libio/Makefile (tests): New test case tst-fseek.
1454 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1455 combination works in wide mode.
1456 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1457 state when the external buffer state changes.
1459 2012-09-27 David S. Miller <davem@davemloft.net>
1462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1463 pass reloc->r_addend in as the 'high' argument to
1464 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1468 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1470 * rt/tst-aio2.c: Include <pthread.h>.
1471 * rt/tst-aio3.c: Likewise.
1473 2012-09-27 Steve Ellcey <sellcey@mips.com>
1475 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1477 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1479 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1480 contents on [SHARED].
1482 2012-09-26 Marek Polacek <polacek@redhat.com>
1486 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1487 for C++ and GCC <4.3 as well as for non GCC compilers.
1489 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1493 2012-09-25 Roland McGrath <roland@hack.frob.com>
1495 * Makefile.in (all, install): Declare with .PHONY.
1496 Reported by Michael Hope <michael.hope@linaro.org>.
1498 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1500 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1501 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1503 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1505 (sydep_routines): Add the new and the internal functions.
1506 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1509 (GLIBC_2.17): Add the new function.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1511 (GLIBC_2.17): Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1513 (GLIBC_2.17): Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1515 (GLIBC_2.17): Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1518 2012-09-25 Alan Modra <amodra@gmail.com>
1520 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1521 Add release barrier before setting once_control to say
1522 initialisation is done. Add hints on lwarx. Use macro in
1524 (clear_once_control): Add release barrier.
1526 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1529 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1531 * math/s_clog10.c (__clog10): Likewise.
1532 * math/s_clog10f.c (__clog10f): Likewise.
1533 * math/s_clog10l.c (__clog10l): Likewise.
1534 * math/s_clogf.c (__clogf): Likewise.
1535 * math/s_clogl.c (__clogl): Likewise.
1536 * math/Makefile (libm-calls): Add x2y2m1.
1537 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1538 (__x2y2m1): Likewise.
1539 (__x2y2m1l): Likewise.
1540 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1541 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1544 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1545 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1546 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1547 * sysdeps/i386/fpu/libm-test-ulps: Update.
1548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1552 int as type of variable DEPTH.
1553 (glob): Use size_t instead of int as type of variables NEWCOUNT
1556 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1558 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1560 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1561 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1562 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1563 macros for using routine as __sincosf_ia32.
1564 Use macro for function declaration and weak_alias.
1565 * sysdeps/i386/fpu/libm-test-ulps: Update.
1567 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1570 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1572 * math/s_cexpf.c (__cexpf): Likewise.
1573 * math/s_csinf.c (__csinf): Likewise.
1574 * math/s_csinhf.c (__csinhf): Likewise.
1575 * math/s_ctanf.c (__ctanf): Likewise.
1576 * math/s_ctanhf.c (__ctanhf): Likewise.
1577 * math/s_ccosh.c (__ccoshf): Likewise.
1578 * math/s_cexp.c (__cexpl): Likewise.
1579 * math/s_csin.c (__csin): Likewise.
1580 * math/s_csinh.c (__csinh): Likewise.
1581 * math/s_ctan.c (__ctan): Likewise.
1582 * math/s_ctanh.c (ctanh): Likewise.
1583 * math/s_ccoshl.c (__ccoshl): Likewise.
1584 * math/s_cexpl.c (__cexpl): Likewise.
1585 * math/s_csinl.c (__csinl): Likewise.
1586 * math/s_csinhl.c (__csinhl): Likewise.
1587 * math/s_ctanl.c (__ctanl): Likewise.
1588 * math/s_ctanhl.c (__ctanhl): Likewise.
1590 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1592 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1593 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1594 (_IO_off_t): Define to __off_t, not _G_off_t.
1595 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1596 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1597 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1598 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1599 type of __dummy and __dummy2 fields.
1600 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1601 (_G_ssize_t): Likewise.
1602 (_G_off_t): Likewise.
1603 (_G_pid_t): Likewise.
1604 (_G_uid_t): Likewise.
1605 (_G_wchar_t): Likewise.
1606 (_G_wint_t): Likewise.
1607 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1608 (_G_ssize_t): Likewise.
1609 (_G_off_t): Likewise.
1610 (_G_pid_t): Likewise.
1611 (_G_uid_t): Likewise.
1612 (_G_wchar_t): Likewise.
1613 (_G_wint_t): Likewise.
1614 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1615 (_G_ssize_t): Likewise.
1616 (_G_off_t): Likewise.
1617 (_G_pid_t): Likewise.
1618 (_G_uid_t): Likewise.
1619 (_G_wchar_t): Likewise.
1620 (_G_wint_t): Likewise.
1622 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1624 * malloc/arena.c: Include malloc-sysdep.h.
1625 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1626 is sufficient to shrink the heap or an unmap is needed.
1627 * sysdeps/generic/malloc-sysdep.h: New file. Define
1628 new function check_may_shrink_heap.
1629 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1630 new function check_may_shrink_heap.
1632 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1634 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1637 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1639 * catgets/test-gencat.sh: Add "set -e".
1640 * elf/tst-pathopt.sh: Likewise.
1641 * grp/tst_fgetgrent.sh: Likewise.
1642 * iconvdata/run-iconv-test.sh: Likewise.
1643 * intl/tst-gettext.sh: Likewise.
1644 * intl/tst-gettext2.sh: Likewise.
1645 * intl/tst-gettext4.sh: Likewise.
1646 * intl/tst-gettext6.sh: Likewise.
1647 * intl/tst-translit.sh: Likewise.
1648 * io/ftwtest-sh: Likewise.
1649 * libio/test-freopen.sh: Likewise.
1650 * malloc/tst-mtrace.sh: Likewise.
1651 * posix/globtest.sh: Likewise.
1652 * posix/tst-getconf.sh: Likewise.
1653 * posix/wordexp-tst.sh: Likewise.
1654 * stdio-common/tst-printf.sh: Likewise.
1655 * stdio-common/tst-unbputc.sh: Likewise.
1656 * stdlib/tst-fmtmsg.sh: Likewise.
1657 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1658 * catgets/Makefile: Do not specify -e option when running
1659 testsuite shell scripts.
1660 * elf/Makefile: Likewise.
1661 * grp/Makefile: Likewise.
1662 * iconvdata/Makefile: Likewise.
1663 * intl/Makefile: Likewise.
1664 * io/Makefile: Likewise.
1665 * libio/Makefile: Likewise.
1666 * malloc/Makefile: Likewise.
1667 * posix/Makefile: Likewise.
1668 * stdio-common/Makefile: Likewise.
1669 * stdlib/Makefile: Likewise.
1670 * sysdeps/x86_64/Makefile: Likewise.
1672 * io/ftwtest-sh: Add copyright header.
1673 * posix/globtest.sh: Likewise.
1674 * posix/tst-getconf.sh: Likewise.
1675 * posix/wordexp-tst.sh: Likewise.
1676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1678 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1681 * Makeconfig (+link): Defined as $(+link-static) if
1682 $(build-shared) isn't yes.
1683 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1685 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1687 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1690 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1691 new chunk size with MALLOC_ALIGN_MASK.
1693 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1696 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1698 (__printf_fphex): Determine rounding using get_rounding_mode and
1700 * stdio-common/tst-printf-round.c (struct hex_test): New
1702 (hex_tests): New variable.
1703 (test_hex_in_one_mode): New function.
1704 (do_test): Also run tests for hex float output.
1706 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1708 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1709 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1710 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1711 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1712 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1713 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1714 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1717 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1719 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1720 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1721 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1722 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1724 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1727 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1729 * elf/tst-rtld-load-self.sh: New test.
1730 * elf/Makefile: Run it.
1732 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1734 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1735 (tst-writev-ENV): Remove.
1736 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1738 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1740 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1742 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1744 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1746 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1748 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1749 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1753 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1756 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1757 * config.make.in (have-cpp-asm-debuginfo): Removed.
1758 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1759 * configure: Regenerated.
1761 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1764 * stdio-common/printf_fp.c: Include <stdbool.h> and
1766 (___printf_fp): Determine rounding using get_rounding_mode and
1768 * stdio-common/tst-printf-round.c: New file.
1769 * stdio-common/Makefile (tests): Add tst-printf-round.
1770 (link-libm): New variable.
1771 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1773 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1776 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1777 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1779 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1782 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1784 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1785 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1786 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1787 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1789 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1792 * include/rounding-mode.h: New file.
1793 * sysdeps/generic/get-rounding-mode.h: Likewise.
1794 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1795 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1796 (MAX_VALUE): New macro.
1797 (MIN_VALUE): Likewise.
1798 (overflow_value): New function.
1799 (underflow_value): Likewise.
1800 (round_and_return): Use overflow_value and underflow_value to
1801 determine return values in overflow and underflow cases. Use
1802 round_away to determine rounding depending on rounding mode.
1803 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1804 determine return values in overflow and underflow cases.
1805 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1806 (struct test_results): New structure.
1807 (struct test): Use struct test_results to store expected results
1808 for all rounding modes.
1809 (TEST): Include expected results for all rounding modes.
1810 (test_in_one_mode): New function.
1811 (do_test): Use test_in_one_mode to compute and check results.
1812 Check results for all rounding modes.
1813 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1816 2012-12-09 Allan McRae <allan@archlinux.org>
1818 * sysdeps/i386/fpu/libm-test-ulps: Update
1820 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1822 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1823 (_G_int32_t): Likewise.
1824 (_G_uint16_t): Likewise.
1825 (_G_uint32_t): Likewise.
1826 (_G_HAVE_BOOL): Likewise.
1827 (_G_HAVE_ATEXIT): Likewise.
1828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1829 (_G_HAVE_IO_FILE_OPEN): Likewise.
1830 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1831 (_G_int32_t): Likewise.
1832 (_G_uint16_t): Likewise.
1833 (_G_uint32_t): Likewise.
1834 (_G_HAVE_BOOL): Likewise.
1835 (_G_HAVE_ATEXIT): Likewise.
1836 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1837 (_G_HAVE_IO_FILE_OPEN): Likewise.
1838 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1839 (_G_int32_t): Likewise.
1840 (_G_uint16_t): Likewise.
1841 (_G_uint32_t): Likewise.
1842 (_G_HAVE_BOOL): Likewise.
1843 (_G_HAVE_ATEXIT): Likewise.
1844 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1845 (_G_HAVE_IO_FILE_OPEN): Likewise.
1847 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1849 * csu/libc-tls.c: Update copyright years.
1851 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1853 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1854 [!_G_USING_THUNKS]: Remove conditional code.
1855 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1856 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1858 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1859 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1860 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1861 (_G_VTABLE_LABEL_PREFIX): Likewise.
1862 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1863 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1865 (_G_VTABLE_LABEL_PREFIX): Likewise.
1866 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1867 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1868 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1869 (_G_VTABLE_LABEL_PREFIX): Likewise.
1870 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1872 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1874 * libio/Makefile: Include ../Makeconfig before tests.
1875 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1876 only if $(build-shared) is yes.
1878 * iconv/gconv_db.c: Update copyright years.
1880 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1882 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1883 unwind info if defined PIC. Fix special cases description.
1884 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1886 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1888 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1890 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1892 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1894 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1897 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1898 (LDLIBS-tst-chk4): This.
1899 (LDFLAGS-tst-chk5): Renamed to ...
1900 (LDLIBS-tst-chk5): This.
1901 (LDFLAGS-tst-chk6): Renamed to ...
1902 (LDLIBS-tst-chk6): This.
1903 (LDFLAGS-tst-lfschk4): Renamed to ...
1904 (LDLIBS-tst-lfschk4): This.
1905 (LDFLAGS-tst-lfschk5): Renamed to ...
1906 (LDLIBS-tst-lfschk5): This.
1907 (LDFLAGS-tst-lfschk6): Renamed to ...
1908 (LDLIBS-tst-lfschk6): This.
1910 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1911 on $(common-objpfx)soversions.mk.
1913 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1916 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1919 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1921 * malloc/arena.c (arena_get_retry): New function that gets
1922 another arena for the caller to try its request on.
1923 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1924 current arena cannot fulfill the request.
1925 (__libc_memalign): Likewise.
1926 (__libc_memalign): Likewise.
1927 (__libc_pvalloc): Likewise.
1928 (__libc_calloc): Likewise.
1930 2012-09-05 John Tobey <john.tobey@gmail.com>
1933 * manual/arith.texi (Operations on Complex): Fix description
1936 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1939 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1943 * manual/memory.texi (Memory): Make order of menu items match
1946 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1948 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1949 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1950 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1952 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1954 * csu/libc-tls.c (static_dtv): Renamed to ...
1955 (_dl_static_dtv): This. Make it global.
1956 (_dl_initial_dtv): Removed.
1957 (__libc_setup_tls): Updated.
1958 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1959 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1962 2012-09-06 Petr Machata <pmachata@redhat.com>
1964 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1965 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1966 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1967 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1969 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1972 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1973 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1976 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1979 * Makeconfig (link-static-before-libc): Replace $(+prector)
1981 (link-static-after-libc): Replace $(+postctor) with
1983 (link-bounded): Replace $(+prector)/$(+postctor) with
1984 $(+prectorT)/$(+postctorT).
1985 (+prectorT): New macro.
1986 (+postctorT): Likewise.
1988 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1990 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1991 (round_str): Handle values above the maximum for IBM long double
1993 * stdlib/tst-strtod-round.c (tests): Regenerated.
1995 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1997 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1999 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2000 zarch_nohighgprs around the zarch optimized routines.
2001 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2002 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2006 2012-09-05 David S. Miller <davem@davemloft.net>
2008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2010 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2011 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2012 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2013 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2018 * malloc/arena.c: Fold copyright years.
2019 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2021 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2023 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2025 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2027 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2029 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2031 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2032 change internal state upon failure.
2034 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2036 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2037 * malloc/memusage.c (mmap): Likewise.
2038 (mmap64, mremap): Likewise. Adjust name in comment.
2040 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2042 * libio/fileops.c: Fix typos in comments.
2043 * libio/oldfileops.c: Likewise.
2044 * libio/wfileops.c: Likewise.
2046 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2049 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2050 (tst-malloc-usable-ENV): Set environment for test case.
2051 * malloc/hooks.c (malloc_check_get_size): New function to get
2053 * malloc/malloc.c (musable): Use malloc_check_get_size.
2054 * malloc/tst-malloc-usable.c: New test case.
2056 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2058 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2060 2012-09-05 Allan McRae <allan@archlinux.org>
2063 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2064 determine header location.
2065 * configure: Regenerated.
2067 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2069 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2071 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2072 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2076 2012-09-04 David S. Miller <davem@davemloft.net>
2078 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2079 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2082 2012-09-04 Florian Weimer <fweimer@redhat.com>
2084 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2087 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2089 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2092 * libio/iogetdelim.c: Include <limits.h>.
2093 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2094 + len + 1 would overflow.
2096 2012-09-03 Andreas Jaeger <aj@suse.de>
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2099 * sysdeps/i386/fpu/libm-test-ulps: Update.
2101 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2103 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2104 Add s_sinf-sse2, s_conf-sse2.
2106 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2107 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2108 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2109 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2111 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2112 for using routine as __sinf_ia32.
2113 Use macro for function declaration and weak_alias.
2114 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2115 for using routine as __cosf_ia32.
2116 Use macro for function declaration and weak_alias.
2118 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2119 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2121 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2122 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2125 * math/libm-test.inc (cos_test): Add more test cases.
2126 (sin_test): Likewise.
2127 (sincos_test): Likewise.
2129 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2132 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2136 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2139 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2140 first element of the GOT.
2141 (elf_machine_load_address): Return the difference between
2142 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2144 2012-09-01 Allan McRae <allan@archlinux.org>
2147 * configure.in (AWK): Require gawk version 3.0 or later.
2148 * configure: Regenerated.
2150 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/unix/sysv/linux/kernel-features.h
2153 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2155 [__NR_clock_getres]: Make code unconditional.
2156 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2157 (clock_getcpuclockid): Remove code left unreachable by removal of
2159 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2161 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2162 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2163 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2164 Make code unconditional.
2165 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2166 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2167 * sysdeps/unix/sysv/linux/clock_settime.c
2168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2170 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2173 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2176 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2177 scripts/test-installation.pl.
2179 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2180 and $ld_so_version if it is set.
2182 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2186 failure if reading from procfs failed.
2187 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2189 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2191 * sysdeps/unix/sysv/linux/kernel-features.h
2192 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2193 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2194 Remove conditional code.
2195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2196 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2197 Remove conditional code.
2198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2199 * sysdeps/unix/sysv/linux/i386/fxstat.c
2200 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2202 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2203 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2205 * sysdeps/unix/sysv/linux/i386/lxstat.c
2206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2208 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2209 Remove conditional code.
2210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2211 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2212 Remove conditional code.
2213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2214 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2215 <kernel-features.h>.
2216 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2218 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2219 Remove conditional code.
2220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2221 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2224 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2227 * NEWS: Add fixed bug number.
2229 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2232 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2233 underflowing exponent in case of negative sign.
2234 * stdlib/tst-strtod-round-data: Add more tests.
2235 * stdlib/tst-strtod-round.c (tests): Regenerated.
2238 * stdlib/strtod_l.c (NDIG): Remove.
2239 (HEXNDIG): Likewise.
2240 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2241 smallest representable value.
2242 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2243 lie within an exact representation of 1/2 ulp of the result.
2244 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2246 (TENS_P9_IDX): Define unconditionally.
2247 (TENS_P9_SIZE): Likewise.
2248 (TENS_P10_IDX): Likewise.
2249 (TENS_P10_SIZE): Likewise.
2250 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2251 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2252 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2253 entries for 10^2^13 and 10^2^14.
2254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2255 (TENS_P13_IDX): Define.
2256 (TENS_P13_SIZE): Likewise.
2257 (TENS_P14_IDX): Likewise.
2258 (TENS_P14_SIZE): Likewise.
2259 (_fpioconst_pow10): Change array size to
2260 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2262 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2263 1024]: Add entries for 10^2^13 and 10^2^14.
2264 [LAST_POW10 > _LAST_POW10]: Remove #error.
2265 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2266 (_fpioconst_pow10): Change array size to
2267 FPIOCONST_POW10_ARRAY_SIZE.
2268 * stdlib/gen-fpioconst.c: New file.
2269 * stdlib/gen-tst-strtod-round.c: Likewise.
2270 * stdlib/tst-strtod-round-data: Likewise.
2271 * stdlib/tst-strtod-round.c: Likewise.
2272 * stdlib/Makefile (tests): Add tst-strtod-round.
2275 * stdlib/strtod_l.c: Include <stdint.h>.
2276 (NDEBUG): Do not define.
2277 (round_and_return): Change EXPONENT parameter to type intmax_t.
2278 Rearrange calculations to avoid internal overflow possibilities.
2279 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2280 Rearrange calculations to avoid internal overflow possibilities.
2281 Assert that number fits inside MPNSIZE limbs.
2282 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2283 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2284 calculations and add assertions to avoid internal overflow
2285 possibilities. Add casts to avoid signed/unsigned operations.
2286 * stdlib/tst-strtod-overflow.c: New file.
2287 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2289 2012-08-25 Marek Polacek <polacek@redhat.com>
2291 * time/time.h: Fix some typos in comments.
2293 2012-08-23 Roland McGrath <roland@hack.frob.com>
2295 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2296 * posix/tst-rfc3484-2.c: Likewise.
2297 * posix/tst-rfc3484-3.c: Likewise.
2299 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2301 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2302 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2304 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2306 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2307 #include of fxstatat64.c.
2309 2012-08-22 Roland McGrath <roland@hack.frob.com>
2311 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2312 * shadow/getspent_r.c: Likewise.
2313 * shadow/getspnam.c: Likewise.
2314 * shadow/getspnam_r.c: Likewise.
2315 * gshadow/getsgent.c: Likewise.
2316 * gshadow/getsgent_r.c: Likewise.
2317 * gshadow/getsgnam.c: Likewise.
2318 * gshadow/getsgnam_r.c: Likewise.
2319 * inet/getnetbyad.c: Likewise.
2320 * inet/getnetbyad_r.c: Likewise.
2321 * inet/getnetbynm.c: Likewise.
2322 * inet/getnetbynm_r.c: Likewise.
2323 * inet/getnetent.c: Likewise.
2324 * inet/getnetent_r.c: Likewise.
2325 * inet/getproto.c: Likewise.
2326 * inet/getproto_r.c: Likewise.
2327 * inet/getprtent.c: Likewise.
2328 * inet/getprtent_r.c: Likewise.
2329 * inet/getprtname.c: Likewise.
2330 * inet/getprtname_r.c: Likewise.
2331 * inet/getrpcbyname.c: Likewise.
2332 * inet/getrpcbyname_r.c: Likewise.
2333 * inet/getrpcbynumber.c: Likewise.
2334 * inet/getrpcbynumber_r.c: Likewise.
2335 * inet/getrpcent.c: Likewise.
2336 * inet/getrpcent_r.c: Likewise.
2337 * inet/getaliasent.c: Likewise.
2338 * inet/getaliasent_r.c: Likewise.
2339 * inet/getaliasname.c: Likewise.
2340 * inet/getaliasname_r.c: Likewise.
2341 * nscd/getgrgid_r.c: Likewise.
2342 * nscd/getgrnam_r.c: Likewise.
2343 * nscd/gethstbyad_r.c: Likewise.
2344 * nscd/gethstbynm3_r.c: Likewise.
2345 * nscd/getpwnam_r.c: Likewise.
2346 * nscd/getpwuid_r.c: Likewise.
2347 * nscd/getsrvbynm_r.c: Likewise.
2348 * nscd/getsrvbypt_r.c: Likewise.
2349 * nscd/gai.c: Likewise.
2351 * configure.in (build_nscd): New substituted variable, set
2352 by --disable-build-nscd and defaults to $use_nscd.
2353 * configure: Regenerated.
2354 * config.make.in (build-nscd): New substituted variable.
2355 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2356 Change conditional to require [$(build-nscd) = yes] as well.
2357 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2360 * configure.in (use_nscd): New substituted variable, set by
2361 --disable-nscd. If enabled, define USE_NSCD.
2362 * configure: Regenerated.
2363 * config.h.in: Add USE_NSCD.
2364 * config.make.in (use-nscd): New substituted variable.
2365 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2366 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2367 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2368 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2369 (CFLAGS-getgrnam_r.c): Likewise.
2370 (CFLAGS-initgroups.c): Likewise.
2371 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2372 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2374 * inet/getnetgrent_r.c
2375 (nscd_setnetgrent): New function, broken out of ...
2376 (setnetgrent): ... here. Call it.
2377 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2378 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2379 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2380 * nscd/Makefile (routines, aux): Move definitions after include of
2381 Makeconfig. Conditionalize on [$(use-nscd) != no].
2382 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2383 Conditionalize on [USE_NSCD].
2384 (is_nscd, nscd_init_cb): Likewise.
2385 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2386 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2387 * nss/nss_db/db-init.c: Likewise.
2388 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2390 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2391 (make_request): Use it.
2392 (cache_valid_p): New function.
2393 (__check_pf): Use it.
2394 * NEWS: Add item for --disable-nscd.
2396 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2398 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2399 to support sed >= 4.2.1-20-ga9bf076.
2400 * configure: Regenerated.
2402 2012-08-22 Roland McGrath <roland@hack.frob.com>
2404 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2405 Conditionalize whole body on [IREL].
2407 2012-08-22 Jeff Law <law@redhat.com>
2410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2411 if the family is PF_UNSPEC.
2413 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2415 * Makerules (lib-version): Rename from V.
2416 (install-lib-nosubdir): Change V to lib-version.
2418 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2421 * powerpc32/power6/wcschr.c: New file.
2422 * powerpc32/power6/wcscpy.c: New file.
2423 * powerpc32/power6/wcsrchr.c: New file.
2424 * powerpc64/power6/wcschr.c: New file.
2425 * powerpc64/power6/wcscpy.c: New file.
2426 * powerpc64/power6/wcsrchr.c: New file.
2428 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2430 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2431 (two_way_short_needle): Use it.
2432 * string/strstr.c (AVAILABLE1_USES_J): Define.
2433 * string/strcasestr.c: Likewise.
2435 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2437 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2440 * NEWS: Add an entry.
2441 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2442 define their defaults.
2443 (two_way_short_needle): Detect end-of-string on-the-fly.
2444 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2445 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2446 * string/bug-strcasestr1.c: New test.
2447 * string/Makefile: Run it.
2449 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2452 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2453 the first character.
2455 2012-08-21 Roland McGrath <roland@hack.frob.com>
2457 * csu/elf-init.c (__libc_csu_irel): Function removed.
2458 * csu/libc-start.c (apply_irel): New function.
2459 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2461 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2463 * sysdeps/unix/sysv/linux/kernel-features.h
2464 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2465 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2466 <kernel-features.h>.
2467 [__NR_fadvise64_64]: Make code unconditional.
2468 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2469 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2470 !__NR_fadvise64_64)]: Likewise.
2471 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2472 !__NR_fadvise64_64))]: Likewise.
2473 [__NR_fadvise64]: Make code unconditional.
2474 [!__NR_fadvise64]: Remove conditional code.
2475 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2476 <kernel-features.h>.
2477 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2479 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2482 not include <kernel-features.h>.
2483 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2485 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2487 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2488 include <kernel-features.h>.
2489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2494 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2497 slight instruction rearrangements per scrollpipe analysis.
2498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2500 2012-08-20 Roland McGrath <roland@hack.frob.com>
2502 * manual/syslog.texi (syslog; vsyslog, closelog):
2503 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2504 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2506 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2507 DSOCAPS to match condition on defining it.
2509 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2511 * sysdeps/unix/sysv/linux/kernel-features.h
2512 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2514 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2515 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2517 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2518 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2523 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2524 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2526 * sysdeps/unix/sysv/linux/kernel-features.h
2527 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2528 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2530 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2531 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2532 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2533 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2534 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2535 Make code unconditional.
2536 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2537 (__mmap64) [!__NR_mmap2]: Likewise.
2538 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2539 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2540 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2542 [__NR_mmap2]: Make code unconditional.
2543 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2544 (__mmap64) [!__NR_mmap2]: Likewise.
2546 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2548 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2550 2012-08-18 Andreas Jaeger <aj@suse.de>
2552 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2554 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2556 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2557 * include/unistd.h (__have_sock_cloexec): Likewise.
2558 (__have_pipe2): Likewise.
2559 (__have_dup3): Likewise.
2561 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2564 * include/unistd.h (__have_pipe2): Change define into an extern int.
2565 (__have_dup3): Likewise.
2566 * socket/have_sock_cloexec.c: Include fcntl.h.
2567 (__have_pipe2): New variable.
2568 (__have_dup3): Likewise.
2570 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2572 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2574 2012-08-17 Marek Polacek <polacek@redhat.com>
2576 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2577 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2579 2012-08-17 Roland McGrath <roland@hack.frob.com>
2581 * configure.in: Add AC_SUBST for sysheaders.
2582 * configure: Regenerated.
2583 * config.make.in (sysheaders): New substituted variable.
2585 * sysdeps/unix/mkfifo.c: Moved ...
2586 * sysdeps/posix/mkfifo.c: ... here.
2587 * sysdeps/unix/mkfifoat.c: Moved ...
2588 * sysdeps/posix/mkfifoat.c: ... here.
2590 * sysdeps/unix/utime.c: Moved ...
2591 * sysdeps/posix/utime.c: ... here.
2593 * sysdeps/unix/time.c: Moved ...
2594 * sysdeps/posix/time.c: ... here.
2595 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2596 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2598 * sysdeps/unix/nice.c: Moved ...
2599 * sysdeps/posix/nice.c: ... here.
2601 * sysdeps/unix/alarm.c: Moved ...
2602 * sysdeps/posix/alarm.c: ... here.
2604 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2606 2012-08-17 Jeff Law <law@redhat.com>
2608 * intl/Makefile (codeset_mo): New variable.
2609 ($(codeset_mo)): New target.
2610 (tst-codeset.out): Depend on that. Remove explicit rule.
2611 (tst-gettext3.out, tst-gettext5.out): Likewise.
2612 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2613 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2614 * intl/tst-codeset.sh: Remove.
2615 * intl/tst-gettext3.sh: Likewise.
2616 * intl/tst-gettext5.sh: Likewise.
2618 2012-08-17 Roland McGrath <roland@hack.frob.com>
2620 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2621 * sysdeps/unix/syscalls.list: ... here.
2623 * sysdeps/posix/getaddrinfo.c
2624 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2625 (gaiconf_init, gaiconf_reload): Use them.
2627 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2628 Define using time_t rather than struct timespec.
2630 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2631 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2633 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2635 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2636 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2640 __libc_cleanup_push argument.
2642 * bits/param.h: New file.
2643 * misc/sys/param.h: New file.
2644 * include/sys/param.h: New file.
2645 * misc/Makefile (headers): Add bits/param.h.
2646 * sysdeps/generic/sys/param.h: File removed.
2647 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2648 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2649 * sysdeps/mach/hurd/bits/param.h: New file.
2650 * sysdeps/mach/hurd/sys/param.h: File removed.
2652 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2655 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2657 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2658 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2661 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2662 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2663 rather than -D_IO_MTSAFE_IO conditionally.
2664 * stdio-common/Makefile (CPPFLAGS): Likewise.
2665 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2666 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2667 Use $(libio-mtsafe).
2668 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2670 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2671 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2672 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2673 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2674 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2675 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2676 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2677 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2678 (CFLAGS-fread_u_chk.c): Likewise.
2679 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2680 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2681 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2682 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2683 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2684 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2685 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2686 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2687 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2689 * libio/Makefile: Test [$(libc-reentrant) = yes]
2690 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2693 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2694 * sysdeps/pthread/configure: File removed.
2695 * sysdeps/pthread/Makeconfig: New file.
2696 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2697 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2699 2012-08-16 Gary Benson <gbenson@redhat.com>
2701 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2702 unmapping the first object in a namespace.
2704 2012-08-16 Roland McGrath <roland@hack.frob.com>
2706 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2707 (__internal_setnetgrent): ... this. Add internal_function to
2708 definition. Add libc_hidden_def.
2709 (setnetgrent): Update caller.
2710 (internal_endnetgrent): Renamed to ...
2711 (__internal_endnetgrent): ... this. Add internal_function to
2712 definition. Add libc_hidden_def.
2713 (endnetgrent): Update caller.
2714 (internal_getnetgrent_r): Renamed to ...
2715 (__internal_getnetgrent_r): ... this. Add internal_function to
2716 definition. Add libc_hidden_def.
2717 (__getnetgrent_r): Update caller.
2718 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2720 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2722 * stdlib/longlong.h: Update from GCC.
2724 2012-08-16 Roland McGrath <roland@hack.frob.com>
2726 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2727 on _QL, which is set by umul_ppmm but never used.
2728 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2729 variables, which are set by GMP macros but never used.
2730 * stdio-common/_itowa.c (_itowa): Likewise.
2731 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2732 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2734 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2736 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2737 struct La_sh_regs is not constant.
2738 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2739 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2740 and struct La_sparc64_regs are not constant.
2742 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2744 * sysdeps/unix/sysv/linux/kernel-features.h
2745 (__ASSUME_POSIX_TIMERS): Remove.
2746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2747 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2748 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2749 Make code unconditional.
2750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2751 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2752 Make code unconditional.
2753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2754 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2755 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2757 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2758 Make code unconditional.
2759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2761 (__libc_missing_posix_timers): Remove.
2763 2012-08-15 Roland McGrath <roland@hack.frob.com>
2765 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2766 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2768 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2770 * elf/dl-sym.c: Include <stdlib.h>.
2772 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2773 constants, which avoids warnings in 32-bit builds.
2775 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2776 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2778 * misc/lseek.c: File moved to ...
2779 * io/lseek.c: ... here.
2781 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2783 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2784 shifting LEN more than 31 bits at once.
2786 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2789 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2790 segmentation fault for a case of two empty input strings.
2791 * string/test-strncasecmp.c (check1): Renamed to...
2793 (bz14195): Add new testcase for two empty input strings and N > 0.
2794 (test_main): Call new testcase, adapt for renamed function.
2796 2012-08-15 Andreas Jaeger <aj@suse.de>
2799 * crypt/md5test2.c: New test, based on test supplied by Serge
2800 Belyshev <belyshev@depni.sinp.msu.ru>.
2801 * crypt/Makefile (xtests): Add md5test-giant..
2802 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2804 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2807 * crypt/md5.c (md5_process_block): Don't assume the buffer
2808 length is less than 2**32.
2809 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2810 length is less than 2**64.
2812 2012-08-15 Roland McGrath <roland@hack.frob.com>
2814 * string/str-two-way.h: Include <sys/param.h>.
2815 (MAX): Macro removed.
2817 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2818 Move #define and #undef of memmove to just before and after
2819 including <string.h>.
2821 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2822 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2823 and after including <string.h>. Move declarations of
2824 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2825 to before #include "string/memmove.c".
2827 * include/dirent.h: Declare __getdirentries.
2829 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2830 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2832 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2834 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2835 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2836 * sysdeps/i386/configure: Regenerated.
2837 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2838 STABS_CURRENT_FILE, and STABS_FUN.
2839 (END): Remove call to STABS_FUN_END.
2840 (STABS_CURRENT_FILE1): Delete.
2841 (STABS_CURRENT_FILE): Likewise.
2842 (STABS_FUN): Likewise.
2843 (STABS_FUN_END): Likewise.
2844 (STABS_FUN2): Likewise.
2845 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2846 * sysdeps/x86_64/configure: Regenerated.
2848 2012-08-14 Roland McGrath <roland@hack.frob.com>
2850 * elf/dl-open.c: Include <atomic.h>.
2851 * elf/dl-lookup.c: Likewise.
2853 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2855 * sysdeps/unix/sysv/linux/kernel-features.h
2856 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2857 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2859 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2861 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2862 condition on __ASSUME_CLONE_THREAD_FLAGS.
2864 2012-08-14 Andreas Jaeger <aj@suse.de>
2866 * sysdeps/i386/fpu/libm-test-ulps: Update.
2868 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2870 * include/atomic.h (atomic_exchange_and_add): Split into ...
2871 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2874 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2878 2012-08-13 Jeff Law <law@redhat.com>
2880 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2881 null byte in the output string.
2883 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2885 * sysdeps/unix/sysv/linux/kernel-features.h
2886 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2887 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2888 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2890 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2891 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2892 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2894 2012-08-09 Jeff Law <law@redhat.com>
2897 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2898 When avoid_arena is set, don't retry in the that arena. Pick the
2899 next one, whatever it might be.
2900 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2901 (arena_lock): Pass in new parameter to arena_get2.
2902 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2904 (__libc_malloc): Unify retrying after main arena failure with
2905 __libc_memalign version.
2906 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2908 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2911 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2912 to __redirect_strstr.
2913 (__strstr_sse42): Use typeof __redirect_strstr.
2914 (__strstr_ia32): Likewise.
2915 (__libc_strstr): New prototype.
2916 (strstr): Renamed to ...
2917 (__libc_strstr): This.
2918 (strstr): New strong alias of __libc_strstr.
2919 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2923 (__libc_time): New prototype.
2924 (time_ifunc): Replace time with __libc_time.
2925 (time): New strong alias and hidden definition of __libc_time.
2926 (__GI_time): Remove strong alias.
2927 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2929 (memmove): Redefined to __redirect_memmove.
2930 (__memmove_sse2): Use typeof __redirect_memmove.
2931 (__memmove_ssse3): Likewise.
2932 (__memmove_ssse3_back): Likewise.
2933 (__libc_memmove): New prototype.
2934 (memmove): Renamed to ...
2935 (__libc_memmove): This.
2936 (memmove): New strong alias of __libc_memmove.
2938 2012-08-08 Mark Salter <msalter@redhat.com>
2941 (R_MN10300_TLS_GD): Define.
2942 (R_MN10300_TLS_LD): Likewise.
2943 (R_MN10300_TLS_LDO): Likewise.
2944 (R_MN10300_TLS_GOTIE): Likewise.
2945 (R_MN10300_TLS_IE): Likewise.
2946 (R_MN10300_TLS_LE): Likewise.
2947 (R_MN10300_TLS_DTPMOD): Likewise.
2948 (R_MN10300_TLS_DTPOFF): Likewise.
2949 (R_MN10300_TLS_TPOFF): Likewise.
2950 (R_MN10300_SYM_DIFF): Likewise.
2951 (R_MN10300_ALIGN): Likewise.
2952 (R_MN10300_NUM): Update.
2954 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2959 2012-08-08 Roland McGrath <roland@hack.frob.com>
2961 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2963 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2964 sysdeps/unix -> sysdeps/posix move.
2965 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2967 2012-08-07 Allan McRae <allan@archlinux.org>
2970 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2971 (SUNOS_CPP): Likewise.
2972 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2974 (open_input): Call CPP using execvp.
2976 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2978 * sysdeps/unix/sysv/linux/kernel-features.h
2979 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2980 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2981 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2982 (__ASSUME_WAITID_SYSCALL): Likewise.
2983 * sysdeps/unix/sysv/linux/dl-execstack.c
2984 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2986 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2988 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2989 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2990 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2992 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2994 [__ASSUME_WAITID_SYSCALL]: Likewise.
2995 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2997 2012-08-07 Roland McGrath <roland@hack.frob.com>
2999 * sysdeps/unix/closedir.c: Renamed to ...
3000 * sysdeps/posix/closedir.c: ... here.
3001 * sysdeps/unix/dirfd.c: Renamed to ...
3002 * sysdeps/posix/dirfd.c: ... here.
3003 * sysdeps/unix/dirstream.h: Renamed to ...
3004 * sysdeps/posix/dirstream.h: ... here.
3005 * sysdeps/unix/fdopendir.c: Renamed to ...
3006 * sysdeps/posix/fdopendir.c: ... here.
3007 * sysdeps/unix/opendir.c: Renamed to ...
3008 * sysdeps/posix/opendir.c: ... here.
3009 * sysdeps/unix/readdir.c: Renamed to ...
3010 * sysdeps/posix/readdir.c: ... here.
3011 * sysdeps/unix/readdir_r.c: Renamed to ...
3012 * sysdeps/posix/readdir_r.c: ... here.
3013 * sysdeps/unix/rewinddir.c: Renamed to ...
3014 * sysdeps/posix/rewinddir.c: ... here.
3015 * sysdeps/unix/seekdir.c: Renamed to ...
3016 * sysdeps/posix/seekdir.c: ... here.
3017 * sysdeps/unix/telldir.c: Renamed to ...
3018 * sysdeps/posix/telldir.c: ... here.
3019 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3020 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3021 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3022 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3024 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3025 * bits/fcntl.h: ... here.
3027 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3029 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3030 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3031 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3032 (struct flock): Move l_start, l_len to the beginning.
3033 Use __pid_t for l_pid.
3034 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3035 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3036 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3037 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3038 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3039 [__USE_LARGEFILE64] (struct flock64): New type.
3040 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3042 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3043 * bits/dirent.h: ... here.
3045 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3046 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3048 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3051 Change from 2.6.0 to 2.6.16.
3052 * sysdeps/unix/sysv/linux/configure: Regenerated.
3053 * sysdeps/unix/sysv/linux/kernel-features.h
3054 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3055 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3057 (__ASSUME_UTIMES): Likewise.
3058 (__ASSUME_CLONE_STOPPED): Remove.
3059 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3060 architectures, not kernel version.
3061 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3062 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3063 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3064 (__ASSUME_WAITID_SYSCALL): Likewise.
3065 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3066 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3067 * README: State 2.6.16 as minimum Linux kernel version. Do not
3068 refer to older versions.
3070 2012-08-06 Roland McGrath <roland@hack.frob.com>
3072 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3073 Define alphasort64 as an alias.
3074 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3075 Define versionsort64 as an alias.
3076 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3077 Define scandir64 as an alias.
3078 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3079 Define scandirat64 as an alias.
3080 * dirent/alphasort64.c (alphasort64):
3081 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3082 * dirent/versionsort64.c: Likewise.
3083 * dirent/scandir64.c: Likewise.
3084 * dirent/scandirat64.c: Likewise.
3085 * sysdeps/wordsize-64/alphasort.c: File removed.
3086 * sysdeps/wordsize-64/alphasort64.c: File removed.
3087 * sysdeps/wordsize-64/scandir.c: File removed.
3088 * sysdeps/wordsize-64/scandir64.c: File removed.
3089 * sysdeps/wordsize-64/scandirat.c: File removed.
3090 * sysdeps/wordsize-64/scandirat64.c: File removed.
3091 * sysdeps/wordsize-64/versionsort.c: File removed.
3092 * sysdeps/wordsize-64/versionsort64.c: File removed.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3097 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3100 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3102 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3104 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3106 [defined __arch64__ || defined __sparcv9]
3107 (__INO_T_MATCHES_INO64_T): New macro.
3108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3109 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3110 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3111 * sysdeps/unix/sysv/linux/bits/dirent.h
3112 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3113 (_DIRENT_MATCHES_DIRENT64): New macro.
3115 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3116 Define lockf64 as an alias.
3117 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3118 Define fseeko64 as an alias.
3119 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3120 Define ftello64 as an alias.
3121 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3122 Define _IO_fgetpos64 and fgetpos64 as aliases.
3123 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3124 Define _IO_fsetpos64 and fsetpos64 as aliases.
3125 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3126 Conditionalize body on this.
3127 * libio/fseeko64.c: Likewise.
3128 * libio/ftello64.c: Likewise.
3129 * libio/iofgetpos64.c: Likewise.
3130 * libio/iofsetpos64.c: Likewise.
3131 * sysdeps/wordsize-64/lockf.c: File removed.
3132 * sysdeps/wordsize-64/lockf64.c: File removed.
3133 * sysdeps/wordsize-64/fseeko.c: File removed.
3134 * sysdeps/wordsize-64/fseeko64.c: File removed.
3135 * sysdeps/wordsize-64/ftello.c: File removed.
3136 * sysdeps/wordsize-64/ftello64.c: File removed.
3137 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3138 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3139 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3140 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3148 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3152 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3154 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3156 [defined __arch64__ || defined __sparcv9]
3157 (__OFF_T_MATCHES_OFF64_T): New macro.
3158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3159 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3161 (__OFF_T_MATCHES_OFF64_T): New macro.
3163 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3165 * stdlib/secure-getenv.c (__secure_getenv): Replace
3166 GLIBC_2_16 with GLIBC_2_17.
3168 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3173 2012-08-03 David S. Miller <davem@davemloft.net>
3175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3177 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3179 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3181 (__ASSUME_CORRECT_SI_PID): Likewise.
3182 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3183 (__ASSUME_TMPFS_NAME): Likewise.
3184 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3185 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3186 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3187 (HAVE_AUX_SECURE): Make definition unconditional.
3188 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3189 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3191 2012-08-03 Roland McGrath <roland@hack.frob.com>
3193 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3194 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3195 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3196 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3197 __eloop_threshold instead of SYMLOOP_MAX.
3199 * sysdeps/generic/eloop-threshold.h: New file.
3200 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3202 * elf/chroot_canon.c (chroot_canon): Likewise.
3204 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3208 Change to 2.6.0 everywhere.
3209 * sysdeps/unix/sysv/linux/configure: Regenerated.
3210 * sysdeps/unix/sysv/linux/kernel-features.h
3211 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3212 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3214 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3215 (__ASSUME_FUTEX_REQUEUE): Remove.
3216 (__ASSUME_STATFS64): Define unconditionally.
3217 (__ASSUME_AT_SECURE): Likewise.
3218 (__ASSUME_CORRECT_SI_PID): Likewise.
3219 (__ASSUME_TGKILL): Define without depending on kernel version for
3221 (__ASSUME_UTIMES): Likewise.
3222 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3224 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3225 (__ASSUME_TMPFS_NAME): Likewise.
3226 * README: Update reference to Linux kernel versions.
3228 2012-08-02 Marek Polacek <polacek@redhat.com>
3231 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3232 libc_cv_asm_type_prefix with %.
3233 * configure: Regenerated.
3234 * include/libc-symbols.h: Remove comment about
3235 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3236 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3237 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3238 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3239 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3240 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3241 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3242 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3243 * elf/tst-unique2mod1.c: Likewise.
3244 * elf/tst-unique1mod2.c: Likewise.
3245 * elf/tst-unique1mod1.c: Likewise.
3246 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3247 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3248 Replace ASM_TYPE_DIRECTIVE with .type.
3249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3250 * sysdeps/i386/sysdep.h: Likewise.
3251 * sysdeps/x86_64/sysdep.h: Likewise.
3252 * sysdeps/sh/sysdep.h: Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3254 Do not define ASM_TYPE_DIRECTIVE.
3255 * sysdeps/powerpc/sysdep.h: Likewise.
3256 * sysdeps/powerpc/powerpc32/sysdep.h:
3257 Replace ASM_TYPE_DIRECTIVE with .type.
3258 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3259 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3260 * sysdeps/i386/fpu/e_powf.S: Likewise.
3261 * sysdeps/i386/fpu/e_expl.S: Likewise.
3262 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3264 * sysdeps/i386/fpu/e_pow.S: Likewise.
3265 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3267 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3268 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3269 * sysdeps/i386/fpu/e_log2.S: Likewise.
3270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3272 * sysdeps/i386/fpu/e_powl.S: Likewise.
3273 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3274 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3275 * sysdeps/i386/fpu/e_logl.S: Likewise.
3276 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3277 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3278 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3281 * sysdeps/i386/fpu/e_log.S: Likewise.
3282 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3283 * sysdeps/i386/fpu/e_logf.S: Likewise.
3284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3285 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3286 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3287 * sysdeps/i386/fpu/e_log10.S: Likewise.
3288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3294 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3295 * sysdeps/i386/i686/strtok.S: Likewise.
3296 * sysdeps/i386/i386-mcount.S: Likewise.
3297 * sysdeps/i386/strtok.S: Likewise.
3298 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3299 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3302 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3304 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3305 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3307 * sysdeps/x86_64/_mcount.S: Likewise.
3308 * sysdeps/x86_64/strtok.S: Likewise.
3309 * sysdeps/sh/_mcount.S: Likewise.
3311 2012-08-01 Roland McGrath <roland@hack.frob.com>
3313 * libio/iofopen.c: Include <fcntl.h>.
3314 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3315 (_IO_fopen64, fopen64): Define as aliases.
3316 * libio/iofopen64.c: Include <fcntl.h>.
3317 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3318 Conditionalize body on this.
3319 * sysdeps/wordsize-64/iofopen.c: File removed.
3320 * sysdeps/wordsize-64/iofopen64.c: File removed.
3322 2012-08-01 Marek Polacek <polacek@redhat.com>
3324 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3325 Use dlfcn directly instead of a variable.
3326 (binfmt-subdir): Do not define.
3329 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3332 Remove all definitions.
3333 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3334 <kernel-features.h>.
3335 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3336 (miss_F_GETOWN_EX): Remove all definitions.
3337 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3339 [!__ASSUME_FCNTL64]: Remove conditional code.
3340 [__ASSUME_FCNTL64]: Make code unconditional.
3341 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3342 <kernel-features.h>.
3343 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3344 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3345 (lockf64) [__NR_fcntl64]: Make code unconditional.
3346 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3348 * sysdeps/unix/sysv/linux/kernel-features.h
3349 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3350 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3351 Make code unconditional.
3352 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3353 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3355 [__NR_vfork]: Make code unconditional.
3356 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3357 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3359 [__NR_vfork]: Make code unconditional.
3360 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3361 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3363 2012-08-01 Roland McGrath <roland@hack.frob.com>
3365 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3366 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3368 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3369 Define mkstemp64 as an alias.
3370 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3371 Define mkstemps64 as an alias.
3372 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3373 Define mkostemp64 as an alias.
3374 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3375 Define mkostemps64 as an alias.
3376 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3377 Conditionalize body on this.
3378 * misc/mkostemp64.c: Likewise.
3379 * misc/mkostemps64.c: Likewise.
3380 * misc/mkstemps64.c: Likewise.
3381 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3382 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3383 * sysdeps/wordsize-64/mkostemp.c: File removed.
3384 * sysdeps/wordsize-64/mkstemp.c: File removed.
3385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3391 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3392 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3393 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3394 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3396 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3397 compat_symbol macros from <shlib-compat.h> rather than the underlying
3398 default_symbol_version and symbol_version macros, so that DEFAULT
3399 lines in shlib-versions are respected.
3400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3402 2012-08-01 Florian Weimer <fweimer@redhat.com>
3404 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3405 Declare with warn_unused_result.
3406 (setgid, setregid, setegid, setresgid): Likewise.
3407 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3409 * WUR-REPORT: Remove set*id functions.
3411 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3413 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3415 2012-07-31 Roland McGrath <roland@hack.frob.com>
3417 * include/sys/socket.h (__libc_accept, __libc_accept4):
3418 Add attribute_hidden.
3419 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3421 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3423 * inet/getnetgrent_r.c (setup): Likewise.
3425 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3427 2012-07-31 David S. Miller <davem@davemloft.net>
3429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3431 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3434 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3435 value between 1.0 and 2.0 and smaller part has absolute value less
3437 * math/s_clog10.c (__clog10): Likewise.
3438 * math/s_clog10f.c (__clog10f): Likewise.
3439 * math/s_clog10l.c (__clog10l): Likewise.
3440 * math/s_clogf.c (__clogf): Likewise.
3441 * math/s_clogl.c (__clogl): Likewise.
3442 * math/libm-test.inc (clog_test): Add more tests.
3443 (clog10_test): Likewise.
3444 * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447 2012-07-31 Florian Weimer <fweimer@redhat.com>
3449 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3450 Exit with zero in case no suitable GID is found, and write a
3451 message to standard error.
3453 2012-07-30 Roland McGrath <roland@hack.frob.com>
3455 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3457 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3458 (MAXPATHLEN): Removed.
3459 (NOGROUP, NODEV): New macros.
3460 (setbit, clrbit, isset, isclr): New macros.
3461 (howmany, roundup, powerof2): New macros.
3462 (DEV_BSIZE): New macro.
3464 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3465 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3467 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3468 definition on [!__NO_LONG_DOUBLE_MATH].
3470 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3471 PTR_MANGLE and PTR_DEMANGLE.
3473 * socket/accept4.c (accept4): Rename to __libc_accept4.
3474 Define accept4 as a weak alias.
3476 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3477 on [_DIRENT_HAVE_D_TYPE].
3478 * io/ftw.c (ftw_dir): Likewise.
3480 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3482 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3484 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3485 Use the BSD numbers rather than the arbitrary ones we had.
3486 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3487 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3488 (SIGXCPU, SIGXFSZ): New macros.
3491 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3492 initializer on [_LIBC_REENTRANT].
3494 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3495 definitions inside [_POSIX_MAPPED_FILES].
3497 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3499 * dirent/opendir.c: Include <fcntl.h>.
3501 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3502 (__libc_getspecific): Likewise.
3503 (__libc_key_create): Likewise.
3505 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3506 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3507 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3508 (tmpfile64): Define as alias.
3509 * sysdeps/wordsize-64/tmpfile.c: File removed.
3510 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3514 * stdio-common/vfscanf.c: Include <stdbool.h>.
3515 * nss/makedb.c: Likewise.
3516 * stdio-common/_i18n_number.h: Likewise.
3517 * argp/argp-help.c: Likewise.
3518 * posix/wordexp.c: Likewise.
3519 * sysdeps/posix/spawni.c: Likewise.
3520 * nss/nss_files/files-initgroups.c: Likewise.
3521 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3522 * nss/nss_files/files-initgroups.c: Likewise.
3523 * nss/nss_db/db-netgrp.c: Likewise.
3524 * nss/nss_db/db-initgroups.c: Likewise.
3525 * io/fchmodat.c: Include <sys/stat.h>.
3527 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3528 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3530 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3533 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3534 Add multiple inclusion protection.
3536 2012-07-27 David S. Miller <davem@davemloft.net>
3538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3540 2012-07-27 Gary Benson <gbenson@redhat.com>
3543 * elf/rtld.c: Include <stap-probe.h>.
3544 (dl_main): Added static probes "init_start" and "init_complete".
3545 * elf/dl-load.c: Include <stap-probe.h>.
3546 (lose): Take new parameter "nsid".
3547 Added static probe "map_failed".
3548 (_dl_map_object_from_fd): Pass namespace id to lose.
3549 Added static probe "map_start".
3550 (open_verify): Pass namespace id to lose.
3551 * elf/dl-open.c: Include <stap-probe.h>.
3552 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3553 and "reloc_complete".
3554 * elf/dl-close.c: Include <stap-probe.h>.
3555 (_dl_close_worker): Added static probes "unmap_start" and
3557 * elf/rtld-debugger-interface.txt: New file documenting the above.
3559 2012-07-26 Roland McGrath <roland@hack.frob.com>
3561 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3562 rather than a string variable.
3563 * sunrpc/rpc_main.c (h_output): Likewise.
3564 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3566 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3568 * inet/check_native.c: New file.
3570 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3573 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3574 if larger part has absolute value 1.0.
3575 * math/s_clog10.c (__clog10): Likewise.
3576 * math/s_clog10f.c (__clog10f): Likewise.
3577 * math/s_clog10l.c (__clog10l): Likewise.
3578 * math/s_clogf.c (__clogf): Likewise.
3579 * math/s_clogl.c (__clogl): Likewise.
3580 * math/libm-test.inc (clog_test): Add more tests.
3581 (clog10_test): Likewise.
3582 * sysdeps/i386/fpu/libm-test-ulps: Update.
3583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3585 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3586 (pltexit): Likewise.
3587 (La_regs): Likewise.
3588 (La_retval): Likewise.
3589 (int_retval): Likewise.
3590 Update #error for removed macros to refer only to definitions in
3592 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3594 (pltexit): Likewise.
3595 (La_regs): Likewise.
3596 (La_retval): Likewise.
3597 (int_retval): Likewise.
3598 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3600 (pltexit): Likewise.
3601 (La_regs): Likewise.
3602 (La_retval): Likewise.
3603 (int_retval): Likewise.
3604 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3606 (pltexit): Likewise.
3607 (La_regs): Likewise.
3608 (La_retval): Likewise.
3609 (int_retval): Likewise.
3610 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3612 (pltexit): Likewise.
3613 (La_regs): Likewise.
3614 (La_retval): Likewise.
3615 (int_retval): Likewise.
3616 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3618 (pltexit): Likewise.
3619 (La_regs): Likewise.
3620 (La_retval): Likewise.
3621 (int_retval): Likewise.
3622 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3624 (pltexit): Likewise.
3625 (La_regs): Likewise.
3626 (La_retval): Likewise.
3627 (int_retval): Likewise.
3628 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3629 macro definitions in tst-audit.h.
3630 * sysdeps/i386/tst-audit.h: New file.
3631 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3632 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3633 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3634 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3635 * sysdeps/sh/tst-audit.h: Likewise.
3636 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3637 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3638 * sysdeps/x86_64/tst-audit.h: Likewise.
3640 2012-07-26 Andreas Jaeger <aj@suse.de>
3642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3645 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3646 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3647 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3649 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3651 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3653 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3656 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3658 (si_call_addr, si_syscall, si_arch): Define new macro.
3659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3661 (si_call_addr, si_syscall, si_arch): Define new marcro.
3662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3664 (si_call_addr, si_syscall, si_arch): Define new macro.
3665 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3667 (si_call_addr, si_syscall, si_arch): Define new macro.
3669 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3673 Change to 2.4.21 where previously 2.4.1.
3674 * sysdeps/unix/sysv/linux/configure: Regenerated.
3675 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3676 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3677 Linux kernel version.
3678 (__ASSUME_STD_AUXV): Remove.
3679 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3681 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3682 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3683 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3684 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3685 (__ASSUME_NETLINK_SUPPORT): Likewise.
3686 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3687 (__no_netlink_support): Remove conditional definition.
3688 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3690 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3691 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3692 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3693 (if_nameindex_ioctl): Remove.
3694 (if_nameindex_netlink): Do not handle __no_netlink_support.
3695 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3697 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3698 Remove conditional code.
3699 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3701 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3703 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3704 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3705 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3707 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3708 [!__ASSUME_STD_AUXV]: Remove conditional code.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3710 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3711 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3713 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3714 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3716 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3718 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3719 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3721 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3723 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3726 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3729 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3731 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3733 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3735 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3738 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3740 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3743 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3745 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3747 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3749 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3752 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3754 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3756 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3758 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3761 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3763 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3764 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3765 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3766 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3767 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3768 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3769 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3770 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3771 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3772 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3773 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3774 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3775 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3776 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3777 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3784 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3787 2012-07-25 Florian Weimer <fweimer@redhat.com>
3789 * Versions.def: Add GLIBC_2.17.
3790 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3791 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3792 Introduce __libc_secure_getenv.
3793 * stdlib/Versions (2.17): Add secure_getenv
3794 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3795 * stdlib/secure-getenv.c: Rename __secure_getenv to
3796 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3797 symbol __secure_getenv for GLIBC_2.0.
3798 * stdlib/tst-secure-getenv.c: New.
3799 * stdlib/Makefile (tests): Add testcase.
3800 * manual/startup.texi (Environment Access): Document
3802 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3803 __libc_secure_getenv.
3804 * inet/ruserpass.c (ruserpass): Likewise.
3805 * malloc/mtrace.c (mtrace): Likewise.
3806 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3807 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3808 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3809 * sysdeps/posix/tempname.c: Likewise. Evaluate
3811 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3812 __secure_getenv to __libc_secure_getenv.
3813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3826 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3828 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3829 (struct La_i86_retval): Likewise.
3830 (struct La_x86_64_regs): Likewise.
3831 (struct La_x86_64_retval): Likewise.
3832 (struct La_x32_regs): Likewise.
3833 (struct La_x32_retval): Likewise.
3834 (struct La_ppc32_regs): Likewise.
3835 (struct La_ppc32_retval): Likewise.
3836 (struct La_ppc64_regs): Likewise.
3837 (struct La_ppc64_retval): Likewise.
3838 (struct La_sh_regs): Likewise.
3839 (struct La_sh_retval): Likewise.
3840 (struct La_s390_32_regs): Likewise.
3841 (struct La_s390_32_retval): Likewise.
3842 (struct La_s390_64_regs): Likewise.
3843 (struct La_s390_64_retval): Likewise.
3844 (struct La_sparc32_regs): Likewise.
3845 (struct La_sparc32_retval): Likewise.
3846 (struct La_sparc64_regs): Likewise.
3847 (struct La_sparc64_retval): Likewise.
3848 (struct audit_ifaces): Remove architecture-specific pltenter and
3850 * sysdeps/i386/ldsodefs.h: New file.
3851 * sysdeps/powerpc/ldsodefs.h: Likewise.
3852 * sysdeps/s390/ldsodefs.h: Likewise.
3853 * sysdeps/sh/ldsodefs.h: Likewise.
3854 * sysdeps/sparc/ldsodefs.h: Likewise.
3855 * sysdeps/x86_64/ldsodefs.h: Likewise.
3857 2012-07-25 Marek Polacek <polacek@redhat.com>
3860 * math/libm-test.inc (yn_test): Add another test.
3861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3862 to ERANGE when the result is +-Inf.
3863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3864 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3865 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3866 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3868 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3870 * conform/data/time.h-data (NULL): Use macro-constant. Require
3872 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3874 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3876 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3878 * configure.in <sysdeps resolving>: Correct printing
3880 * configure: Regenerate.
3882 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3884 * math/w_ilogb.c: Include <limits.h>.
3885 * math/w_ilogbl.c: Likewise.
3887 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3889 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3890 va_copy. Document allowing for unavailable va_copy only as
3891 pre-C99 compatibility.
3892 * manual/string.texi (Copying and Concatenation): Use va_copy
3893 instead of __va_copy in concat example.
3895 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3897 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3898 (__sendto): Use create_address_port. Initialize APORT and deallocate
3901 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3902 with O_NOLINK passed to __file_name_lookup.
3904 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3905 with O_NOLINK passed to __file_name_lookup.
3907 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3908 negative N or less than NGIDS.
3910 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3911 type to string_t. Set ERANGE as errno and return it if NAME is not big
3912 enough. Use memcpy instead of strncpy.
3914 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3916 * elf/Makefile (check-data): Remove.
3917 (localplt.data): New vpath directive.
3918 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3919 instead of $(check-data).
3920 * scripts/data/localplt-generic.data: Move to ...
3921 * sysdeps/generic/localplt.data: ... here.
3922 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3923 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3924 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3927 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3930 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3933 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3936 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3939 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3943 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3946 PPC32 and PPC64 files.
3947 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3948 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3950 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3952 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3953 __makecontext_ret to ...
3954 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3955 ... here and call exit if uc_link is NULL. New file.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3957 __makecontext_ret.S.
3958 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3959 __makecontext_ret to ...
3960 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3961 ... here and call exit if uc_link is NULL. New file.
3962 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3963 __makecontext_ret.S.
3965 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3967 * elf/elf.h (R_390_IRELATIVE): New definition.
3968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3969 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3970 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3972 (elf_machine_lazy_rel): Likewise.
3973 * sysdeps/s390/dl-irel.h: New file.
3974 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3975 * sysdeps/s390/s390-64/memset.S: New asm code.
3976 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3977 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3979 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3980 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3981 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3982 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3983 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3984 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3985 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3986 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3987 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3988 * sysdeps/s390/s390-32/memset.S: New asm code.
3989 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3991 2012-07-17 Marek Polacek <polacek@redhat.com>
3994 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3995 * sysdeps/s390/s390-64/configure.in: Likewise.
3996 * sysdeps/sparc/configure.in: Likewise.
3997 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3998 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3999 * sysdeps/i386/configure.in: Likewise.
4000 * sysdeps/x86_64/configure.in: Likewise.
4001 * sysdeps/sh/configure.in: Likewise.
4002 * sysdeps/s390/s390-32/configure: Regenerated.
4003 * sysdeps/s390/s390-64/configure: Likewise.
4004 * sysdeps/x86_64/configure: Likewise.
4005 * sysdeps/sh/configure: Likewise.
4006 * sysdeps/powerpc/powerpc64/configure: Likewise.
4007 * sysdeps/powerpc/powerpc32/configure: Likewise.
4008 * sysdeps/sparc/configure: Likwise.
4009 * sysdeps/i386/configure: Likewise.
4011 * elf/dl-open.c: Comment fixes.
4013 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4015 * Makefile [CXX] (check-data): Remove.
4016 [CXX] (c++-types.data): New vpath directive.
4017 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4018 vpath. Do not allow for C++ type data being missing.
4019 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4020 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4021 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4022 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4023 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4024 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4025 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4028 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4031 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4034 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4037 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4040 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4043 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4046 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4049 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4050 definitions to architecture-specific files.
4054 * sysdeps/i386/tls-macros.h: New file.
4055 * sysdeps/powerpc/tls-macros.h: Likewise.
4056 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4057 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4058 * sysdeps/sh/tls-macros.h: Likewise.
4059 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4060 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4061 * sysdeps/x86_64/tls-macros.h: Likewise.
4063 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4066 zero value for regular exit case.
4068 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4069 (__start_context): Preserve zero value for regular exit case.
4071 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4072 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4074 * manual/setjmp.texi (setcontext): Clarify normal process
4075 termination when uc_link is the null pointer.
4076 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4079 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4081 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4082 preprocessor. Test for each exception mask separately.
4084 2012-07-16 Andreas Jaeger <aj@suse.de>
4086 * po/ru.po: Update from translation team.
4088 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4090 * conform/data/string.h-data (NULL): Use macro-constant. Require
4092 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4093 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4094 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4095 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4098 2012-07-13 Andreas Jaeger <aj@suse.de>
4100 * po/fr.po: Update from translation team.
4102 2012-07-12 Marek Polacek <polacek@redhat.com>
4105 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4106 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4109 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4113 Change to 2.4.1 where previously 2.4.0.
4114 * sysdeps/unix/sysv/linux/configure: Regenerated.
4115 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4116 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4118 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4119 (__ASSUME_AT_CLKTCK): Remove.
4120 (__ASSUME_AT_PAGESIZE): Likewise.
4121 (__ASSUME_AT_XID): Likewise.
4122 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4123 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4124 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4126 (HAVE_AUX_PAGESIZE): Likewise.
4127 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4128 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4129 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4131 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4135 the temporary buffer used to invoke __gethostbyname2_r,
4136 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4137 host_data / struct gaih_addrtuple.
4138 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4139 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4140 header file nss/nsswitch.h.
4141 * nss/nsswitch.h (global scope): Add definition of implementation
4142 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4143 resolv/nss_dns/dns-host.c).
4145 2012-07-11 Andreas Jaeger <aj@suse.de>
4147 * po/fr.po: Update from translation team.
4149 * po/sv.po: Update from translation team
4150 * po/fr.po: Another update from translation team.
4152 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4155 for subnormals or multiply small sinh result by itself.
4156 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4159 2012-07-11 David S. Miller <davem@davemloft.net>
4161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4163 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4166 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4167 (INTERNAL_MARK): Shift it here.
4169 2012-07-10 Marek Polacek <polacek@redhat.com>
4172 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4173 libc_cv_asm_global_directive with .globl.
4174 * configure: Regenerated.
4175 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4177 * sysdeps/i386/configure: Regenerated.
4178 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4180 * sysdeps/x86_64/configure: Regenerated.
4181 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4182 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4183 * elf/tst-unique2mod2.c: Likewise.
4184 * elf/tst-unique2mod1.c: Likewise.
4185 * elf/tst-unique1mod2.c: Likewise.
4186 * elf/tst-unique1mod1.c: Likewise.
4187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4188 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4190 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4191 * sysdeps/mach/sysdep.h: Likewise.
4192 * sysdeps/i386/sysdep.h: Likewise.
4193 * sysdeps/i386/i386-mcount.S: Likewise.
4194 * sysdeps/x86_64/_mcount.S: Likewise.
4195 * sysdeps/x86_64/sysdep.h: Likewise.
4196 * sysdeps/sh/_mcount.S: Likewise.
4197 * sysdeps/sh/sysdep.h: Likewise.
4198 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4199 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4200 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4201 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4202 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4203 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4204 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4205 * locale/localeinfo.h: Likewise.
4206 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4207 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4209 2012-07-09 Roland McGrath <roland@hack.frob.com>
4212 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4214 * manual/message.texi (The Uniforum approach): Likewise.
4215 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4216 (glibc iconv Implementation): Likewise.
4218 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4221 * math/s_clog.c (__clog): Avoid scaling a value down where that
4222 could result in underflow.
4223 * math/s_clog10.c (__clog10): Likewise.
4224 * math/s_clog10f.c (__clog10f): Likewise.
4225 * math/s_clog10l.c (__clog10l): Likewise.
4226 * math/s_clogf.c (__clogf): Likewise.
4227 * math/s_clogl.c (__clogl): Likewise.
4228 * math/libm-test.inc (clog_test): Add more tests.
4229 (clog10_test): Likewise.
4230 * sysdeps/i386/fpu/libm-test-ulps: Update.
4231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4233 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4236 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4237 by 7 not 8 to examine high bit of fractional part.
4240 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4241 for call to __mcount_internal.
4242 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4243 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4244 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4246 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4250 approximation for values within 0x1p-13f of an odd multiple of
4252 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4253 exception. Add more tests.
4254 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4258 inputs and return -1 for them. Do not check for +Inf in case not
4260 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4261 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4262 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4263 and return -1 for them. Do not check for +Inf in case not
4265 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4267 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4268 and return -1 for them. Do not check for +Inf in case not
4270 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4272 * sysdeps/i386/fpu/libm-test-ulps: Update.
4273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4277 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4279 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4283 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4284 could result in spurious underflow. Scale down values above
4285 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4286 * math/s_csqrtf.c (__csqrtf): Likewise.
4287 * math/s_csqrtl.c (__csqrtl): Likewise.
4288 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4293 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4295 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4297 * catgets/xopen-msg.awk: New file.
4298 * catgets/xopen-msg.sed: Removed.
4300 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4302 * intl/po2test.awk: New file.
4303 * intl/po2test.sed: Removed.
4305 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4308 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4309 or multiply small sinh result by itself.
4310 * math/s_ctanf.c (__ctanf): Likewise.
4311 * math/s_ctanh.c (__ctanh): Likewise.
4312 * math/s_ctanhf.c (__ctanhf): Likewise.
4313 * math/s_ctanhl.c (__ctanhl): Likewise.
4314 * math/s_ctanl.c (__ctanl): Likewise.
4315 * math/libm-test.inc (ctan_test_tonearest): New function.
4316 (ctan_test_towardzero): Likewise.
4317 (ctan_test_downward): Likewise.
4318 (ctan_test_upward): Likewise.
4319 (ctanh_test_tonearest): Likewise.
4320 (ctanh_test_towardzero): Likewise.
4321 (ctanh_test_downward): Likewise.
4322 (ctanh_test_upward): Likewise.
4323 (main): Call these new functions.
4324 * sysdeps/i386/fpu/libm-test-ulps: Update.
4325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4327 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4329 * .gitignore: Delete /ports entry.
4331 2012-07-03 Andreas Jaeger <aj@suse.de>
4333 * po/bg.po: Update from translation team.
4334 * po/cs.po: Likewise.
4335 * po/de.po: Likewise.
4336 * po/hr.po: Likewise.
4337 * po/nl.pl: Likewise.
4338 * po/pl.po: Likewise.
4339 * po/vi.po: Likewise.
4341 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4343 * Makeconfig [!+link] (+link-before-libc): New variable.
4344 [!+link] (+link-after-libc): Likewise.
4345 [!+link] (+link-tests): Likewise.
4346 [!+link] (+link): Define in terms of $(+link-before-libc) and
4347 $(+link-after-libc).
4348 [!+link-static] (+link-static-before-libc): New variable.
4349 [!+link-static] (+link-static-after-libc): Likewise.
4350 [!+link-static] (+link-static-tests): Likewise.
4351 [!+link-static] (+link-static): Define in terms of
4352 $(+link-static-before-libc) and $(+link-static-after-libc).
4353 [build-shared] (link-libc-before-gnulib): New variable.
4354 [build-shared] (link-libc-tests): Likewise.
4355 [build-shared] (link-libc): Define in terms of
4356 $(link-libc-before-gnulib).
4357 [!build-shared] (link-libc-tests): New variable.
4358 (link-libc-static-tests): New variable.
4359 [!gnulib] (gnulib-arch): New variable.
4360 [!gnulib] (gnulib-tests): Likewise.
4361 [!gnulib] (static-gnulib-arch): Likewise.
4362 [!gnulib] (static-gnulib-tests): Likewise.
4363 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4364 Define with "=" instead of ":=".
4365 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4366 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4367 * Rules (binaries-all-notests): New variable.
4368 (binaries-all-tests): Likewise.
4369 (binaries-static-notests): Likewise.
4370 (binaries-static-tests): Likewise.
4371 (binaries-all): Define using $(binaries-all-notests) and
4372 $(binaries-all-tests).
4373 (binaries-static): Define using $(binaries-static-notests) and
4374 $(binaries-static-tests).
4375 (binaries-shared-tests): New variable.
4376 (binaries-shared-notests): Likewise.
4377 (binaries-shared): Remove variable.
4378 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4379 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4380 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4381 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4382 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4383 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4384 * elf/Makefile (sln-modules): New variable.
4385 (extra-objs): Add $(sln-modules:=.o).
4386 (ldconfig-modules): Add static-stubs.
4387 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4388 * elf/static-stubs.c: New file.
4391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4392 by 7 not 8 to examine high bit of fractional part. Use volatile
4393 variables when splitting into final array of floats if
4394 __FLT_EVAL_METHOD__ != 0.
4395 * math/libm-test.inc (cos_test): Add another test.
4396 (sin_test): Likewise.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4400 * math/libm-test.inc (cosh_test): Add more tests.
4402 * version.h (RELEASE): Set to "development".
4403 (VERSION): Set to "2.16.90".
4405 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4407 * NEWS: Update copyright. Remove last-updated date.
4408 Mention math library bug fixes and timezone data changes.
4409 * README: Mention GNU/Hurd, x32, and HPPA support status.
4411 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4413 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4415 2012-06-27 Andreas Jaeger <aj@suse.de>
4417 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4419 2012-06-25 Andreas Jaeger <aj@suse.de>
4421 * sysdeps/s390/fpu/libm-test-ulps: Update.
4423 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4424 Thomas Schwinge <thomas@codesourcery.com>
4426 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4427 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4431 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4433 * sysdeps/mach/start.c: Remove file.
4434 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4435 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4436 * sysdeps/sh/init-first.c: Likewise.
4438 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4439 registers for frame unwinding purposes, add CFI directives.
4440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4441 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4442 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4445 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4446 __fortify_fail returning.
4447 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4449 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4450 sysdeps/sh/____longjmp_chk.S.
4451 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4452 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4453 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4454 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4456 * sysdeps/sh/abort-instr.h: New file.
4457 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4458 process in case exit returns.
4460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4461 initialize the GOT register before use.
4463 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4464 calculation of ARGC > 4.
4466 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4467 meaningful names to some local labels.
4469 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4470 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4472 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4473 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4474 (__arch_compare_and_exchange_val_16_acq): Likewise.
4475 (__arch_compare_and_exchange_val_32_acq): Likewise.
4476 (atomic_exchange_and_add): Fix gUSA sequence.
4477 (atomic_add): Likewise.
4478 (atomic_add_negative): Likewise.
4479 (atomic_add_zero): Likewise.
4480 (atomic_bit_test_set): Likewise.
4482 2012-06-22 Andreas Schwab <schwab@redhat.com>
4485 * include/link.h (struct link_map): Add l_free_initfini.
4486 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4488 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4489 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4490 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4493 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4495 * configure.in: Use AC_LANG_SOURCE.
4496 * configure: Regenerate.
4498 2012-06-22 Roland McGrath <roland@hack.frob.com>
4500 * configure.in (libc_cv_localstatedir): New substituted variable.
4501 * configure: Regenerated.
4502 * config.make.in (localstatedir): New variable, substituted from
4503 libc_cv_localstatedir.
4504 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4505 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4506 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4507 * sysdeps/gnu/configure: Regenerated.
4509 2012-06-21 Jeff Law <law@redhat.com>
4512 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4513 free. Simplify list management for _LIBC case.
4515 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4518 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4519 Clear sign bit of 64-bit integer value before comparing against
4522 * sysdeps/mach/configure: Regenerated.
4524 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4527 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4529 2012-06-21 Jeff Law <law@redhat.com>
4532 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4533 uint16_t for elements in the "seen" array to avoid char overflows.
4534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4535 * elf/dl-open.c (dl_open_worker): Likewise.
4537 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4539 * scripts/list-sources.sh: Scan PORTS for translations.
4540 * po/libc.pot: Regenerated.
4542 2012-06-21 Andreas Jaeger <aj@suse.de>
4545 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4547 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4548 * bits/byteswap-16.h (__bswap_16): Likewise.
4549 * bits/byteswap.h (__bswap_constant_16): Likewise.
4551 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4554 * sysdeps/i386/fpu_control.h: Removed.
4555 * sysdeps/x86_64/fpu_control.h: Moved to ...
4556 * sysdeps/x86/fpu_control.h: Here.
4558 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4559 (_FPU_SETCW): Likewise.
4561 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4564 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4565 * sysdeps/x86/fpu/bits/mathinline.h: This.
4566 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4570 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4571 functions if __x86_64__ is defined.
4573 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4575 * string/endian.h: Add !__ASSEMBLER__ condition for including
4576 conversion interfaces.
4578 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4582 of ABS(x) in calculating zero to negative powers other than odd
4584 * math/libm-test.inc (pow_test): Add more tests.
4586 2012-06-15 Andreas Jaeger <aj@suse.de>
4588 * manual/contrib.texi (Contributors): Update entry of Liubov
4589 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4592 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4594 * string/string.h: Add __wur to GNU version of strerror_r.
4596 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4599 * string/Makefile (tests): Add tst-strtok_r.
4600 * string/tst-strtok_r.c: New file.
4601 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4602 RAX_LP/RDX_LP on SAVE_PTR.
4604 2012-06-14 Roland McGrath <roland@hack.frob.com>
4606 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4608 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4610 * libm_test.inc (csqrt_test): Allow more spurious underflow
4612 (j0_test): Likewise.
4613 (j1_test): Likewise.
4614 (y0_test): Likewise.
4615 (y1_test): Likewise.
4617 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4619 * po/Makefile (libc.pot): Use UTF-8 charset.
4621 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4624 Suppress sign-conversion warning from FD_SET.
4625 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4626 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4627 not unsigned long int.
4628 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4630 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4634 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4635 __extern_always_inline instead of __extern_inline.
4636 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4637 (__signbit): Likewise.
4638 (__signbitl): Support C++ namespace.
4639 (lrintf): New inline function.
4641 (llrintf): Likewise.
4653 (nearbyint): Likewise.
4654 (nearbyintf): Likewise.
4656 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4659 non-default versions.
4661 2012-06-11 Roland McGrath <roland@hack.frob.com>
4664 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4666 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4668 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4669 (FE_UPWARD, FE_DOWNWARD): Don't define.
4670 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4671 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4673 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4675 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4676 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4678 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4680 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4682 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4683 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4685 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4688 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4689 * sysdeps/i386/fpu/Implies: New file.
4690 * sysdeps/x86_64/fpu/Implies: Likewise.
4691 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4692 * sysdeps/x86/fpu/bits/fenv.h: This.
4694 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4697 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4700 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4701 character 0xffff that matches the last element of the
4704 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4709 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4712 values higher than 25.6283.
4714 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4717 subnormal exponent extraction and add some __builtin_expect.
4718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4719 Fix for subnormal mantissa calculation.
4721 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4723 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4724 cpu2 is -1 and errno is not ENOSYS.
4726 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4729 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4730 * sysdeps/x86/bits/string.h: This.
4731 * sysdeps/x86_64/bits/string.h: Removed.
4733 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4734 if not compiling for x86-64, but compiling for >= i486.
4736 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4737 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4739 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4740 New macro from Linux kernel 3.4.0.
4741 (FP_XSTATE_MAGIC2): Likewise.
4742 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4743 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4744 (struct _fpx_sw_bytes): New struct.
4745 (struct _xsave_hdr): Likewise.
4746 (struct _ymmh_state): Likewise.
4747 (struct _xstate): Likewise.
4749 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4750 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4752 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4754 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4756 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4757 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4758 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4759 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4760 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4761 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4763 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4766 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4767 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4768 (sysdep_headers): Include sys/platform/ppc.h.
4769 * sysdeps/powerpc/test-gettimebase.c: Test for
4770 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4771 * manual/Makefile (appendices): Include platform.texi.
4772 * manual/contrib.texi (Contributors): Update @node pointers.
4773 * manual/maint.texi (Maintenance): Likewise.
4774 (Platform): New node.
4775 * manual/platform.texi: New file. Document the new features.
4777 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4778 Jakub Jelinek <jakub@redhat.com>
4781 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4782 where __builtin_expect is unavailable.
4784 2012-06-03 David S. Miller <davem@davemloft.net>
4786 * stdlib/longlong.h: Updated from GCC.
4788 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4791 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4792 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4795 (GLIBC_2.16): Likewise.
4797 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4801 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4804 (default-abi): New variable.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4806 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4808 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4812 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4815 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4816 definition. Document in comment.
4818 2012-06-01 David S. Miller <davem@davemloft.net>
4820 * stdlib/longlong.h: Updated from GCC.
4822 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4825 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4826 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4827 sys/debugreg.h sys/io.h here.
4828 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4829 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4831 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4832 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4833 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4834 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4835 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4836 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4838 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4839 Define only if __x86_64__ is defined.
4841 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4845 Use int64_t for variable i.
4846 * math/libm-test.inc (fmod_test): Add more tests.
4848 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4849 z computation is not scheduled after fetestexcept.
4850 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4851 Use math_force_eval instead of asm to ensure calculation scheduled
4852 before exception test.
4853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4854 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4856 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4859 computation is not scheduled after fetestexcept.
4861 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4864 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4865 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4867 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4870 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4872 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4875 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4877 (__WCHAR_MIN): Support __WORDSIZE == 64.
4878 (__WCHAR_MAX): Likewise.
4880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4881 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4884 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4885 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4888 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4889 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4891 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4892 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4895 Defined to 1 if __x86_64__ isn't defined.
4896 (_STAT_VER_LINUX_OLD): New.
4897 (st_atime): Remove duplicate.
4898 (st_mtime): Likewise.
4899 (st_ctime): Likewise.
4901 2012-05-31 David S. Miller <davem@davemloft.net>
4903 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4906 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4908 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4912 * elf/dl-reloc.c: Include <_itoa.h>.
4913 (_dl_reloc_bad_type): Remove use of INTUSE.
4914 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4915 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4916 * stdio-common/psiginfo.c (psiginfo): Likewise.
4917 * stdio-common/psignal.c (psignal): Likewise.
4918 * string/strsignal.c (strsignal): Likewise.
4919 * include/signal.h (_sys_siglist): Declare hidden proto.
4920 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4921 INTVARDEF with libc_hidden_data_def.
4922 * stdio-common/itoa-udigits.c: Likewise.
4923 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4924 (_itoa_lower_digits_internal): Remove declaration.
4925 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4926 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4927 (_sys_sigabbrev_internal): Remove aliases.
4928 (_sys_siglist): Define hidden alias.
4930 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4935 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4938 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4939 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4941 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4942 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4943 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4944 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4946 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4948 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4950 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4962 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4964 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4965 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4967 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4968 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4969 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4971 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4972 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4974 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4975 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4979 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4981 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4982 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4984 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4986 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4987 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4988 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4990 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4992 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4994 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4996 * math/math.h (M_El): Use two more decimal places.
4997 (M_LOG2El): Likewise.
4998 (M_LOG10El): Likewise.
5000 (M_LN10l): Likewise.
5002 (M_PI_2l): Likewise.
5003 (M_PI_4l): Likewise.
5004 (M_1_PIl): Likewise.
5005 (M_2_PIl): Likewise.
5006 (M_2_SQRTPIl): Likewise.
5007 (M_SQRT2l): Likewise.
5008 (M_SQRT1_2l): Likewise.
5010 2012-05-31 David S. Miller <davem@davemloft.net>
5012 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5013 values between float registers.
5014 * sysdeps/sparc/sparc64/memset.S: Likewise.
5015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5017 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5019 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5020 -D_FORTIFY_SOURCE=1.
5021 (CPPFLAGS-tst-longjmp_chk.c): Define.
5022 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5023 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5024 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5025 CFLAGS-tst-wchar-h.c.
5027 2012-05-31 Marek Polacek <polacek@redhat.com>
5030 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5031 __endmntent_internal): Remove declaration.
5032 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5033 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5034 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5036 2012-05-30 David S. Miller <davem@davemloft.net>
5038 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5039 (___Q_simulate_exceptions): Use real FP ops rather than writing
5041 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5044 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5047 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5048 * sysdeps/x86/bits/xtitypes.h: This.
5050 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5051 * sysdeps/x86/bits/wordsize.h: This.
5053 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5054 * sysdeps/x86/bits/huge_vall.h: This.
5056 * sysdeps/i386/bits/select.h: Removed.
5057 * sysdeps/x86_64/bits/select.h: Renamed to ...
5058 * sysdeps/x86/bits/select.h: This.
5060 * sysdeps/i386/bits/setjmp.h: Removed.
5061 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5062 * sysdeps/x86/bits/setjmp.h: This.
5064 * sysdeps/i386/bits/mathdef.h: Removed.
5065 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5066 * sysdeps/x86/bits/mathdef.h: This.
5068 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5071 * include/sys/socket.h (__connect_internal)
5072 (__libc_sa_len_internal): Remove declaration.
5073 (__connect, __libc_sa_len): Declare hidden_proto.
5074 (SA_LEN): Remove use of INTUSE.
5075 * socket/connect.c: Add libc_hidden_def.
5076 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5077 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5078 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5080 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5081 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5082 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5083 of adding _internal alias.
5085 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5088 * sysdeps/i386/bits/link.h: Removed.
5089 * sysdeps/i386/bits/linkmap.h: Likewise.
5090 * sysdeps/x86_64/bits/link.h: Renamed to ...
5091 * sysdeps/x86/bits/link.h: This.
5092 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5093 * sysdeps/x86/bits/linkmap.h: This.
5095 * sysdeps/i386/bits/endian.h: Removed.
5096 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5097 * sysdeps/x86/bits/endian.h: This.
5099 * sysdeps/i386/bits/byteswap.h: Removed.
5100 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5101 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5102 * sysdeps/x86/bits/byteswap.h: This.
5103 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5104 * sysdeps/x86/bits/byteswap-16.h: This.
5105 * sysdeps/i386/Implies: Add x86.
5106 * sysdeps/x86_64/Implies: Likewise.
5108 2012-05-30 David S. Miller <davem@davemloft.net>
5110 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5111 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5113 (FP_TRAPPING_EXCEPTIONS): Define.
5114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5115 (FP_TRAPPING_EXCEPTIONS): Define.
5116 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5117 subnormals only when inexact has been signalled or underflow
5118 exceptions are enabled.
5119 (_FP_PACK_CANONICAL): Likewise.
5121 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5125 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5127 2012-05-30 Richard Henderson <rth@twiddle.net>
5129 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5130 with #ifndef NOT_IN_libc.
5132 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5133 marked to avoid plt entry.
5135 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5138 * Makeconfig (default-abi): New macro.
5139 (abi-includes): Likewise.
5140 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5141 $(abi-$(default-abi)-lib-soname) for soname if defined.
5142 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5144 * Makefile (installed-stubs): Likewise.
5145 * include/stubs-biarch.h: Removed.
5146 * scripts/lib-names.awk: Only handle one library at a time.
5147 * scripts/soversions.awk: Remove WORDSIZE support.
5148 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5152 (syscall-list-default-condition): Likewise.
5153 (syscall-list-default-condition): Likewise.
5154 (syscall-list-includes): Likewise.
5155 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5156 syscall-list-* with abi-*. Handle undefined abi-variants.
5157 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5158 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5159 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5160 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5162 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5164 (syscall-list-32-options): Likewise.
5165 (syscall-list-32-condition): Likewise.
5166 (syscall-list-64-options): Likewise.
5167 (syscall-list-64-condition): Likewise.
5168 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5170 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5173 (abi-64-ld-soname): New macro.
5174 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5175 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5178 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5179 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5181 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/unix/sysv/linux/kernel-features.h
5184 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5185 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5186 include <kernel-features.h>.
5187 [!__NR_ftruncate64]: Remove conditional code.
5188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5189 [__NR_ftruncate64]: Make code unconditional.
5190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5191 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5192 include <kernel-features.h>.
5193 [!__NR_ftruncate64]: Remove conditional code.
5194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5195 [__NR_ftruncate64]: Make code unconditional.
5196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5198 include <kernel-features.h>.
5199 [!__NR_ftruncate64]: Remove conditional code.
5200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5201 [__NR_ftruncate64]: Make code unconditional.
5202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5204 include <kernel-features.h>.
5205 [!__NR_ftruncate64]: Remove conditional code.
5206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5207 [__NR_ftruncate64]: Make code unconditional.
5208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5210 * configure.in (libc_cv_fpie): Weaken to a compile test using
5212 * configure: Regenerated.
5214 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5229 2012-05-27 David S. Miller <davem@davemloft.net>
5231 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5233 (__Q_simulate_exceptions): Return void. Change to simulate
5234 exceptions by writing into the %fsr.
5235 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5236 (__Qp_handle_exceptions): Likewise.
5238 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5239 __Qp_handle_exceptions.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5241 __Qp_handle_exceptions.
5242 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5243 as unused and give dummy FP_RND_NEAREST initializer.
5244 (FP_INHIBIT_RESULTS): Define.
5245 (___Q_simulate_exceptions): Update declaration.
5246 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5248 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5249 as unused and give dummy FP_RND_NEAREST initializer.
5250 (__Qp_handle_exceptions): Update declaration.
5251 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5254 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5256 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5257 the temporary FPU control word.
5258 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5259 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5260 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5261 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5262 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5263 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5264 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5265 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5266 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5267 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5268 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5270 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5272 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5275 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5277 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5278 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5279 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5280 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5282 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5283 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5286 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5288 * po/h.po: Update from translation team.
5290 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5292 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5294 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5295 handling of denormals.
5296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5297 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5299 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5305 2012-05-26 Marek Polacek <polacek@redhat.com>
5308 * math/libm-test.inc (fma_test): Don't always expect underflow
5311 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5314 * elf/tst-execstack.c: Include stackinfo.h.
5315 (do_test): Adjust test case to ensure that pthread_getattr_np
5316 behaviour remains the same after marking stack executable.
5318 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5320 * sysdeps/unix/sysv/linux/kernel-features.h
5321 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5322 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5324 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5325 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5326 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5328 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5329 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5331 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5333 * configure.in: Define the default includes to being none.
5334 * configure: Regenerated.
5336 2012-05-25 Roland McGrath <roland@hack.frob.com>
5338 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5339 * sysdeps/x86_64/setjmp.S: Likewise.
5340 * sysdeps/i386/bsd-setjmp.S: Likewise.
5341 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5342 * sysdeps/i386/setjmp.S: Likewise.
5343 * sysdeps/i386/__longjmp.S: Likewise.
5344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5345 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5347 * include/stap-probe.h: New file.
5348 * configure.in: Handle --enable-systemtap.
5349 * configure: Regenerated.
5350 * config.h.in (USE_STAP_PROBE): New #undef.
5351 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5352 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5353 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5355 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5359 to 2.4.0 where earlier.
5360 * sysdeps/unix/sysv/linux/configure: Regenerated.
5361 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5362 <kernel-features.h>.
5363 [__ASSUME_32BITUIDS]: Make code unconditional.
5364 [!__ASSUME_32BITUIDS]: Remove conditional code.
5365 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5366 <kernel-features.h>.
5367 [__ASSUME_32BITUIDS]: Make code unconditional.
5368 [!__ASSUME_32BITUIDS]: Remove conditional code.
5369 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5370 [__ASSUME_32BITUIDS]: Make code unconditional.
5371 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5372 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5373 <kernel-features.h>.
5374 [__ASSUME_32BITUIDS]: Make code unconditional.
5375 [!__ASSUME_32BITUIDS]: Remove conditional code.
5376 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5377 <kernel-features.h>.
5378 [__ASSUME_32BITUIDS]: Make code unconditional.
5379 [!__ASSUME_32BITUIDS]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5381 <kernel-features.h>.
5382 [__ASSUME_32BITUIDS]: Make code unconditional.
5383 [!__ASSUME_32BITUIDS]: Remove conditional code.
5384 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5385 <kernel-features.h>.
5386 [__ASSUME_32BITUIDS]: Make code unconditional.
5387 [!__ASSUME_32BITUIDS]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5389 <kernel-features.h>.
5390 [__ASSUME_32BITUIDS]: Make code unconditional.
5391 [!__ASSUME_32BITUIDS]: Remove conditional code.
5392 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5393 <kernel-features.h>.
5394 [__ASSUME_32BITUIDS]: Make code unconditional.
5395 [!__ASSUME_32BITUIDS]: Remove conditional code.
5396 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5397 <kernel-features.h>.
5398 [__ASSUME_32BITUIDS]: Make code unconditional.
5399 [!__ASSUME_32BITUIDS]: Remove conditional code.
5400 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5401 <kernel-features.h>.
5402 [__ASSUME_32BITUIDS]: Make code unconditional.
5403 [!__ASSUME_32BITUIDS]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5405 <kernel-features.h>.
5406 [__ASSUME_32BITUIDS]: Make code unconditional.
5407 [!__ASSUME_32BITUIDS]: Remove conditional code.
5408 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5409 <kernel-features.h>.
5410 [__ASSUME_32BITUIDS]: Make code unconditional.
5411 [!__ASSUME_32BITUIDS]: Remove conditional code.
5412 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5413 <kernel-features.h>.
5414 [__NR_setresgid] (__setresgid): Do not declare.
5415 [__ASSUME_32BITUIDS]: Make code unconditional.
5416 [!__ASSUME_32BITUIDS]: Remove conditional code.
5417 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5418 <kernel-features.h>.
5419 [__NR_setresuid] (__setresuid): Do not declare.
5420 [__ASSUME_32BITUIDS]: Make code unconditional.
5421 [!__ASSUME_32BITUIDS]: Remove conditional code.
5422 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5423 <kernel-features.h>.
5424 [__ASSUME_32BITUIDS]: Make code unconditional.
5425 [!__ASSUME_32BITUIDS]: Remove conditional code.
5426 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5427 <kernel-features.h>.
5428 [__ASSUME_32BITUIDS]: Make code unconditional.
5429 [!__ASSUME_32BITUIDS]: Remove conditional code.
5430 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
5463 (__ASSUME_SETRESUID_SYSCALL): Remove.
5464 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5465 (__ASSUME_32BITUIDS): Likewise.
5466 (__ASSUME_LDT_WORKS): Likewise.
5467 (__ASSUME_O_DIRECTORY): Likewise.
5468 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5469 architecture but not kernel version.
5470 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5471 (__ASSUME_MMAP2_SYSCALL): Likewise.
5472 (__ASSUME_STAT64_SYSCALL): Likewise.
5473 (__ASSUME_IPC64): Likewise.
5474 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5475 <kernel-features.h>.
5476 [__ASSUME_32BITUIDS]: Make code unconditional.
5477 [!__ASSUME_32BITUIDS]: Remove conditional code.
5478 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5479 <kernel-features.h>.
5480 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5481 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5482 132096]: Remove conditional code.
5483 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
5493 <kernel-features.h>.
5494 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5496 (__setresgid): Do not declare.
5497 [__ASSUME_32BITUIDS]: Make code unconditional.
5498 [!__ASSUME_32BITUIDS]: Remove conditional code.
5499 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5500 <kernel-features.h>.
5501 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5503 (__setresuid): Do not declare.
5504 [__ASSUME_32BITUIDS]: Make code unconditional.
5505 [!__ASSUME_32BITUIDS]: Remove conditional code.
5506 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5507 <kernel-features.h>.
5508 [__ASSUME_32BITUIDS]: Make code unconditional.
5509 [!__ASSUME_32BITUIDS]: Remove conditional code.
5510 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5511 <kernel-features.h>.
5512 [__ASSUME_32BITUIDS]: Make code unconditional.
5513 [!__ASSUME_32BITUIDS]: Remove conditional code.
5515 2012-05-25 Richard Henderson <rth@twiddle.net>
5517 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5518 dl_hwcap to ifunc resolver.
5519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5521 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5522 dl_hwcap to ifunc resolver.
5523 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5525 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5528 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5529 for |x| <= 2**-26, not 2**-57.
5530 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5533 2012-05-24 Jeff Law <law@redhat.com>
5535 * stdio-common/Makefile (tests): Add bug25.
5536 * stdio-common/bug25.c: New test.
5538 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5541 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5542 multiple of MALLOC_ALIGNMENT in size.
5543 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5545 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5547 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5549 (FILENAME_MAX): Use macro-int-constant.
5550 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5551 (_IOFBF): Use macro-int-constant.
5554 (SEEK_CUR): Likewise.
5555 (SEEK_END): Likewise.
5556 (SEEK_SET): Likewise.
5557 (TMP_MAX): Likewise.
5558 (EOF): Use macro-int-constant. Require < 0.
5559 (NULL): Use macro-constant. Require == 0.
5560 (stdin): Require type to be FILE *.
5563 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5565 (EXIT_SUCCESS): Likewise.
5566 (NULL): Use macro-constant. Require == 0.
5567 (RAND_MAX): Use macro-int-constant.
5568 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5569 [C99-based standards] (strtof): Require function.
5570 [C99-based standards] (strtold): Likewise.
5571 [C99-based standards] (strtoll): Likewise.
5572 [C99-based standards] (strtoull): Likewise.
5573 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5574 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5575 [ISO || ISO99 || ISO11] (math.h): Likewise.
5576 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5577 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5580 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5583 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5584 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5585 * intl/dgettext.c (DCGETTEXT): Likewise.
5586 * intl/gettext.c (DCGETTEXT): Likewise.
5587 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5588 * posix/regex_internal.h (gettext): Likewise.
5589 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5591 * include/argz.h (__argz_count_internal)
5592 (__argz_stringify_internal): Remove declaration.
5593 (__argz_count, __argz_stringify): Declare hidden proto.
5594 * intl/dcgettext.c: Remove use of INTDEF.
5595 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5596 * string/argz-stringify.c: Likewise.
5597 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5598 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5599 Declare hidden proto.
5600 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5601 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5602 Declare hidden proto.
5603 * include/stdio.h (__asprintf_internal): Don't declare.
5604 (__asprintf): Don't define as macro. Declare hidden proto.
5605 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5606 (__fsetlocking): Declare hidden proto.
5607 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5608 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5610 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5611 (_IO_setlinebuf): Remove use of INTUSE.
5612 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5613 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5614 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5616 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5617 (_IO_do_flush): Remove use of INTUSE.
5618 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5619 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5620 (_IO_adjust_column, _IO_least_wmarker)
5621 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5622 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5623 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5624 (_IO_default_doallocate, _IO_wdefault_doallocate)
5625 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5626 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5627 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5628 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5629 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5630 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5631 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5632 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5633 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5634 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5635 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5636 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5637 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5639 (_IO_flush_all_internal, _IO_adjust_column_internal)
5640 (_IO_default_uflow_internal, _IO_default_finish_internal)
5641 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5642 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5643 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5644 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5645 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5646 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5647 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5648 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5649 (_IO_file_close_internal, _IO_file_close_it_internal)
5650 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5651 (_IO_file_init_internal, _IO_file_attach_internal)
5652 (_IO_file_fopen_internal, _IO_file_read_internal)
5653 (_IO_file_sync_internal, _IO_file_seek_internal)
5654 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5655 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5656 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5657 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5658 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5659 (_IO_list_all_internal, _IO_link_in_internal)
5660 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5661 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5662 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5663 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5664 (_IO_do_write_internal, _IO_padn_internal)
5665 (_IO_getline_info_internal, _IO_getline_internal)
5666 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5667 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5668 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5669 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5670 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5671 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5672 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5673 with libc_hidden_ver, remove use of INTUSE.
5674 * libio/genops.c: Likewise.
5675 * libio/freopen.c: Likewise.
5676 * libio/freopen64.c: Likewise.
5677 * libio/iofclose.c: Likewise.
5678 * libio/iofdopen.c: Likewise.
5679 * libio/iofflush.c: Likewise.
5680 * libio/iofflush_u.c: Likewise.
5681 * libio/iofgets.c: Likewise.
5682 * libio/iofgets_u.c: Likewise.
5683 * libio/iofopen.c: Likewise.
5684 * libio/iofopncook.c: Likewise.
5685 * libio/iofread.c: Likewise.
5686 * libio/iofread_u.c: Likewise.
5687 * libio/ioftell.c: Likewise.
5688 * libio/iofwrite.c: Likewise.
5689 * libio/iogetline.c: Likewise.
5690 * libio/iogets.c: Likewise.
5691 * libio/iogetwline.c: Likewise.
5692 * libio/iopadn.c: Likewise.
5693 * libio/iopopen.c: Likewise.
5694 * libio/ioseekoff.c: Likewise.
5695 * libio/ioseekpos.c: Likewise.
5696 * libio/iosetbuffer.c: Likewise.
5697 * libio/iosetvbuf.c: Likewise.
5698 * libio/ioungetc.c: Likewise.
5699 * libio/ioungetwc.c: Likewise.
5700 * libio/iovdprintf.c: Likewise.
5701 * libio/iovsprintf.c: Likewise.
5702 * libio/iovsscanf.c: Likewise.
5703 * libio/memstream.c: Likewise.
5704 * libio/obprintf.c: Likewise.
5705 * libio/oldfileops.c: Likewise.
5706 * libio/oldiofclose.c: Likewise.
5707 * libio/oldiofdopen.c: Likewise.
5708 * libio/oldiofopen.c: Likewise.
5709 * libio/oldiopopen.c: Likewise.
5710 * libio/oldstdfiles.c: Likewise.
5711 * libio/putc.c: Likewise.
5712 * libio/setbuf.c: Likewise.
5713 * libio/setlinebuf.c: Likewise.
5714 * libio/stdfiles.c: Likewise.
5715 * libio/strops.c: Likewise.
5716 * libio/vasprintf.c: Likewise.
5717 * libio/vscanf.c: Likewise.
5718 * libio/vsnprintf.c: Likewise.
5719 * libio/vswprintf.c: Likewise.
5720 * libio/wfiledoalloc.c: Likewise.
5721 * libio/wfileops.c: Likewise.
5722 * libio/wgenops.c: Likewise.
5723 * libio/wmemstream.c: Likewise.
5724 * libio/wstrops.c: Likewise.
5725 * libio/__fpurge.c: Likewise.
5726 * libio/__fsetlocking.c: Likewise.
5727 * assert/assert.c: Likewise.
5728 * debug/fgets_chk.c: Likewise.
5729 * debug/fgets_u_chk.c: Likewise.
5730 * debug/fread_chk.c: Likewise.
5731 * debug/fread_u_chk.c: Likewise.
5732 * debug/gets_chk.c: Likewise.
5733 * debug/obprintf_chk.c: Likewise.
5734 * debug/vasprintf_chk.c: Likewise.
5735 * debug/vdprintf_chk.c: Likewise.
5736 * debug/vsnprintf_chk.c: Likewise.
5737 * debug/vsprintf_chk.c: Likewise.
5738 * malloc/mtrace.c: Likewise.
5739 * misc/error.c: Likewise.
5740 * misc/syslog.c: Likewise.
5741 * stdio-common/asprintf.c: Likewise.
5742 * stdio-common/fxprintf.c: Likewise.
5743 * stdio-common/getw.c: Likewise.
5744 * stdio-common/isoc99_fscanf.c: Likewise.
5745 * stdio-common/isoc99_scanf.c: Likewise.
5746 * stdio-common/isoc99_vfscanf.c: Likewise.
5747 * stdio-common/isoc99_vscanf.c: Likewise.
5748 * stdio-common/isoc99_vsscanf.c: Likewise.
5749 * stdio-common/printf-prs.c: Likewise.
5750 * stdio-common/printf_fp.c: Likewise.
5751 * stdio-common/printf_fphex.c: Likewise.
5752 * stdio-common/printf_size.c: Likewise.
5753 * stdio-common/putw.c: Likewise.
5754 * stdio-common/scanf.c: Likewise.
5755 * stdio-common/sprintf.c: Likewise.
5756 * stdio-common/tmpfile.c: Likewise.
5757 * stdio-common/vfprintf.c: Likewise.
5758 * stdio-common/vfscanf.c: Likewise.
5759 * stdlib/strfmon_l.c: Likewise.
5760 * sunrpc/openchild.c: Likewise.
5761 * sunrpc/xdr_stdio.c: Likewise.
5762 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5763 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5765 2012-05-24 Roland McGrath <roland@hack.frob.com>
5767 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5769 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5770 in the third column, to generate for the shared library an IFUNC
5771 that uses _dl_vdso_vsym.
5772 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5773 * Makeconfig (object-suffixes-noshared): New variable.
5775 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5776 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5777 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5778 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5781 * include/sys/time.h (__gettimeofday): Remove macro.
5782 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5783 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5785 (__gettimeofday): Add libc_hidden_def.
5786 (gettimeofday): Add libc_hidden_weak.
5787 * sysdeps/mach/gettimeofday.c: Likewise.
5788 * sysdeps/posix/gettimeofday.c: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5790 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5792 (__gettimeofday_internal): Remove strong_alias.
5793 (__gettimeofday): Add libc_hidden_def.
5794 (gettimeofday): Add libc_hidden_weak.
5795 * sysdeps/unix/syscalls.list (gettimeofday):
5796 Remove __gettimeofday_internal alias.
5798 2012-05-24 Daniel Jacobowitz <drow@false.org>
5799 H.J. Lu <hongjiu.lu@intel.com>
5802 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5803 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5804 (largebin_index_32_big): New.
5805 (largebin_index): Use it for 16-byte alignment.
5806 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5807 correction with front_misalign.
5809 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5837 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5838 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5840 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5844 * math/libm-test.inc (exp_test): Add test from bug 14036.
5845 (pow_test): Add test from bug 10846.
5847 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5849 (special_function): Do not include flags in test name.
5850 (parse_args): Likewise.
5851 * sysdeps/i386/fpu/libm-test-ulps: Update.
5852 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5853 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5857 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5859 * math/libm-test.inc ("Philosophy"): Update comment about
5861 (UNDERFLOW_EXCEPTION): New macro.
5862 (UNDERFLOW_EXCEPTION_OK): Likewise.
5863 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5864 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5865 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5866 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5867 (INVALID_EXCEPTION_OK): Update value.
5868 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5869 (OVERFLOW_EXCEPTION_OK): Likewise.
5870 (IGNORE_ZERO_INF_SIGN): Likewise.
5871 (test_exceptions): Handle underflow exceptions.
5872 (acos_test): Update for underflow exception expectations.
5873 (cexp_test): Likewise.
5874 (clog_test): Likewise.
5875 (clog10_test): Likewise.
5876 (csqrt_test): Likewise.
5877 (ctan_test): Likewise.
5878 (ctanh_test): Likewise.
5879 (exp_test): Likewise.
5880 (exp10_test): Likewise.
5881 (exp2_test): Likewise.
5882 (expm1_test): Likewise.
5883 (fma_test): Likewise.
5884 (j0_test): Likewise.
5885 (jn_test): Likewise.
5886 (nexttoward_test): Likewise.
5887 (pow_test): Likewise.
5888 (scalbn_test): Likewise.
5889 (scalbln_test): Likewise.
5890 (tan_test): Likewise.
5891 (y1_test): Likewise.
5892 * sysdeps/i386/fpu/libm-test-ulps: Update.
5893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5895 2012-05-23 David S. Miller <davem@davemloft.net>
5897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5898 (__libc_sigaction): Remove unused local variables.
5900 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5902 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5904 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5906 mktime: avoid signed integer overflow
5907 * time/mktime.c (__mktime_internal): Do not mishandle the case
5908 where diff == INT_MIN.
5910 mktime: simplify computation of average
5911 * time/mktime.c (ranged_convert): Use new time_t_avg function
5912 instead of rolling our own (probably-slower) code.
5914 mktime: do not assume signed right shift propagates sign bit
5915 * time/mktime.c (isdst_differ): New static function.
5916 (__mktime_internal): No need to normalize tm_isdst now.
5917 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5920 mktime: merge another wrapv change from gnulib
5921 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5922 from some compilers.
5924 mktime: remove incorrect attempt at unusual arithmetics
5925 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5926 The code didn't really work on such machines anyway.
5927 (TYPE_MINIMUM): Assume two's complement.
5928 (twos_complement_arithmetic): Verify that long_int and time_t
5929 are two's complement (or unsigned, in the latter case).
5931 mktime: check signed shifts on long_int and time_t, too
5932 * time/mktime.c (SHR): Check that shifts work as desired
5933 on the types long_int and time_t too, as SHR is used on
5936 mktime: do not assume 'long' is wide enough
5937 * time/mktime.c (verify): Move decl up.
5938 (long_int): New type.
5939 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5940 to remove assumption in the code that 'long' is wide enough to
5941 store year values. This assumption is not true on x32 and on
5942 some non-glibc platforms.
5944 mktime: merge wrapv change from gnulib
5945 * time/mktime.c (WRAPV): New macro.
5946 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5947 (guess_time_tm, __mktime_internal): Do not assume that signed
5948 integer overflow wraps around; modern compilers generate code
5949 where this assumption is no longer valid.
5951 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5953 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5954 Replace "jmp L(pseudo_end)" with "ret".
5955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5958 2012-05-23 Andreas Jaeger <aj@suse.de>
5960 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5961 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5963 2012-05-23 Andreas Jaeger <aj@suse.de>
5964 Maximilian Attems <max@stro.at>
5966 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5969 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5971 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5972 code so that pseudo_end is just ret and the stack pointer is
5973 correct also for static library in error case.
5975 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5978 move to syscalls.list.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5984 * manual/install.texi (Running make install): Do not mention Linux
5985 kernel version for which pt_chown is not needed.
5986 (Linux): Do not mention problems with nscd with 2.0 kernels.
5987 * INSTALL: Regenerated.
5989 2012-05-23 Andreas Jaeger <aj@suse.de>
5991 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5992 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5994 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5996 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5998 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6001 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6004 * sysdeps/unix/sysv/linux/bits/in.h
6005 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6007 2012-05-22 Roland McGrath <roland@hack.frob.com>
6009 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6010 (PREPARE_VERSION): Just use assert instead, it will be elided
6011 under [NDEBUG] anyway.
6013 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6015 * sysdeps/unix/sysv/linux/Makefile: Include
6016 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6017 (sysdep_routines): Remove sysctl.
6018 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6019 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6020 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6021 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6022 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6024 2012-05-22 Andreas Jaeger <aj@suse.de>
6026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6027 that pseudo_end is just ret and the stack pointer is correct also
6028 for static library in error case.
6030 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6033 * nss/nsswitch.c (defconfig_entries): New variable.
6034 (__nss_database_lookup): Don't leak defconfig entries.
6035 (nss_parse_service_list): Don't leak on error paths.
6036 (free_database_entries): New function.
6037 (free_defconfig): New function.
6038 (free_mem): Move common code to free_database_entries.
6040 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6044 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6046 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6047 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6050 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6051 (INTERNAL_SYSCALL_TYPES): Likewise.
6052 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6053 (LOAD_REGS_TYPES_[1-6]): Likewise.
6054 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6055 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6057 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6060 copysignl for GLIBC_2_0.
6061 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6062 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6064 logbl for GLIBC_2_0.
6065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6066 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6068 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6071 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6073 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6076 * time/mktime.c: Update copyright years.
6078 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6080 mktime: merge comment-quoting-style change from gnulib
6081 * time/mktime.c: Quote 'like this' in comments.
6082 The GNU coding standards suggest that we no longer quote `like this',
6083 as "`" and "'" are typically rendered asymmetrically nowadays.
6084 The typical gnulib style is to quote 'like this' when quoting
6085 code, and "like this" when quoting English.
6087 * time/mktime.c (compile-command): Add "-I.".
6089 mktime: merge mktime-internal.h change from gnulib
6090 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6092 mktime: merge time_r change from gnulib
6093 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6095 mktime: merge DEBUG change from gnulib
6096 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6097 case system <time.h> has a #define.
6099 mktime: merge <sys/types.h> change from gnulib
6100 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6101 since <time.t> is now guaranteed to define time_t.
6103 mktime: merge HAVE_CONFIG_H change from gnulib
6104 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6106 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6111 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6113 (struct rusage): Use anonymous union to pad each field to
6116 2012-05-21 David S. Miller <davem@davemloft.net>
6118 * Makefules (o-iterator): Remove .s cases.
6119 (compile-command.s): Delete.
6120 (COMPILE.s): Delete.
6121 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6123 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6125 * configure.in (libc_cv_predef_stack_protector): Only consider
6126 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6127 * configure: Regenerated.
6129 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6132 New macro. Use R*LP on int and pointer.
6133 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6138 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6139 [__WORDSIZE_TIME64_COMPAT32] instead of
6140 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6141 (struct utmp): Likewise.
6142 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6143 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6145 (__WORDSIZE_TIME64_COMPAT32): This.
6146 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6147 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6148 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6149 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6150 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6151 (__WORDSIZE_TIME64_COMPAT32): New macro.
6153 2012-05-21 Andreas Jaeger <aj@suse.de>
6155 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6156 only if [SHARED]. Add prototype for __wcschr_ia32.
6158 2012-05-21 Roland McGrath <roland@hack.frob.com>
6160 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6161 of %rbp unmolested in the jmp_buf while mangling the low bits.
6162 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6163 unmolested high bits of %rbp while demangling the low bits.
6164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6166 2012-05-21 Andreas Jaeger <aj@suse.de>
6168 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6169 * sunrpc/svc_simple.c: Use it for registerrpc.
6170 * sunrpc/xcrypt.c: Use it for passwd2des.
6172 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6174 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6176 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6177 Don't define if [__SYSCALL_WORDSIZE != 32].
6178 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6181 2012-05-21 Bruno Haible <bruno@clisp.org>
6182 Andreas Jaeger <aj@suse.de>
6184 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6185 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6186 inptr and inend for must_buffer_ch.
6187 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6188 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6189 * stdio-common/Makefile (tests): Remove bug15.
6190 (bug15-ENV): Remove macro.
6191 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6194 2012-05-19 Andreas Jaeger <aj@suse.de>
6195 Roland McGrath <roland@hack.frob.com>
6197 * manual/contrib.texi: Completely rewritten. It contains now an
6198 alphabetical list of contributors and their contributions.
6200 2012-05-21 Richard Henderson <rth@twiddle.net>
6202 * misc/getauxval.c (__getauxval): Use unsigned long int.
6203 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6204 (getauxval): Use unsigned long int.
6206 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6208 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6210 2012-05-21 Roland McGrath <roland@hack.frob.com>
6212 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6213 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6214 __alignof__ (long double).
6216 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6220 2012-05-20 Richard Henderson <rth@twiddle.net>
6222 * misc/getauxval.c: New file.
6223 * misc/sys/auxv.h: New file.
6224 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6225 (routines): Add getauxval.
6226 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6227 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6228 * elf/dl-sysdep.c (_dl_auxv): Remove.
6229 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6230 * elf/dl-support.c (_dl_auxv): New variable.
6231 (_dl_aux_init): Initialize it.
6232 * manual/startup.texi (Auxiliary Vector): New node.
6233 * sysdeps/generic/bits/hwcap.h: New file.
6234 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6235 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6236 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6237 * sysdeps/sparc/sysdep.h: ... here. Include it.
6238 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6251 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6255 2012-05-19 David S. Miller <davem@davemloft.net>
6257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6259 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6262 * math/s_ccosh.c: Include <float.h>
6263 (__ccosh): Avoid internal overflow calculating sinh and cosh
6264 values before multiplying by sin and cos values.
6265 * math/s_ccoshf.c: Likewise.
6266 * math/s_ccoshl.c: Likewise.
6267 * math/s_csin.c: Likewise.
6268 * math/s_csinf.c: Likewise.
6269 * math/s_csinl.c: Likewise.
6270 * math/s_csinh.c: Likewise.
6271 * math/s_csinhf.c: Likewise.
6272 * math/s_csinhl.c: Likewise.
6273 * math/libm-test.inc (ccos_test): Add more tests.
6274 (ccosh_test): Likewise.
6275 (csin_test): Likewise.
6276 (csinh_test): Likewise.
6277 * sysdeps/i386/fpu/libm-test-ulps: Update.
6278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6280 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6282 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6283 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6285 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6287 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6289 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6290 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6291 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6292 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6293 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6294 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6295 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6296 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6297 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6298 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6299 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6300 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6301 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6302 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6303 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6304 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6305 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6306 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6307 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6308 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6309 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6310 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6311 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6312 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6313 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6314 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6315 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6316 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6317 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6318 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6319 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6321 2012-05-18 Andreas Jaeger <aj@suse.de>
6323 * csu/.gitignore: Delete.
6325 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6327 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6328 (timex): Use __syscall_slong_t.
6330 2012-05-18 Andreas Jaeger <aj@suse.de>
6331 Carlos O'Donell <carlos_odonell@mentor.com>
6333 * manual/install.texi (Configuring and compiling): Update
6334 description about files modified in the source directory.
6335 * INSTALL: Regenerated.
6337 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6339 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6340 value. Use "or" to set return value to -1.
6341 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6342 negate return value.
6344 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6346 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6347 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6348 failure if the compiler has Graphite support disabled.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6351 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6352 CFLAGS-memmove.c): Likewise.
6353 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6356 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6358 * sysdeps/x86_64/x32/_itoa.h: New file.
6360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6361 getdents system call only if kernel and user dirents have the
6362 same d_ino and d_off.
6364 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6365 LLONG_MAX != LONG_MAX.
6366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6367 (_fitoa_word): Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6371 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6375 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6376 include <bits/wordsize.h>. Check __x86_64__ instead of
6378 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6379 if __x86_64__ is defined. Use anonymous union on fpstate.
6381 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6384 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6386 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6387 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6389 Refer to _rtld_local_ro instead of _rtld_global_ro.
6390 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6392 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6394 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6396 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6397 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6398 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6400 * sysdeps/powerpc/powerpc32/dl-machine.c
6401 (__elf_machine_runtime_setup) [PROF]: Don't reference
6404 2012-05-18 Andreas Jaeger <aj@suse.de>
6406 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6407 function only available for GCCs before 3.4 since GCC 3.4
6408 introduced a builtin.
6410 (llrintf): Likewise.
6418 (nearbyint): Likewise.
6419 (nearbyintf): Likewise.
6425 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6427 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6428 on both fields and cast pointer to __syscall_ulong_t.
6430 * bits/types.h (__fsword_t): New type.
6431 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6432 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6434 (__FSWORD_T_TYPE): Likewise.
6435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6436 (__FSWORD_T_TYPE): Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6438 (__FSWORD_T_TYPE): Likewise.
6439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6440 (__FSWORD_T_TYPE): Likewise.
6441 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6442 __SWORD_TYPE with __fsword_t.
6443 (statfs64): Likewise.
6445 2012-05-17 David S. Miller <davem@davemloft.net>
6447 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6449 2012-05-17 Andreas Jaeger <aj@suse.de>
6451 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6454 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6456 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6458 2012-05-17 Andreas Jaeger <aj@suse.de>
6460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6463 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6465 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6467 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6469 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6470 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6472 2012-05-17 Andreas Jaeger <aj@suse.de>
6473 Carlos O'Donell <carlos_odonell@mentor.com>
6476 * sysdeps/x86_64/multiarch/init-arch.h
6477 (bit_YMM_Usable): Rename to...
6478 (bit_AVX_Usable): ... this.
6479 (bit_FMA4_Usable): New macro.
6480 (bit_XMM_state): New macro.
6481 (bit_YMM_state): New macro.
6482 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6483 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6484 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6485 (CPUID_OSXSAVE): New macro.
6486 (CPUID_AVX): New macro.
6487 (CPUID_FMA4): New macro.
6488 (index_YMM_Usable): Rename to...
6489 (index_AVX_Usable): ... this.
6490 (HAS_AVX): Use HAS_ARCH_FEATURE.
6491 (HAS_FMA4): Likewise.
6492 (HAS_YMM_USABLE): Remove.
6493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6494 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6496 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6497 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6498 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6499 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6500 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6502 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6504 * math/libm-test.c: Support platforms without multiple rounding modes.
6505 * math/bug-nextafter.c: Support platforms without FP exceptions.
6506 * math/bug-nexttoward.c: Likewise.
6507 * math/test-fenv.c: Likewise.
6508 * math/test-misc.c: Likewise.
6509 * stdlib/bug-getcontext.c: Likewise.
6511 2012-05-17 Andreas Jaeger <aj@suse.de>
6513 * manual/examples/search.c (critter_cmp): Change signature to
6515 * manual/string.texi (Collation Functions): Likewise.
6517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6519 * bits/types.h: Fold copyright years.
6520 * bits/typesizes.h: Likewise.
6521 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6525 * time/time.h: Likewise.
6527 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6530 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6531 in instead of returning them. Return void.
6532 (__libc_mallinfo): Accumulate over all arenas.
6533 (__malloc_stats): Adjust for change in int_mallinfo interface.
6535 2012-05-16 Roland McGrath <roland@hack.frob.com>
6538 * configure.in (NM): Add AC_CHECK_TOOL for it.
6539 (libc_extra_cflags): New substituted variable.
6540 Check for -fstack-protector being used implicitly.
6541 * configure: Regenerated.
6542 * config.make.in (config-extra-cflags): New variable,
6543 gets @libc_extra_cflags@.
6544 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6547 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6548 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6549 * configure: Regenerated.
6550 * config.make.in (CPPUNDEFS): New substituted variable.
6551 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6552 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6553 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6557 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6558 (mq_attr): Use __syscall_slong_t.
6560 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6562 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6563 Check __x86_64__ instead of __WORDSIZE.
6564 (_STAT_VER_LINUX): Likewise.
6565 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6566 __syscall_ulong_t and __syscall_slong_t.
6569 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6579 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6582 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6583 include <bits/wordsize.h>. Check __x86_64__ instead of
6585 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6587 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6590 include <bits/wordsize.h>. Check __x86_64__ instead of
6592 (user_regs_struct): Use "__extension__ unsigned long long"
6593 instead of "unsigned long" if __x86_64__ is defined.
6594 (user): Likewise. Pad after pointer field if __ILP32__ is
6597 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6599 * configure.in (makeinfo): Require version 4.5 or later. Allow
6601 * configure: Regenerated.
6602 * manual/install.texi (texinfo): Increase version requirement to
6604 * INSTALL: Regenerated.
6606 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6608 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6610 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6612 * sysdeps/x86_64/x32/ffs.c: New file.
6614 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6616 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6617 defined. Use __syscall_ulong_t.
6618 (shminfo): Use __syscall_ulong_t.
6619 (shm_info): Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6624 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6626 (msgqnum_t): Use __syscall_ulong_t.
6627 (msglen_t): Likewise.
6628 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6631 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6632 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6636 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6637 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6639 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6642 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6643 include <bits/wordsize.h>. Check __x86_64__ instead of
6646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6647 "unsigned long long int" if __x86_64__ is defined.
6648 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6651 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6652 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6654 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6656 (GET_PC): Cast to uintptr_t first.
6657 (GET_FRAME): Likewise.
6658 (GET_STACK): Likewise.
6660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6666 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6667 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6668 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6669 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6670 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6672 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6675 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6678 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6681 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6683 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6688 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6690 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6692 * Makerules (+depfiles): Also collect depfiles from .oS in
6694 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6695 .oS, $(libnldbl-routines)).
6697 * Makerules (native-compile-mkdep-flags): Define.
6698 * sunrpc/Makefile (extra-objs): Add $(addprefix
6699 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6700 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6701 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6702 calling $(make-target-directory).
6704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6706 * bits/types.h (__snseconds_t): Removed.
6707 * time/time.h (struct timespec): Replace __snseconds_t with
6709 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6710 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6713 (__SNSECONDS_T_TYPE): Likewise.
6714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6715 (__SNSECONDS_T_TYPE): Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6717 (__SNSECONDS_T_TYPE): Likewise.
6719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6721 * sysdeps/mach/hurd/bits/typesizes.h
6722 (__SYSCALL_SLONG_TYPE): New macro.
6723 (__SYSCALL_ULONG_TYPE): Likewise.
6725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6727 * bits/types.h (__syscall_slong_t): New type.
6728 (__syscall_ulong_t): Likewise.
6730 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6731 (__SYSCALL_ULONG_TYPE): Likewise.
6732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6733 (__SYSCALL_SLONG_TYPE): Likewise.
6734 (__SYSCALL_ULONG_TYPE): Likewise.
6735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6736 (__SYSCALL_SLONG_TYPE): Likewise.
6737 (__SYSCALL_ULONG_TYPE): Likewise.
6738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6739 (__SYSCALL_SLONG_TYPE): Likewise.
6740 (__SYSCALL_ULONG_TYPE): Likewise.
6742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6744 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6745 Add sigaltstack-offsets.sym.
6746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6747 <sigaltstack-offsets.h>.
6748 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6749 longjmp_msg pointer.
6750 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6751 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6753 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6755 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6757 * elf/stackguard-macros.h: Remove file.
6758 * sysdeps/generic/stackguard-macros.h: New file.
6759 * sysdeps/i386/stackguard-macros.h: Likewise.
6760 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6761 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6762 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6763 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6764 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6765 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6766 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6767 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6768 <elf/stackguard-macros.h>.
6771 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6772 __aligned__ in attribute.
6773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6774 (gregset_t): Likewise.
6776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6778 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6779 * sysdeps/x86_64/64/Implies-after: Here. New file.
6780 * sysdeps/x86_64/x32/Implies-after: New file.
6782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6784 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6785 and access return value for _dl_profile_fixup. Use R10_LP to
6788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6790 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6794 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6795 * sysdeps/x86_64/x32/sysdep.h: New file.
6797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6799 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6800 * sysdeps/x86_64/setjmp.S: Likewise.
6802 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6806 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6808 remove unused global constant.
6810 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6812 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6813 include of <not-cancel.h>.
6815 2012-05-15 Roland McGrath <roland@hack.frob.com>
6817 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6819 2012-05-15 Jeff Law <law@redhat.com>
6820 Andreas Jaeger <aj@suse.de>
6823 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6825 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6826 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6827 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6828 code changing __hst_map_handle.map.
6830 2012-05-15 Roland McGrath <roland@hack.frob.com>
6832 * configure.in (sysnames): Look for Implies-before and Implies-after
6834 * configure: Regenerated.
6836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6838 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6839 8-byte data alignment with LP_SIZE alignment.
6841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6848 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6852 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6853 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6860 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6861 (stackinfo_sub_sp): Likewise.
6863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6870 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6884 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6885 into R11_LP and load __x86_64_shared_cache_size_half into
6888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6893 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6902 powerpc32/power7/fpu/s_logb.c via #include.
6903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6904 powerpc32/power7/fpu/s_logbf.c via #include.
6905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6906 powerpc32/power7/fpu/s_logbl.c via #include.
6908 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6910 * README.libm: Remove file.
6912 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6914 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6915 count for x32. Use R*_LP and omit operand-size suffix.
6917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6919 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6920 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6921 * sysdeps/x86_64/x32/shlib-versions: New file.
6923 2012-05-14 Roland McGrath <roland@hack.frob.com>
6925 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6926 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6927 Use _dl_fatal_printf instead.
6929 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6932 set if not set by the user. Do not allow for being unset.
6933 * sysdeps/unix/sysv/linux/configure: Regenerated.
6935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6937 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6938 the `q' suffix from lea and replace .quad with ASM_ADDR.
6940 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6943 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6945 (PTR_DEMANGLE): Likewise.
6947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6949 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6951 (ASM_ADDR): Likewise.
6969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6971 * sysdeps/x86_64/x32/dl-machine.h: New file.
6973 2012-05-14 Andreas Jaeger <aj@suse.de>
6975 * manual/Makefile (subdir): Remove export of subdir.
6976 (all): Remove target.
6977 (.PHONY): Remove all from list.
6978 (mkinstalldirs): Remove.
6979 (.PHONY): Remove installdirs from list.
6980 ($(inst_infodir)/libc.info): Use make-target-directory.
6981 (installdirs): Remove.
6983 (glibc-targets): Remove.
6986 ($(objpfx)stubs ../po/manual.pot): Remove.
6987 ($(objpfx)stamp%): Remove.
6988 (make-target-directory): Remove.
6989 (subdir_install): Remove.
6997 * manual/.gitignore: Remove, it's not needed anymore.
6998 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7000 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7002 (texis): Renamed to $(objpfx)texis.
7003 (texis-path): New, contains path to generated files.
7004 (chapters.%): Use texis-path for complete path, add extra argument
7006 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7007 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7008 (summary,texi, stamp-summary): Use complete path of
7009 files. Generate files in build dir.
7010 (dir-add.texi): Build in build dir.
7011 (libm-err.texi,stamp-libm-err): Likewise.
7012 (version.texi, stamp-version): Likewise.
7013 (.%c.texi): Likewise.
7014 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7015 (mostlyclean): Remove target.
7016 (realclean): Remove target.
7017 (generated): Add new variable with contents from mostlyclean and
7018 realclean, remove entries duplicated in common-mostlyclean, add
7019 stamp-libm-err and stamp-version.
7020 (generated-dirs): Add libc directory.
7021 ($(inst_infodir)/libc.info): Install files from build dir.
7023 * manual/install.texi (Configuring and compiling): Adjust since
7024 the info files are not part of the tar ball anymore.
7026 2012-05-14 Andreas Jaeger <aj@suse.de>
7028 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7031 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7035 to 2.2.0 where earlier.
7036 * sysdeps/unix/sysv/linux/configure: Regenerated.
7037 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7038 Remove conditional code.
7039 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7040 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7041 Remove conditional code.
7042 [!__NR_lchown]: Likewise.
7043 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7044 [__NR_lchown]: Likewise.
7045 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7046 comment referencing __ASSUME_LCHOWN_SYSCALL.
7047 * sysdeps/unix/sysv/linux/i386/sigaction.c
7048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7050 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7051 Remove conditional code.
7052 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7053 (__protocol_available): Remove #if 0 code.
7054 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7056 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7057 * sysdeps/unix/sysv/linux/kernel-features.h
7058 (__ASSUME_GETCWD_SYSCALL): Don't define.
7059 (__ASSUME_REALTIME_SIGNALS): Likewise.
7060 (__ASSUME_PREAD_SYSCALL): Likewise.
7061 (__ASSUME_PWRITE_SYSCALL): Likewise.
7062 (__ASSUME_POLL_SYSCALL): Likewise.
7063 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7064 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7066 (__ASSUME_SIOCGIFNAME): Don't define.
7067 (__ASSUME_MSG_NOSIGNAL): Likewise.
7068 (__ASSUME_SENDFILE): Define unconditionally.
7069 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7070 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7072 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7073 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7074 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7075 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7076 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7078 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7103 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7104 Remove conditional code.
7105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7106 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7107 Remove conditional code.
7108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7109 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7110 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7111 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7112 Remove conditional code.
7113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7114 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7115 Remove conditional code.
7116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7117 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7118 Remove conditional code.
7119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7120 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7121 Remove conditional code.
7122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7123 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7124 Remove conditional code.
7125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7126 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7127 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7129 * sysdeps/unix/sysv/linux/sigaction.c
7130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7132 * sysdeps/unix/sysv/linux/sigpending.c
7133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7135 * sysdeps/unix/sysv/linux/sigprocmask.c
7136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7138 * sysdeps/unix/sysv/linux/sigsuspend.c
7139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7142 (__libc_missing_rt_sigs): Remove.
7143 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7144 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7145 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7146 Remove conditional code.
7147 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7148 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7151 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7153 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7155 2012-05-14 Andreas Jaeger <aj@suse.de>
7157 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7158 it's not used in glibc.
7159 (__coshm1): Likewise.
7160 (__acosh1p): Likewise.
7163 * manual/string.texi (Copying and Concatenation): Add missing
7164 variable in concat example.
7165 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7171 __builtin_clzl with __builtin_clzll.
7173 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7176 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7179 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7181 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7182 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7183 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7186 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7188 * NEWS: Update ia64 info.
7190 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7192 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7195 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7197 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7198 * sysdeps/unix/syscalls.list (dup3): Likewise.
7199 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7200 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7202 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7204 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7205 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7207 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7209 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7211 (TLS_IE): Use mov/add instead of movq/addq to load thread
7213 (TLS_GD_PREFIX): New.
7216 2012-05-11 David S. Miller <davem@davemloft.net>
7218 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7219 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7220 (_FPU_SETCW): Likewise.
7222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7224 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7227 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7230 * iconvdata/gb18030.c: Update tables.
7231 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7232 characters specially.
7233 (BODY for TO_LOOP): Add encoding of missing ranges.
7235 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7238 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7239 * sysdeps/mach/hurd/dup3.c: Likewise.
7240 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7241 * sysdeps/powerpc/memmove.c:: Likewise.
7243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7246 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7248 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7250 * elf/elf.h (R_X86_64_RELATIVE64): New.
7251 (R_X86_64_NUM): Updated.
7252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7253 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7254 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7255 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7256 tst-quad1pie tst-quad2pie
7257 (modules-names): Add tst-quadmod1 tst-quadmod2.
7258 ($(objpfx)tst-quad1): New dependency.
7259 ($(objpfx)tst-quad2): Likewise.
7260 ($(objpfx)tst-quad1pie): Likewise.
7261 ($(objpfx)tst-quad2pie): Likewise.
7262 * sysdeps/x86_64/tst-quad1.c: New file.
7263 * sysdeps/x86_64/tst-quad1pie.c: New file.
7264 * sysdeps/x86_64/tst-quad2.c: Likewise.
7265 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7266 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7267 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7268 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7269 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7273 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7274 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7275 * streams/stropts.h (t_scalar_t): Define type.
7277 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7278 (_PATH_PRESERVE): Set to "/var/lib".
7279 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7281 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7284 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7285 if __dir_mkfile succeeded.
7287 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7288 checking for _hurd_dtablesize. Unlock it right after having
7289 finished _hurd_dtable allocation.
7291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7293 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7294 * sysdeps/mach/hurd/configure: Regenerated.
7295 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7296 special-casing to...
7297 * sysdeps/gnu/configure.in: ... this new file.
7298 * sysdeps/unix/sysv/linux/configure: Regenerated.
7299 * sysdeps/gnu/configure: New generated file.
7301 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7302 for Linux: use nsec instead of usec, as well as:
7303 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7304 members of type struct timespec.
7305 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7307 (struct stat64): Likewise.
7308 (_STATBUF_ST_NSEC): New macro.
7309 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7312 __strtoul_internal rather than strtoul.
7314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7316 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7321 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7322 which preserves existing values.
7323 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7325 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7327 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7328 TIMEOUT values. Return EINVAL for NFDS values either negative or
7329 greater than FD_SETSIZE.
7331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7333 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7334 allocated, call __vm_protect to finish enabling the existing space, and
7335 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7336 allocate the remainder.
7338 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7340 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7341 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7345 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7346 sysdeps/mach/hurd/readlink.c.
7348 * posix/tst-sysconf.c (posix_options): Only use
7349 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7350 _POSIX_SYNCHRONIZED_IO when they are defined
7351 * sysdeps/mach/hurd/bits/posix_opt.h:
7352 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7353 (_XOPEN_REALTIME): Undefine macro.
7354 (_XOPEN_REALTIME_THREADS): Undefine macro.
7355 (_XOPEN_SHM): Undefine macro.
7356 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7358 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7360 (_POSIX_ASYNC_IO): Undefine macro.
7361 (_POSIX_PRIORITIZED_IO): Undefine macro.
7362 (_POSIX_SPIN_LOCKS): Define macro to -1.
7364 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7365 SA_NODEFER, SA_RESETHAND.
7366 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7367 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7372 * elf/Makefile (pldd-modules): Define unconditionally.
7374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7376 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7380 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7381 Return ENOENT when name is empty.
7382 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7384 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7386 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7388 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7392 Fix mlock in all cases except non-readable pages.
7393 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7394 instead of VM_PROT_ALL as parameter to __vm_wire function.
7396 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7397 (__mkdir): When path is `/', just fail with EEXIST.
7398 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7402 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7403 <sys/uio.h> (for writev).
7404 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7405 and <sys/param.h> (for MIN).
7407 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7409 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7410 REQUESTED_TIME. Properly set the remaining time and return EINTR
7413 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7415 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7416 Depend on against $(link-rpcuserlibs).
7418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7420 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7421 (__libc_stack_end): Do not use attribute_relro.
7422 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7423 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7424 to libthread-provided value.
7425 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7431 * bits/libc-lock.h (__libc_once_get): New macro.
7432 * sysdeps/mach/bits/libc-lock.h: Likewise.
7433 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7434 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7435 instead of using implementation details.
7437 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7438 * libio/freopen.c: Likewise.
7439 * libio/freopen64.c: Likewise.
7440 * misc/syslog.c: Likewise.
7441 * nscd/connections.c: Likewise.
7442 * nscd/netgroupcache.c: Likewise.
7443 * sysdeps/posix/getcwd.c: Likewise.
7445 2012-05-10 Roland McGrath <roland@hack.frob.com>
7447 * math/w_ilogbf.c: Add #include <limits.h>.
7449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7451 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7452 path instead of returning without unlocking.
7454 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7455 immediate-write ioctls.
7456 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7460 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7461 __builtin_frame_address instead of making assumptions about the
7462 location of the return address relative to DATA. Force early load of
7464 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7465 __builtin_frame_address.
7468 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7469 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7470 implement dup3 and do some further code clean-ups.
7471 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7472 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7476 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7478 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7479 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7480 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7481 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7482 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7485 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7486 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7487 when handler == SIG_ERR, not when handler != SIG_ERR.
7489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7491 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7492 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7495 accept4 for GNU Hurd.
7496 * include/sys/socket.h (__libc_accept4): New prototype.
7497 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7498 to implement __libc_accept4.
7499 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7501 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7503 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7504 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7505 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7510 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7514 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7515 assertion on O_CLOEXEC flag.
7516 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7517 * hurd/intern-fd.c: Likewise.
7518 * hurd/port2fd.c: Likewise.
7520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7523 * bits/in.h (IPV6_PKTINFO): Define new macro.
7524 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7526 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7531 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7533 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7536 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7537 * math/libm-test.inc (logb_test) : Additional logb tests.
7539 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7540 Andreas Jaeger <aj@suse.de>
7542 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7543 * configure: Regenerated.
7544 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7545 * config.make.in (link-obsolete-rpc): New substituted variable.
7546 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7547 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7548 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7549 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7550 so that libc.a contains the symbols.
7551 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7552 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7553 * sunrpc/auth_none.c: Likewise.
7554 * sunrpc/auth_unix.c: Likewise.
7555 * sunrpc/authdes_prot.c: Likewise.
7556 * sunrpc/authuxprot.c: Likewise.
7557 * sunrpc/clnt_gen.c: Likewise.
7558 * sunrpc/clnt_perr.c: Likewise.
7559 * sunrpc/clnt_raw.c: Likewise.
7560 * sunrpc/clnt_simp.c: Likewise.
7561 * sunrpc/clnt_tcp.c: Likewise.
7562 * sunrpc/clnt_udp.c: Likewise.
7563 * sunrpc/clnt_unix.c: Likewise.
7564 * sunrpc/des_crypt.c: Likewise.
7565 * sunrpc/des_soft.c: Likewise.
7566 * sunrpc/get_myaddr.c: Likewise.
7567 * sunrpc/key_call.c: Likewise.
7568 * sunrpc/key_prot.c: Likewise.
7569 * sunrpc/netname.c: Likewise.
7570 * sunrpc/pm_getmaps.c: Likewise.
7571 * sunrpc/pm_getport.c: Likewise.
7572 * sunrpc/pmap_clnt.c: Likewise.
7573 * sunrpc/pmap_prot.c: Likewise.
7574 * sunrpc/pmap_prot2.c: Likewise.
7575 * sunrpc/pmap_rmt.c: Likewise.
7576 * sunrpc/publickey.c: Likewise.
7577 * sunrpc/rpc_cmsg.c: Likewise.
7578 * sunrpc/rpc_common.c: Likewise.
7579 * sunrpc/rpc_dtable.c: Likewise.
7580 * sunrpc/rpc_prot.c: Likewise.
7581 * sunrpc/rpc_thread.c: Likewise.
7582 * sunrpc/rtime.c: Likewise.
7583 * sunrpc/svc.c: Likewise.
7584 * sunrpc/svc_auth.c: Likewise.
7585 * sunrpc/svc_raw.c: Likewise.
7586 * sunrpc/svc_run.c: Likewise.
7587 * sunrpc/svc_tcp.c: Likewise.
7588 * sunrpc/svc_udp.c: Likewise.
7589 * sunrpc/svc_unix.c: Likewise.
7590 * sunrpc/svcauth_des.c: Likewise.
7591 * sunrpc/xcrypt.c: Likewise.
7592 * sunrpc/xdr.c: Likewise.
7593 * sunrpc/xdr_array.c: Likewise.
7594 * sunrpc/xdr_float.c: Likewise.
7595 * sunrpc/xdr_intXX_t.c: Likewise.
7596 * sunrpc/xdr_mem.c: Likewise.
7597 * sunrpc/xdr_rec.c: Likewise.
7598 * sunrpc/xdr_ref.c: Likewise.
7599 * sunrpc/xdr_sizeof.c: Likewise.
7600 * sunrpc/xdr_stdio.c: Likewise.
7602 2012-05-10 Roland McGrath <roland@hack.frob.com>
7604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7605 change. Update copyright years.
7607 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7609 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7611 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7612 Joseph Myers <joseph@codesourcery.com>
7613 Paul Pluzhnikov <ppluzhnikov@google.com>
7616 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7618 [cross-compiling] (extra-libs): Likewise.
7619 [cross-compiling] (extra-libs-others): Likewise.
7620 [cross-compiling] (librpcsvc-routines): Likewise.
7621 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7622 [cross-compiling] (omit-deps): Likewise.
7623 (sunrpc-CPPFLAGS): New variable.
7624 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7625 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7626 (cross-rpcgen-objs): New variable.
7627 (extra-objs): Append $(cross-rpcgen-objs).
7628 ($(cross-rpcgen-objs)): New rule.
7629 ($(objpfx)cross-rpcgen): Likewise.
7630 (rpcgen-cmd): Define to use $(built-program-file). Expand
7632 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7633 ($(objpfx)x%.stmp): Likewise.
7634 * sunrpc/proto.h [IS_IN_build] (_): Define.
7635 [IS_IN_build] (_libc_intl_domainname): Likewise.
7637 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7640 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7641 and R_X86_64_TPOFF64.
7643 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7645 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7646 sysdeps/unix/sysv/syscalls.list.
7649 * sysdeps/unix/sysv/syscalls.list: Remove file.
7651 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7654 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7655 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7656 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7657 (__LC_IDENTIFICATION): Make these macros useful in #if
7658 expressions, as required by C99.
7660 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7662 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7663 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7666 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7668 * stdlib/longlong.h: Updated from GCC.
7670 2012-05-09 Andreas Jaeger <aj@suse.de>
7672 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7673 default is first entry.
7674 (run_mode): Set type.
7675 (main): Remove informal message about syslog.
7676 (options): Fix typo.
7679 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7682 (llrintf): Likewise.
7686 (nearbyint): Likewise.
7687 (nearbyintf): Likewise.
7689 2012-05-09 Andreas Jaeger <aj@suse.de>
7690 Pedro Alves <palves@redhat.com>
7692 * nscd/nscd.c (run_mode): Use enum.
7693 (main): Cleanup coding style issue.
7695 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7696 Andreas Jaeger <aj@suse.de>
7698 * nscd/nscd.c (go_background): Replaced with...
7699 (run_mode): ... this.
7700 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7701 (options): Add -F --foreground.
7702 (main): Implement it.
7703 (parse_opt): Parse it.
7705 2012-05-09 Andreas Jaeger <aj@suse.de>
7708 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7709 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7710 -Wconversion warning.
7711 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7714 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7716 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7718 (LC_ALL): Use macro-int-constant.
7719 (LC_COLLATE): Likewise.
7720 (LC_CTYPE): Likewise.
7721 (LC_MESSAGES): Likewise.
7722 (LC_MONETARY): Likewise.
7723 (LC_NUMERIC): Likewise.
7724 (LC_TIME): Likewise.
7725 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7726 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7728 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7730 [C99-based standards] (float_t): Expect type.
7731 [C99-based standards] (double_t): Expect type.
7732 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7734 [C99-based standards] (HUGE_VALL): Likewise.
7735 [C99-based standards] (INFINITY): Likewise.
7736 [C99-based standards] (NAN): Likewise.
7737 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7738 [C99-based standards] (FP_NAN): Likewise.
7739 [C99-based standards] (FP_NORMAL): Likewise.
7740 [C99-based standards] (FP_SUBNORMAL): Likewise.
7741 [C99-based standards] (FP_ZERO): Likewise.
7742 [C99-based standards] (FP_FAST_FMA): Use
7743 optional-macro-int-constant. Specify type. Require == 1.
7744 [C99-based standards] (FP_FAST_FMAF): Likewise.
7745 [C99-based standards] (FP_FAST_FMAL): Likewise.
7746 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7747 [C99-based standards] (FP_ILOGBNAN): Likewise.
7748 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7750 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7751 [C99-based standards] (math_errhandling): Specify type.
7752 [ISO99 || ISO11] (signgam): Do not allow.
7753 [non-C99-based standards] (copysignf): Do not allow.
7754 [non-C99-based standards] (exp2f): Likewise.
7755 [non-C99-based standards] (log2f): Likewise.
7756 [non-C99-based standards] (modff): Allow.
7757 [non-C99-based standards] (erff): Do not allow.
7758 [non-C99-based standards] (erfcf): Likewise.
7759 [non-C99-based standards] (gammaf): Likewise.
7760 [non-C99-based standards] (hypotf): Likewise.
7761 [non-C99-based standards] (j0f): Likewise.
7762 [non-C99-based standards] (j1f): Likewise.
7763 [non-C99-based standards] (jnf): Likewise.
7764 [non-C99-based standards] (lgammaf): Likewise.
7765 [non-C99-based standards] (tgammaf): Likewise.
7766 [non-C99-based standards] (y0f): Likewise.
7767 [non-C99-based standards] (y1f): Likewise.
7768 [non-C99-based standards] (ynf): Likewise.
7769 [non-C99-based standards] (isnanf): Likewise.
7770 [non-C99-based standards] (acoshf): Likewise.
7771 [non-C99-based standards] (asinhf): Likewise.
7772 [non-C99-based standards] (atanhf): Likewise.
7773 [non-C99-based standards] (cbrtf): Likewise.
7774 [non-C99-based standards] (expm1f): Likewise.
7775 [non-C99-based standards] (ilogbf): Likewise.
7776 [non-C99-based standards] (log1pf): Likewise.
7777 [non-C99-based standards] (logbf): Likewise.
7778 [non-C99-based standards] (nextafterf): Likewise.
7779 [non-C99-based standards] (remainderf): Likewise.
7780 [non-C99-based standards] (rintf): Likewise.
7781 [non-C99-based standards] (scalbf): Likewise.
7782 [non-C99-based standards] (copysignl): Likewise.
7783 [non-C99-based standards] (exp2l): Likewise.
7784 [non-C99-based standards] (log2l): Likewise.
7785 [non-C99-based standards] (modfl): Allow.
7786 [non-C99-based standards] (erfl): Do not allow.
7787 [non-C99-based standards] (erfcl): Likewise.
7788 [non-C99-based standards] (gammal): Likewise.
7789 [non-C99-based standards] (hypotl): Likewise.
7790 [non-C99-based standards] (j0l): Likewise.
7791 [non-C99-based standards] (j1l): Likewise.
7792 [non-C99-based standards] (jnl): Likewise.
7793 [non-C99-based standards] (lgammal): Likewise.
7794 [non-C99-based standards] (tgammal): Likewise.
7795 [non-C99-based standards] (y0l): Likewise.
7796 [non-C99-based standards] (y1l): Likewise.
7797 [non-C99-based standards] (ynl): Likewise.
7798 [non-C99-based standards] (isnanl): Likewise.
7799 [non-C99-based standards] (acoshl): Likewise.
7800 [non-C99-based standards] (asinhl): Likewise.
7801 [non-C99-based standards] (atanhl): Likewise.
7802 [non-C99-based standards] (cbrtl): Likewise.
7803 [non-C99-based standards] (expm1l): Likewise.
7804 [non-C99-based standards] (ilogbl): Likewise.
7805 [non-C99-based standards] (log1pl): Likewise.
7806 [non-C99-based standards] (logbl): Likewise.
7807 [non-C99-based standards] (nextafterl): Likewise.
7808 [non-C99-based standards] (remainderl): Likewise.
7809 [non-C99-based standards] (rintl): Likewise.
7810 [non-C99-based standards] (scalbl): Likewise.
7811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7812 [non-C99-based standards] (FP_*): Do not allow.
7813 [C99-based standards] (FP_*): Change to
7814 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7815 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7817 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7818 (SIG_ERR): Likewise.
7819 [X/Open-based standards] (SIG_HOLD): Likewise.
7820 (SIG_IGN): Likewise.
7821 (SIGABRT): Use macro-int-constant. Specify type. Require
7826 (SIGSEGV): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7846 [X/Open-based standards] (SIGTRAP): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7851 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7854 2012-05-08 Ian Wienand <ianw@vmware.com>
7857 * time/tzset.c (__tzset_parse_tz): Update default rules for
7858 daylight time changes in the Energy Policy Act of 2005.
7860 2012-05-09 Andreas Jaeger <aj@suse.de>
7863 * elf/ldconfig.c (parse_conf): Change string to make clear that
7864 ldconfig only issued a warning if ld.so.conf does not exist.
7866 2012-05-08 David S. Miller <davem@davemloft.net>
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7869 movxtod instead of popping the value on the stack.
7871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7873 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7875 * config.h.in: Add HAVE_ARM_PCS_VFP.
7877 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7880 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7881 checking but the checks are disabled for any reason.
7883 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7885 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7886 and ELF64_R_TYPE with ELFW(R_TYPE).
7888 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7893 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7894 (settimeofday): Likewise.
7896 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7898 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7899 a struct th_u2 inside the union, and move tu_block/tu_code into
7900 a new th_u3 union of tu_block/tu_code inside of that. Move
7901 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7902 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7903 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7904 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7905 (th_stuff): Change to th_u1.tu_stuff.
7907 (th_msg): Change to th_u1.th_u2.tu_data.
7909 2012-05-07 David S. Miller <davem@davemloft.net>
7911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7914 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7915 (SETUP_PIC_REG): Use it.
7916 (SETUP_PIC_REG_LEAF): Use it.
7918 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7924 (EXPL_FINITE): Likewise.
7926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7927 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7931 (EXPL_FINITE): Likewise.
7933 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7934 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7936 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7937 test of -max_value argument for long double.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2012-05-06 David S. Miller <davem@davemloft.net>
7943 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7944 quad soft-float symbols whose references which are compiler
7946 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7948 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7954 (EXPL_FINITE): Likewise.
7958 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7959 Adjust comments for base varying.
7960 (__expl_finite): Change alias to EXPL_FINITE.
7961 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7963 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7964 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7965 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7966 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7967 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7969 (EXPL_FINITE): Likewise.
7973 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7974 Adjust comments for base varying.
7975 (__expl_finite): Change alias to EXPL_FINITE.
7976 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7981 * math/libm-test.inc (check_float_internal): Correct ulp
7982 calculation for subnormal expected results.
7984 2012-05-06 Andreas Jaeger <aj@suse.de>
7986 * Makeconfig (+math-flags): New, set to -frounding-math.
7987 (+cflags): Add +math-flags so that all of glibc gets compiled with
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7992 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7994 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8000 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8001 (__ieee754_expl): Allow for and saturate large arguments.
8002 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8003 (u_threshold): Likewise.
8004 (__exp): Call __ieee754_exp before checking for overflow and
8006 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8007 (u_threshold): Likewise.
8008 (__expf): Call __ieee754_expf before checking for overflow and
8010 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8011 (u_threshold): Likewise.
8012 (__expl): Call __ieee754_expl before checking for overflow and
8014 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8015 (__ieee754_expl): Allow for and saturate large arguments.
8016 * math/libm-test.inc (exp_test): Add another test. Do not allow
8017 missing overflow exception on overflow.
8018 (expm1_test): Do not allow missing overflow exception on overflow.
8020 * sysdeps/i386/fpu/e_expl.c: Move to ...
8021 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8022 rather than using inline asm.
8023 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8024 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8025 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8027 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8034 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8037 sysdeps/unix/common/syscalls.list.
8040 (ftruncate): Likewise.
8041 (getrusage): Likewise.
8042 (gettimeofday): Likewise.
8043 (setpgid): Likewise.
8044 (setregid): Likewise.
8045 (setreuid): Likewise.
8046 (sigaction): Likewise.
8047 (truncate): Likewise.
8048 (vhangup): Likewise.
8049 * sysdeps/unix/common/syscalls.list: Remove file.
8050 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8051 * sysdeps/unix/sysv/linux/Implies: Likewise.
8053 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8055 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8057 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8061 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8064 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8067 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8070 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8073 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8076 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8083 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8090 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8094 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8098 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8100 * sysdeps/unix/common/bits/dirent.h: Remove file.
8101 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8103 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8104 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8105 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8106 * sysdeps/unix/bsd/isatty.c: Likewise.
8107 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8108 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8109 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8111 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8115 long double comparison inaccuracies.
8116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8119 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8121 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8124 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8128 nonzero digits before rounding a hex value.
8129 * stdlib/tst-strtod.c (tests): Add another test.
8131 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8133 * sysdeps/s390/fpu/libm-test-ulps: Update.
8135 2012-05-03 Andreas Jaeger <aj@suse.de>
8137 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8138 does not get optimized out.
8139 (malloc_opt_barrier): New.
8141 2012-05-03 Andreas Jaeger <aj@suse.de>
8142 Roland McGrath <roland@hack.frob.com>
8144 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8145 intermediate file deletion.
8146 (generated): Add .symlist files.
8148 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8151 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8152 Redirect under this condition.
8153 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8154 [__USE_GNU] (__dprintf_chk): Not under this condition.
8155 [__USE_GNU] (__vdprintf_chk): Likewise.
8156 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8157 under this condition.
8158 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8159 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8160 [__USE_XOPEN2K8] (vdprintf): Likewise.
8161 [__USE_GNU] (__dprintf_chk): Not under this condition.
8162 [__USE_GNU] (__vdprintf_chk): Likewise.
8163 [__USE_GNU] (dprintf): Likewise.
8164 [__USE_GNU] (vdprintf): Likewise.
8166 2012-05-03 Roland McGrath <roland@hack.frob.com>
8168 * elf/Makefile (common-generated): Set this instead of generated for
8169 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8170 $(all-built-dso)-derived lists.
8172 2012-05-03 Andreas Jaeger <aj@suse.de>
8174 * sysdeps/i386/fpu/libm-test-ulps: Update.
8178 * scripts/gen-FAQ.pl: Likewise.
8179 * manual/install.texi (Installation): Point to online location of
8181 * Makefile (files-for-dist): Remove FAQ.
8184 2012-05-02 Allan McRae <allan@archlinux.org>
8186 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8187 (LDFLAGS-reldepmod5.so): Likewise.
8188 (LDFLAGS-reldep6mod1.so): Likewise.
8189 (LDFLAGS-reldep6mod4.so): Likewise.
8190 (LDFLAGS-reldep8mod3.so): Likewise.
8191 (LDFLAGS-unload4mod1.so): Likewise.
8192 (LDFLAGS-unload4mod2.so): Likewise.
8193 (LDFLAGS-tst-initorder): Likewise.
8194 (LDFLAGS-tst-initordera2.so): Likewise.
8195 (LDFLAGS-tst-initordera3.so): Likewise.
8196 (LDFLAGS-tst-initordera4.so): Likewise.
8197 (LDFLAGS-tst-initorderb2.so): Likewise.
8198 (LDFLAGS-noload): Likewise.
8199 (LDFLAGS-next): Likewise.
8200 (LDFLAGS-order2mod1.so): Likewise.
8201 (LDFLAGS-order2mod2.so): Likewise.
8202 (LDFLAGS-tst-initorder2): Likewise.
8203 (LDFLAGS-tst-initorder2a.so): Likewise.
8204 (LDFLAGS-tst-initorder2b.so): Likewise.
8205 (LDFLAGS-tst-initorder2c.so): Likewise.
8206 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8208 2012-05-02 David S. Miller <davem@davemloft.net>
8210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8212 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8215 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8217 2012-05-02 Andreas Jaeger <aj@suse.de>
8219 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8220 since we manipulate rounding mode.
8221 (CPPFLAGS-test-idouble.c): Likewise.
8222 (CPPFLAGS-test-ifloat.c): Likewise.
8223 (CFLAGS-test-ldouble.c): Likewise.
8224 (CFLAGS-test-double.c): Likewise.
8225 (CFLAGS-test-float.c): Likewise.
8226 (CFLAGS-test-misc.c): Likewise.
8227 (CFLAGS-test-test-fenv.c): Likewise.
8229 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8234 comparisons to determine direction to adjust input.
8236 2012-05-01 Roland McGrath <roland@hack.frob.com>
8238 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8239 output to the target.
8241 * scripts/localplt.awk: New file.
8242 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8243 (check-localplt-CFLAGS): Variable removed.
8244 ($(all-built-dso:=.jmprel)): New static pattern rule.
8245 (generated): Add those targets.
8246 (localplt-built-dso): New variable.
8247 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8249 * elf/check-localplt.c: File removed.
8251 * scripts/check-execstack.awk: New file.
8252 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8253 (check-execstack-CFLAGS): Variable removed.
8254 ($(objpfx)check-execstack.h): Target removed.
8255 ($(objpfx)execstack-default): New target.
8256 (generated): Add that instead of check-execstack.h.
8257 ($(all-built-dso:=.phdr)): New static pattern rule.
8258 (generated): Add those targets.
8259 * elf/check-execstack.c: File removed.
8261 * scripts/check-textrel.awk: New file.
8262 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8263 (check-textrel-CFLAGS): Variable removed.
8264 (all-built-dso): Use := to define.o
8265 ($(all-built-dso:=.dyn)): New static pattern rule.
8266 (generated): Add those targets.
8267 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8268 * config.make.in (READELF): New substituted variable.
8269 * elf/check-textrel.c: File removed.
8271 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8273 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8275 * conform/data/ctype.h-data [C99-based standards] (isblank):
8277 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8278 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8280 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8281 Specify type. Require positive value.
8284 [ISO || POSIX] (EILSEQ): Do not expect.
8285 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8286 Specify type. Require positive value.
8287 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8300 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8301 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8307 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8308 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8309 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8310 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8311 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8312 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8313 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8314 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8315 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8316 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8317 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8318 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8319 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8320 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8321 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8322 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8323 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8324 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8325 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8326 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8327 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8328 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8329 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8330 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8331 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8332 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8333 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8334 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8335 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8336 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8337 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8338 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8339 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8340 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8341 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8342 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8343 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8344 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8345 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8346 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8347 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8348 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8349 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8350 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8351 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8352 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8353 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8354 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8355 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8356 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8357 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8358 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8359 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8360 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8361 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8362 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8363 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8365 (FLT_ROUNDS): Expect as macro, not constant.
8366 (FLT_MANT_DIG): Use macro-int-constant.
8367 (DBL_MANT_DIG): Likewise.
8368 (LDBL_MANT_DIG): Likewise.
8369 (FLT_DIG): Likewise.
8370 (DBL_DIG): Likewise.
8371 (LDBL_DIG): Likewise.
8372 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8373 (DBL_MIN_EXP): Likewise.
8374 (LDBL_MIN_EXP): Likewise.
8375 (FLT_MAX_EXP): Use macro-int-constant.
8376 (DBL_MAX_EXP): Likewise.
8377 (LDBL_MAX_EXP): Likewise.
8378 (FLT_MAX_10_EXP): Likewise.
8379 (DBL_MAX_10_EXP): Likewise.
8380 (LDBL_MAX_10_EXP): Likewise.
8381 (FLT_MAX): Use macro-constant.
8382 (DBL_MAX): Likewise.
8383 (LDBL_MAX): Likewise.
8384 (FLT_EPSILON): Use macro-constant. Give upper bound.
8385 (DBL_EPSILON): Likewise.
8386 (LDBL_EPSILON): Likewise.
8387 (FLT_MIN): Likewise.
8388 (DBL_MIN): Likewise.
8389 (LDBL_MIN): Likewise.
8390 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8391 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8392 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8393 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8394 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8395 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8396 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8397 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8398 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8399 [ISO11] (FLT_TRUE_MIN): Likewise.
8400 [ISO11] (LDBL_TRUE_MIN): Likewise.
8401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8402 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8403 (SCHAR_MIN): Use macro-int-constant. Specify type.
8404 (SCHAR_MAX): Likewise.
8405 (UCHAR_MAX): Likewise.
8406 (CHAR_MIN): Likewise.
8407 (CHAR_MAX): Likewise.
8408 (MB_LEN_MAX): Use macro-int-constant.
8409 (SHRT_MIN): Use macro-int-constant. Specify type.
8410 (SHRT_MAX): Likewise.
8411 (USHRT_MAX): Likewise.
8412 (INT_MAX): Likewise.
8413 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8415 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8417 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8419 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8420 bound negative. Suffix upper bound with "L".
8421 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8423 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8425 [C99-based standards] (LLONG_MAX): Likewise.
8426 [C99-based standards] (ULLONG_MAX): Likewise.
8427 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8429 [ISO11] (max_align_t): Require type.
8430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8432 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8433 from $CFLAGS, without defining away __attribute__ calls.
8434 (checknamespace): Use $CFLAGS_namespace.
8436 * conform/conformtest.pl (@keywords): Only include C99 keywords
8437 for standards based on C99 or C11.
8439 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8441 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8444 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8445 usability of symbols in #if.
8447 * conform/conformtest.pl: If macro or constant types start
8448 "promoted:", expect the symbol to be of the following type
8449 promoted by the integer promotions.
8451 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8452 in one place. Also handle "macro-constant".
8454 * conform/conformtest.pl: Only accept expected macro values with
8455 "==". Parse all "macro" lines in one place.
8456 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8458 * conform/conformtest.pl: Handle braced types on "constant" lines
8459 instead of handling "typed-constant".
8460 * conform/data/signal.h-data: Use "constant" instead of
8463 * conform/conformtest.pl: Handle "optional-" at start of lines in
8464 one place rather than duplicating several cases. Handle each
8465 format of "macro" line with initial "optional-".
8467 * conform/conformtest.pl: Only accept expected constant or
8468 optional-constant values with "==". Parse all "constant" lines in
8469 one place. Parse all "optional-constant" lines in one place.
8470 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8471 * conform/data/fmtmsg.h-data: Likewise.
8472 * conform/data/netinet/in.h-data: Likewise.
8473 * conform/data/tar.h-data: Likewise.
8474 * conform/data/limits.h-data: Use "==" form on "constant" and
8475 "optional-constant" lines.
8477 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8478 Use -std=c99 for XOPEN2K.
8479 (@knownproblems): Remove.
8480 (newtoken): Don't check %isknown.
8482 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8483 Do not expect macro.
8484 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8496 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8497 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8514 [XPG3] (acosh): Likewise.
8515 [XPG3] (asinh): Likewise.
8516 [XPG3] (atanh): Likewise.
8517 [XPG3] (cbrt): Likewise.
8518 [XPG3] (expm1): Likewise.
8519 [XPG3] (ilogb): Likewise.
8520 [XPG3] (log1p): Likewise.
8521 [XPG3] (logb): Likewise.
8522 [XPG3] (nextafter): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8525 [XPG3] (remainder): Likewise.
8526 [XPG3] (rint): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8534 [UNIX98 || XOPEN2K] (scalb): Expect.
8535 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8536 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8624 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8625 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8626 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8627 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8628 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8629 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8630 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8633 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8634 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8635 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8642 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8643 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8644 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8648 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8649 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8650 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8651 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8652 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8653 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8654 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8655 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8656 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8657 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8658 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8659 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8660 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8661 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8662 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8663 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8664 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8665 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8666 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8667 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8668 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8669 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8670 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8671 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8673 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8674 _XOPEN_SOURCE_EXTENDED for XPG4.
8676 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8678 * Makeconfig (localtime): Remove variable.
8679 (inst_localtime-file): Likewise.
8681 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8702 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8706 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8707 comparisons to determine direction to adjust input.
8708 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8709 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8714 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8719 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8721 * math/libm-test.inc (nexttoward_test): Add more tests.
8723 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8727 in version GLIBC_2.1, not GLIBC_2.0.
8728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8731 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8734 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8737 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8738 * math/libm-test.inc (acos_test): Add more tests.
8739 (asin_test): Likewise.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8746 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8747 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8748 * math/libm-test.inc (acos_test_tonearest): New function.
8749 (acos_test_towardzero): Likewise.
8750 (acos_test_downward): Likewise.
8751 (acos_test_upward): Likewise.
8752 (asin_test_tonearest): Likewise.
8753 (asin_test_towardzero): Likewise.
8754 (asin_test_downward): Likewise.
8755 (asin_test_upward): Likewise.
8756 (main): Call the new functions.
8757 * sysdeps/i386/fpu/libm-test-ulps: Update.
8758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8762 * math/e_exp10.c: Include <float.h>.
8763 (__ieee754_exp10): Handle underflow here rather than multiplying
8764 large negative argument by M_LN10.
8765 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8767 * math/e_exp10l.c: Include <float.h>.
8768 (__ieee754_exp10l): Handle underflow here rather than multiplying
8769 large negative argument by M_LN10l.
8770 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8771 spurious overflow exception on underflow.
8773 2012-04-29 Marek Polacek <polacek@redhat.com>
8775 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8776 (__fortify_function): New macro.
8777 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8778 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8779 __extern_always_inline.
8780 * libio/bits/stdio2.h: Likewise.
8781 * libio/bits/stdio.h: Likewise.
8782 * string/string.h: Likewise.
8783 * string/bits/string3.h: Likewise.
8784 * include/stdio.h: Likewise.
8785 * stdlib/bits/stdlib.h: Likewise.
8786 * stdlib/stdlib.h: Likewise.
8787 * rt/bits/mqueue2.h: Likewise.
8788 * rt/mqueue.h: Likewise.
8789 * posix/bits/unistd.h: Likewise.
8790 * posix/unistd.h: Likewise.
8791 * io/bits/poll2.h: Likewise.
8792 * io/bits/fcntl2.h: Likewise.
8793 * io/fcntl.h: Likewise.
8794 * io/sys/poll.h: Likewise.
8795 * misc/bits/syslog.h: Likewise.
8796 * misc/bits/syslog-ldbl.h: Likewise.
8797 * misc/sys/syslog.h: Likewise.
8798 * socket/bits/socket2.h: Likewise.
8799 * socket/sys/socket.h: Likewise.
8800 * debug/tst-chk1.c: Likewise.
8801 * wcsmbs/bits/wchar2.h: Likewise.
8802 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8803 * wcsmbs/wchar.h: Likewise.
8805 2012-04-29 Andreas Jaeger <aj@suse.de>
8807 * Makerules (tests): Remove enable-check-abi protection.
8808 (check-abi-warn): Remove.
8809 (check-abi-%): Remove check-abi-warn usage.
8811 * configure.in: Remove check-abi configure option.
8812 * configure: Regenerated.
8813 * config.make.in (enable-check-abi): Remove.
8815 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8818 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8819 double functions to double *_finite functions.
8822 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8823 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8825 * stdio-common/Makefile (tests): Add tst-sprintf3.
8826 * stdio-common/tst-sprintf3.c: New file.
8828 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8829 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8831 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8833 * conform/conformtest.pl: Remove duplicate typed-constant
8836 2012-04-28 David S. Miller <davem@davemloft.net>
8838 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8839 (check-abi-%): Remove AWK script prerequisite and explicit
8841 (check-abi): Rewrite to just diff the symlist with the abilist.
8842 (config-tls, config-abi-config): Delete, no longer used.
8843 (update-abi-%): Remove AWK script and explicit abilist directory.
8844 (update-abi): Rewrite to simply compare and conditionally copy the
8845 symlist and the sysdep abilist file. Remove update-abi-config
8847 * abilist/ld.abilist: Remove.
8848 * abilist/libBrokenLocale.abilist: Remove.
8849 * abilist/libanl.abilist: Remove.
8850 * abilist/libcrypt.abilist: Remove.
8851 * abilist/libdl.abilist: Remove.
8852 * abilist/librt.abilist: Remove.
8853 * abilist/libthread_db.abilist: Remove.
8854 * abilist/libutil.abilist: Remove.
8855 * scripts/extract-abilist.awk: Remove.
8856 * scripts/merge-abilist.awk: Remove.
8857 * sysdeps/generic/libcidn.abilist: New file.
8858 * sysdeps/generic/libnss_compat.abilist: New file.
8859 * sysdeps/generic/libnss_db.abilist: New file.
8860 * sysdeps/generic/libnss_dns.abilist: New file.
8861 * sysdeps/generic/libnss_files.abilist: New file.
8862 * sysdeps/generic/libnss_hesiod.abilist: New file.
8863 * sysdeps/generic/libnss_nis.abilist: New file.
8864 * sysdeps/generic/libnss_nisplus.abilist: New file.
8865 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8866 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8867 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8870 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8871 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8872 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8873 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8874 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8875 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8876 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8877 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8879 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8881 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8884 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8885 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8886 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8887 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8889 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8891 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8892 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8893 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8895 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8998 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8999 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9000 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9003 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9004 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9005 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9007 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9008 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9009 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9010 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9011 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9063 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9065 * conform/conformtest.pl: Fix typo in handling typed-constant from
9068 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9070 * README: Cut down references to pre-2.6 Linux kernels and
9071 Linuxthreads. Update lists of configurations in libc and ports
9072 and sort alphabetically. Say "or newer" with Linux kernel version
9075 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9077 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9080 * math/libm-test.inc (logb_test_downward): New test to expose
9081 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9084 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9087 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9089 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9090 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9092 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9094 * sysdeps/unix/i386/brk.S: Remove file.
9095 * sysdeps/unix/i386/dl-brk.S: Likewise.
9096 * sysdeps/unix/i386/pipe.S: Likewise.
9097 * sysdeps/unix/i386/sigreturn.S: Likewise.
9098 * sysdeps/unix/i386/syscall.S: Likewise.
9099 * sysdeps/unix/i386/vfork.S: Likewise.
9100 * sysdeps/unix/i386/wait.S: Likewise.
9102 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9103 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9105 * configure.in (arm*-none*): Do not allow without
9106 --enable-hacker-mode.
9107 (netbsd*): Remove case setting base_os.
9108 (386bsd*): Likewise.
9109 (freebsd*): Likewise.
9113 (ultrix*): Likewise.
9114 (newsos*): Likewise.
9124 (solaris[2-9]*): Likewise.
9126 * configure: Regenerated.
9128 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9132 overflow or cancellation in calculating denominator.
9133 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9135 down expression to avoid unexpected rounding in newer GCCs.
9136 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9138 2012-04-26 David S. Miller <davem@davemloft.net>
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9141 long-double compat symbols.
9142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9156 2012-04-25 David S. Miller <davem@davemloft.net>
9158 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9159 HWCAP_* values only after the memory barriers have been defined.
9160 (atomic_full_barrier): Define.
9161 (atomic_read_barrier): Define.
9162 (atomic_write_barrier): Define.
9164 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9166 * shlib-versions: Add libgcc_s version information.
9167 * sysdeps/generic/libgcc_s.h: Remove.
9168 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9170 * sysdeps/gnu/unwind-resume.c: Likewise.
9171 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9173 2012-04-25 David S. Miller <davem@davemloft.net>
9175 * sysdeps/unix/sparc/brk.S: Delete.
9176 * sysdeps/unix/sparc/dl-brk.S: Delete.
9177 * sysdeps/unix/sparc/pipe.S: Delete.
9178 * sysdeps/unix/sparc/sysdep.S: Delete.
9179 * sysdeps/unix/sparc/sysdep.h: Delete.
9180 * sysdeps/unix/sparc/vfork.S: Delete.
9181 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9182 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9184 ret_ERRVAL, r0, r1, MOVE): Define.
9185 (JUMPTARGET): Remove.
9186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9187 sysdeps/unix/sparc/sysdep.h
9188 (ENTRY, END): Remove.
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9191 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9193 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9194 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9197 * timezone/README: Update upstream location and email address for
9199 * timezone/zdump.c: Update from tzcode 2012b.
9200 * timezone/zic.c: Likewise.
9202 * configure.in (libc_cv_as_needed): Remove test.
9203 * configure: Regenerated.
9204 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9205 conditional definition.
9206 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9207 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9208 * config.make.in (have-as-needed): Remove variable.
9210 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9211 Paul Pluzhnikov <ppluzhnikov@google.com>
9213 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9216 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9218 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9219 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9220 * sysdeps/sh/strlen.S: Likewise.
9222 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9224 * sysdeps/unix/fork.S: Remove file.
9225 * sysdeps/unix/i386/fork.S: Likewise.
9226 * sysdeps/unix/sparc/fork.S: Likewise.
9228 * sysdeps/unix/system.c: Remove file.
9229 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9231 * sysdeps/unix/getegid.S: Remove file.
9232 * sysdeps/unix/geteuid.S: Likewise.
9234 2012-04-24 Roland McGrath <roland@hack.frob.com>
9236 * scripts/check-localplt.awk: New file.
9237 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9239 * scripts/data/localplt-generic.data: Add a comment.
9241 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9242 NODE when __dir_mkfile failed.
9243 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9244 Reported by Ludovic Courtès <ludo@gnu.org>.
9246 2012-04-24 Andreas Jaeger <aj@suse.de>
9248 * Makerules (common-clean): Also remove gen-as-const-headers
9251 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9253 * Makerules (native-compile): Do not change working directory for
9254 build. Use $(OUTPUT_OPTION) in command.
9255 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9257 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9260 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9261 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9262 * math/libm-test.inc (floor_test): Add more tests.
9263 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9265 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9267 * sysdeps/unix/getdents.c: Remove file.
9268 * sysdeps/unix/sysv/getdents.c: Likewise.
9269 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9271 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9272 sysdeps/unix/mman/syscalls.list.
9274 (mprotect): Likewise.
9277 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9278 * sysdeps/unix/mman/syscalls.list: Remove.
9279 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9281 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9282 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9283 * configure: Regenerated.
9284 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9286 * config.make.in (libgcc_s_suffix): Remove variable.
9288 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9290 * sysdeps/unix/sysv/gethostname.c: Move to ...
9291 * sysdeps/posix/gethostname.c: ... here.
9293 * sysdeps/unix/execve.S: Remove file.
9295 * sysdeps/unix/_exit.S: Remove file.
9297 2012-04-23 Andreas Jaeger <aj@suse.de>
9300 * manual/Makefile: Remove make dist support, there's no
9301 need for a stand-alone documentation tar ball.
9302 (TEXI2DVI): Define always, it's not in Makeconfig.
9306 (glibc-doc-$(edition).tar): Removed
9310 (ETAGS): Remove, it's in Makeconfig.
9311 (move-if-change): Remove, it's in Makeconfig.
9313 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9316 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9317 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9318 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9319 (strtod_l, strtof_l, strtold_l): Remove __wur.
9320 It is not necessarily an error to ignore strtol's return value.
9321 One can reliably look at the stored endptr to decide whether
9322 the number had valid syntax.
9324 2012-04-21 Andreas Jaeger <aj@suse.de>
9327 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9329 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9332 * sysdeps/unix/sysv/Versions: Remove file.
9334 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9339 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9343 version from __vm86.
9345 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9347 * sysdeps/unix/common/lxstat.c: Remove file.
9348 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9350 * sysdeps/unix/sysv/Makefile: Remove file.
9352 * sysdeps/unix/sysv/direct.h: Remove file.
9354 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9355 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9356 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9357 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9358 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9359 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9360 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9362 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9364 * sysdeps/unix/xmknod.c: Remove file.
9365 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9367 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9369 * sysdeps/unix/sysv/i386/time.S: Remove file.
9371 * sysdeps/unix/fxstat.c: Remove file.
9372 * sysdeps/unix/xstat.c: Likewise.
9373 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9375 * sysdeps/unix/sysv/sigaction.c: Remove file.
9377 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9378 (sysdep_headers): Remove variable.
9379 [termio.h not in sysdep_headers] (generated): Likewise.
9380 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9381 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9382 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9383 * sysdeps/unix/sysv/tcflow.c: Likewise.
9384 * sysdeps/unix/sysv/tcflush.c: Likewise.
9385 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9386 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9387 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9388 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9389 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9391 * sysdeps/unix/siglist.c: Remove file.
9393 * sysdeps/unix/getppid.S: Remove file.
9395 * sysdeps/unix/mkdir.c: Remove file.
9396 * sysdeps/unix/rmdir.c: Likewise.
9398 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9400 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9403 errlist-compat value.
9405 2012-04-18 David S. Miller <davem@davemloft.net>
9407 * sysdeps/generic/memcopy.h (reg_char): Delete.
9408 * debug/strcat_chk.c: Use char, not reg_char.
9409 * debug/strcpy_chk.c: Likewise.
9410 * debug/strncat_chk.c: Likewise.
9411 * debug/strncpy_chk.c: Likewise.
9412 * string/memchr.c: Likewise.
9413 * string/memrchr.c: Likewise.
9414 * string/rawmemchr.c: Likewise.
9415 * string/strcat.c: Likewise.
9416 * string/strchr.c: Likewise.
9417 * string/strchrnul.c: Likewise.
9418 * string/strcmp.c: Likewise.
9419 * string/strcpy.c: Likewise.
9420 * string/strncat.c: Likewise.
9421 * string/strncmp.c: Likewise.
9422 * string/strncpy.c: Likewise.
9424 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9426 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9427 __builtin_memcopy is called when src and dest ranges are known to not
9430 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9433 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9434 fwd_align_merge macro call.
9435 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9436 bwd_align_merge macro call.
9437 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9439 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9441 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9442 bwd_align_merge macros.
9443 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9444 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9447 2012-04-18 David S. Miller <davem@davemloft.net>
9449 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9451 2012-04-18 Andreas Jaeger <aj@suse.de>
9454 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9455 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9458 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9459 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9462 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9463 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9464 Adjust for changed ldbl-128 files.
9466 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9467 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9470 2012-04-17 David S. Miller <davem@davemloft.net>
9472 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9474 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9476 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9477 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9478 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9479 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9481 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9483 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9486 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9487 * math/libm-test.inc: Add ilogb errno and exception tests.
9488 * math/w_ilogb.c: New file: ilogb wrapper.
9489 * math/w_ilogbf.c: New file: ilogbf wrapper.
9490 * math/w_ilogbl.c: New file: ilogbl wrapper.
9491 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9492 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9493 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9494 exception being thrown with 0.0 as argument.
9495 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9496 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9497 exception being thrown with 0.0 as argument.
9498 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9499 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9500 exception being thrown with 0.0 as argument.
9501 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9502 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9503 exception being thrown with 0.0 as argument.
9504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9505 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9506 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9507 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9508 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9509 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9510 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9511 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9512 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9514 2012-04-17 Petr Baudis <pasky@ucw.cz>
9516 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9519 2012-04-16 Marek Polacek <polacek@redhat.com>
9521 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9523 2012-04-16 Marek Polacek <polacek@redhat.com>
9525 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9526 operands of fdivp instruction.
9528 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9530 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9531 * elf/tst-auditmod3b.c: Likewise.
9532 * elf/tst-auditmod4b.c: Likewise.
9533 * elf/tst-auditmod5b.c: Likewise.
9534 * elf/tst-auditmod6b.c: Likewise.
9535 * elf/tst-auditmod6c.c: Likewise.
9536 * elf/tst-auditmod7b.c: Likewise.
9537 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9538 * sysdeps/x86_64/preconfigure.in: Likewise.
9539 * sysdeps/x86_64/preconfigure: Regenerated.
9541 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9543 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9546 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9549 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9551 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9554 * locale/iso-639.def: Fix gl language name. Spotted by
9557 2012-04-12 Roland McGrath <roland@hack.frob.com>
9560 * libio/libio.h (__io_write_fn): Update comment.
9562 2012-04-12 Petr Baudis <pasky@ucw.cz>
9565 * stdio.texi (Hook Functions): The user provided writer function
9566 is not allowed to return -1.
9568 2012-04-11 David S. Miller <davem@davemloft.net>
9570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9572 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9574 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9575 Add a leading slash to rtkaio.
9577 2012-04-11 Jim Meyering <meyering@redhat.com>
9580 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9581 It is not necessarily an error to ignore fwrite's return
9582 value. One can reliably use ferror to test for errors after
9585 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9587 * bits/types.h (__snseconds_t): New type.
9588 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9590 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9592 (__SNSECONDS_T_TYPE): Likewise.
9593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9594 (__SNSECONDS_T_TYPE): Likewise.
9595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9596 (__SNSECONDS_T_TYPE): Likewise.
9598 2012-04-10 Andreas Jaeger <aj@suse.de>
9601 * manual/time.texi (Processor Time): Return type of times is
9602 elapsed real time since an arbitrary point in the past.
9603 (CPU Time): Move CLK_TCK from here...
9604 (Processor Time): ...to here. Correct description.
9605 * manual/conf.texi (Constants for Sysconf): Correct description of
9608 2012-04-10 David S. Miller <davem@davemloft.net>
9611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9612 where the is a gap between DT_REL(A) and DT_JMPREL.
9614 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9616 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9617 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9618 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9620 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9622 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9623 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9624 (dl_main): Handle --inhibit-cache.
9625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9627 * elf/dl-load.c (_dl_map_object): Use it.
9628 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9630 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9633 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9634 (__ieee754_powl): Saturate large exponents rather than testing for
9635 overflow of y*log2(x).
9636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9637 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9641 * math/s_ctan.c: Include <float.h>.
9642 (__ctan): Avoid internal overflow or cancellation in calculating
9644 * math/s_ctanf.c: Likewise.
9645 * math/s_ctanl.c: Likewise.
9646 * math/s_ctanh.c: Likewise.
9647 * math/s_ctanhf.c: Likewise.
9648 * math/s_ctanhl.c: Likewise.
9649 * math/libm-test.inc (ctan_test): Add more tests.
9650 (ctanh_test): Likewise.
9651 * sysdeps/i386/fpu/libm-test-ulps: Update.
9652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654 2012-04-09 Andreas Jaeger <aj@suse.de>
9657 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9658 is an optional BSD extension.
9661 * manual/stdio.texi (Opening Streams): Document additional fopen
9664 2012-04-09 Roland McGrath <roland@hack.frob.com>
9666 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9667 %eax without telling the compiler.
9669 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9672 * manual/install.texi: Use sourceware.org.
9674 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9677 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9678 (__ieee754_pow): Generate overflow and underflow using huge*huge
9679 and tiny*tiny rather than just returning constant infinity or zero
9680 for large exponents.
9681 * math/libm-test.inc (pow_test): Require overflow exceptions for
9682 applicable cases of large exponents.
9685 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9686 (__ieee754_pow): Use iterative multiplication algorithm only for
9687 integer exponents with absolute value below 1024. Check for odd
9688 integer exponents when using algorithm for real exponents.
9689 * math/libm-test.inc (pow_test): Add more tests.
9690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9692 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9695 * math/libm-test.inc (exp_test): Do not allow overflow exception
9698 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9701 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9702 instead of __kernel_standard_f.
9704 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9706 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9707 * sysdeps/x86_64/memset_chk.S: Likewise.
9709 2012-04-08 Andreas Jaeger <aj@suse.de>
9712 * manual/startup.texi (Environment Access): Describe return value
9713 for putenv and setenv.
9716 * manual/filesys.texi (Directory Entries): Add description for
9720 * manual/filesys.texi (Directory Entries): Clarify that it's file
9721 system not operating system in the description of DT_UNKNOWN.
9724 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9726 2012-04-08 Stephen Compall <s11@member.fsf.org>
9729 * manual/llio.texi (Opening and Closing Files): Add cross
9730 reference to explain mode argument.
9732 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9734 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9735 * sysdeps/x86_64/memset_chk.S: Likewise.
9737 2012-04-07 David S. Miller <davem@davemloft.net>
9739 * elf/elf.h (R_SPARC_WDISP10): Define.
9740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9743 R_SPARC_SIZE64 and R_SPARC_H34.
9745 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9748 conditions and remove no longer applicable assertion.
9750 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9752 * bits/byteswap.h: Include <features.h>.
9753 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9754 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9756 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9758 * bits/byteswap.h (__bswap_16): Removed.
9759 Include <bits/byteswap-16.h> to get __bswap_16.
9760 * sysdeps/i386/bits/byteswap.h: Likewise.
9761 * sysdeps/s390/bits/byteswap.h: Likewise.
9762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9763 * bits/byteswap-16.h: New file.
9764 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9765 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9766 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9767 * string/Makefile (headers): Add bits/byteswap-16.h.
9769 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9772 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9774 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9775 * nss/tst-nss-static.c: New.
9777 2012-04-06 Robert Millan <rmh@gnu.org>
9780 * manual/llio.texi (File Position Primitive): lseek
9781 refers to WHENCE when it really means OFFSET.
9783 2012-04-06 Andreas Jaeger <aj@suse.de>
9785 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9786 strncmp declarations.
9788 * abilist/libc.abilist: Add __poll and __ppoll.
9790 2012-04-05 David S. Miller <davem@davemloft.net>
9792 * scripts/check-local-headers.sh: Accept a host triplet in the
9793 path matched by the exclude regexp.
9795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9797 * sysdeps/powerpc/powerpc32/dl-machine.h
9798 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9799 * sysdeps/s390/s390-32/dl-machine.h
9800 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9801 * sysdeps/sparc/sparc32/dl-machine.h
9802 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9803 * sysdeps/sparc/sparc64/dl-machine.h
9804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9806 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9808 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9809 undefined symbol errors.
9811 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9814 2012-04-05 Michael Matz <matz@suse.de>
9817 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9819 2012-04-05 Andreas Jaeger <aj@suse.de>
9822 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9825 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9828 which ROUND is no valid rounding mode.
9830 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9834 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9836 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9838 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9839 an exception using FPU order intentionally.
9841 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9843 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9844 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9845 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9846 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9848 2012-04-05 Simon Josefsson <simon@josefsson.org>
9851 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9852 EINVAL when BUFLEN is too smal.
9854 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9857 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9858 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9860 2012-04-03 Andreas Jaeger <aj@suse.de>
9863 * manual/setjmp.texi (System V contexts): Fix sentence.
9866 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9867 New macro for this case.
9868 [!__GNUC__] (__bswap_64): New inline function for this case.
9869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9870 * bits/byteswap.h: Likewise.
9871 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9872 ull, guard with __GLIBC_HAVE_LONG_LONG.
9874 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9875 __GLIBC_HAVE_LONG_LONG.
9877 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9878 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9880 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9883 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9884 inptr and inend, rather than using last_ch.
9886 2012-04-02 David S. Miller <davem@davemloft.net>
9888 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9889 * stdio-common/printf-parse.h (read_int): Change return type to
9890 'int', return -1 on INT_MAX overflow.
9891 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9892 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9893 overflows INT_MAX. Check for overflow of in-format-string precision
9894 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9895 SIZE_MAX not INT_MAX for integer overflow test.
9896 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9897 skip the construct in the format string but do not record anything.
9898 * stdio-common/bug22.c: Adjust to test both width/prevision
9899 INT_MAX overflow as well as total length INT_MAX overflow. Check
9900 explicitly for proper errno values.
9902 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9904 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9906 * string/test-strcmp.c [! WIDE]: Likewise.
9907 * time/tst-mktime2.c: Likewise for INT_MAX.
9908 * string/test-string.h: #include <sys/param.h> for MIN.
9910 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9911 * sysdeps/i386/init-first.c (init): Likewise.
9912 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9913 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9914 * sysdeps/sh/init-first.c (init): Likewise.
9916 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9918 * po/ru.po: Update from translation team.
9919 * po/vi.po: Likewise.
9921 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9923 * resolv/nss_dns/dns-host.c: Merge copyright years.
9925 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9928 Optimize memcpy with prefetch if
9929 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9930 src, dst pointers have unequal 16 byte alignments.
9932 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9936 from a CNAME entry and return the minimum ttl for the query.
9937 (gaih_getanswer_slice): Likewise.
9939 2012-03-30 Jeff Law <law@redhat.com>
9941 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9943 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9944 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9946 * resolv/nss_dns/dns-host.c: Update copyright year.
9948 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9950 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9951 requests to save a system call. Fix check that all bytes are sent.
9953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9954 comments for sendmmsg.
9956 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9959 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9960 with only 1 character between 0x0041 and 0x01b0.
9961 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9962 * wcsmbs/tst-mbsnrtowcs.c: New file.
9964 2012-03-29 David S. Miller <davem@davemloft.net>
9966 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9967 small copies by hand.
9969 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9972 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9973 _nss_compat_initgroups_dyn): Fall back to malloc/free
9974 for large group memberships.
9976 2012-03-28 David S. Miller <davem@davemloft.net>
9978 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9979 that branches into memcpy.
9980 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9983 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9986 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9988 * sysdeps/sparc/mempcpy.S: New file.
9990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9991 the IFUNC routine in the libc case.
9992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9994 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9995 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9996 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9997 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9998 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9999 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10000 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10001 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10003 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10004 loop to 256 bytes instead of 64 bytes and fix test signedness.
10006 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10007 * sysdeps/sparc/sparc32/Makefile: rather than here...
10008 * sysdeps/sparc/sparc64/Makefile: and here.
10010 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10012 * malloc/mallocbug.c: Avoid warnings about unused variables.
10014 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10017 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10018 in the right place. Discard and retry query if response is
10019 larger than input buffer size.
10021 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10027 x for large integer exponent.
10028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10029 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10030 sign of result as needed afterwards.
10031 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10032 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10033 result for underflowing pow the same as for overflow.
10034 (__kernel_standard_l): Handle powl overflow and underflow here
10035 rather than calling __kernel_standard.
10036 * math/libm-test.inc (pow_test): Add more tests.
10051 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10052 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10053 (__kernel_standard_l): New function.
10054 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10056 * math/w_acosl.c (__acosl): Likewise.
10057 * math/w_asinl.c (__asinl): Likewise.
10058 * math/w_atan2l.c (__atan2l): Likewise.
10059 * math/w_atanhl.c (__atanhl): Likewise.
10060 * math/w_coshl.c (__coshl): Likewise.
10061 * math/w_exp10l.c (__exp10l): Likewise.
10062 * math/w_exp2l.c (__exp2l): Likewise.
10063 * math/w_fmodl.c (__fmodl): Likewise.
10064 * math/w_hypotl.c (__hypotl): Likewise.
10065 * math/w_j0l.c (__j0l, __y0l): Likewise.
10066 * math/w_j1l.c (__j1l, __y1l): Likewise.
10067 * math/w_jnl.c (__jnl, __ynl): Likewise.
10068 * math/w_lgammal.c (__lgammal): Likewise.
10069 * math/w_log10l.c (__log10l): Likewise.
10070 * math/w_log2l.c (__log2l): Likewise.
10071 * math/w_logl.c (__logl): Likewise.
10072 * math/w_powl.c (__powl): Likewise.
10073 * math/w_remainderl.c (__remainderl): Likewise.
10074 * math/w_scalbl.c (sysv_scalbl): Likewise.
10075 * math/w_sinhl.c (__sinhl): Likewise.
10076 * math/w_sqrtl.c (__sqrtl): Likewise.
10077 * math/w_tgammal.c (__tgammal): Likewise.
10078 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10079 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10080 * math/libm-test.inc (acos_test): Add more tests.
10081 (acosh_test): Likewise.
10082 (asin_test): Likewise.
10083 (atanh_test): Likewise.
10084 (exp_test): Likewise.
10085 (exp10_test): Likewise.
10086 (exp2_test): Likewise.
10087 (expm1_test): Likewise.
10088 (lgamma_test): Likewise.
10089 (log_test): Likewise.
10090 (log10_test): Likewise.
10091 (log1p_test): Likewise.
10092 (log2_test): Likewise.
10093 (pow_test): Do not allow some spurious overflow exceptions.
10094 (sqrt_test): Add more tests.
10095 (tgamma_test): Likewise.
10096 (y0_test): Likewise.
10097 (y1_test): Likewise.
10098 (yn_test): Likewise.
10100 2012-03-27 Anton Blanchard <anton@samba.org>
10102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10108 2012-03-27 David S. Miller <davem@davemloft.net>
10110 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10112 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10113 have-as-vis3 check.
10115 2012-03-27 Andreas Jaeger <aj@suse.de>
10117 * sysdeps/x86_64/elf/configure.in: Moved to ...
10118 * sysdeps/x86_64/configure.in: ... here.
10119 * sysdeps/x86_64/elf/start.S: Moved to ...
10120 * sysdeps/x86_64/start.S: ... here.
10121 * sysdeps/x86_64/elf/configure: Delete.
10123 * sysdeps/x86_64/configure.in: Merge contents from
10124 sysdeps/i386/configure.in (without i686 check).
10126 * sysdeps/i386/elf/Versions: Merge into ...
10127 * sysdeps/i386/Versions: ... this.
10128 * sysdeps/i386/elf/Versions: Delete file.
10129 * sysdeps/i386/elf/start.S: Moved to ...
10130 * sysdeps/i386/start.S: ...here.
10131 * sysdeps/i386/elf/configure.in: Merge into...
10132 * sysdeps/i386/configure.in: ...here.
10133 * sysdeps/i386/elf/configure.in: Delete file.
10134 * sysdeps/i386/elf/configure: Delete file.
10136 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10137 * debug/backtracesyms.c: ... here.
10138 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10139 * debug/backtracesymsfd.c: ... here.
10140 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10141 * sysdeps/generic/ifunc-sel.h: ... here.
10143 * sysdeps/unix/i386/start.c: Delete file.
10144 * sysdeps/unix/sparc/start.c: Delete file.
10145 * sysdeps/unix/start.c: Delete file.
10147 * sysdeps/sh/elf/configure.in: Moved to ...
10148 * sysdeps/sh/configure.in: ... here.
10149 * sysdeps/sh/elf/start.S: Moved to ...
10150 * sysdeps/sh/start.S: ... here.
10151 * sysdeps/sh/elf/configure: Delete file.
10153 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10154 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10155 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10156 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10157 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10158 * sysdeps/powerpc/powerpc64/start.S: here.
10159 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10160 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10161 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10162 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10163 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10165 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10166 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10167 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10168 * sysdeps/powerpc/powerpc32/start.S: ... here.
10169 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10170 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10171 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10173 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10174 * sysdeps/powerpc/ifunc-sel.h: ... here.
10175 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10176 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10178 * sysdeps/sparc/elf/configure.in: Moved to ...
10179 * sysdeps/sparc/configure.in: ... here.
10180 * sysdeps/sparc/elf/configure: Delete file.
10181 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10182 * sysdeps/sparc/sparc32/start.S: ... here.
10183 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10184 * sysdeps/sparc/sparc64/start.S: ... here.
10185 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10186 * sysdeps/sparc/sparc32/Makefile: ... this.
10187 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10188 * sysdeps/sparc/sparc64/Makefile: ... this.
10190 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10191 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10192 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10193 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10194 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10195 * sysdeps/s390/s390-32/setjmp.S: ... here.
10196 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10197 * sysdeps/s390/s390-32/configure.in: ... here.
10198 * sysdeps/s390/s390-32/elf/configure: Delete file.
10199 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10200 * sysdeps/s390/s390-32/start.S: ... here.
10202 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10203 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10204 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10205 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10206 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10207 * sysdeps/s390/s390-64/setjmp.S: ... here.
10208 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10209 * sysdeps/s390/s390-64/configure.in: ... here
10210 * sysdeps/s390/s390-64/elf/configure: Delete file.
10211 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10212 * sysdeps/s390/s390-64/start.S: ... here.
10213 * sysdeps/s390/s390-64/elf/configure: Delete.
10215 * configure.in: Remove support for elf directories in sysdeps.
10217 * configure: Regenerated.
10218 * sysdeps/i386/configure: Regenerated.
10219 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10220 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10221 * sysdeps/s390/s390-32/configure: Regenerated.
10222 * sysdeps/s390/s390-64/configure: Regenerated.
10223 * sysdeps/sh/configure: Regenerated.
10224 * sysdeps/sparc/configure: Regenerated.
10225 * sysdeps/x86_64/configure: Regenerated.
10227 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10232 denormal result into account.
10234 2012-03-25 Roland McGrath <roland@hack.frob.com>
10236 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10237 Reported by Allan McRae <allan@archlinux.org>.
10239 2012-03-23 Jeff Law <law@redhat.com>
10241 * nss/getnssent.c (__nss_getent): Fix typo.
10243 2012-03-23 David S. Miller <davem@davemloft.net>
10245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10247 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10249 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10250 to pad to uint64_t for each field.
10251 (dl_tls_index): Replace unsigned long with uint64_t.
10253 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10254 Paul Pluzhnikov <ppluzhnikov@google.com>
10257 * grp/Makefile (otherlibs): Don't set it.
10258 * inet/Makefile (otherlibs): Likewise.
10259 * login/Makefile (otherlibs): Likewise.
10260 * nscd/Makefile (otherlibs): Likewise.
10261 * posix/Makefile (otherlibs): Likewise.
10262 * pwd/Makefile (otherlibs): Likewise.
10263 * rt/Makefile (otherlibs): Likewise.
10264 * sunrpc/Makefile (otherlibs): Likewise.
10265 * nss/Makefile (otherlibs): Likewise.
10266 Add libnss_files to routines and static-only-routines.
10267 ($(objpfx)getent): Remove rule.
10268 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10269 static-only-routines.
10271 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10274 * math/s_cexp.c: Include <float.h>.
10275 (__cexp): Handle exp result overflowing not necessarily
10276 overflowing both real and imaginary parts of result.
10277 * math/s_cexpf.c: Likewise.
10278 * math/s_cexpl.c: Likewise.
10279 * math/libm-test.inc (cexp_test): Add more tests.
10280 * sysdeps/i386/fpu/libm-test-ulps: Update.
10281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10283 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10285 * include/link.h (ELFW): New macro.
10286 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10287 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10289 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10294 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10296 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10298 (struct La_x32_retval): Likewise.
10300 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10302 * sysdeps/x86_64/preconfigure.in: New file.
10303 * sysdeps/x86_64/preconfigure: New generated file.
10305 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10308 * math/e_exp2l.c: Include <float.h>.
10309 (__ieee754_exp2l): Handle overflow and underflow cases
10310 separately. Only pass fractional part of argument to
10312 * math/libm-test.inc (exp2_test): Add more tests.
10314 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10315 negating x to take absolute value.
10316 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10321 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10322 computing low part if x was negated.
10323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10325 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10327 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10328 la_x32_gnu_pltexit.
10329 (pltexit): Cast int_retval to ptrdiff_t.
10330 * elf/tst-auditmod3b.c: Likewise.
10331 * elf/tst-auditmod4b.c: Likewise.
10332 * elf/tst-auditmod5b.c: Likewise.
10333 * elf/tst-auditmod6b.c: Likewise.
10334 * elf/tst-auditmod6c.c: Likewise.
10335 * elf/tst-auditmod7b.c: Likewise.
10337 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10338 and x32_gnu_pltexit.
10340 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10341 __ELF_NATIVE_CLASS.
10342 (La_x32_regs): New macro.
10343 (La_x32_retval): Likewise.
10344 (la_x32_gnu_pltenter): New function prototype.
10345 (la_x32_gnu_pltexit): Likewise.
10347 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10354 * configure.in (libc_cv_cc_nofma): Check for option to disable
10355 generation of FMA instructions.
10356 * configure: Regenerate.
10357 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10358 * sysdeps/ieee754/dbl-64/Makefile: New file.
10359 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10360 Remove brandred-fma4.
10361 (CFLAGS-brandred-fma4.c): Remove.
10362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10368 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10370 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10371 LLONG_MAX != LONG_MAX.
10372 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10373 (_fitoa_word): Likewise.
10374 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10375 LLONG_MAX != LONG_MAX.
10376 * stdio-common/_itowa.h: Include <_itoa.h>.
10377 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10378 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10379 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10380 only if not defined.
10381 (_ITOA_WORD_TYPE): Likewise.
10382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10383 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10385 2012-03-21 David S. Miller <davem@davemloft.net>
10387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10389 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10391 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10392 of x86_64 when setting libc_cv_slibdir, libdir and
10394 * sysdeps/unix/sysv/linux/configure: Regenerated.
10396 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10398 * manual/lang.texi (Old Varargs): Remove section.
10399 (How Variadic): Update menu.
10400 (va_start): Do not mention varargs.h.
10402 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10403 Joseph Myers <joseph@codesourcery.com>
10405 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10407 * configure: Regenerated.
10409 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10411 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10412 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10415 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10418 * Makefile (files-for-dist): Remove NOTES.
10419 (NOTES): Remove rule.
10420 * README: Don't refer to NOTES.
10421 * manual/creature.texi: Don't include macros.texi.
10422 * manual/intro.texi (creature.texi): Remove comment referring to
10425 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10426 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10427 * configure: Regenerated.
10428 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10429 LIBC_TRY_CC_OPTION.
10430 (libc_cv_as_i686): Likewise.
10431 (libc_cv_cc_avx): Likewise.
10432 (libc_cv_cc_sse2avx): Likewise.
10433 (libc_cv_cc_fma4): Likewise.
10434 (libc_cv_cc_novzeroupper): Likewise.
10435 * sysdeps/i386/configure: Regenerated.
10438 * sysdeps/i386/fpu/s_cexp.S: Remove.
10439 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10440 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10441 * math/libm-test.inc (cexp_test): Add more tests.
10442 * sysdeps/i386/fpu/libm-test-ulps: Update.
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445 2012-03-21 Allan McRae <allan@archlinux.org>
10447 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10449 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10452 * math/w_exp2.c: Do not include <float.h>.
10453 (o_threshold, u_threshold): Remove.
10454 (__exp2): Calculate result before checking finiteness and calling
10456 * math/w_exp2f.c: Likewise.
10457 * math/w_exp2l.c: Likewise.
10458 * math/libm-test.inc (exp2_test): Require overflow exception for
10462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10463 range of signed 64-bit integers before using fistpll. Remove
10464 checks for whether integers fit in mantissa bits.
10465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10466 the range of signed 32-bit integers before using fistpl. Remove
10467 checks for whether integers fit in mantissa bits.
10468 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10469 (__ieee754_powl): Test for y outside the range of signed 64-bit
10470 integers before using fistpll. Reduce 64-bit values to 63-bit
10472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10473 divide-by-zero is raised for zero to large negative powers.
10474 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10475 (__ieee754_powl): Test for y outside the range of signed 64-bit
10476 integers before using fistpll. Reduce 64-bit values to 63-bit
10478 * math/libm-test.inc (pow_test): Add more tests.
10480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10482 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10483 <stdio-common/_itoa.h>.
10484 * debug/segfault.c: Likewise.
10485 * elf/dl-cache.c: Likewise.
10486 * elf/dl-minimal.c: Likewise.
10487 * elf/dl-misc.c: Likewise.
10488 * elf/dl-sysdep.c: Likewise.
10489 * elf/dl-version.c: Likewise.
10490 * elf/rtld.c: Likewise.
10491 * hurd/hurdsock.c: Likewise.
10492 * hurd/lookup-retry.c: Likewise.
10493 * malloc/malloc.c: Likewise.
10494 * malloc/mtrace.c: Likewise.
10495 * nscd/nscd_getgr_r.c: Likewise.
10496 * nscd/nscd_getpw_r.c: Likewise.
10497 * nscd/nscd_getserv_r.c: Likewise.
10498 * posix/getopt_init.c: Likewise.
10499 * posix/wordexp.c: Likewise.
10500 * stdio-common/_itoa.c: Likewise.
10501 * stdio-common/printf_fphex.c: Likewise.
10502 * stdio-common/vfprintf.c: Likewise.
10503 * string/_strerror.c: Likewise.
10504 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10505 * sysdeps/i386/i686/hp-timing.h: Likewise.
10506 * sysdeps/mach/_strerror.c: Likewise.
10507 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10508 * sysdeps/mach/hurd/sethostid.c: Likewise.
10509 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10510 * sysdeps/mach/xpg-strerror.c: Likewise.
10511 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10513 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10514 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10515 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10516 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10517 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10518 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10519 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10520 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10521 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10522 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10523 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10524 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10525 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10527 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10528 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10529 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10530 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10533 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10535 * stdio-common/_itoa.h: Moved to ...
10536 * sysdeps/generic/_itoa.h: Here.
10538 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10540 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10541 instead of "_itoa.h" and "_itowa.h".
10542 * stdio-common/vfprintf.: Likewise.
10544 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10546 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10548 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10549 (__signbit): Likwise.
10550 (llrintf): Likwise.
10553 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10555 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10558 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10560 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10561 OVERFLOW_EXCEPTION_OK.
10562 * math/libm-test.inc ("Philosophy"): Update comment about
10564 (OVERFLOW_EXCEPTION): Define.
10565 (OVERFLOW_EXCEPTION_OK): Likewise.
10566 (INVALID_EXCEPTION_OK): Renumber.
10567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10568 (IGNORE_ZERO_INF_SIGN): Likewise.
10569 (test_exceptions): Handle FE_OVERFLOW.
10570 (exp10_test): Expect overflow exceptions.
10571 (exp2_test): Likewise.
10572 (expm1_test): Likewise.
10573 (nextafter_test): Likewise.
10574 (pow_test): Likewise.
10575 (scalbn_test): Likewise.
10576 (scalbln_test): Likewise.
10578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10580 * sysdeps/x86_64/bits/atomic.h
10581 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10583 (atomic_exchange_acq): Likewise.
10584 (__arch_exchange_and_add_body): Likewise.
10585 (__arch_add_body): Likewise.
10586 (atomic_add_negative): Likewise.
10587 (atomic_add_zero): Likewise.
10589 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10591 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10592 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10594 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10596 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10597 Check __x86_64__ instead of __WORDSIZE.
10599 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10601 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10603 2012-03-19 David S. Miller <davem@davemloft.net>
10605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10607 * sysdeps/sparc/fpu/fenv_private.h: New file.
10608 * sysdeps/sparc/fpu/math_private.h: Use it.
10609 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10612 (libc_feholdexcept_setroundl): Remove.
10613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10618 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10620 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10621 int64_t instead of long int.
10622 (INSERT_WORDS64): Likwise.
10624 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10626 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10627 _Unwind_GetCFA return to _Unwind_Ptr first.
10629 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10632 * math/s_clog.c: Include <float.h>.
10633 (__clog): Scale large or subnormal inputs.
10634 * math/s_clogf.c: Likewise.
10635 * math/s_clogl.c: Likewise.
10636 * math/s_clog10.c: Include <float.h>.
10637 (M_LOG10_2): Define.
10638 (__clog10): Scale large or subnormal inputs.
10639 * math/s_clog10f.c: Likewise.
10640 * math/s_clog10l.c: Likewise.
10641 * math/libm-test.inc (clog_test): Add more tests.
10642 (clog10_test): Likewise.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10649 * math/libm-test.inc (atan2_test): Add another test.
10651 * Makerules (common-objdir-compile): Remove.
10652 * sysdeps/unix/Makefile (config-generated): Do not add
10653 $(unix-generated) to variable.
10654 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10655 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10657 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10659 [generic bits/local_lim.h] (before-compile): Do not append to
10661 [generic bits/local_lim.h] (common-generated): Likewise.
10662 [generic sys/param.h] (before-compile): Do not append to variable.
10663 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10664 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10665 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10666 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10668 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10669 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10670 [generic sys/param.h] ($(addprefix
10671 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10672 [generic sys/param.h] (common-generated): Do not append to
10674 [generic sys/param.h] (sysdep_headers): Likewise.
10675 [generic bits/errno.h] (before-compile): Do not append to
10677 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10679 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10680 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10681 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10682 [generic bits/errno.h] (common-generated): Do not append to
10684 [generic bits/ioctls.h] (before-compile): Do not append to
10686 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10688 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10689 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10690 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10692 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10693 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10694 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10695 [generic bits/ioctls.h] (common-generated): Do not append to
10697 [generic sys/syscall.h] (syscall.h): Remove variable.
10698 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10700 [generic sys/syscall.h] (before-compile): Do not append to
10702 [generic sys/syscall.h] (common-generated): Likewise.
10703 * sysdeps/unix/errnos-tmpl.c: Remove file.
10704 * sysdeps/unix/errnos.awk: Likewise.
10705 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10706 * sysdeps/unix/ioctls.awk: Likewise.
10707 * sysdeps/unix/mk-local_lim.c: Likewise.
10708 * sysdeps/unix/snarf-ioctls: Likewise.
10710 2012-03-19 Richard Henderson <rth@twiddle.net>
10712 * sysdeps/i386/fpu/fenv_private.h: New file.
10713 * sysdeps/i386/fpu/math_private.h: Use it.
10714 (math_opt_barrier, math_force_eval): Remove.
10715 (libc_feholdexcept_setround_53bit): Remove.
10716 (libc_feupdateenv_53bit): Remove.
10717 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10718 (math_opt_barrier, math_force_eval): Remove.
10719 (libc_feholdexcept): Remove.
10720 (libc_feholdexcept_setround): Remove.
10721 (libc_fetestexcept, libc_fesetenv): Remove.
10722 (libc_feupdateenv_test): Remove.
10723 (libc_feupdateenv, libc_feholdsetround): Remove.
10724 (libc_feresetround): Remove.
10726 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10727 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10729 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10730 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10731 (libc_feupdateenv_testl): New.
10732 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10733 (libc_feupdateenv_testf): New.
10734 (libc_feupdateenv): Use libc_feupdateenv_test.
10735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10738 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10739 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10740 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10741 (libc_feresetround_noex): New.
10742 (libc_feresetround_noexf): New.
10743 (libc_feresetround_noexl): New.
10744 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10745 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10746 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10747 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10752 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10753 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10754 SET_RESTORE_ROUND_NOEX.
10755 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10756 SET_RESTORE_ROUND_NOEXF.
10757 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10758 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10759 (libc_feholdsetroundf): New.
10760 (libc_feresetround, libc_feresetroundf): New.
10762 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10763 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10764 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10766 * sysdeps/generic/math_private.h: Include <fenv.h>.
10767 (default_libc_feholdexcept): New.
10768 (default_libc_feholdexcept_setround): New.
10769 (default_libc_fesetenv, default_libc_feupdateenv): New.
10770 (libc_feholdexcept): Only define if undefined.
10771 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10773 (libc_feholdexcept_setroundl): Likewise.
10774 (libc_feholdexcept_setround_53bit): Likewise.
10775 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10778 (libc_feupdateenv_53bit): Likewise.
10779 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10780 (libc_feholdexcept): Convert from macro to inline function.
10781 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10782 (libc_fesetenv, libc_feupdateenv): Likewise.
10784 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10785 not previously defined.
10786 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10787 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10788 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10789 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10790 * sysdeps/ieee754/flt-32/math_private.h: New file.
10791 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10792 math_private.h below SET_FLOAT_WORD.
10793 (__isnan, __isinf_ns, __finite): Remove.
10794 (__isnanf, __isinf_nsf, __finitef): Remove.
10796 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10800 2012-03-17 David S. Miller <davem@davemloft.net>
10803 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10806 2012-03-16 David S. Miller <davem@davemloft.net>
10808 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10814 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10815 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10816 sysdep_routines when subdir is sysvipc.
10817 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10818 __getshmlba helper.
10820 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10822 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10824 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10827 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10830 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10831 (__lround): Renamed to ...
10832 (__llround): This. Replace long int with long long int.
10833 Define lround functions as aliases of llround functions.
10834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10836 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10838 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10839 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10840 adresses to uintptr_t. Replace "long int" and "unsigned long
10841 int" with "greg_t" on va_arg.
10843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10845 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10846 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10848 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10849 Move e_machine check before EI_CLASS check. Handle x32
10850 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10851 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10852 SKIP_EM_IA_64 and include
10853 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10855 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10856 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10857 (add_system_dir): New macro.
10859 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10860 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10862 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10873 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10875 * math/w_j0f.c (j0f): Likewise.
10877 * math/w_j0l.c (__j0l): Likewise.
10879 * math/w_j1.c (j1): Likewise.
10881 * math/w_j1f.c (j1f): Likewise.
10883 * math/w_j1l.c (__j1l): Likewise.
10885 * math/w_jn.c (jn): Likewise.
10887 * math/w_jnf.c (jnf): Likewise.
10889 * math/w_jnl.c (__jnl): Likewise.
10891 * math/libm-test.inc (j0_test): Add more tests.
10892 (j1_test): Likewise.
10893 (jn_test): Likewise. Add trailing semicolon to existing test.
10894 (y0_test): Likewise.
10895 (y1_test): Likewise.
10896 * sysdeps/i386/fpu/libm-test-ulps: Update.
10897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10902 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10903 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10905 (__tanl): Set errno for infinite argument.
10906 * sysdeps/i386/fpu/mptan.c: Remove.
10907 * sysdeps/i386/fpu/s_tan.S: Likewise.
10908 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10909 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10910 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10911 * math/libm-test.inc (tan_test): Add more tests and enable more
10912 tests for double and long double.
10913 * sysdeps/i386/fpu/libm-test-ulps: Update.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10918 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10919 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10921 2012-03-16 Roland McGrath <roland@hack.frob.com>
10923 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10924 * configure.in: Use it for both main tree and add-ons.
10925 * configure: Regenerated.
10927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10929 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10931 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10933 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10937 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10938 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10943 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10945 != 0 for prec == 2.
10946 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10947 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10948 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10949 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10950 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10951 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10952 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10953 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10954 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10955 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10956 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10957 * math/libm-test.inc (cos_test): Add more tests and enable more
10958 tests for long double.
10959 (sin_test): Likewise.
10960 (sincos_test): Likewise.
10961 * sysdeps/i386/fpu/libm-test-ulps: Update.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10964 2012-03-16 David S. Miller <davem@davemloft.net>
10966 * sysdeps/sparc/fpu/math_private.h: New file.
10968 2012-03-15 David S. Miller <davem@davemloft.net>
10970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10984 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10985 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10987 * sysdeps/sparc/sparc-ifunc.h: New file.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11027 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11033 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11035 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11039 2012-03-15 Andreas Jaeger <aj@suse.de>
11042 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11043 ieee754/flt-32 implementation for sin, cos and sincos.
11044 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11045 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11046 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11047 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11048 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11049 ieee754/flt-32 implementation for tan.
11051 * math/libm-test.inc (cos_test): Enable some large input tests for
11053 (sin_test): Likewise.
11054 (sincos_test): Likewise.
11055 (tan_test): Add tests for large input.
11057 * sysdeps/i386/fpu/libm-test-ulps: Update.
11059 2012-03-15 Andreas Jaeger <aj@suse.de>
11062 * math/libm-test.inc (cos_test): Add more test cases.
11063 (sin_test): Likewise.
11064 (sincos_test): Likewise.
11066 2012-03-15 Andreas Jaeger <aj@suse.de>
11069 * math/libm-test.inc (cos_test): Add a test case for large input
11071 (sin_test): Likewise.
11072 (sincos_test): Likewise.
11074 2012-03-15 Andreas Jaeger <aj@suse.de>,
11075 Joseph Myers <joseph@codesourcery.com>
11078 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11079 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11080 * sysdeps/i386/fpu/branred.c: Likewise.
11081 * sysdeps/i386/fpu/dosincos.c: Likewise.
11082 * sysdeps/i386/fpu/mpa.c: Likewise.
11083 * sysdeps/i386/fpu/s_cos.S: Likewise.
11084 * sysdeps/i386/fpu/s_sin.S: Likewise.
11085 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11086 * sysdeps/i386/fpu/sincos32.c: Likewise.
11088 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11090 (libc_feupdateenv_53bit): Define.
11091 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11093 (libc_feupdateenv_53bit): Define.
11095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11096 53 bit (without extend i386 double precision).
11098 * math/libm-test.inc (sincos_test): Add tests for large input.
11102 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11104 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11108 2012-03-15 David S. Miller <davem@davemloft.net>
11110 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11138 fmin/fmax sysdep routines.
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11141 2012-03-14 David S. Miller <davem@davemloft.net>
11143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11215 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11220 * sysdeps/sparc/configure.in: New file.
11221 * sysdeps/sparc/configure: Generate.
11222 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11223 * configure: Regenerate.
11224 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11225 * config.make.in (have-as-vis3): New.
11226 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11227 available use -Av9d instead of -Av9a.
11228 * sysdeps/sparc/sparc64/Makefile: Likewise.
11229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11244 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11245 fzeros/fnegs to load 0x80000000 into a float register instead of
11247 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11249 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11253 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11254 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11255 ($(inst_includedir)/bits/syscall.h): Remove rule.
11256 ($(objpfx)bits/syscall.d): Include instead of
11257 $(objpfx)syscall-list.d.
11258 (generated): Change syscall-list.h and syscall-list.d to
11259 bits/syscall.h and bits/syscall.d.
11261 2012-03-14 Roland McGrath <roland@hack.frob.com>
11264 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11266 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11269 * math/s_csqrt.c: Include <float.h>.
11270 (__csqrt): Scale large or subnormal inputs.
11271 * math/s_csqrtf.c: Likewise.
11272 * math/s_csqrtl.c: Likewise.
11273 * math/libm-test.inc (csqrt_test): Add more tests.
11274 * sysdeps/i386/fpu/libm-test-ulps: Update.
11275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11278 * math/libm-test.inc (hypot_test): Add more tests.
11280 2012-03-13 David S. Miller <davem@davemloft.net>
11283 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11284 double-precision for the calculation instead of scaling.
11286 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11289 manipulate bits before adding and subtracting TWO52[sx].
11290 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11293 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11295 2012-03-13 David S. Miller <davem@davemloft.net>
11297 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11298 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11300 rtld-global-offsets.h
11301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11308 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11309 'err' in the ifdef scope in which it is actually used.
11311 * nss/nss_db/db-init.c: Include string.h
11313 2012-03-12 David S. Miller <davem@davemloft.net>
11315 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11316 masking out of the most significant byte of random value used.
11317 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11318 Fix coding style in previous change.
11320 * sysdeps/unix/sysv/linux/kernel-features.h
11321 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11322 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11324 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11327 2012-03-11 David S. Miller <davem@davemloft.net>
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11330 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11332 for 'resultvar' otherwise things get truncated on 64-bit.
11334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11335 Fix masking out of the most significant byte of random value used.
11337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11339 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11343 2012-03-09 David S. Miller <davem@davemloft.net>
11345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11346 variables with appropriate CPP guards.
11347 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11348 frame pointer, not the stack pointer. Correct layout comments. Fix test
11349 on resulting framesize and the management of the outregs buffer for pltexit.
11350 Preserve floating point return values across _dl_call_pltexit call.
11351 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11352 framesize and the management of the outregs buffer for pltexit.
11353 Preserve floating point return values across _dl_call_pltexit
11355 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11356 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11357 (print_exit): Fix format string for return register value.
11359 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11361 * sunrpc/Makefile (others): Add rpcgen.
11362 ($(objpfx)rpcgen): Remove special build rule and dependency on
11364 * sunrpc/rpcgen.c: New file.
11366 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11369 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11370 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11371 * sysdeps/i386/crti.S: Likewise.
11372 * sysdeps/i386/crtn.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11375 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11376 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11377 * sysdeps/sh/crti.S: Likewise.
11378 * sysdeps/sh/crtn.S: Likewise.
11379 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11382 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11384 * locale/programs/locfile-kw.gperf: Likewise.
11385 * locale/programs/charmap-kw.h: Regenerated.
11386 * locale/programs/locfile-kw.h: Likewise.
11389 * intl/plural.y: Replace FSF snail mail address with URL.
11390 * intl/plural.c: Regenerated.
11392 2012-03-09 Richard Henderson <rth@twiddle.net>
11394 * include/math_private.h: Remove file.
11395 * math/math_private.h: Move file ...
11396 * sysdeps/generic/math_private.h: ... here.
11398 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11399 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11400 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11402 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11403 and <math_private.h>.
11404 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11405 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11406 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11407 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11408 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11464 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11472 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11473 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11474 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11492 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11495 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11499 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11504 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11505 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11506 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11507 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11508 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11509 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11514 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11515 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11516 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11517 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11518 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11519 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11520 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11521 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11523 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11524 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11525 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11526 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11527 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11528 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11529 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11530 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11531 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11532 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11533 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11534 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11535 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11537 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11538 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11539 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11540 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11541 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11542 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11543 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11545 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11546 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11547 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11548 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11549 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11550 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11551 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11552 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11553 * sysdeps/ieee754/k_standard.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11676 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11681 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11704 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11714 * sysdeps/ieee754/s_lib_version.c: Likewise.
11715 * sysdeps/ieee754/s_matherr.c: Likewise.
11716 * sysdeps/ieee754/s_signgam.c: Likewise.
11717 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11718 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11719 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11720 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11721 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11722 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11723 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11724 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11725 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11726 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11727 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11728 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11729 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11730 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11731 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11733 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11735 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11739 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11741 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11742 * sunrpc/rpc_main.c: Likewise.
11743 * sunrpc/rpc_svcout.c: Likewise.
11745 2012-03-09 David S. Miller <davem@davemloft.net>
11747 * include/math_private.h: New file.
11749 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11751 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11752 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11753 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11754 from <bits/socket_type.h>.
11755 (enum __socket_type): Don't define here.
11756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11758 bits/socket_type.h.
11761 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11762 checking __USE_GNU.
11764 * Makerules ($(inst_includedir)/%.h): New rule.
11765 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11766 (install-others): Remove variable setting.
11767 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11769 2012-03-08 Richard Henderson <rth@twiddle.net>
11771 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11772 from macro to inline function; merge with the
11773 !__LIBC_INTERNAL_MATH_INLINES version.
11774 (__ieee754_sqrtf): Likewise.
11776 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11777 to inline function.
11778 (__rintf, __floor, __floorf): Likewise.
11780 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11781 macro to inline function.
11782 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11785 not <math/math_private.h>.
11787 2012-03-08 David S. Miller <davem@davemloft.net>
11789 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11791 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11793 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11795 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11797 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11798 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11800 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11802 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11803 be defined individually, they must be defined as a block. Define
11804 S for printing a string instead of hidint the different by using a
11805 macro for adding the 'l'.
11806 * stdio-common/tst-fphex-wide.c: Adjust.
11808 2012-03-07 Marek Polacek <polacek@redhat.com>
11810 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11812 2012-03-08 Marek Polacek <polacek@redhat.com>
11815 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11816 * stdio-common/tst-fphex.c: Define a few macros to make the
11817 test reusable. Use them.
11818 * stdio-common/tst-fphex-wide.c: New file.
11820 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11823 * manual/macros.texi (gnusystems): New macro.
11824 (nongnusystems): Likewise.
11825 (gnulinuxhurdsystems): Likewise.
11826 (gnuhurdsystems): Likewise..
11827 (gnulinuxsystems): Likewise.
11828 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11829 variants of the GNU system, not "GNU system".
11830 * manual/conf.texi: Likewise.
11831 * manual/errno.texi: Likewise. Update example of errno macro
11833 * manual/filesys.texi: Likewise.
11834 (getumask): Document as specific to GNU/Hurd.
11835 * manual/install.texi: Likewise. Reword some references to
11837 * manual/intro.texi: Likewise.
11838 * manual/io.texi: Likewise.
11839 (File Name Portability): Detail which constraints are inapplicable
11840 to all GNU systems and which are only inapplicable to GNU/Hurd.
11841 * manual/job.texi: Likewise.
11842 * manual/llio.texi: Likewise.
11843 (O_NOCTTY): Document as present on GNU/Linux.
11844 * manual/maint.texi: Likewise.
11845 * manual/memory.texi: Likewise.
11846 * manual/pattern.texi: Likewise.
11847 * manual/pipe.texi: Likewise.
11848 * manual/process.texi: Likewise.
11849 * manual/resource.texi: Likewise.
11850 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11852 * manual/setjmp.texi: Likewise.
11853 * manual/signal.texi: Likewise.
11854 * manual/startup.texi: Likewise.
11855 * manual/stdio.texi: Likewise.
11856 * manual/terminal.texi: Likewise.
11857 (ONLCR): Document as POSIX.
11858 (OXTABS): Document availability on GNU/Linux as XTABS.
11859 (ONOEOT): Document availability separately from other bits.
11860 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11861 * manual/time.texi: Likewise.
11862 * manual/users.texi: Likewise.
11863 * INSTALL: Regenerated.
11864 * sysdeps/gnu/errlist.c: Regenerated.
11866 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11867 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11868 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11870 * configure: Regenerated.
11872 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11874 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11875 default includes instead of AC_HEADER_CHECK.
11876 * sysdeps/i386/configure: Regenerated.
11879 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11880 * math/s_cacoshf.c (__cacoshf): Likewise.
11881 * math/s_cacoshl.c (__cacoshl): Likewise.
11882 * math/s_casinh.c (__casinh): Set signs of result from argument.
11883 * math/s_casinhf.c (__casinhf): Likewise.
11884 * math/s_casinhl.c (__casinhl): Likewise.
11885 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11886 (casinh_test): Add more tests.
11887 * sysdeps/i386/fpu/libm-test-ulps: Update.
11888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11890 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11892 * po/zh_TW.po: Update from translation team.
11894 * login/Makefile (distribute): Remove variable.
11895 * catgets/Makefile: Likewise.
11896 * mach/Makefile: Likewise.
11897 * malloc/Makefile: Likewise.
11898 * misc/Makefile: Likewise.
11899 * iconv/Makefile: Likewise.
11900 * nscd/Makefile: Likewise.
11901 * hurd/Makefile: Likewise.
11902 * manual/Makefile: Likewise.
11903 * locale/Makefile: Likewise.
11904 * intl/Makefile: Likewise.
11905 * conform/Makefile: Likewise.
11906 * nss/Makefile: Likewise.
11907 * time/Makefile: Likewise.
11908 * soft-fp/Makefile: Likewise.
11909 * dirent/Makefile: Likewise.
11910 * gmon/Makefile: Likewise.
11911 * po/Makefile: Likewise.
11912 * rt/Makefile: Likewise.
11913 * socket/Makefile: Likewise.
11914 * math/Makefile: Likewise.
11915 * signal/Makefile: Likewise.
11916 * debug/Makefile: Likewise.
11917 * elf/Makefile: Likewise.
11918 * timezone/Makefile: Likewise.
11919 * stdlib/Makefile: Likewise.
11920 * iconvdata/Makefile: Likewise.
11921 * sunrpc/Makefile: Likewise.
11922 * io/Makefile: Likewise.
11923 * argp/Makefile: Likewise.
11924 * inet/Makefile: Likewise.
11925 * hesiod/Makefile: Likewise.
11926 * grp/Makefile: Likewise.
11927 * csu/Makefile: Likewise.
11928 * wctype/Makefile: Likewise.
11929 * crypt/Makefile: Likewise.
11930 * libio/Makefile: Likewise.
11931 * string/Makefile: Likewise.
11932 * nis/Makefile: Likewise.
11933 * resolv/Makefile: Likewise.
11934 * stdio-common/Makefile: Likewise.
11935 * wcsmbs/Makefile: Likewise.
11936 * dlfcn/Makefile: Likewise.
11937 * posix/Makefile: Likewise.
11940 * timezone/Makefile: Don't install timezone files, just the programs
11943 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11945 * nss/databases.def: Add missing gshadow entry.
11947 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11949 2012-03-06 Marek Polacek <polacek@redhat.com>
11952 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11953 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11954 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11955 * stdio-common/tst-long-dbl-fphex.c: New file.
11957 2012-03-06 David S. Miller <davem@davemloft.net>
11959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11960 (set_obp_int): New function.
11961 (get_obp_int): New function.
11962 (__get_clockfreq_via_dev_openprom): Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11964 Avoid unused variable warnings on 'val' and use builtin_expect.
11965 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11967 (INLINE_CLONE_SYSCALL): Likewise.
11969 2012-03-05 David S. Miller <davem@davemloft.net>
11971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11973 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11977 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11978 only for |x| >= 40.
11979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11981 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11984 Replace gettimeofday with __vdso_gettimeofday.
11986 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11987 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11988 __vdso_clock_gettime and __vdso_getcpu.
11990 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11991 time with __vdso_time.
11993 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11995 * manual/lang.texi (size_t): Note types to which size_t may be
11996 equivalent with the GNU C Library, but do not describe when
11997 differences between them are significant.
11999 2012-03-05 Andreas Jaeger <aj@suse.de>
12001 * sysdeps/i386/fpu/libm-test-ulps: Update.
12003 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12006 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12007 (__ieee754_pow): Save and restore rounding mode and use
12008 round-to-nearest for main computations.
12009 * math/libm-test.inc (pow_test_tonearest): New function.
12010 (pow_test_towardzero): Likewise.
12011 (pow_test_downward): Likewise.
12012 (pow_test_upward): Likewise.
12013 (main): Call the new functions.
12014 * sysdeps/i386/fpu/libm-test-ulps: Update.
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12018 * math/libm-test.inc (cosh_test_tonearest): New function.
12019 (cosh_test_towardzero): Likewise.
12020 (cosh_test_downward): Likewise.
12021 (cosh_test_upward): Likewise.
12022 (sinh_test_tonearest): Likewise.
12023 (sinh_test_towardzero): Likewise.
12024 (sinh_test_downward): Likewise.
12025 (sinh_test_upward): Likewise.
12026 (main): Call the new functions.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2012-03-05 Tom de Vries <tom@codesourcery.com>
12032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12033 default stack guard is set in last bytes.
12034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12036 2012-03-05 Kees Cook <keescook@chromium.org>
12038 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12041 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12042 possibly allocate from heap instead of stack.
12043 * stdio-common/bug-vfprintf-nargs.c: New file.
12044 * stdio-common/Makefile (tests): Add nargs overflow test.
12046 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12050 2012-03-03 Marek Polacek <polacek@redhat.com>
12052 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12053 * math/math_private.h: Likewise.
12054 * stdlib/tst-strtod.c: Likewise.
12055 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12056 * sysdeps/x86_64/bits/atomic.h: Likewise.
12058 2012-03-02 David S. Miller <davem@davemloft.net>
12060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12064 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12065 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12066 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12067 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12069 2012-03-02 Roland McGrath <roland@hack.frob.com>
12072 * manual/examples/README: New file, says the example source files
12073 can be used under GPL>=2.
12074 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12075 line containing just "*/".
12076 * manual/examples/add.c: Add copyright header (GPL>=2).
12077 * manual/examples/argp-ex1.c: Likewise.
12078 * manual/examples/argp-ex2.c: Likewise.
12079 * manual/examples/argp-ex3.c: Likewise.
12080 * manual/examples/argp-ex4.c: Likewise.
12081 * manual/examples/atexit.c: Likewise.
12082 * manual/examples/db.c: Likewise.
12083 * manual/examples/dir.c: Likewise.
12084 * manual/examples/dir2.c: Likewise.
12085 * manual/examples/execinfo.c: Likewise.
12086 * manual/examples/filecli.c: Likewise.
12087 * manual/examples/filesrv.c: Likewise.
12088 * manual/examples/fmtmsgexpl.c: Likewise.
12089 * manual/examples/genpass.c: Likewise.
12090 * manual/examples/inetcli.c: Likewise.
12091 * manual/examples/inetsrv.c: Likewise.
12092 * manual/examples/isockad.c: Likewise.
12093 * manual/examples/longopt.c: Likewise.
12094 * manual/examples/memopen.c: Likewise.
12095 * manual/examples/memstrm.c: Likewise.
12096 * manual/examples/mkfsock.c: Likewise.
12097 * manual/examples/mkisock.c: Likewise.
12098 * manual/examples/mygetpass.c: Likewise.
12099 * manual/examples/pipe.c: Likewise.
12100 * manual/examples/popen.c: Likewise.
12101 * manual/examples/rprintf.c: Likewise.
12102 * manual/examples/search.c: Likewise.
12103 * manual/examples/select.c: Likewise.
12104 * manual/examples/setjmp.c: Likewise.
12105 * manual/examples/sigh1.c: Likewise.
12106 * manual/examples/sigusr.c: Likewise.
12107 * manual/examples/stpcpy.c: Likewise.
12108 * manual/examples/strdupa.c: Likewise.
12109 * manual/examples/strftim.c: Likewise.
12110 * manual/examples/strncat.c: Likewise.
12111 * manual/examples/subopt.c: Likewise.
12112 * manual/examples/swapcontext.c: Likewise.
12113 * manual/examples/termios.c: Likewise.
12114 * manual/examples/testopt.c: Likewise.
12115 * manual/examples/testpass.c: Likewise.
12116 * manual/examples/timeval_subtract.c: Likewise.
12119 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12121 * manual/timeval_subtract.c.texi: ... here, new file.
12123 2012-03-02 David S. Miller <davem@davemloft.net>
12125 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12127 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12130 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12131 (__sin): Save and restore rounding mode and use round-to-nearest
12132 for all computations.
12133 (__cos): Save and restore rounding mode and use round-to-nearest
12134 for all computations.
12135 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12137 (tan): Save and restore rounding mode and use round-to-nearest for
12139 * math/libm-test.inc (cos_test_tonearest): New function.
12140 (cos_test_towardzero): Likewise.
12141 (cos_test_downward): Likewise.
12142 (cos_test_upward): Likewise.
12143 (sin_test_tonearest): Likewise.
12144 (sin_test_towardzero): Likewise.
12145 (sin_test_downward): Likewise.
12146 (sin_test_upward): Likewise.
12147 (tan_test_tonearest): Likewise.
12148 (tan_test_towardzero): Likewise.
12149 (tan_test_downward): Likewise.
12150 (tan_test_upward): Likewise.
12151 (main): Call the new functions.
12152 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12156 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12157 small n, then large n, before computing and testing k+n.
12158 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12163 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12164 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12165 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12166 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12168 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12169 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12171 * math/libm-test.inc (scalbn_test): Add more tests.
12172 (scalbln_test): Likewise.
12174 * manual/filesys.texi (mode_t): Describe constraints on size and
12175 signedness, not exact equivalence to a particular type.
12177 (ino64_t): Likewise.
12179 (nlink_t): Likewise.
12180 (blkcnt_t): Likewise.
12181 (blkcnt64_t): Likewise.
12182 * manual/llio.texi (off_t): Likewise.
12185 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12186 (__ieee754_exp): Save and restore rounding mode and use
12187 round-to-nearest for all computations.
12188 * math/libm-test.inc (exp_test_tonearest): New function.
12189 (exp_test_towardzero): Likewise.
12190 (exp_test_downward): Likewise.
12191 (exp_test_upward): Likewise.
12192 (main): Call the new functions.
12193 * sysdeps/i386/fpu/libm-test-ulps: Update.
12194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196 2012-03-01 Chris Demetriou <cgd@google.com>
12198 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12199 have predictable order.
12201 2012-03-01 David S. Miller <davem@davemloft.net>
12203 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12205 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12206 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12207 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12208 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12210 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12211 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12212 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12214 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12215 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12216 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12217 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12218 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12222 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12223 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12224 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12226 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12228 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12229 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12230 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12231 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12232 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12233 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12234 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12235 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12236 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12242 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12243 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12244 * sysdeps/sparc/elf/configure: Regenerated.
12246 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12248 * configure.in (AS, LD): Require binutils 2.20 or later.
12249 * configure: Regenerated.
12250 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12251 as required minimum version.
12252 * INSTALL: Regenerated.
12256 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12257 before squaring exponent.
12258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12259 bottom long double and 27 bits of top long double before squaring
12261 * math/libm-test.inc (erfc_test): Add more tests.
12262 * sysdeps/i386/fpu/libm-test-ulps: Update.
12263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12266 2012-03-01 Kai Tietz <ktietz@redhat.com>
12268 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12269 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12270 containing bit-fields.
12271 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12272 * soft-fp/single.h (_FP_UNION_S): Likewise.
12273 * soft-fp/double.h (_FP_UNION_D): Likewise.
12275 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12278 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12279 not include ../strcmp.S.
12280 [USE_AS_STRNCASECMP_L]: Likewise.
12281 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12282 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12283 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12284 (__strncasecmp_l_ia32): Define as alias to
12285 __strncasecmp_l_nonascii.
12288 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12289 * sysdeps/i386/fpu/libm-test-ulps: Update.
12290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12295 2012-02-29 Jeff Law <law@redhat.com>
12297 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12298 out of bounds read.
12300 2012-02-29 Marek Polacek <polacek@redhat.com>
12303 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12304 * elf/Makefile: Add rules to run tst-unused-dep.out.
12306 2012-02-28 David S. Miller <davem@davemloft.net>
12308 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12309 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12312 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12313 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12315 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12317 * math/libm-test.inc (llround_test): Move one test from
12318 lround_test. Use TEST_f_L in moved test.
12319 (lround_test): Move misplaced test to llround_test. Add testcase
12322 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12324 * sysdeps/x86_64/fpu/e_expf.S: New file.
12325 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12327 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12330 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12331 of remain_len that may cause incomplete multi-byte character and
12333 * posix/bug-regex33.c: New file.
12334 * posix/Makefile (tests): Add bug-regex33.
12336 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12338 * manual/macros.texi: New file.
12339 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12340 * manual/libc.texinfo: Include macros.texi.
12341 * manual/creatute.texi: Likewise.
12342 * manual/install.texi: Likewise.
12343 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12344 @glibcadj{} in references to the GNU C Library.
12345 * manual/charset.texi: Likewise.
12346 * manual/conf.texi: Likewise.
12347 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12348 when not using those macros.
12349 * manual/creature.texi: Likewise.
12350 * manual/crypt.texi: Likewise.
12351 * manual/errno.texi: Likewise.
12352 * manual/filesys.texi: Likewise.
12353 * manual/header.texi: Likewise.
12354 * manual/install.texi: Likewise.
12355 * manual/intro.texi: Likewise.
12356 * manual/io.texi: Likewise.
12357 * manual/job.texi: Likewise.
12358 * manual/lang.texi: Likewise.
12359 * manual/libc.texiinfo: Likewise.
12360 * manual/llio.texi: Likewise.
12361 * manual/locale.texi: Likewise.
12362 * manual/maint.texi: Likewise.
12363 * manual/math.texi: Likewise.
12364 * manual/memory.texi: Likewise.
12365 * manual/message.texi: Likewise.
12366 * manual/nss.texi: Likewise.
12367 * manual/pattern.texi: Likewise.
12368 * manual/process.texi: Likewise.
12369 * manual/resource.texi: Likewise.
12370 * manual/search.texi: Likewise.
12371 * manual/setjmp.texi: Likewise.
12372 * manual/signal.texi: Likewise.
12373 * manual/socket.texi: Likewise.
12374 * manual/startup.texi: Likewise.
12375 * manual/stdio.texi: Likewise.
12376 * manual/string.texi: Likewise.
12377 * manual/sysinfo.texi: Likewise.
12378 * manual/syslog.texi: Likewise.
12379 * manual/terminal.texi: Likewise.
12380 * manual/time.texi: Likewise.
12381 * manual/users.texi: Likewise.
12382 * INSTALL: Regenerated.
12383 * NOTES: Regenerated.
12384 * sysdeps/gnu/errlist.c: Regenerated.
12386 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12388 * include/dirent.h: Include <dirstream.h> before
12391 2012-02-28 David S. Miller <davem@davemloft.net>
12393 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12394 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12395 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12396 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12398 2012-02-27 David S. Miller <davem@davemloft.net>
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12402 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12403 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12406 frame pointer instead of stack pointer relative arg slot.
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12408 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12409 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12411 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12414 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12416 2012-02-27 David S. Miller <davem@davemloft.net>
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12422 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12423 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12424 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12425 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12427 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12429 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12430 later. Allow versions 5-9.
12431 * configure: Regenerated.
12432 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12433 required minimum version and 4.6 as recommended version. Do not
12434 mention bugs in GCC 2.7 and 2.8.
12435 * INSTALL: Regenerated.
12437 2012-02-27 David S. Miller <davem@davemloft.net>
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12445 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12446 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12449 manipulate bits before adding and subtracting TWO112[sx].
12450 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12452 2012-02-27 Roland McGrath <roland@hack.frob.com>
12455 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12456 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12457 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12458 being in POSIX, because they are in 1003.1-2008.
12460 * rt/tst-aio.c: Include <fcntl.h>.
12461 * rt/tst-aio7.c: Likewise.
12462 * rt/tst-aio64.c: Likewise.
12464 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12466 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12468 * manual/install.texi (--with-headers): Describe headers as
12469 interface headers, not private headers.
12470 (Specific advice for GNU/Linux systems): Describe use of headers
12471 from "make headers_install", not private headers from older
12473 * INSTALL: Regenerated.
12474 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12476 * sysdeps/unix/sysv/linux/configure: Regenerated.
12478 * manual/llio.texi (fclean): Remove documentation.
12480 * manual/Makefile (libc-texi-generated): New variable. Include
12482 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12483 $(libc-texi-generated), not duplicated list of files.
12484 (version.texi, stamp-version): New rules.
12485 (realclean): Remove $(libc-texi-generated), not individual files
12486 from that list. Do not remove dir-add.texinfo.
12487 * manual/libc.texinfo: Comment out uses of edition numbers and
12488 references to printed manual. Remove last-updated dates.
12489 (EDITION): Comment out.
12491 (VERSION, UPDATED): Remove.
12492 (version.texi): Include.
12494 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12496 * sysdeps/posix/spawni.c: Include <signal.h>.
12497 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12498 * sysdeps/pthread/aio_fsync.c: Likewise.
12500 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12502 * conform/Makefile (tests): Run only when not cross-compiling and
12503 when fast-check is not defined.
12505 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12506 * conform/data/limits.h-data: Fixes for POSIX2008.
12507 * conform/run-conformtest.sh: Run all tests.
12508 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12510 * include/bits/dlfcn.h: Likewise.
12511 * include/langinfo.h: Likewise.
12512 * include/monetary.h: Likewise.
12513 * include/sys/poll.h: Likewise.
12515 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12517 * posix/spawn.h: Define __need_sigset_t.
12518 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12519 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12520 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12521 to get sigevent_t only.
12522 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12523 only for __USE_GNU.
12524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12525 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12526 process_vm_writev only for __USE_GNU.
12527 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12529 * conform/Makefile: For now ignore errors from run-conformtest.
12530 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12531 POSIX to avoid namespace pollution. Don't prepend headers.
12532 * conform/data/aio.h-data: Fixes for POSIX testing.
12533 * conform/data/fcntl.h-data: Likewise.
12534 * conform/data/glob.h-data: Likewise.
12535 * conform/data/grp.h-data: Likewise.
12536 * conform/data/pthread.h-data: Likewise.
12537 * conform/data/pwd.h-data: Likewise.
12538 * conform/data/signal.h-data: Likewise.
12539 * conform/data/spawn.h-data: Likewise.
12540 * conform/data/stdio.h-data: Likewise.
12541 * conform/data/stdlib.h-data: Likewise.
12542 * conform/data/stropts.h-data: Likewise.
12543 * conform/data/sys/mman.h-data: Likewise.
12544 * conform/data/sys/stat.h-data: Likewise.
12545 * conform/data/sys/types.h-data: Likewise.
12546 * conform/data/sys/wait.h-data: Likewise.
12547 * conform/data/time.h-data: Likewise.
12548 * conform/data/unistd.h-data: Likewise.
12549 * conform/data/utime.h-data: Likewise.
12551 * io/sys/stat.h: fchmod was always in POSIX.
12552 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12553 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12554 * rt/aio.h: Define __need_timespec before including <time.h>.
12555 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12556 struct. Add forward declaration of pthread_attr_t and use it in
12558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12560 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12561 always remove CLK_TCK definition.
12563 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12565 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12567 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12569 * conform/run-conformtest.sh: New file.
12570 * conform/Makefile: Run run-conformtest for tests.
12571 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12574 * conform/data/uchar.h-data: New file.
12575 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12576 * conform/data/arpa/inet.h-data: Likewise.
12577 * conform/data/assert.h-data: Likewise.
12578 * conform/data/complex.h-data: Likewise.
12579 * conform/data/cpio.h-data: Likewise.
12580 * conform/data/ctype.h-data: Likewise.
12581 * conform/data/dirent.h-data: Likewise.
12582 * conform/data/dlfcn.h-data: Likewise.
12583 * conform/data/errno.h-data: Likewise.
12584 * conform/data/fcntl.h-data: Likewise.
12585 * conform/data/float.h-data: Likewise.
12586 * conform/data/fmtmsg.h-data: Likewise.
12587 * conform/data/fnmatch.h-data: Likewise.
12588 * conform/data/ftw.h-data: Likewise.
12589 * conform/data/glob.h-data: Likewise.
12590 * conform/data/grp.h-data: Likewise.
12591 * conform/data/iconv.h-data: Likewise.
12592 * conform/data/inttypes.h-data: Likewise.
12593 * conform/data/langinfo.h-data: Likewise.
12594 * conform/data/libgen.h-data: Likewise.
12595 * conform/data/limits.h-data: Likewise.
12596 * conform/data/locale.h-data: Likewise.
12597 * conform/data/math.h-data: Likewise.
12598 * conform/data/monetary.h-data: Likewise.
12599 * conform/data/mqueue.h-data: Likewise.
12600 * conform/data/ndbm.h-data: Likewise.
12601 * conform/data/net/if.h-data: Likewise.
12602 * conform/data/netdb.h-data: Likewise.
12603 * conform/data/netinet/in.h-data: Likewise.
12604 * conform/data/nl_types.h-data: Likewise.
12605 * conform/data/poll.h-data: Likewise.
12606 * conform/data/pthread.h-data: Likewise.
12607 * conform/data/pwd.h-data: Likewise.
12608 * conform/data/regex.h-data: Likewise.
12609 * conform/data/sched.h-data: Likewise.
12610 * conform/data/search.h-data: Likewise.
12611 * conform/data/semaphore.h-data: Likewise.
12612 * conform/data/setjmp.h-data: Likewise.
12613 * conform/data/signal.h-data: Likewise.
12614 * conform/data/spawn.h-data: Likewise.
12615 * conform/data/stdarg.h-data: Likewise.
12616 * conform/data/stdio.h-data: Likewise.
12617 * conform/data/stdlib.h-data: Likewise.
12618 * conform/data/string.h-data: Likewise.
12619 * conform/data/strings.h-data: Likewise.
12620 * conform/data/stropts.h-data: Likewise.
12621 * conform/data/sys/ipc.h-data: Likewise.
12622 * conform/data/sys/mman.h-data: Likewise.
12623 * conform/data/sys/msg.h-data: Likewise.
12624 * conform/data/sys/resource.h-data: Likewise.
12625 * conform/data/sys/select.h-data: Likewise.
12626 * conform/data/sys/sem.h-data: Likewise.
12627 * conform/data/sys/shm.h-data: Likewise.
12628 * conform/data/sys/socket.h-data: Likewise.
12629 * conform/data/sys/stat.h-data: Likewise.
12630 * conform/data/sys/statvfs.h-data: Likewise.
12631 * conform/data/sys/time.h-data: Likewise.
12632 * conform/data/sys/timeb.h-data: Likewise.
12633 * conform/data/sys/times.h-data: Likewise.
12634 * conform/data/sys/types.h-data: Likewise.
12635 * conform/data/sys/uio.h-data: Likewise.
12636 * conform/data/sys/un.h-data: Likewise.
12637 * conform/data/sys/utsname.h-data: Likewise.
12638 * conform/data/sys/wait.h-data: Likewise.
12639 * conform/data/syslog.h-data: Likewise.
12640 * conform/data/tar.h-data: Likewise.
12641 * conform/data/termios.h-data: Likewise.
12642 * conform/data/utime.h-data: Likewise.
12643 * conform/data/utmpx.h-data: Likewise.
12644 * conform/data/varargs.h-data: Likewise.
12645 * conform/data/wchar.h-data: Likewise.
12646 * conform/data/wctype.h-data: Likewise.
12647 * conform/data/wordexp.h-data: Likewise.
12649 * include/stropts.h: New file.
12650 * include/uchar.h: New file.
12651 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12652 * include/assert.h: Likewise.
12653 * include/ctype.h: Likewise.
12654 * include/dirent.h: Likewise.
12655 * include/dlfcn.h: Likewise.
12656 * include/fcntl.h: Likewise.
12657 * include/fnmatch.h: Likewise.
12658 * include/glob.h: Likewise.
12659 * include/grp.h: Likewise.
12660 * include/libio.h: Likewise.
12661 * include/locale.h: Likewise.
12662 * include/math.h: Likewise.
12663 * include/net/if.h: Likewise.
12664 * include/netdb.h: Likewise.
12665 * include/netinet/in.h: Likewise.
12666 * include/pthread.h: Likewise.
12667 * include/pwd.h: Likewise.
12668 * include/regex.h: Likewise.
12669 * include/sched.h: Likewise.
12670 * include/search.h: Likewise.
12671 * include/setjmp.h: Likewise.
12672 * include/signal.h: Likewise.
12673 * include/stdio.h: Likewise.
12674 * include/stdlib.h: Likewise.
12675 * include/string.h: Likewise.
12676 * include/sys/cdefs.h: Likewise.
12677 * include/sys/mman.h: Likewise.
12678 * include/sys/msg.h: Likewise.
12679 * include/sys/resource.h: Likewise.
12680 * include/sys/select.h: Likewise.
12681 * include/sys/socket.h: Likewise.
12682 * include/sys/stat.h: Likewise.
12683 * include/sys/statvfs.h: Likewise.
12684 * include/sys/time.h: Likewise.
12685 * include/sys/times.h: Likewise.
12686 * include/sys/uio.h: Likewise.
12687 * include/sys/utsname.h: Likewise.
12688 * include/sys/wait.h: Likewise.
12689 * include/termios.h: Likewise.
12690 * include/time.h: Likewise.
12691 * include/ulimit.h: Likewise.
12692 * include/unistd.h: Likewise.
12693 * include/utime.h: Likewise.
12694 * include/wchar.h: Likewise.
12695 * include/wctype.h: Likewise.
12696 * include/wordexp.h: Likewise.
12698 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12700 * time/time.h: TIME_UTC must be a macro.
12701 Make timespec_get available for ISO C11 only as well.
12703 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12705 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12706 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12708 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12710 * configure.in: Use -o not -a in test for unsupported multi-arch.
12712 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12714 * manual/texinfo.tex: Update to version 2012-01-19.16.
12716 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12718 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12720 2012-02-24 Roland McGrath <roland@hack.frob.com>
12723 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12724 * manual/fdl-1.3.texi: New file.
12725 * manual/fdl-1.1.texi: File removed.
12728 * manual/libc.texinfo (FDL_VERSION): New @set.
12729 Use it for mention of FDL in cover text.
12730 (Documentation License): Use it in @include file name.
12732 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12733 Roland McGrath <roland@hack.frob.com>
12736 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12737 not LONG_LONG_MAX and LONG_LONG_MIN.
12738 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12739 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12741 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12743 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12747 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12748 manipulate bits before adding and subtracting TWO23[sx].
12749 * math/libm-test.inc (nearbyint_test): Add more tests.
12751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12754 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12755 bits before adding and subtracting TWO23[sx].
12756 * math/libm-test.inc (rint_test): Add more tests.
12757 (rint_test_tonearest): Likewise.
12758 (rint_test_towardzero): Likewise.
12759 (rint_test_downward): Likewise.
12760 (rint_test_upward: Likewise.
12762 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12765 * include/stdc-predef.h: New file. Extracted from features.h.
12766 * include/features.h: Include stdc-predef.h.
12767 * Makefile (headers): Add stdc-predef.h.
12768 * CONFORMANCE (Compiler limitations): Update.
12770 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12772 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12774 2012-02-21 David S. Miller <davem@davemloft.net>
12776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12777 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12779 2012-02-20 David S. Miller <davem@davemloft.net>
12781 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12782 using a normal save/restore sequence, rather than allocating a
12783 dummy stack frame just to store a frame pointer and restore.
12784 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12786 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12788 * manual/install.texi: Fix stray word in line-wrapped comment.
12790 2012-02-20 David S. Miller <davem@davemloft.net>
12792 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12793 both binutils and gcc support GOTDATA.
12795 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12796 "rd %pc" in the PIC register setup sequences.
12798 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12799 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12801 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12802 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12804 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12807 (SYSCALL_ERROR_HANDLER): Likewise.
12808 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12811 (SYSCALL_ERROR_HANDLER): Likewise.
12813 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12814 (HAVE_GCC_GOTDATA): New.
12815 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12816 relocation support in both binutils and gcc.
12817 * sysdeps/sparc/elf/configure: Regenerate.
12819 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12820 * sysdeps/sparc/sparc32/elf/configure: Delete.
12821 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12822 * sysdeps/sparc/sparc64/elf/configure: Delete.
12823 * sysdeps/sparc/elf/configure.in: New file.
12824 * sysdeps/sparc/elf/configure: Generate.
12826 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12827 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12828 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12829 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12830 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12832 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12834 * manual/install.texi: Do not mention specific glibc version
12836 * manual/libc.texinfo (VERSION, UPDATED): Update.
12837 (@copying): Use @copyright{} and range of years.
12839 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12842 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12843 [crti.S not in sysdirs] (generated): Do not append.
12844 [crti.S not in sysdirs] (omit-deps): Likewise.
12845 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12846 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12847 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12848 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12849 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12851 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12852 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12853 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12854 * csu/defs.awk: Remove file.
12855 * sysdeps/generic/initfini.c: Likewise.
12856 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12858 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12861 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12863 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12864 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12867 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12868 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12870 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12871 (__EPOLL_PACKED): Define to empty if not defined by
12873 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12877 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12879 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12880 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12881 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12882 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12884 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12888 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12890 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12893 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12897 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12900 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12902 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12904 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12905 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12907 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12909 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12912 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12914 * math/w_acos.c: Use non-signaling floating-point comparisons.
12915 * math/w_acosf.c: Likewise.
12916 * math/w_acosh.c: Likewise.
12917 * math/w_acoshf.c: Likewise.
12918 * math/w_acoshl.c: Likewise.
12919 * math/w_acosl.c: Likewise.
12920 * math/w_asin.c: Likewise.
12921 * math/w_asinf.c: Likewise.
12922 * math/w_asinl.c: Likewise.
12923 * math/w_atanh.c: Likewise.
12924 * math/w_atanhf.c: Likewise.
12925 * math/w_atanhl.c: Likewise.
12926 * math/w_exp2.c: Likewise.
12927 * math/w_exp2f.c: Likewise.
12928 * math/w_exp2l.c: Likewise.
12929 * math/w_j0.c: Likewise.
12930 * math/w_j0f.c: Likewise.
12931 * math/w_j0l.c: Likewise.
12932 * math/w_j1.c: Likewise.
12933 * math/w_j1f.c: Likewise.
12934 * math/w_j1l.c: Likewise.
12935 * math/w_jn.c: Likewise.
12936 * math/w_jnf.c: Likewise.
12937 * math/w_log.c: Likewise.
12938 * math/w_log10.c: Likewise.
12939 * math/w_log10f.c: Likewise.
12940 * math/w_log10l.c: Likewise.
12941 * math/w_log2.c: Likewise.
12942 * math/w_log2f.c: Likewise.
12943 * math/w_log2l.c: Likewise.
12944 * math/w_logf.c: Likewise.
12945 * math/w_logl.c: Likewise.
12946 * math/w_sqrt.c: Likewise.
12947 * math/w_sqrtf.c: Likewise.
12948 * math/w_sqrtl.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12952 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12955 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12958 * manual/string.texi (strnlen): Use correct parameter name in
12959 equivalent expression.
12961 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12964 * manual/users.texi (seteuid): Consistently use neweuid for
12967 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12970 * manual/nss.texi (Services in the NSS configuration): Correct
12971 list of services in example configuration file.
12973 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12976 * manual/arith.texi: Remove statements about negative zero
12977 behaving identically to zero.
12979 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12982 * manual/install.texi: Do not document upgrading from libc5.
12984 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12987 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12989 2012-02-18 David S. Miller <davem@davemloft.net>
12991 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12992 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12993 %o7 across the call.
12994 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12997 SETUP_PIC_REG_LEAF.
12998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12999 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13000 * sysdeps/sparc/crtn.S: Likewise.
13002 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13004 * aout/Makefile: Remove.
13006 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13009 * manual/examples/argp-ex1.c (main): Format definition in GNU
13011 * manual/examples/argp-ex2.c (main): Likewise.
13012 * manual/examples/argp-ex3.c (main): Likewise.
13013 * manual/examples/argp-ex4.c (main): Likewise.
13014 * manual/examples/longopt.c (main): Use new-style prototype
13016 * manual/examples/strncat.c (main): Specify return type and use
13017 (void) for arguments.
13018 * manual/examples/subopt.c (main): Use char **argv argument.
13020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13023 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13026 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13029 * manual/string.texi (strchr): Change when strchrnul is
13032 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13035 * manual/locale.texi (setlocale): Document LOCPATH.
13037 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13040 * manual/process.texi (execle): Move @dots{} before last argument.
13042 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13045 * manual/charset.texi (Generic Charset Conversion): Fix typo
13046 (LC_TYPE -> LC_CTYPE).
13048 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13051 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13052 (scalbnf): Likewise.
13053 (scalbnl): Likewise.
13054 (scalbln): Likewise.
13055 (scalblnf): Likewise.
13056 (scalblnl): Likewise.
13057 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13058 (vwarnx): Likewise.
13061 * manual/filesys.texi (telldir): Use braces around return type.
13062 * manual/llio.texi (mmap): Add space after comma.
13063 (mmap64): Likewise.
13064 * manual/math.texi (jn): Use @var{} on parameter names.
13070 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13072 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13074 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13075 (sched_get_priority_max): Likewise.
13076 * manual/signal.texi (sigvec): Add space after comma.
13077 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13079 (if_indextoname): Likewise.
13080 (if_freenameindex): Likewise.
13081 (sendto): Use ',' instead of '.' in prototype.
13082 * manual/startup.texi (syscall): Use @dots{} instead of literal
13084 * manual/stdio.texi (__fpending): Separate initial words of
13085 paragraph from @deftypefun line.
13086 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13088 (vsyslog): Use @var{} on parameter names.
13089 * manual/terminal.texi (stty): Use @var{} on parameter names.
13090 * manual/users.texi (getutmp): Use @var{} on parameter names.
13091 (getutmpx): Likewise.
13093 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13096 * manual/stdio.texi (fopen): Fix typos in description of
13099 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13102 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13103 get clock_id definition.
13105 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13108 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13109 (madvise): Cast every argument to void on its own.
13111 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13114 * manual/startup.texi (Exit Status): Fix typo.
13116 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13119 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13120 * manual/examples/argp-ex2.c: Likewise.
13121 * manual/examples/argp-ex3.c: Likewise.
13123 2012-02-16 Richard Henderson <rth@redhat.com>
13125 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13126 * sysdeps/s390/s390-32/initfini.c: Remove.
13127 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13128 * sysdeps/s390/s390-64/initfini.c: Remove.
13130 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13132 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13133 compiler output for sysdeps/generic/initfini.c.
13134 * sysdeps/sh/elf/initfini.c: Remove file.
13136 2012-02-16 David S. Miller <davem@davemloft.net>
13139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13141 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13142 * sysdeps/sparc/crti.S: New file.
13143 * sysdeps/sparc/crtn.S: New file.
13144 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13145 * sysdeps/sparc/sparc64/Makefile: Likewise.
13147 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13150 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13152 2012-02-15 Roland McGrath <roland@hack.frob.com>
13155 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13157 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13158 (write, read, close): Likewise.
13159 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13161 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13163 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13164 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13165 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13166 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13168 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13172 2012-02-14 Marek Polacek <polacek@redhat.com>
13174 * sysdeps/x86_64/crti.S: New file.
13175 * sysdeps/x86_64/crtn.S: New file.
13176 * sysdeps/x86_64/elf/initfini.c: Remove file.
13178 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13181 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13182 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13183 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13185 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13189 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13191 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13192 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13194 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13196 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13200 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13202 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13203 __feraiseexcept instead of feraiseexcept.
13205 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13206 nanosleep invocations.
13207 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13208 strings, and add error checking for a nanosleep invocations.
13210 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13212 Replace FSF snail mail address with URLs, as per GNU coding standards.
13213 Most of the snail mail addresses were wrong anyway, and omitting
13214 them makes the source code easier to maintain. Almost all of the
13215 changes are to license notices and to locale LC_IDENTIFICATION
13216 addresses, except for this one:
13217 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13218 not its snail mail address.
13220 2012-02-09 Richard Henderson <rth@twiddle.net>
13222 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13223 of kernel-features.h.
13225 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13227 2012-02-08 Marek Polacek <polacek@redhat.com>
13229 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13230 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13231 * sysdeps/gnu/_G_config.h: Likewise.
13232 * sysdeps/generic/_G_config.h: Likewise.
13234 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13236 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13240 * sysdeps/powerpc/powerpc32/crti.S: New file.
13241 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13242 * sysdeps/powerpc/powerpc64/crti.S: New file.
13243 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13245 * Makeconfig (have-initfini): Don't set.
13246 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13247 * configure.in (nopic_initfini): Don't substitute.
13248 * config.h.in (HAVE_INITFINI): Don't #undef.
13249 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13250 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13252 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13254 Support crti.S and crtn.S provided directly by architectures.
13255 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13256 [crti.S in sysdirs] (omit-deps): Likewise.
13257 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13258 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13259 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13260 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13261 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13262 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13263 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13264 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13265 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13266 compiler output for sysdeps/generic/initfini.c.
13267 * sysdeps/i386/elf/Makefile: Remove file.
13268 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13270 2012-02-07 Marek Polacek <polacek@redhat.com>
13272 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13273 * sysdeps/gnu/_G_config.h: Likewise.
13274 * sysdeps/mach/hurd/_G_config.h: Likewise.
13276 2012-02-07 Marek Polacek <polacek@redhat.com>
13278 * math/Makefile (tests): Add tst-CMPLX2.
13279 * math/tst-CMPLX2.c: New file.
13281 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13283 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13285 * math/libm-test.inc (jn_test): Add missing L suffix.
13287 2012-02-06 Marek Polacek <polacek@redhat.com>
13289 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13290 * sysdeps/i386/fpu/e_powf.S: Likewise.
13291 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13292 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13293 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13294 * sysdeps/i386/fpu/e_pow.S: Likewise.
13295 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13296 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13297 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13298 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13299 * sysdeps/i386/fpu/e_log2.S: Likewise.
13300 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13301 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13302 * sysdeps/i386/fpu/e_powl.S: Likewise.
13303 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13305 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13306 * sysdeps/i386/fpu/e_logl.S: Likewise.
13307 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13308 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13309 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13310 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13313 * sysdeps/i386/fpu/e_log.S: Likewise.
13314 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13315 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13316 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13317 * sysdeps/i386/fpu/e_logf.S: Likewise.
13318 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13320 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13321 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13322 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13323 * sysdeps/i386/fpu/e_log10.S: Likewise.
13324 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13326 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13327 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13328 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13329 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13330 * sysdeps/i386/asm-syntax.h: Likewise.
13331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13333 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13334 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13335 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13336 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13337 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13338 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13339 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13340 * sysdeps/powerpc/sysdep.h: Likewise.
13341 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13342 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13344 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13347 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13349 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13351 * sysdeps/i386/sysdep.h: Include <features.h>.
13352 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13355 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13357 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13359 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13362 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13364 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13365 (SETUP_PIC_REG): Use GET_PC_THUNK.
13366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13369 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13371 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13372 for non-PIC compilation.
13373 (SETUP_PIC_REG): Add .p2align directive.
13374 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13375 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13376 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13377 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13378 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13379 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13380 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13382 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13383 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13384 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13385 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13386 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13387 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13389 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13390 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13395 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13401 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13406 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13407 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13408 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13409 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13410 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13411 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13412 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13413 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13416 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13418 * math/tst-CMPLX.c: Include <stdio.h>.
13420 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13422 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13424 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13425 * sysdeps/sparc/bits/mathdef.h: Likewise.
13427 2012-01-31 Marek Polacek <polacek@redhat.com>
13429 * libio/libio.h: Don't define _PARAMS.
13430 * locale/programs/config.h: Don't define PARAMS.
13431 * stdlib/strtol_l.c: Likewise.
13432 (__strtol_l): Remove PARAMS from the prototype.
13434 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13436 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13437 names. Just use the correct names. Remove unnecessary wrapper
13439 * malloc/arena.c: Likewise.
13440 * malloc/hooks.c: Likewise.
13442 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13443 ARENA_TEST says not to. Simplify test for creation of a new arena.
13444 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13446 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13448 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13450 (update_get_addr): New function.
13451 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13452 GET_ADDR_MODULE parameter.
13454 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13456 * crypt/cert.c: Remove __STDC__ conditionals.
13457 * crypt/crypt-entry.c: Likewise.
13458 * crypt/crypt_util.c: Likewise.
13459 * libio/filedoalloc.c: Likewise.
13460 * libio/fileops.c: Likewise.
13461 * libio/genops.c: Likewise.
13462 * libio/iofclose.c: Likewise.
13463 * libio/iofdopen.c: Likewise.
13464 * libio/iofopen.c: Likewise.
13465 * libio/iofopen64.c: Likewise.
13466 * libio/iogetdelim.c: Likewise.
13467 * libio/iopopen.c: Likewise.
13468 * libio/obprintf.c: Likewise.
13469 * libio/oldfileops.c: Likewise.
13470 * libio/oldiofclose.c: Likewise.
13471 * libio/oldiofdopen.c: Likewise.
13472 * libio/oldiofopen.c: Likewise.
13473 * libio/oldiopopen.c: Likewise.
13474 * libio/wfiledoalloc.c: Likewise.
13475 * libio/wgenops.c: Likewise.
13476 * locale/programs/xmalloc.c: Likewise.
13477 * misc/syslog.c: Likewise.
13478 * stdio-common/xbug.c: Likewise.
13479 * string/memchr.c: Likewise.
13480 * string/memcmp.c: Likewise.
13481 * string/memrchr.c: Likewise.
13482 * string/rawmemchr.c: Likewise.
13483 * sysdeps/posix/getcwd.c: Likewise.
13484 * time/strftime_l.c: Likewise.
13486 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13488 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13489 * config.make.in (config-cflags-sse2avx): Define.
13490 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13493 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13495 * scripts/config.guess: Update from upstream config git repository.
13496 * scripts/config.sub: Likewise.
13498 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13500 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13502 (R_TILEPRO_*, R_TILEGX_*): New macros.
13504 * scripts/firstversions.awk: Fix bug in version range handling.
13506 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13508 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13510 * include/sys/epoll.h: New file.
13511 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13514 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13516 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13517 Avoid unnecessary __WORDSIZE == 64 test.
13518 (fmaxf): Use VEX format if possible.
13523 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13524 * math/math_private.h: Remove libc_fegetround* and
13526 * sysdeps/i386/configure.in: Check for -msse2avx.
13527 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13528 also if SSE2AVX is defined.
13529 Remove libc_fegetround* and libc_fesetround*.
13530 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13531 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13535 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13540 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13542 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13544 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13548 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13551 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13553 * Makeconfig (libm): Define.
13554 * elf/Makefile: Add rules to build and run tst-relsort1.
13555 * elf/tst-relsort1.c: New file.
13556 * elf/tst-relsort1mod1.c: New file.
13557 * elf/tst-relsort1mod2.c: New file.
13559 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13561 * math/s_ldexp.c: Remove __STDC__ conditionals.
13562 * math/s_ldexpf.c: Likewise.
13563 * math/s_ldexpl.c: Likewise.
13564 * math/s_nextafter.c: Likewise.
13565 * math/s_nexttowardf.c: Likewise.
13566 * math/s_significand.c: Likewise.
13567 * math/s_significandf.c: Likewise.
13568 * math/s_significandl.c: Likewise.
13569 * math/w_jnl.c: Likewise.
13570 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13571 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13572 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13573 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13574 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13591 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13592 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13594 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13595 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13596 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13599 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13600 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13602 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13604 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13609 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13610 * sysdeps/ieee754/k_standard.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13686 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13690 * sysdeps/ieee754/s_matherr.c: Likewise.
13691 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13692 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13696 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13698 * crypt/md5.h: Remove __STDC__ conditionals.
13699 * libio/libioP.h: Likewise.
13700 * locale/programs/config.h: Likewise.
13701 * sysdeps/generic/sysdep.h: Likewise.
13702 * sysdeps/i386/asm-syntax.h: Likewise.
13703 * sysdeps/s390/asm-syntax.h: Likewise.
13704 * sysdeps/unix/sysdep.h: Likewise.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13708 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13710 * libio/libio.h: Remove __STDC__ conditionals.
13711 * malloc/obstack.h: Likewise.
13712 * math/complex.h: Likewise.
13713 * math/math.h: Likewise.
13714 * sysdeps/generic/_G_config.h: Likewise.
13715 * sysdeps/gnu/_G_config.h: Likewise.
13716 * sysdeps/mach/hurd/_G_config.h: Likewise.
13717 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13718 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13719 * sysdeps/sparc/bits/mathdef.h: Likewise.
13721 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13724 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13725 Clean up HAS_* macros.
13726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13727 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13731 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13732 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13734 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13737 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13739 * elf/tst-unique3.cc (gets): Remove declaration.
13740 * elf/tst-unique3lib.cc (gets): Likewise.
13741 * elf/tst-unique3lib2.cc (gets): Likewise.
13742 * elf/tst-unique4.cc (gets): Likewise.
13744 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13746 * include/stdio.h: Add C++ protection. Add gets declarations and
13748 * debug/tst-chk1.c: Don't declare gets here.
13749 * stdio-common/tst-gets.c: Likewise.
13751 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13753 * posix/glob: Remove directory.
13755 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13757 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13759 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13761 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13762 of the non-standard EPFNOSUPPORT.
13764 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13766 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13767 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13768 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13770 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13772 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13774 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13776 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13778 * nscd/grpcache.c (cache_addgr): Likewise.
13779 * nscd/hstcache.c (cache_addhst): Likewise.
13780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13781 * nscd/pwdcache.c (cache_addpw): Likewise.
13782 * nscd/servicescache.c (cache_addserv): Likewise.
13784 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13786 * malloc/malloc.c: Various cleanups.
13787 * malloc/hooks.c: Likewise.
13789 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13790 * stdlib/bug-fmtmsg1.c: New file.
13792 * stdlib/fmtmsg.c (init): Add missing unlock.
13793 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13795 2012-01-12 Marek Polacek <polacek@redhat.com>
13797 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13800 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13802 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13803 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13804 macro to ensure uniqueness of label name.
13805 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13806 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13808 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13810 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13813 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13817 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13821 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13822 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13825 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13828 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13832 * math/bits/math-finite.h: Add ldexp support.
13834 2012-01-10 Marek Polacek <polacek@redhat.com>
13836 * locale/programs/localedef.h (show_archive_content): Add noreturn
13839 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13841 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13843 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13845 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13847 * io/Makefile (headers): Add bits/poll2.h.
13849 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13852 typo #include statement.
13854 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13856 * include/sys/cdefs.h: Define __attribute_alloc_size.
13857 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13858 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13859 * elf/pldd.c: Likewise.
13860 * iconv/iconv_charmap.c: Likewise.
13861 * iconv/iconvconfig.c: Likewise.
13862 * iconv/strtab.c: Likewise.
13863 * locale/programs/locale.c: Likewise.
13864 * locale/programs/localedef.h: Likewise.
13865 * locale/programs/simple-hash.c: Likewise.
13866 * nscd/nscd.h: Likewise.
13867 * nss/makedb.c: Likewise.
13868 * sysdeps/generic/ldconfig.h: Likewise.
13869 * locale/programs/localedef.c: Remove xmalloc prototype.
13870 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13872 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13874 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13877 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13879 * math/Makefile (tests): Add tst-CMPLX.
13880 * math/tst-CMPLX.c: New file.
13882 * math/complex.h (CMPLXL): Fix typo.
13884 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13885 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13887 * debug/tst-chk1.c: Add poll and ppoll tests.
13888 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13889 * include/sys/poll.h: Add hidden proto for ppoll.
13890 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13891 * sysdeps/mach/hurd/ppoll.c: Likewise.
13892 * io/ppoll.c: Likewise.
13893 * debug/poll_chk.c: New file.
13894 * debug/ppoll_chk.c: New file.
13895 * include/bits/poll2.h: New file.
13896 * io/bits/poll2.h: New file.
13899 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13901 * configure.in: static is always set to yes. Remove.
13902 * config.make.in: Don't set build-static.
13903 * Makeconfig: Remove use of build-static.
13904 * dlfcn/Makefile: Likewise.
13905 * elf/Makefile: Likewise.
13906 * math/Makefile: Likewise.
13907 * misc/Makefile: Likewise.
13908 * nptl/Makefile: Likewise.
13909 * sysdeps/mach/hurd/Makefile: Likewise.
13911 * configure.in: PWD_P is not used anymore.
13912 * config.make.in: Remove PWD_P entry.
13914 * configure.in: Remove last remnants of RANLIB.
13915 No need to check for signed size_t anymore.
13916 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13918 Remove __builtin_expect test because we require at least gcc 3.4.
13919 * aclocal.m4: Likewise.
13921 * wcsmbs/mbrtoc16.c: Implement using towc function.
13922 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13923 * wcsmbs/wcsmbsload.c: Likewise.
13924 * iconv/gconv_simple.c: Likewise.
13925 * iconv/gconv_int.h: Likewise.
13926 * iconv/gconv_builtin.h: Likewise.
13927 * iconv/iconv_prog.c: Remove CHAR16 handling.
13929 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13931 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13933 * configure.in: Remove --with-elf and --enable-bounded options.
13934 Dont set base_machine for ia64. More non-ELF conditions removed.
13935 Remove testing and setting of leading underscore information.
13936 * config.make.in (build-bounded): Set to no.
13937 * config.h.in: Remove NO_UNDERSCORES entry.
13938 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13940 * csu/start.c: Remove !NO_UNDERSCORE code.
13941 * locale/localeinfo.h: Likewise.
13942 * sysdeps/generic/machine-gmon.h: Likewise.
13943 * sysdeps/generic/sysdep.h: Likewise.
13944 * sysdeps/i386/sysdep.h: Likewise.
13945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13946 * sysdeps/mach/sysdep.h: Likewise.
13947 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13949 * sysdeps/sh/sysdep.h: Likewise.
13950 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13951 * sysdeps/unix/i386/sysdep.S: Likewise.
13952 * sysdeps/unix/sparc/start.c: Likewise.
13953 * sysdeps/unix/sparc/sysdep.S: Likewise.
13954 * sysdeps/unix/sparc/sysdep.h: Likewise.
13955 * sysdeps/unix/start.c: Likewise.
13956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13957 * sysdeps/x86_64/sysdep.h: Likewise.
13959 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13962 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13964 * argp/argp-fmtstream.h: Use const instead __const.
13965 * argp/argp.h: Likewise.
13966 * assert/assert.h: Likewise.
13967 * bits/fenv.h: Likewise.
13968 * bits/sched.h: Likewise.
13969 * bits/sigset.h: Likewise.
13970 * bits/sigthread.h: Likewise.
13971 * catgets/nl_types.h: Likewise.
13972 * conform/data/pthread.h-data: Likewise.
13973 * crypt/crypt-private.h: Likewise.
13974 * crypt/crypt.h: Likewise.
13975 * crypt/crypt_util.c: Likewise.
13976 * ctype/ctype.h: Likewise.
13977 * debug/execinfo.h: Likewise.
13978 * debug/mbsnrtowcs_chk.c: Likewise.
13979 * debug/mbsrtowcs_chk.c: Likewise.
13980 * debug/wcsnrtombs_chk.c: Likewise.
13981 * debug/wcsrtombs_chk.c: Likewise.
13982 * debug/wcstombs_chk.c: Likewise.
13983 * dirent/dirent.h: Likewise.
13984 * dlfcn/dlfcn.h: Likewise.
13985 * elf/neededtest4.c: Likewise.
13986 * grp/grp.h: Likewise.
13987 * gshadow/gshadow.h: Likewise.
13988 * iconv/gconv.h: Likewise.
13989 * iconv/gconv_int.h: Likewise.
13990 * iconv/gconv_simple.c: Likewise.
13991 * iconv/iconv.h: Likewise.
13992 * iconv/loop.c: Likewise.
13993 * iconv/skeleton.c: Likewise.
13994 * include/aio.h: Likewise.
13995 * include/aliases.h: Likewise.
13996 * include/argz.h: Likewise.
13997 * include/arpa/inet.h: Likewise.
13998 * include/assert.h: Likewise.
13999 * include/dirent.h: Likewise.
14000 * include/dlfcn.h: Likewise.
14001 * include/execinfo.h: Likewise.
14002 * include/fcntl.h: Likewise.
14003 * include/fenv.h: Likewise.
14004 * include/glob.h: Likewise.
14005 * include/grp.h: Likewise.
14006 * include/libintl.h: Likewise.
14007 * include/mntent.h: Likewise.
14008 * include/netdb.h: Likewise.
14009 * include/pwd.h: Likewise.
14010 * include/rpc/netdb.h: Likewise.
14011 * include/sched.h: Likewise.
14012 * include/search.h: Likewise.
14013 * include/shadow.h: Likewise.
14014 * include/signal.h: Likewise.
14015 * include/stdio.h: Likewise.
14016 * include/stdlib.h: Likewise.
14017 * include/string.h: Likewise.
14018 * include/sys/socket.h: Likewise.
14019 * include/sys/stat.h: Likewise.
14020 * include/sys/statfs.h: Likewise.
14021 * include/sys/statvfs.h: Likewise.
14022 * include/sys/syslog.h: Likewise.
14023 * include/sys/time.h: Likewise.
14024 * include/sys/uio.h: Likewise.
14025 * include/time.h: Likewise.
14026 * include/unistd.h: Likewise.
14027 * include/utmp.h: Likewise.
14028 * include/wchar.h: Likewise.
14029 * include/wctype.h: Likewise.
14030 * inet/aliases.h: Likewise.
14031 * inet/arpa/inet.h: Likewise.
14032 * inet/netinet/ether.h: Likewise.
14033 * inet/netinet/in.h: Likewise.
14034 * intl/libintl.h: Likewise.
14035 * io/bits/fcntl2.h: Likewise.
14036 * io/fcntl.h: Likewise.
14037 * io/ftw.h: Likewise.
14038 * io/sys/poll.h: Likewise.
14039 * io/sys/stat.h: Likewise.
14040 * io/sys/statfs.h: Likewise.
14041 * io/sys/statvfs.h: Likewise.
14042 * io/utime.h: Likewise.
14043 * libio/bits/stdio.h: Likewise.
14044 * libio/bits/stdio2.h: Likewise.
14045 * libio/libio.h: Likewise.
14046 * libio/libioP.h: Likewise.
14047 * libio/stdio.h: Likewise.
14048 * locale/lc-ctype.c: Likewise.
14049 * locale/locale.h: Likewise.
14050 * login/utmp.h: Likewise.
14051 * malloc/arena.c: Likewise.
14052 * malloc/malloc.c: Likewise.
14053 * malloc/malloc.h: Likewise.
14054 * malloc/mcheck.c: Likewise.
14055 * malloc/mtrace.c: Likewise.
14056 * math/bits/mathcalls.h: Likewise.
14057 * math/fenv.h: Likewise.
14058 * math/math_private.h: Likewise.
14059 * misc/bits/error.h: Likewise.
14060 * misc/bits/syslog.h: Likewise.
14061 * misc/err.h: Likewise.
14062 * misc/error.h: Likewise.
14063 * misc/fstab.h: Likewise.
14064 * misc/mntent.h: Likewise.
14065 * misc/regexp.h: Likewise.
14066 * misc/search.h: Likewise.
14067 * misc/sgtty.h: Likewise.
14068 * misc/sys/mman.h: Likewise.
14069 * misc/sys/syslog.h: Likewise.
14070 * misc/sys/uio.h: Likewise.
14071 * misc/sys/xattr.h: Likewise.
14072 * misc/ttyent.h: Likewise.
14073 * nis/rpcsvc/ypclnt.h: Likewise.
14074 * nss/nss.h: Likewise.
14075 * posix/bits/unistd.h: Likewise.
14076 * posix/fnmatch.h: Likewise.
14077 * posix/glob.h: Likewise.
14078 * posix/sched.h: Likewise.
14079 * posix/spawn.h: Likewise.
14080 * posix/sys/wait.h: Likewise.
14081 * posix/unistd.h: Likewise.
14082 * posix/wordexp.h: Likewise.
14083 * pwd/pwd.h: Likewise.
14084 * resolv/netdb.h: Likewise.
14085 * resource/sys/resource.h: Likewise.
14086 * rt/aio.h: Likewise.
14087 * rt/bits/mqueue2.h: Likewise.
14088 * rt/mqueue.h: Likewise.
14089 * shadow/shadow.h: Likewise.
14090 * signal/signal.h: Likewise.
14091 * socket/send.c: Likewise.
14092 * socket/sendto.c: Likewise.
14093 * socket/sys/socket.h: Likewise.
14094 * stdio-common/printf.h: Likewise.
14095 * stdlib/bits/stdlib.h: Likewise.
14096 * stdlib/fmtmsg.h: Likewise.
14097 * stdlib/monetary.h: Likewise.
14098 * stdlib/stdlib.h: Likewise.
14099 * stdlib/ucontext.h: Likewise.
14100 * streams/stropts.h: Likewise.
14101 * string/argz.h: Likewise.
14102 * string/bits/string2.h: Likewise.
14103 * string/string.h: Likewise.
14104 * string/strings.h: Likewise.
14105 * sunrpc/rpc/auth.h: Likewise.
14106 * sunrpc/rpc/auth_des.h: Likewise.
14107 * sunrpc/rpc/clnt.h: Likewise.
14108 * sunrpc/rpc/netdb.h: Likewise.
14109 * sunrpc/rpc/pmap_clnt.h: Likewise.
14110 * sunrpc/rpc/xdr.h: Likewise.
14111 * sysdeps/generic/inttypes.h: Likewise.
14112 * sysdeps/generic/net/if.h: Likewise.
14113 * sysdeps/generic/sys/swap.h: Likewise.
14114 * sysdeps/gnu/net/if.h: Likewise.
14115 * sysdeps/gnu/utmpx.h: Likewise.
14116 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14117 * sysdeps/i386/i486/bits/string.h: Likewise.
14118 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14119 * sysdeps/s390/bits/string.h: Likewise.
14120 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14121 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14122 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14123 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14124 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14125 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14126 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14127 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14128 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14129 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14130 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14131 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14132 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14133 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14134 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14136 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14138 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14141 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14142 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14143 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14144 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14145 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14146 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14148 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14150 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14151 * sysvipc/sys/ipc.h: Likewise.
14152 * sysvipc/sys/msg.h: Likewise.
14153 * sysvipc/sys/sem.h: Likewise.
14154 * sysvipc/sys/shm.h: Likewise.
14155 * termios/termios.h: Likewise.
14156 * time/sys/time.h: Likewise.
14157 * time/time.h: Likewise.
14158 * wcsmbs/bits/wchar2.h: Likewise.
14159 * wcsmbs/uchar.h: Likewise.
14160 * wcsmbs/wchar.h: Likewise.
14161 * wctype/wctype.h: Likewise.
14164 * Makeconfig: Remove all but ELF support including AIX support.
14165 * Makerules: Likewise.
14166 * config.h.in: Likewise.
14167 * config.make.in: Likewise.
14168 * configure: Likewise.
14169 * configure.in: Likewise.
14170 * csu/Makefile: Likewise.
14171 * csu/version.c: Likewise.
14172 * debug/Makefile: Likewise.
14173 * dlfcn/Makefile: Likewise.
14174 * elf/Makefile: Likewise.
14175 * extra-lib.mk: Likewise.
14176 * iconv/Makefile: Likewise.
14177 * include/libc-symbols.h: Likewise.
14178 * include/shlib-compat.h: Likewise.
14179 * resolv/Makefile: Likewise.
14180 * resolv/res_libc.c: Likewise.
14181 * rt/Makefile: Likewise.
14182 * sysdeps/i386/asm-syntax.h: Likewise.
14183 * sysdeps/i386/sysdep.h: Likewise.
14184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14185 * sysdeps/mach/sysdep.h: Likewise.
14186 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14187 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14188 * sysdeps/s390/asm-syntax.h: Likewise.
14189 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14191 * sysdeps/sh/sysdep.h: Likewise.
14192 * sysdeps/unix/sparc/sysdep.h: Likewise.
14193 * sysdeps/wordsize-32/divdi3.c: Likewise.
14194 * sysdeps/x86_64/sysdep.h: Likewise.
14196 * argp/Versions: Remove _argp_unlock_xxx.
14199 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14200 * abilist/libBrokenLocale.abilist: Likewise.
14201 * abilist/libanl.abilist: Likewise.
14202 * abilist/libc.abilist: Likewise.
14203 * abilist/libcrypt.abilist: Likewise.
14204 * abilist/libdl.abilist: Likewise.
14205 * abilist/libm.abilist: Likewise.
14206 * abilist/libnsl.abilist: Likewise.
14207 * abilist/libpthread.abilist: Likewise.
14208 * abilist/libresolv.abilist: Likewise.
14209 * abilist/librt.abilist: Likewise.
14210 * abilist/libthread_db.abilist: Likewise.
14211 * abilist/libutil.abilist: Likewise.
14212 * abilist/libnss_db.abilist: New file.
14214 * scripts/abilist.awk: Add support for indirect functions.
14216 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14218 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14220 * shlib-versions: Remove entries for ports architectures.
14222 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14224 * elf/stackguard-macros.h: Remove support for IA-64.
14225 * elf/tst-auditmod1.c: Likewise.
14226 * sysdeps/generic/ldsodefs.h: Likewise.
14228 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14229 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14233 * configure.in: Remove --enable-omitfp support.
14235 * config.make.in: Likewise.
14236 * Makeconfig: Likewise.
14237 * manual/install.texi: Likewise.
14239 In case anyone cares, the IA-64 architecture could move to ports.
14240 * sysdeps/ia64/*: Removed.
14241 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14242 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14245 * configure.in: Remove entries for unsupported architectures.
14248 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14249 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14251 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14252 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14253 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14254 fall back to using wcrtomb.
14255 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14256 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14258 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14259 * wcsmbs/tst-c16c32-1.c: New file.
14261 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14264 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14266 * elf/tst-unique3.cc: Add explicit declaration of gets.
14267 * elf/tst-unique3lib.cc: Likewise.
14268 * elf/tst-unique3lib2.cc: Likewise.
14269 * elf/tst-unique4.cc: Likewise.
14271 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14273 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14276 * assert/assert.h (static_assert): Don't define for C++.
14277 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14278 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14280 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14282 * iconv/loop.c (single loop): Fix assertion in storing of
14285 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14287 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14289 * posix/getconf.c: Update copyright year.
14290 * nss/getent.c: Likewise.
14291 * nss/makedb.c: Likewise.
14292 * iconv/iconvconfig.c: Likewise.
14293 * iconv/iconv_prog.c: Likewise.
14294 * elf/ldconfig.c: Likewise.
14295 * elf/pldd.c: Likewise.
14296 * elf/sotruss.ksh: Likewise.
14297 * catgets/gencat.c: Likewise.
14298 * csu/version.c: Likewise.
14299 * elf/ldd.bash.in: Likewise.
14300 * elf/sprof.c (print_version): Likewise.
14301 * locale/programs/locale.c: Likewise.
14302 * locale/programs/localedef.c: Likewise.
14303 * login/programs/pt_chown.c: Likewise.
14304 * nscd/nscd.c (print_version): Likewise.
14305 * debug/xtrace.sh: Likewise.
14306 * malloc/memusage.sh: Likewise.
14307 * malloc/mtrace.pl: Likewise.
14308 * debug/catchsegv.sh: Likewise.
14310 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14312 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14315 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14318 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14319 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14321 * iconv/gconv_int.h: Likewise.
14322 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14323 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14324 from libc for GLIBC_2.16.
14325 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14326 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14327 * wcsmbs/uchar.h: Really define mbstate_t.
14328 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14329 * wcsmbs/c16rtomb.c: New file.
14330 * wcsmbs/mbrtoc16.c: New file.
14331 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14332 for C/POSIX locale.
14333 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14334 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14336 * wcsmbs/wchar.h: Add missing __restrict.
14338 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14341 * time/Makefile (routines): Add timespec_get.
14342 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14343 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14344 timespec for ISO C11.
14345 * time/timespec_get.c: New file.
14346 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14347 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14350 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14351 * stdlib/stdlib.h: Declare aligned_alloc.
14352 * Versions.def: Add GLIBC_2.16 for libc.
14353 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14356 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14359 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14363 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14366 * assert/assert.h (static_assert): Define.
14368 * version.h: Update for 2.16 development version.
14371 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14374 * version.h (RELEASE): Bump for 2.15 release.
14375 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14377 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14378 Patch by Marek Polacek <mpolacek@redhat.com>.
14380 * bits/byteswap.h: Protect long long constants with __extension__.
14381 * sysdeps/i386/bits/byteswap.h: Likewise.
14382 * sysdeps/ia64/bits/byteswap.h: Likewise.
14383 * sysdeps/s390/bits/byteswap.h: Likewise.
14384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14386 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14390 destination buffer.
14391 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14393 2011-12-23 Marek Polacek <polacek@redhat.com>
14395 * elf/dl-addr.c (determine_info): Add inline keyword.
14396 * elf/tst-auditmod4b.c (check_avx): Likewise.
14397 * elf/tst-auditmod6b.c (check_avx): Likewise.
14398 * elf/tst-auditmod6c.c (check_avx): Likewise.
14399 * elf/tst-auditmod7b.c (check_avx): Likewise.
14401 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14403 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14406 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14409 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14410 processing for last bytes.
14412 2011-08-06 Bruno Haible <bruno@clisp.org>
14415 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14416 U+0385, not to U+1FEE.
14419 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14420 entry for U+00A5 U+0301.
14422 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14425 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14426 buffer for the output is too small.
14428 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14432 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14433 SSE flags if possible.
14435 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14439 processing for last bytes.
14441 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14443 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14444 (syscall-list-default-options, syscall-list-default-condition)
14445 (syscall-list-includes): Define.
14446 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14447 list of ABIs and options and #if conditions for each ABI. Do not
14448 handle common syscalls between ABIs specially.
14449 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14451 (syscall-list-variants, syscall-list-32bit-options)
14452 (syscall-list-32bit-condition, syscall-list-64bit-options)
14453 (syscall-list-64bit-condition): Define.
14454 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14455 (syscall-list-variants, syscall-list-32bit-options)
14456 (syscall-list-32bit-condition, syscall-list-64bit-options)
14457 (syscall-list-64bit-condition): Define.
14458 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14460 (syscall-list-variants, syscall-list-32bit-options)
14461 (syscall-list-32bit-condition, syscall-list-64bit-options)
14462 (syscall-list-64bit-condition): Define.
14463 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14465 (syscall-list-variants, syscall-list-32bit-options)
14466 (syscall-list-32bit-condition, syscall-list-64bit-options)
14467 (syscall-list-64bit-condition): Define.
14469 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14471 * locale/iso-639.def: Add brx entry.
14474 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14475 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14477 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14478 __feraiseexcept_renamed.
14480 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14483 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14484 EPOLLET with unsigned values.
14485 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14488 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14489 to large cancellation.
14490 * math/s_cacoshf.c: Likewise.
14491 * math/s_cacoshl.c: Likewise.
14493 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14497 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14498 * math/s_cacoshf.c: Likewise.
14499 * math/s_cacoshl.c: Likewise.
14501 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14504 * iconv/gconv.h: Define __GCONV_SWAP.
14505 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14506 * iconvdata/utf-16.c: Likewise.
14507 * iconvdata/utf-32.c: Likewise.
14509 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14512 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14513 numerator after shifting it by one limb.
14515 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14517 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14518 under [__USE_EXTERN_INLINES].
14520 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14523 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14525 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14527 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14528 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14530 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14531 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14532 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14533 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14534 for strncasecmp/strncasecmp_l compilation.
14535 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14536 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14538 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14541 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14544 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14547 * time/tzfile.c (__tzfile_read): Check values from file header.
14549 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14551 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14552 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14553 * powerpc/powerpc32/dl-start.S: Likewise.
14554 * powerpc/powerpc32/elf/start.S: Likewise.
14555 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14556 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14557 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14558 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14559 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14560 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14561 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14562 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14563 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14564 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14565 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14566 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14567 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14568 * powerpc/powerpc32/memset.S: Likewise.
14569 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14570 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14571 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14572 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14573 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14574 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14575 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14576 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14577 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14578 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14579 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14580 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14581 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14583 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585 * math/libm-test.inc: Added more nearbyint tests.
14586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14591 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14593 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14596 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14598 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14599 Add wcscpy-ssse3 wcscpy-c.
14600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14601 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14602 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14603 * sysdeps/x86_64/wcschr.S: New file.
14604 * sysdeps/x86_64/wcsrchr.S: New file.
14605 * string/test-strcmp.c: Remove checking of wcscmp function for
14607 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14608 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14609 wcsrchr-sse2 wcsrchr-c.
14610 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14611 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14612 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14613 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14614 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14615 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14616 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14617 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14619 * wcsmbc/wcschr.c (WCSCHR): New macro.
14621 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14623 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14624 * wcsmbs/test-wcsrchr.c: New file.
14625 * string/test-strrchr.c: Add wcsrchr support.
14627 * wcsmbs/test-wcscpy.c: New file.
14628 * string/test-strcpy.c: Add wcscpy support.
14631 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14636 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14639 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14641 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14643 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14644 Minor optimizations.
14646 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14647 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14648 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14650 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14652 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14653 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14654 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14655 for gcc to avoid warnings.
14656 * inet/Makefile (tests): Add tst-checks.
14657 * inet/tst-checks.c: New file.
14659 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14662 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14665 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14666 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14668 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14670 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14672 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14675 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14677 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14679 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14680 conditional on GCC version.
14681 (__arch_compare_and_exchange_val_8_acq)
14682 (__arch_compare_and_exchange_val_16_acq)
14683 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14684 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14685 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14687 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14689 * sysdeps/sh/backtrace.c: New file.
14691 2011-12-02 Andreas Schwab <schwab@redhat.com>
14693 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14696 2011-12-01 Andreas Schwab <schwab@redhat.com>
14698 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14699 falling back to utime.
14701 2011-11-30 Andreas Schwab <schwab@redhat.com>
14703 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14704 expectations for float.
14706 2011-11-29 Andreas Schwab <schwab@redhat.com>
14708 * locale/weight.h (findidx): Add parameter len.
14709 * locale/weightwc.h (findidx): Likewise.
14710 * posix/fnmatch_loop.c (FCT): Adjust caller.
14711 * posix/regcomp.c (build_equiv_class): Likewise.
14712 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14713 * posix/regexec.c (check_node_accept_bytes): Likewise.
14714 * string/strcoll_l.c (STRCOLL): Likewise.
14715 * string/strxfrm_l.c (STRXFRM): Likewise.
14717 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14719 * Makefile.in: Remove CVSOPT handling.
14720 * configure.in: Remove use of AC_REVISION.
14721 * iconvdata/Makefile (distribute): No need to filter out CVS.
14722 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14725 2011-11-16 Andreas Schwab <schwab@redhat.com>
14727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14728 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14729 [USE_AS_STRNCASECMP_L]: Likewise.
14730 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14731 NO_TLS_DIRECT_SEG_REFS.
14732 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14733 Fix argument offsets for non-PIC.
14734 [USE_AS_STRNCASECMP_L]: Likewise.
14735 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14736 NO_TLS_DIRECT_SEG_REFS.
14738 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14740 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14742 * locale/loadlocale.c (_nl_load_locale): Likewise.
14744 2011-11-15 Andreas Schwab <schwab@redhat.com>
14746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14747 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14748 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14749 (SYSCALL_GETTIME): Set errno on error.
14751 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14752 count references to noai6ai_cached.
14754 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14756 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14758 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14759 FD_CLOEXEC for /proc/self/maps.
14761 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14762 FD_CLOEXEC for /proc/meminfo.
14764 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14767 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14768 FD_CLOEXEC for given file.
14770 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14772 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14773 FD_CLOEXEC for /etc/hosts.
14774 (_gethtent): Likewise.
14776 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14778 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14779 cancellation and set FD_CLOEXEC for /etc/netgroup.
14781 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14782 reading /etc/publickey.
14784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14785 allow cancellation when reading /etc/group.
14787 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14789 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14791 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14792 when using data file.
14794 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14796 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14797 (write_nis_obj): Use "c" and "e" in fopen.
14799 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14801 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14803 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14805 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14807 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14810 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14812 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14814 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14816 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14817 file parsing and set FD_CLOEXEC.
14819 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14821 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14823 2011-11-14 Andreas Schwab <schwab@redhat.com>
14825 * malloc/arena.c (arena_get2): Don't call reused_arena when
14826 _int_new_arena failed.
14828 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14830 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14831 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14833 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14836 to compile strcasecmp and strncasecmp.
14837 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14838 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14842 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14844 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14845 locale-defines.sym to gen-as-const-headers.
14846 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14847 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14849 to compile strcasecmp and strncasecmp.
14850 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14851 strcasecmp_l and strncasecmp_l.
14852 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14853 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14854 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14855 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14856 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14857 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14858 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14859 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14860 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14861 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14862 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14864 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14866 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14867 result of SYSDEP_GETTIME_CPU to retval.
14868 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14869 parameter list to macro. Remove trailing semicolon. Adjust users.
14871 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14874 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14876 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14878 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14879 from unused variable.
14881 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14883 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14886 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14889 * sunrpc/rpc_prot.c (rejected): Fix case value.
14891 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14892 unsigned long long int to avoid warnings in shift.
14894 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14896 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14899 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14900 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14901 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14903 * nis/nis_table.c (nis_list): Use variable of correct type for
14904 result of __follow_path call.
14906 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14908 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14909 of math functions ceil, trunc, floor, round, and sqrt, when
14910 avaliable on the platform.
14911 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14913 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14914 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14915 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14917 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14919 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14920 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14922 2011-11-11 Roland McGrath <roland@hack.frob.com>
14924 * include/unistd.h: Fix __readlink return type.
14925 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14927 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14929 * stdlib/ucontext.h: Undo last change for makecontext.
14931 2011-11-11 Andreas Schwab <schwab@redhat.com>
14933 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14935 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14936 * setjmp/setjmp.h: Mark functions as non-leaf.
14937 * setjmp/bits/setjmp2.h: Likewise.
14938 * stdlib/ucontext.h: Likewise.
14940 2011-11-10 Andreas Schwab <schwab@redhat.com>
14942 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14943 (reused_arena): Don't check arena limit.
14944 (arena_get2): Atomically check arena limit.
14946 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14948 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14949 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14954 2011-11-07 Andreas Schwab <schwab@redhat.com>
14956 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14957 handler when locking.
14959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14960 Fix size of allocated buffer.
14962 2011-11-04 Andreas Schwab <schwab@redhat.com>
14965 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14966 declarations for long double functions.
14967 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14969 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14971 2011-11-03 Andreas Schwab <schwab@redhat.com>
14973 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14976 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14979 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14981 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14983 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14985 * include/alloca.h (stackinfo_alloca_round): Define.
14986 (extend_alloca): Use it.
14987 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14988 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14991 * scripts/check-local-headers.sh: Ignore libaudit.h.
14993 * nscd/Makefile (extra-objs): Make recursively expanded.
14995 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14997 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15000 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15001 * posix/tst-rfc3484-2.c: Likewise.
15002 * posix/tst-rfc3484-3.c: Likewise.
15004 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15006 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15008 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15009 process_vm_writev from libc using GLIBC_2.15 version.
15011 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15013 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15015 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15018 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15021 * nss/getent.c (initgroups_keys): Show error message in case no group
15024 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15025 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15026 __bump_nl_timestamp.
15027 * nscd/connections (nscd_init): When host database is served open
15028 netlink socket and request notification about configuration changes.
15029 (main_loop_poll): Track netlink file descriptor and bump timestamp
15030 in case data becomes available.
15031 (main_loop_epoll): Likewise.
15032 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15033 (database_pers_head): Add extra_data fileds.
15034 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15035 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15036 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15039 in6ai data, call __free_in6ai.
15040 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15041 Add -DHAVE_NETLINK.
15042 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15043 interface information. Reuse previous data if netlink timestamp
15045 (__bump_nl_timestamp): New function.
15046 (__free_in6ai): New function.
15048 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15051 close_not_cancel_no_status here.
15052 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15054 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15057 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15060 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15061 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15062 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15064 2011-07-03 Andreas Jaeger <aj@suse.de>
15067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15068 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15069 * math/libm-test.inc (sin_test): Add test case.
15071 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15074 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15075 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15077 * elf/chroot_canon.c (chroot_canon): Cleanups.
15079 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15082 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15083 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15085 * string/test-strchr.c: Make usable for strchrnul testing.
15086 * string/test-strchrnul.c: New file.
15087 * string/Makefile (strop-tests): Add strchrnul.
15089 * po/it.po: Update from translation team.
15090 * po/es.po: Likewise.
15092 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15095 the three constants needed as parameters. Drop the others.
15096 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15097 __m128i_strloadu_tolower.
15098 Create and initialize variable zero and use it in all the places
15099 where _mm_setzero_si128 was used.
15101 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15102 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15103 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15104 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15107 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15108 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15109 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15110 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15111 __mpranred, __mptan.
15112 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15113 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15114 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15115 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15116 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15117 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15119 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15120 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15122 2011-10-28 Andreas Schwab <schwab@redhat.com>
15124 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15125 redefine if SHARED.
15126 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15129 wide char related routines to wcsmbs subdir.
15131 2011-10-27 Andreas Schwab <schwab@redhat.com>
15134 * misc/sys/cdefs.h (__THROWNL): Define.
15135 * posix/unistd.h: Use __THREADNL instead of __THREAD
15136 for memory synchronization functions.
15138 2011-10-26 Roland McGrath <roland@hack.frob.com>
15141 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15143 * manual/stdio.texi (Obstack Streams): Node removed.
15145 2011-10-26 Andreas Schwab <schwab@redhat.com>
15147 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15148 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15151 * math/math_private.h (math_force_eval): Allow non-addressable
15153 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15155 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15157 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15158 file is not needed.
15160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15162 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15163 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15164 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15167 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15169 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15170 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15171 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15172 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15173 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15174 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15175 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15176 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15179 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15180 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15182 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15183 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15184 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15185 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15186 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15187 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15189 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15190 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15193 place. Use VEX encoding when compiling for AVX.
15195 2011-10-25 Andreas Schwab <schwab@redhat.com>
15197 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15198 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15200 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15202 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15204 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15205 useless if() expression.
15206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15215 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15217 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15220 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15221 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15224 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15226 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15228 2011-10-25 Andreas Schwab <schwab@redhat.com>
15230 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15232 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15234 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15236 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15237 .text section. Avoid duplicate constants.
15238 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15248 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15250 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15253 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15255 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15262 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15263 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15264 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15265 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15266 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15267 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15268 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15269 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15270 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15271 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15272 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15273 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15274 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15276 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15277 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15280 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15281 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15282 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15284 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15286 * sysdeps/x86_64/dla.h: Move to ...
15287 * sysdeps/x86_64/fpu/dla.h: ...here.
15288 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15289 situations. Use __builtin_fma only for gcc 4.6 and up.
15291 * config.make.in: Add have-mfma4 entry.
15292 * configure.in: Substitute libc_cv_cc_fma4.
15293 * math/Makefile (dbl-only-routines): Add sincostab.
15294 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15295 Use __sincostab not sincos.
15296 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15303 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15304 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15305 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15306 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15308 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15309 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15311 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15312 define aliases when function name is a macro.
15313 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15314 sysdeps/ieee754/dbl-64/sincos.tbl.
15315 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15316 fma4-enabled routines.
15317 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15318 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15319 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15320 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15322 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15324 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15326 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15327 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15328 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15329 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15340 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15342 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15344 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15345 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15346 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15348 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15359 2011-10-24 Andreas Schwab <schwab@redhat.com>
15361 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15363 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15367 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15369 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15371 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15372 Remove unused variable magic_bits.
15373 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15375 * string/strnlen.c: Define and use STRNLEN macro.
15376 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15377 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15379 * wcsmbs/wcslen.c: Define and use WCSLEN.
15380 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15381 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15382 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15383 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15384 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15385 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15386 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15388 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15391 strnlen-sse2-no-bsf.
15392 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15394 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15395 Add strnlen support.
15396 (USE_AS_STRNLEN): New macro.
15397 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15398 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15399 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15400 * sysdeps/x86_64/wcslen.S: New file.
15402 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15405 XMM-moves are used for copying on small sizes.
15407 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15409 * wcsmbs/Makefile (strop-tests): Add wcschr.
15410 * wcsmbs/test-wcschr.c: New file.
15411 * string/test-strchr.c: Update.
15412 Add wcschr support.
15415 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15417 * wcsmbs/Makefile (strop-tests): Add wcslen.
15418 * wcsmbs/test-wcslen.c: New file.
15419 * string/test-strlen.c: Update.
15420 Add wcslen support.
15423 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15425 * po/it.po: Update from translation team.
15427 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15429 * sysdeps/x86_64/wcscmp.S: Update.
15430 Fix wrong comparison semantics.
15431 wcscmp shall use signed comparison not unsigned.
15432 Don't use substraction to avoid overflow bug.
15433 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15434 * wcsmbc/wcscmp.c: Likewise.
15435 * string/test-strcmp.c: Likewise.
15436 Add new tests to check cases with negative values.
15438 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15440 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15441 * sysdeps/x86_64/dla.h: ...here. New file.
15442 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15452 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15455 __ynl_finite aliases.
15457 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15461 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15463 [DLA_FMA] (EMULV): Use DLA_FMA.
15464 [DLA_FMA] (MUL12): Use EMULV.
15465 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15466 that are not needed.
15467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15475 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15477 * math/s_nan.c: Undef __nan.
15478 * math/s_nanf.c: Undef __nanf.
15479 * math/s_nanl.c: Undef __nanl.
15480 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15483 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15485 * math/s_catan.c: Add branch predictions.
15486 * math/s_catanf.c: Likewise.
15487 * math/s_catanh.c: Likewise.
15488 * math/s_catanhf.c: Likewise.
15489 * math/s_catanhl.c: Likewise.
15490 * math/s_catanl.c: Likewise.
15491 * math/s_cexp.c: Likewise.
15492 * math/s_cexpf.c: Likewise.
15493 * math/s_cexpl.c: Likewise.
15494 * math/s_clog.c: Likewise.
15495 * math/s_clog10.c: Likewise.
15496 * math/s_clog10f.c: Likewise.
15497 * math/s_clog10l.c: Likewise.
15498 * math/s_clogf.c: Likewise.
15499 * math/s_clogl.c: Likewise.
15500 * math/s_csqrt.c: Likewise.
15501 * math/s_csqrtf.c: Likewise.
15502 * math/s_csqrtl.c: Likewise.
15503 * math/s_ctanf.c: Likewise.
15504 * math/s_ctanh.c: Likewise.
15505 * math/s_ctanhf.c: Likewise.
15506 * math/s_ctanhl.c: Likewise.
15507 * math/s_ctanl.c: Likewise.
15509 * math/math_private.h: Define __nan, __nanf, __nanl.
15510 * math/s_cacosh.c: Include <math_private.h>.
15511 * math/s_cacoshl.c: Likewise.
15512 * math/s_casinh.c: Likewise.
15513 * math/s_casinhf.c: Likewise.
15514 * math/s_casinhl.c: Likewise.
15515 * math/s_ccos.c: Rely entire on ccosh.
15516 * math/s_ccosf.c: Rely entire on ccoshf.
15517 * math/s_ccosl.c: Rely entirely on ccoshl.
15518 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15519 Remove tests for FE_INVALID.
15520 * math/s_ccoshf.c: Likewise.
15521 * math/s_ccoshl.c: Likewise.
15522 * math/s_csin.c: Likewise.
15523 * math/s_csinf.c: Likewise.
15524 * math/s_csinh.c Likewise.
15525 * math/s_csinhf.c: Likewise.
15526 * math/s_csinhl.c: Likewise.
15527 * math/s_csinl.c: Likewise.
15528 * math/s_ctan.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15530 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15531 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15533 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15536 compilation problems.
15538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15541 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15543 * sysdeps/i386/configure.in: Test for -mfma4 option.
15544 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15545 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15546 COMMON_CPUID_INDEX_80000001.
15547 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15548 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15549 use it if FMA3 is not supported.
15550 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15552 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15553 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15555 2011-10-20 Andreas Schwab <schwab@redhat.com>
15558 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15559 it would create a cycle with a link time dependency.
15561 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15563 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15565 * string/Makefile (strop-tests): Add rawmemchr.
15566 * string/test-rawmemchr.c: New file.
15568 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15570 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15571 when compiling str{,n}casecmp and when AVX is available. Hook up
15572 new optimized code in initializers.
15574 2011-10-19 Andreas Schwab <schwab@redhat.com>
15576 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15577 __feraiseexcept instead of feraiseexcept.
15579 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15581 * math/math_private.h: Define defaults for libc_fetestexcept and
15583 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15584 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15587 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15588 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15589 libc_fetestexcept and libc_feupdateenv.
15591 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15592 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15593 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15594 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15595 libc_feholdexcept_setround.
15597 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15598 Add s_nearbyint-c and s_nearbyintf-c.
15599 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15600 nearbyintf inlines.
15601 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15602 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15603 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15604 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15606 * math/math_private.h: Define defaults for libc_fegetround,
15607 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15608 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15609 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15610 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15611 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15612 standard functions.
15613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15614 Remove comments and hacks for old compiler versions.
15615 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15616 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15617 libc_feholdexceptl.
15619 2011-10-18 Andreas Schwab <schwab@redhat.com>
15621 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15622 (__feraiseexcept_renamed): Add __NTH.
15623 (feraiseexcept): Add __NTH. Rename local variables to fix
15624 namespace violations.
15626 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15628 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15632 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15633 recently added interfaces.
15634 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15636 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15637 about macro parameter expansion.
15639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15640 __NO_MATH_INLINES is defined. Cleanups.
15642 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15643 and __floorf is target has SSE4.1.
15644 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15645 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15646 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15647 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15649 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15651 (floorf): Likewise.
15653 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15655 2011-10-17 Andreas Schwab <schwab@redhat.com>
15657 * misc/sys/cdefs.h: Fix last change.
15659 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15662 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15664 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15666 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15673 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15674 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15675 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15676 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15677 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15678 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15679 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15680 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15681 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15682 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15683 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15684 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15685 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15686 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15687 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15689 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15690 ceil, ceilf, floor, floorf.
15692 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15693 Perform IRELATIVE relocations last.
15695 * elf/do-rel.h: Add another parameter nrelative, replacing the
15696 local variable with the same name. Change name of the function
15697 to end in Rel or Rela (uppercase).
15698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15699 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15700 elf_dynamic_do_##reloc function.
15702 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15704 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15705 is sufficient, at least on modern CPUs.
15707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15709 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15710 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15712 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15714 * math/bits/math-finite.h: Add entries for exp.
15715 * math/e_expl.c: Add __*_finite alias.
15716 * sysdeps/i386/fpu/e_exp.S: Likewise.
15717 * sysdeps/i386/fpu/e_expf.S: Likewise.
15718 * sysdeps/i386/fpu/e_expl.c: Likewise.
15719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15724 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15725 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15727 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15728 is sufficient, at least on modern CPUs.
15730 * ctype/ctype-info.c (__ctype_init): Define.
15731 * include/ctype.h (__ctype_init): Declare.
15732 (__ctype_b_loc): The variable is always initialized.
15733 (__ctype_toupper_loc): Likewise.
15734 (__ctype_tolower_loc): Likewise.
15735 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15736 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15738 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15740 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15742 * configure.in: Also look in $cxxmachine/include for C++ system
15745 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15747 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15748 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15749 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15750 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15751 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15752 (USE_AS_WMEMCMP): New macro.
15754 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15755 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15756 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15757 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15759 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15760 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15761 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15762 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15763 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15764 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15765 (USE_AS_WMEMCMP): New macro.
15766 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15767 * sysdeps/string/test-memcmp.c: Update.
15768 Fix simple_wmemcmp.
15770 * wcsmbs/wmemcmp.c: Update.
15771 (WMEMCMP): New macro.
15774 2011-10-12 Andreas Jaeger <aj@suse.de>
15777 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15779 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15781 * libio/iofwide.c (do_length): Avoid warning.
15783 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15785 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15787 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15789 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15790 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15791 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15792 * sysdeps/i386/i686/fpu/e_log.S: New file.
15793 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15794 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15796 * ctype/ctype.h: Add support for inlined isXXX functions when
15797 compiling C++ code.
15799 2011-10-14 Andreas Schwab <schwab@redhat.com>
15801 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15805 2011-10-13 Roland McGrath <roland@hack.frob.com>
15808 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15810 2011-10-13 Andreas Schwab <schwab@redhat.com>
15812 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15813 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15816 * sysdeps/x86_64/memrchr.S: Check for zero size.
15818 * string/stratcliff.c: Add memrchr tests.
15820 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15823 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15824 rawmemchr-sse2 rawmemchr-sse2-bsf.
15825 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15826 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15827 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15828 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15829 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15830 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15831 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15832 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15833 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15834 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15835 * string/memrchr.c (MEMRCHR): New macro.
15837 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15839 Add integration with gcc's -ffinite-math-only and optimize wrapper
15841 * Versions.def: Define GLIBC_2.15 version for libm.
15842 * math/Makefile (headers): Add bits/math-finite.h.
15843 * math/bits/math-finite.h: New file.
15844 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15845 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15846 * math/e_acoshl.c: Add __*_finite alias.
15847 * math/e_acosl.c: Likewise.
15848 * math/e_asinl.c: Likewise.
15849 * math/e_atan2l.c: Likewise.
15850 * math/e_atanhl.c: Likewise.
15851 * math/e_coshl.c: Likewise.
15852 * math/e_exp10.c: Likewise.
15853 * math/e_exp10f.c: Likewise.
15854 * math/e_exp10l.c: Likewise.
15855 * math/e_exp2l.c: Likewise.
15856 * math/e_fmodl.c: Likewise.
15857 * math/e_gammal_r.c: Likewise.
15858 * math/e_hypotl.c: Likewise.
15859 * math/e_j0l.c: Likewise.
15860 * math/e_j1l.c: Likewise.
15861 * math/e_jnl.c: Likewise.
15862 * math/e_lgammal_r.c: Likewise.
15863 * math/e_log10l.c: Likewise.
15864 * math/e_log2l.c: Likewise.
15865 * math/e_logl.c: Likewise.
15866 * math/e_powl.c: Likewise.
15867 * math/e_sinhl.c: Likewise.
15868 * math/e_sqrtl.c: Likewise.
15869 * math/e_scalb.c: Completely rewritten and optimized.
15870 * math/e_scalbf.c: Likewise.
15871 * math/e_scalbl.c: Likewise.
15872 * math/w_acos.c: Likewise.
15873 * math/w_acosf.c: Likewise.
15874 * math/w_acosl.c: Likewise.
15875 * math/w_acosh.c: Likewise.
15876 * math/w_acoshf.c: Likewise.
15877 * math/w_acoshl.c: Likewise.
15878 * math/w_asin.c: Likewise.
15879 * math/w_asinf.c: Likewise.
15880 * math/w_asinl.c: Likewise.
15881 * math/w_atan2.c: Likewise.
15882 * math/w_atan2f.c: Likewise.
15883 * math/w_atan2l.c: Likewise.
15884 * math/w_atanh.c: Likewise.
15885 * math/w_atanhf.c: Likewise.
15886 * math/w_atanhl.c: Likewise.
15887 * math/w_exp10.c: Likewise.
15888 * math/w_exp10f.c: Likewise.
15889 * math/w_exp10l.c: Likewise.
15890 * math/w_fmod.c: Likewise.
15891 * math/w_fmodf.c: Likewise.
15892 * math/w_fmodl.c: Likewise.
15893 * math/w_j0.c: Likewise.
15894 * math/w_j0f.c: Likewise.
15895 * math/w_j0l.c: Likewise.
15896 * math/w_j1.c: Likewise.
15897 * math/w_j1f.c: Likewise.
15898 * math/w_j1l.c: Likewise.
15899 * math/w_jn.c: Likewise.
15900 * math/w_jnf.c: Likewise.
15901 * math/w_log.c: Likewise.
15902 * math/w_logf.c: Likewise.
15903 * math/w_logl.c: Likewise.
15904 * math/w_log10.c: Likewise.
15905 * math/w_log10f.c: Likewise.
15906 * math/w_log10l.c: Likewise.
15907 * math/w_log2.c: Likewise.
15908 * math/w_log2f.c: Likewise.
15909 * math/w_log2l.c: Likewise.
15910 * math/w_pow.c: Likewise.
15911 * math/w_powf.c: Likewise.
15912 * math/w_powl.c: Likewise.
15913 * math/w_remainder.c: Likewise.
15914 * math/w_remainderf.c: Likewise.
15915 * math/w_remainderl.c: Likewise.
15916 * math/w_scalb.c: Likewise.
15917 * math/w_scalbf.c: Likewise.
15918 * math/w_scalbl.c: Likewise.
15919 * math/w_sqrt.c: Likewise.
15920 * math/w_sqrtf.c: Likewise.
15921 * math/w_sqrtl.c: Likewise.
15922 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15923 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15925 * math/math_private.h: Declare __kernel_standard_f.
15926 * math/w_cosh.c: Remove cruft and optimize a bit.
15927 * math/w_coshf.c: Likewise.
15928 * math/w_coshl.c: Likewise.
15929 * math/w_exp2.c: Likewise.
15930 * math/w_exp2f.c: Likewise.
15931 * math/w_exp2l.c: Likewise.
15932 * math/w_hypot.c: Likewise.
15933 * math/w_hypotf.c: Likewise.
15934 * math/w_hypotl.c: Likewise.
15935 * math/w_lgamma.c: Likewise.
15936 * math/w_lgamma_r.c: Likewise.
15937 * math/w_lgammaf.c: Likewise.
15938 * math/w_lgammaf_r.c: Likewise.
15939 * math/w_lgammal.c: Likewise.
15940 * math/w_lgammal_r.c: Likewise.
15941 * math/w_sinh.c: Likewise.
15942 * math/w_sinhf.c: Likewise.
15943 * math/w_sinhl.c: Likewise.
15944 * math/w_tgamma.c: Likewise.
15945 * math/w_tgammaf.c: Likewise.
15946 * math/w_tgammal.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15949 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15950 Minor optimizations. Pretty printing. Remove cruft.
15951 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15953 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15954 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15955 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15956 * sysdeps/i386/fpu/e_asin.S: Likewise.
15957 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15958 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15959 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15960 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15961 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15963 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15964 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15965 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15966 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15967 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15968 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15969 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15970 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15971 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15972 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15973 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15974 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15975 * sysdeps/i386/fpu/e_log.S: Likewise.
15976 * sysdeps/i386/fpu/e_log10.S: Likewise.
15977 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15978 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15979 * sysdeps/i386/fpu/e_log2.S: Likewise.
15980 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15982 * sysdeps/i386/fpu/e_logf.S: Likewise.
15983 * sysdeps/i386/fpu/e_logl.S: Likewise.
15984 * sysdeps/i386/fpu/e_pow.S: Likewise.
15985 * sysdeps/i386/fpu/e_powf.S: Likewise.
15986 * sysdeps/i386/fpu/e_powl.S: Likewise.
15987 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15988 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15989 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15991 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15992 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15993 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15994 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15995 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16017 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16018 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16019 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16021 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16023 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16025 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16027 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16028 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16030 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16031 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16032 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16033 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16035 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16036 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16037 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16081 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16082 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16087 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16088 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16089 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16090 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16091 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16092 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16093 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16094 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16095 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16096 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16097 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16098 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16099 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16101 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16102 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16104 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16105 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16106 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16107 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16108 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16109 (__isnanf): Likewise.
16110 (__isinf_ns): Likewise.
16111 (__isinf_nsf): Likewise.
16112 (__finite): Likewise.
16113 (__finitef): Likewise.
16114 (__ieee754_sqrt): Define as macro.
16115 (__ieee754_sqrtf): Define as macro.
16116 (__ieee754_sqrtl): Define as macro.
16117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16119 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16120 __FINITE_MATH_ONLY__ consistent.
16121 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16123 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16125 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16128 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16130 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16132 * po/ja.po: Update from translation team.
16134 2011-10-08 Roland McGrath <roland@hack.frob.com>
16136 * locale/programs/locarchive.c (prepare_address_space): New function.
16137 (create_archive, enlarge_archive, open_archive): Use it.
16139 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16140 inside [SHARED], where it is used.
16142 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16144 * nss/getent.c (netgroup_keys): Remove unused variable.
16145 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16147 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16149 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16152 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16154 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16155 * math/Makefile (libm-calls): Add s_isinf_ns.
16156 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16157 * math/multc3.c: Likewise.
16158 * math/s_casin.c: Likewise.
16159 * math/s_casinf.c: Likewise.
16160 * math/s_casinl.c: Likewise.
16161 * math/s_ccos.c: Likewise.
16162 * math/s_ccosf.c: Likewise.
16163 * math/s_ccosl.c: Likewise.
16164 * math/s_ctan.c: Likewise.
16165 * math/s_ctanf.c: Likewise.
16166 * math/s_ctanh.c: Likewise.
16167 * math/s_ctanhf.c: Likewise.
16168 * math/s_ctanhl.c: Likewise.
16169 * math/s_ctanl.c: Likewise.
16170 * math/w_fmod.c: Likewise.
16171 * math/w_fmodf.c: Likewise.
16172 * math/w_fmodl.c: Likewise.
16173 * math/w_remainder.c: Likewise.
16174 * math/w_remainderf.c: Likewise.
16175 * math/w_remainderl.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16177 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16178 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16180 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16181 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16182 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16183 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16185 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16187 * stdio-common/printf_fphex.c: Likewise.
16188 * stdio-common/printf_size.c: Likewise.
16190 * math/e_exp10.c: Include math_private.h using <...> not "...".
16191 * math/e_exp10f.c: Likewise.
16192 * math/e_exp10l.c: Likewise.
16193 * math/e_exp2l.c: Likewise.
16194 * math/e_j0l.c: Likewise.
16195 * math/e_j1l.c: Likewise.
16196 * math/e_jnl.c: Likewise.
16197 * math/e_lgammal_r.c: Likewise.
16198 * math/e_rem_pio2l.c: Likewise.
16199 * math/e_scalb.c: Likewise.
16200 * math/e_scalbf.c: Likewise.
16201 * math/e_scalbl.c: Likewise.
16202 * math/k_cosl.c: Likewise.
16203 * math/k_sinl.c: Likewise.
16204 * math/k_tanl.c: Likewise.
16205 * math/s_cacoshf.c: Likewise.
16206 * math/s_catan.c: Likewise.
16207 * math/s_catanf.c: Likewise.
16208 * math/s_catanh.c: Likewise.
16209 * math/s_catanhf.c: Likewise.
16210 * math/s_catanhl.c: Likewise.
16211 * math/s_catanl.c: Likewise.
16212 * math/s_ccosh.c: Likewise.
16213 * math/s_ccoshf.c: Likewise.
16214 * math/s_ccoshl.c: Likewise.
16215 * math/s_cexp.c: Likewise.
16216 * math/s_cexpf.c: Likewise.
16217 * math/s_cexpl.c: Likewise.
16218 * math/s_clog.c: Likewise.
16219 * math/s_clog10.c: Likewise.
16220 * math/s_clog10f.c: Likewise.
16221 * math/s_clog10l.c: Likewise.
16222 * math/s_clogf.c: Likewise.
16223 * math/s_clogl.c: Likewise.
16224 * math/s_csin.c: Likewise.
16225 * math/s_csinf.c: Likewise.
16226 * math/s_csinh.c: Likewise.
16227 * math/s_csinhf.c: Likewise.
16228 * math/s_csinhl.c: Likewise.
16229 * math/s_csinl.c: Likewise.
16230 * math/s_csqrt.c: Likewise.
16231 * math/s_csqrtf.c: Likewise.
16232 * math/s_csqrtl.c: Likewise.
16233 * math/s_ctan.c: Likewise.
16234 * math/s_ctanf.c: Likewise.
16235 * math/s_ctanh.c: Likewise.
16236 * math/s_ctanhf.c: Likewise.
16237 * math/s_ctanhl.c: Likewise.
16238 * math/s_ctanl.c: Likewise.
16239 * math/s_ldexp.c: Likewise.
16240 * math/s_ldexpf.c: Likewise.
16241 * math/s_ldexpl.c: Likewise.
16242 * math/s_significand.c: Likewise.
16243 * math/s_significandf.c: Likewise.
16244 * math/s_significandl.c: Likewise.
16245 * math/w_acos.c: Likewise.
16246 * math/w_acosf.c: Likewise.
16247 * math/w_acosh.c: Likewise.
16248 * math/w_acoshf.c: Likewise.
16249 * math/w_acoshl.c: Likewise.
16250 * math/w_acosl.c: Likewise.
16251 * math/w_asin.c: Likewise.
16252 * math/w_asinf.c: Likewise.
16253 * math/w_asinl.c: Likewise.
16254 * math/w_atan2.c: Likewise.
16255 * math/w_atan2f.c: Likewise.
16256 * math/w_atan2l.c: Likewise.
16257 * math/w_atanh.c: Likewise.
16258 * math/w_atanhf.c: Likewise.
16259 * math/w_atanhl.c: Likewise.
16260 * math/w_cosh.c: Likewise.
16261 * math/w_coshf.c: Likewise.
16262 * math/w_coshl.c: Likewise.
16263 * math/w_dremf.c: Likewise.
16264 * math/w_exp10.c: Likewise.
16265 * math/w_exp10f.c: Likewise.
16266 * math/w_exp10l.c: Likewise.
16267 * math/w_exp2.c: Likewise.
16268 * math/w_exp2f.c: Likewise.
16269 * math/w_fmod.c: Likewise.
16270 * math/w_fmodf.c: Likewise.
16271 * math/w_fmodl.c: Likewise.
16272 * math/w_hypot.c: Likewise.
16273 * math/w_hypotf.c: Likewise.
16274 * math/w_hypotl.c: Likewise.
16275 * math/w_j0.c: Likewise.
16276 * math/w_j0f.c: Likewise.
16277 * math/w_j0l.c: Likewise.
16278 * math/w_j1.c: Likewise.
16279 * math/w_j1f.c: Likewise.
16280 * math/w_j1l.c: Likewise.
16281 * math/w_jn.c: Likewise.
16282 * math/w_jnf.c: Likewise.
16283 * math/w_jnl.c: Likewise.
16284 * math/w_lgamma.c: Likewise.
16285 * math/w_lgamma_r.c: Likewise.
16286 * math/w_lgammaf.c: Likewise.
16287 * math/w_lgammaf_r.c: Likewise.
16288 * math/w_lgammal.c: Likewise.
16289 * math/w_lgammal_r.c: Likewise.
16290 * math/w_log.c: Likewise.
16291 * math/w_log10.c: Likewise.
16292 * math/w_log10f.c: Likewise.
16293 * math/w_log10l.c: Likewise.
16294 * math/w_log2.c: Likewise.
16295 * math/w_log2f.c: Likewise.
16296 * math/w_log2l.c: Likewise.
16297 * math/w_logf.c: Likewise.
16298 * math/w_logl.c: Likewise.
16299 * math/w_pow.c: Likewise.
16300 * math/w_powf.c: Likewise.
16301 * math/w_powl.c: Likewise.
16302 * math/w_remainder.c: Likewise.
16303 * math/w_remainderf.c: Likewise.
16304 * math/w_remainderl.c: Likewise.
16305 * math/w_scalb.c: Likewise.
16306 * math/w_scalbf.c: Likewise.
16307 * math/w_scalbl.c: Likewise.
16308 * math/w_sinh.c: Likewise.
16309 * math/w_sinhf.c: Likewise.
16310 * math/w_sinhl.c: Likewise.
16311 * math/w_sqrt.c: Likewise.
16312 * math/w_sqrtf.c: Likewise.
16313 * math/w_sqrtl.c: Likewise.
16314 * math/w_tgamma.c: Likewise.
16315 * math/w_tgammaf.c: Likewise.
16316 * math/w_tgammal.c: Likewise.
16318 * po/ja.po: Update from translation team.
16320 2011-09-29 Andreas Jaeger <aj@suse.de>
16323 * sunrpc/netname.c (netname2host): Fix logic.
16327 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16329 * math/w_remainder.c (__remainder): Likewise.
16330 * math/w_remainderf.c (__remainderf): Likewise.
16331 * math/libm-test.inc (remainder_test): Add test cases.
16333 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16335 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16338 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16340 * string/test-memcmp.c: Avoid unncessary #defines.
16341 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16343 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16345 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16346 Use new sse2 version for core i3 - i7 as it's faster
16347 than sse42 version.
16348 (bit_Prefer_PMINUB_for_stringop): New.
16349 * sysdeps/x86_64/rawmemchr.S: Update.
16350 Replace with faster SSE2 version.
16351 * sysdeps/x86_64/memrchr.S: New file.
16352 * sysdeps/x86_64/memchr.S: Update.
16353 Replace with faster SSE2 version.
16355 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16357 * elf/dl-load.c (lose): Add cast to avoid warning.
16359 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16361 * po/ca.po: Update from translation team.
16363 * inet/getnetgrent_r.c: Hook up nscd.
16364 * nscd/Makefile (routines): Add nscd_netgroup.
16365 (nscd-modules): Add netgroupcache.
16366 (CFLAGS-netgroupcache.c): Define.
16367 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16368 (cache_search): Add const to second parameter.
16369 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16371 (dbs): Add netgrdb entry.
16372 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16373 (verify_persistent_db): Handle netgrdb.
16374 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16375 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16377 (netgroup_response_header): Define.
16378 (innetgroup_response_header): Define.
16379 (datahead): Add netgroup_response_header and innetgroup_response_header
16381 * nscd/nscd.conf: Add entries for netgroup cache.
16382 * nscd/nscd.h (dbtype): Add netgrdb.
16383 (_PATH_NSCD_NETGROUP_DB): Define.
16384 (netgroup_iov_disabled): Declare.
16385 (xmalloc, xcalloc, xrealloc): Move declarations here.
16386 (cache_search): Adjust prototype.
16387 Add netgroup-related prototypes.
16388 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16389 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16390 (__nscd_innetgr): Declare.
16391 * nscd/selinux.c (perms): Use access_vector_t as element type and
16392 add netgroup-related initializers.
16393 * nscd/netgroupcache.c: New file.
16394 * nscd/nscd_netgroup.c: New file.
16395 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16396 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16397 For four parameters use innetgr.
16398 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16399 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16400 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16401 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16403 * nscd/connections.c (register_traced_file): Don't register file
16404 for disabled databases.
16406 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16408 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16410 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16411 from tree and freeing node.
16413 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16415 * nss/nsswitch.c (__nss_database_lookup): Handle
16416 nss_parse_service_list out of memory case.
16418 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16420 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16421 out of memory case.
16423 2011-10-04 Andreas Schwab <schwab@redhat.com>
16425 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16426 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16428 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16429 elf_machine_rela, elf_machine_lazy_rel.
16430 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16431 (ELF_DYNAMIC_DO_REL): Likewise.
16432 (ELF_DYNAMIC_DO_RELA): Likewise.
16433 (ELF_DYNAMIC_RELOCATE): Likewise.
16434 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16435 to ELF_DYNAMIC_DO_REL.
16436 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16437 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16438 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16440 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16441 skip_ifunc, don't call ifunc function if non-zero.
16442 (elf_machine_rela): Likewise.
16443 (elf_machine_lazy_rel): Likewise.
16444 (elf_machine_lazy_rela): Likewise.
16445 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16446 (elf_machine_lazy_rel): Likewise.
16447 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16449 (elf_machine_lazy_rel): Likewise.
16450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16452 (elf_machine_lazy_rel): Likewise.
16453 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16454 (elf_machine_lazy_rel): Likewise.
16455 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16456 (elf_machine_lazy_rel): Likewise.
16457 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16458 (elf_machine_lazy_rel): Likewise.
16459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16460 (elf_machine_lazy_rel): Likewise.
16461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16462 (elf_machine_lazy_rel): Likewise.
16463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16464 (elf_machine_lazy_rel): Likewise.
16466 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16468 * nss/nss_files/files-init.c (_nss_files_init): Use static
16469 initialization for all the *_traced_file variables.
16471 2011-09-28 Andreas Schwab <schwab@redhat.com>
16473 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16475 2011-09-27 Roland McGrath <roland@hack.frob.com>
16478 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16480 2011-09-27 Andreas Schwab <schwab@redhat.com>
16482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16483 Reread the line before reparsing it.
16485 2011-09-26 Andreas Schwab <schwab@redhat.com>
16487 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16489 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16490 Maxim Kuvyrkov <maxim@codesourcery.com>
16491 Joseph Myers <joseph@codesourcery.com>
16493 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16494 if needed for __stack_chk_guard.
16496 2011-09-19 Roland McGrath <roland@hack.frob.com>
16498 * sysdeps/posix/spawni.c (script_execute): Always define it.
16499 It will be optimized away if unused.
16500 (maybe_script_execute): New function.
16501 (__spawni): Call it.
16503 * Makerules: Don't include tls.make.
16504 (config-tls): Always set to thread.
16505 * tls.make.c: File removed.
16507 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16509 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16510 * config.make.in (CPPFLAGS-config): New substituted variable.
16512 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16514 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16517 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16518 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16520 2011-09-15 Roland McGrath <roland@hack.frob.com>
16522 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16523 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16525 (CALL_FAIL): Likewise.
16526 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16527 (CALL_FAIL): Macro removed.
16528 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16530 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16532 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16533 for __FINITE_MATH_ONLY__ == 1.
16535 2011-09-15 Andreas Schwab <schwab@redhat.com>
16537 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16538 __ieee754_sqrt instead of sqrt.
16539 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16540 __ieee754_sqrtf instead of sqrtf.
16541 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16542 __floorf instead of floorf.
16543 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16544 __floorf, __truncf instead of floorf, truncf.
16546 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16548 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16550 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16551 __extern_always_inline.
16552 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16555 2011-09-14 Andreas Schwab <schwab@redhat.com>
16557 * elf/rtld.c (dl_main): Also relocate in dependency order when
16558 doing symbol dependency testing.
16560 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16563 Always define `refsym'.
16565 2011-09-13 Andreas Schwab <schwab@redhat.com>
16567 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16568 (__FD_ELT): Renamed from __FDELT.
16569 * misc/bits/select2.h (__FD_ELT): Likewise.
16570 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16571 __FD_MASK instead of __FDELT, __FDMASK.
16572 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16574 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16577 * elf/Makefile (gen-ldd): Fix pattern.
16579 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16580 (init_tls): Likewise.
16582 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16586 2011-09-12 Andreas Schwab <schwab@redhat.com>
16588 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16589 `struct cmsghdr *' instead of `void *'.
16590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16593 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16595 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16597 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16598 ldd_rewrite_script.
16600 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16602 * configure.in: Remove --with-tls option.
16603 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16604 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16605 out in case it is missing.
16606 * sysdeps/ia64/elf/configure.in: Likewise.
16607 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16608 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16609 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16610 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16611 * sysdeps/sh/elf/configure.in: Likewise.
16612 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16613 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16614 * sysdeps/x86_64/elf/configure.in: Likewise.
16615 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16616 * sysdeps/mach/hurd/tls.h: Likewise.
16619 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16622 * configure.in: Fix use of AC_INIT.
16624 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16626 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16628 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16630 * malloc/hooks.c: Likewise.
16633 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16634 variables statically.
16635 (narenas): Initialize.
16636 (list_lock): Initialize.
16637 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16638 initializtion of main_arena and list_lock. Small cleanups.
16639 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16640 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16641 Add initializers to main_arena and mp_.
16642 (malloc_state): Remove pagesize member. Change all users to use
16645 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16646 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16647 is always initialized.
16649 * malloc/malloc.c: Removed unused configurations and dead code.
16650 * malloc/arena.c: Likewise.
16651 * malloc/hooks.c: Likewise.
16652 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16654 * include/tls.h: Removed. USE___THREAD must always be defined.
16655 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16656 * elf/dl-libc.c: Likewise.
16657 * elf/dl-tsd.c: Likewise.
16658 * include/errno.h: Likewise.
16659 * include/netdb.h: Likewise.
16660 * include/resolv.h: Likewise.
16661 * inet/herrno-loc.c: Likewise.
16662 * inet/herrno.c: Likewise.
16663 * malloc/arena.c: Likewise.
16664 * malloc/hooks.c: Likewise.
16665 * malloc/malloc.c: Likewise.
16666 * resolv/res-state.c: Likewise.
16667 * resolv/res_libc.c: Likewise.
16668 * sysdeps/i386/dl-machine.h: Likewise.
16669 * sysdeps/ia64/dl-machine.h: Likewise.
16670 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16671 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16672 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16673 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16674 * sysdeps/sh/dl-machine.h: Likewise.
16675 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16676 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16677 * sysdeps/unix/i386/sysdep.S: Likewise.
16678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16679 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16684 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16686 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16689 * sysdeps/x86_64/dl-machine.h: Likewise.
16690 * tls.make.c: Likewise.
16692 * configure.in: Remove --with-__thread option. Make tests for
16693 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16694 tls_model attribute fail if no support is available. Remove
16696 * Makeconfig: Adjust for dropped configure option. All features are
16698 * Makerules: Likewise.
16699 * Versions.def: Likewise.
16700 * argp/argp-fmtstream.c: Likewise.
16701 * argp/argp-fmtstream.h: Likewise.
16702 * argp/argp-help.c: Likewise.
16703 * assert/assert.c: Likewise.
16704 * config.h.in: Likewise.
16705 * config.make.in: Likewise.
16706 * configure: Likewise.
16707 * configure.in: Likewise.
16708 * csu/Versions: Likewise.
16709 * csu/init.c: Likewise.
16710 * elf/tst-audit2.c: Likewise.
16711 * elf/tst-tls10.c: Likewise.
16712 * elf/tst-tls10.h: Likewise.
16713 * elf/tst-tls11.c: Likewise.
16714 * elf/tst-tls12.c: Likewise.
16715 * elf/tst-tls14.c: Likewise.
16716 * elf/tst-tlsmod11.c: Likewise.
16717 * elf/tst-tlsmod12.c: Likewise.
16718 * elf/tst-tlsmod13.c: Likewise.
16719 * elf/tst-tlsmod13a.c: Likewise.
16720 * elf/tst-tlsmod14a.c: Likewise.
16721 * elf/tst-tlsmod15b.c: Likewise.
16722 * elf/tst-tlsmod16a.c: Likewise.
16723 * elf/tst-tlsmod16b.c: Likewise.
16724 * elf/tst-tlsmod7.c: Likewise.
16725 * elf/tst-tlsmod8.c: Likewise.
16726 * elf/tst-tlsmod9.c: Likewise.
16727 * gmon/gmon.c: Likewise.
16728 * grp/fgetgrent_r.c: Likewise.
16729 * grp/putgrent.c: Likewise.
16730 * hurd/fopenport.c: Likewise.
16731 * include/libc-symbols.h: Likewise.
16732 * include/tls.h: Likewise.
16733 * intl/gettextP.h: Likewise.
16734 * intl/loadinfo.h: Likewise.
16735 * locale/global-locale.c: Likewise.
16736 * locale/localeinfo.h: Likewise.
16737 * mach/devstream.c: Likewise.
16738 * malloc/arena.c: Likewise.
16739 * malloc/set-freeres.c: Likewise.
16740 * misc/err.c: Likewise.
16741 * misc/getttyent.c: Likewise.
16742 * misc/mntent_r.c: Likewise.
16743 * posix/getopt.c: Likewise.
16744 * posix/wordexp.c: Likewise.
16745 * pwd/fgetpwent_r.c: Likewise.
16746 * resolv/Versions: Likewise.
16747 * resolv/res_hconf.c: Likewise.
16748 * shadow/fgetspent_r.c: Likewise.
16749 * shadow/putspent.c: Likewise.
16750 * stdio-common/printf_fphex.c: Likewise.
16751 * stdio-common/tmpfile.c: Likewise.
16752 * stdlib/abort.c: Likewise.
16753 * stdlib/fmtmsg.c: Likewise.
16754 * sunrpc/auth_unix.c: Likewise.
16755 * sunrpc/clnt_perr.c: Likewise.
16756 * sunrpc/clnt_tcp.c: Likewise.
16757 * sunrpc/clnt_udp.c: Likewise.
16758 * sunrpc/clnt_unix.c: Likewise.
16759 * sunrpc/openchild.c: Likewise.
16760 * sunrpc/svc_simple.c: Likewise.
16761 * sunrpc/svc_tcp.c: Likewise.
16762 * sunrpc/svc_udp.c: Likewise.
16763 * sunrpc/svc_unix.c: Likewise.
16764 * sunrpc/xdr.c: Likewise.
16765 * sunrpc/xdr_array.c: Likewise.
16766 * sunrpc/xdr_rec.c: Likewise.
16767 * sunrpc/xdr_ref.c: Likewise.
16768 * sunrpc/xdr_stdio.c: Likewise.
16770 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16772 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16774 2011-07-03 Andreas Jaeger <aj@suse.de>
16776 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16778 regenerate with gen-libm-tests.pl.
16780 2010-05-12 Petr Baudis <pasky@suse.cz>
16783 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16784 around j0() zero points by switching to j1().
16785 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16790 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16792 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16794 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16797 Patch in part by Pavel Roskin <proski@gnu.org>.
16800 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16802 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16803 Free memory block if necessary.
16806 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16807 be NULL. Don't lock in this case.
16809 2011-09-09 Roland McGrath <roland@hack.frob.com>
16811 * elf/elf.h (ELFOSABI_GNU): New macro.
16812 (ELFOSABI_LINUX): Define to that.
16814 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16816 * string/strncat.c (strncat): Undef the symbol in case it has been
16817 defined in bits/string.h.
16819 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16821 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16823 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16826 2011-08-17 Andreas Jaeger <aj@suse.de>
16828 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16830 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16831 Ian Lance Taylor <iant@google.com>
16833 * math/libm-test.inc (lround_test): New testcase.
16834 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16836 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16838 * Makefile: Remove support for automatic cvs check-ins.
16839 * Makerules: Likewise.
16840 * config.make.in: Likewise.
16841 * configure.in: Likewise.
16842 * intl/Makefile: Likewise.
16843 * locale/Makefile: Likewise.
16844 * po/Makefile: Likewise.
16845 * posix/Makefile: Likewise.
16846 * sysdeps/gnu/Makefile: Likewise.
16847 * sysdeps/mach/hurd/Makefile: Likewise.
16848 * sysdeps/sparc/sparc32/Makefile: Likewise.
16851 * posix/Makefile (bug-regex32-ENV): Define.
16852 Patch by John Stanley <jpsinthemix@verizon.net>.
16854 * misc/Makefile (headers): Add bits/select2.h.
16855 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16856 * misc/bits/select2.h: New file.
16857 * include/bits/select2.h: New file.
16858 * debug/Makefile (routines): Add fdelt_chk.
16859 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16860 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16862 * debug/fdelt_chk.c: New file.
16864 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16865 * wcsmbs/test-wmemcmp.c: Likewise.
16866 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16867 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16869 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16871 * string/Makefile (strop-tests): Add memcmp.
16872 * string/test-wmemcmp.c: New file.
16873 * string/test-memcmp.c: Add wmemcmp support.
16875 2011-09-08 Roland McGrath <roland@hack.frob.com>
16878 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16881 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16882 garbage value in a __mach_port_mod_refs call in the cases of the
16883 task-self and thread-self ports.
16885 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16887 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16889 2011-09-08 Andreas Schwab <schwab@redhat.com>
16891 * elf/dl-load.c (lose): Check for non-null L.
16893 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16895 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16897 * elf/dl-libc.c (dlerror_run): Pass back error code from
16901 * elf/dl-load.c (lose): Free l_origin if it is valid.
16903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16905 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16906 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16908 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16910 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16912 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16914 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16915 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16916 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16917 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16918 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16919 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16920 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16921 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16922 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16923 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16925 2011-08-15 Alan Modra <amodra@gmail.com>
16928 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16929 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16930 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16931 ppc_mcount to static-only-routines.
16932 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16934 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16935 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16937 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16939 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16940 for finite and infinity parameters.
16942 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16945 and add nop instructions for throughput optimization.
16946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16948 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16951 aligned copy for power7 with vector-scalar instructions.
16952 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16954 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16959 2011-09-07 Andreas Schwab <schwab@redhat.com>
16962 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16965 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16968 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16969 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16970 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16973 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16975 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16976 Forgot to demangle the pointer.
16978 * sysdeps/i386/sysdep.h: Define atom_text_section.
16979 * sysdeps/x86_64/sysdep.h: Likewise.
16980 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16981 section with atom_text_section.
16982 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16984 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16986 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16989 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16990 already be defined. Change to take two parameters and don't assign
16991 result to variable. Adjust all users.
16992 Define INTERNAL_GETTIME if not already defined.
16993 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16996 HAVE_CLOCK_GETTIME_VSYSCALL.
16997 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17000 gettimeofday vsyscall, just use time.
17002 2011-09-06 Andreas Schwab <schwab@redhat.com>
17004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17007 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17009 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17013 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17015 syscall if possible.
17017 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17019 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17020 e_ident. Don't pass to find_mapsXX.
17021 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17023 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17026 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17027 * sysdeps/x86_64/multiarch/strchr.S: Update.
17028 Check bit_slow_BSF bit.
17029 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17030 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17031 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17033 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17036 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17038 (tryshell): Define.
17039 (__spawni): Change last parameter to be flag. Test
17040 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17041 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17042 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17043 * posix/spawni.c: Likewise.
17044 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17045 * posix/spawnp.c: Likewise. Change normal version to use
17046 SPAWN_XFLAGS_USE_PATH.
17047 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17048 SPAWN_XFLAGS_TRY_SHELL.
17051 * posix/glob.h: Remove gcc 1.x support.
17054 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17056 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17059 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17061 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17062 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17065 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17068 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17070 * sysdeps/x86_64/wcscmp.S: New file.
17072 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17073 wcscmp-c wcscmp-sse2
17074 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17075 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17076 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17077 * wcsmbs/wcscmp.c: Allow renaming.
17079 2011-09-05 David S. Miller <davem@davemloft.net>
17081 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17082 stack slot, rather than the struct return pointer slot.
17083 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17084 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17086 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17088 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17090 * po/ja.po: Update from translation team.
17093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17094 kernel in 64-bit binaries.
17096 2011-09-01 David S. Miller <davem@davemloft.net>
17098 * elf/elf.h (HWCAP_SPARC_*): Move to..
17099 * sysdeps/sparc/sysdep.h: this new file and add new values.
17100 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17101 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17102 _DL_HWCAP_COUNT to 24.
17103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17105 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17106 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17107 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17109 instead of magic constants.
17110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17112 2011-08-31 David S. Miller <davem@davemloft.net>
17114 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17116 Reimplement to do errno handling inline.
17117 (SYSCALL_ERROR_HANDLER): New macro.
17118 (__SYSCALL_STRING): Do not do errno handling in asm.
17119 (__CLONE_SYSCALL_STRING): Delete.
17120 (__INTERNAL_SYSCALL_STRING): Delete.
17121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17122 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17123 (PSEUDO): Reimplement to do errno handling inline.
17124 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17125 (SYSCALL_ERROR_HANDLER): New macro.
17126 (__SYSCALL_STRING): Do not do errno handling in asm.
17127 (__CLONE_SYSCALL_STRING): Delete.
17128 (__INTERNAL_SYSCALL_STRING): Delete.
17129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17130 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17132 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17133 (inline_syscall*): Add 'err' argument.
17134 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17135 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17136 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17137 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17139 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17140 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17142 2011-08-30 Andreas Schwab <schwab@redhat.com>
17144 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17146 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17148 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17151 2011-08-24 David S. Miller <davem@davemloft.net>
17153 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17155 2011-08-24 Andreas Schwab <schwab@redhat.com>
17157 * elf/Makefile: Add rules to build and run unload8 test.
17158 * elf/unload8.c: New file.
17159 * elf/unload8mod1.c: New file.
17160 * elf/unload8mod1x.c: New file.
17161 * elf/unload8mod2.c: New file.
17162 * elf/unload8mod3.c: New file.
17164 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17167 2011-08-23 David S. Miller <davem@davemloft.net>
17169 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17170 subtract stack bias.
17171 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17172 %sp not %fp in calculations.
17173 (_JMPBUF_UNWINDS_ADJ): Likewise.
17175 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17176 (aio_suspend): Call it to force an exception region around the
17177 AIO_MISC_WAIT() invocation.
17179 2011-08-23 Andreas Schwab <schwab@redhat.com>
17181 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17184 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17186 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17188 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17189 and <dl-machine.h>.
17190 (Elf64_FuncDesc): Remove.
17192 2011-08-22 David S. Miller <davem@davemloft.net>
17194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17195 sigaltstack check, add missing cfi directives.
17196 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17197 missing cfi directives, and sigaltstack handling.
17199 2011-08-16 Andreas Schwab <schwab@redhat.com>
17202 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17203 object is seen twice.
17204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17206 * elf/Makefile (distribute): Add tst-initorder2.c.
17207 (tests): Add tst-initorder2.
17208 (modules-names): Add tst-initorder2a tst-initorder2b
17209 tst-initorder2c tst-initorder2d. Add rules to build them.
17210 ($(objpfx)tst-initorder2.out): New rule.
17211 * elf/tst-initorder2.c: New file.
17212 * elf/tst-initorder2.exp: New file.
17214 2011-08-22 Andreas Schwab <schwab@redhat.com>
17216 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17218 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17219 dependencies back to end of function.
17221 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17222 $(elfobjdir)/ld.so.
17224 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17227 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17229 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17230 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17231 of __vdso_gettimeofday.
17232 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17233 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17235 (_libc_vdso_platform_setup): Remove initialization of
17236 __vdso_gettimeofday and __vdso_time.
17238 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17240 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17241 and fgetc_unlocked.
17242 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17245 * elf/dl-open.c (add_to_global): Report additions to the global scope
17246 for LD_DEBUG=scopes.
17247 (dl_open_worker): Also print scope of newly loaded dependencies.
17248 (_dl_show_scope): Indicate if there is no scope.
17251 * stdio-common/Makefile (tests): Add bug24.
17252 * stdio-common/bug24.c: New file.
17254 2011-08-19 Andreas Jaeger <aj@suse.de>
17257 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17258 non-existant file when using close-on-exec mode.
17260 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17263 the very first instruction.
17265 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17266 the CFI state in the end.
17267 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17268 inclusion of dl-trampoline.h.
17269 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17271 2011-08-19 Andreas Schwab <schwab@redhat.com>
17273 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17274 expectations for long double.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17277 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17279 2011-08-14 David S. Miller <davem@davemloft.net>
17281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17282 artificual limit depends upon the system page size.
17284 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17286 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17287 * resolv/Makefile: Define CFLAGS-libresolv.
17289 2011-08-17 Andreas Schwab <schwab@redhat.com>
17291 * nss/makedb.c (compute_tables): Make variables used in nested
17294 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17296 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17297 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17298 if buffer was too small.
17300 * elf/pldd.c (main): Attach to all threads in the process.
17301 Rewrite /proc handling to use *at functions.
17303 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17305 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17306 specifies first scope to show.
17307 (dl_open_worker): Update callers. Move printing scope of new
17308 object to before the relocation.
17309 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17310 * sysdeps/generic/ldsodefs.h: Update declaration.
17312 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17313 string for the scope number.
17315 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17317 * nscd/servicescache.c (cache_addserv): Make sure written is always
17320 2011-08-14 Roland McGrath <roland@hack.frob.com>
17322 * sysdeps/i386/i486/bits/atomic.h
17323 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17324 statement expression, so as to suppress "set but not used" warning.
17325 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17327 * string/strncat.c (STRNCAT): Use prototype definition.
17329 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17330 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17332 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17333 (localedef-modules): Add localedef.
17334 (locale-modules): Add locale.
17336 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17337 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17338 to avoid a warning.
17340 2011-08-14 David S. Miller <davem@davemloft.net>
17342 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17343 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17345 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17347 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17348 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17349 * elf/rtld.c (dl_main): Set l_name of vDSO.
17350 Call _dl_show_scope when DL_DEBUG_SCOPES.
17351 (process_dl_debug): Recognize scopes flag and also set it for all.
17352 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17353 Declare _dl_show_scope.
17355 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17356 (do_dlopen): Pass caller_dlopen to dl_open.
17357 (__libc_dlopen_mode): Initialize caller_dlopen.
17359 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17360 of libc. Make tolower call locale-independent. Optimize a bit by
17361 using isdigit instead of isalnum.
17362 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17364 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17366 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17367 was a dependency or dynamically loaded.
17369 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17371 * intl/l10nflist.c: Allow architecture-specific pop function.
17372 * sysdeps/x86_64/l10nflist.c: New file.
17374 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17377 2011-08-10 Andreas Schwab <schwab@redhat.com>
17379 * include/dirent.h: Add libc_hidden_proto for scandirat and
17380 scandirat64. Don't declare __scandirat64.
17381 * dirent/scandirat.c: Add libc_hidden_def.
17382 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17383 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17385 2011-08-10 David S. Miller <davem@davemloft.net>
17387 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17393 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17395 * Versions.def [libc]: Add GLIBC_2.15.
17396 * dirent/Makefile (routines): Add scandirat and scandirat64.
17397 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17399 * dirent/dirent.h: Declare scandirat and scandirat64.
17400 * dirent/scandirat.c: New file.
17401 * dirent/scandirat64.c: New file.
17402 * sysdeps/wordsize-64/scandirat.c: New file.
17403 * sysdeps/wordsize-64/scandirat64.c: New file.
17404 * dirent/opendir.c: Define opendirat.
17405 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17407 * dirent/scandir64.c: Adjust for scandir.c change.
17408 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17409 __scandirat64, and __scandir_cancel_handler.
17410 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17411 additional parameter and use openat instead of open (outside of ld.so).
17412 Add new __opendir as wrapper around __opendirat.
17413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17414 here without requiring old scandirat implementation.
17416 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17418 * dirent/scandir.c (cancel_handler): Renamed to
17419 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17420 defined. Adjust users.
17421 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17422 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17424 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17426 * string/test-string.h (IMPL): Use __STRING to expand name and then
17429 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17432 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17434 * string/Makefile: Update.
17435 (strop-tests): Append strncat.
17436 * string/test-wcscmp.c: New file.
17437 New comprehensive test for wcscmp.
17438 * string/test-strcmp.c: Update.
17439 (WIDE): New define.
17441 2011-07-22 Andreas Schwab <schwab@redhat.com>
17443 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17446 2011-07-26 Andreas Schwab <schwab@redhat.com>
17448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17449 encoding to ACE if AI_IDN.
17451 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17454 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17456 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17459 Fix overflow bug in strncat.
17460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17462 * string/test-strncat.c: Update.
17463 Add new tests for checking overflow bugs.
17465 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17468 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17469 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17470 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17471 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17472 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17473 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17474 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17475 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17478 (USE_AS_STRCAT): Define.
17479 Add strcat and strncat support.
17480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17482 2011-07-25 Andreas Schwab <schwab@redhat.com>
17484 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17485 __n bigger than INT_MAX+1.
17486 (__strncmp_g): Likewise.
17488 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17490 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17491 * libio/stido.h: Likewise.
17493 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17498 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17505 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17510 (_dl_x86_64_save_sse): Likewise.
17512 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17516 (_dl_x86_64_save_sse): Likewise.
17518 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17520 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17522 2011-07-21 Andreas Schwab <schwab@redhat.com>
17524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17526 (_dl_x86_64_save_sse): Use correct AVX check.
17528 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17530 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17531 bug in strncpy/strncat.
17532 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17534 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17536 * string/tester.c (test_strcat): Add tests for different alignments
17537 of source and destination.
17538 (test_strncat): Likewise.
17540 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17543 * posix/glob.c (glob): Check passed in values before using them in
17544 expressions to avoid some overflows.
17545 (glob_in_dir): Likewise.
17548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17549 check for AVX enablement so that we don't crash with old kernels and
17551 * elf/tst-audit4.c: Add same checks here.
17552 * elf/tst-audit6.c: Likewise.
17554 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17556 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17558 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17560 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17562 * po/cs.po: Update from translation team.
17563 * po/bg.po: Likewise.
17565 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17567 * misc/sys/cdefs.h: Add support for const attribute.
17568 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17569 to gnu_dev_{major,minor,makedev} functions.
17571 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17573 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17575 2011-07-20 Andreas Schwab <schwab@redhat.com>
17577 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17580 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17583 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17584 register in order to avoid conflicts with the soft frame pointer
17585 being held in r11 when necessary.
17586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17587 (INTERNAL_VSYSCALL_NCS): Likewise.
17589 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17591 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17592 * elf/dl-fini.c (_dl_fini): Adjust caller.
17593 * elf/dl-close.c (_dl_close_worker): Likewise.
17594 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17596 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17598 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17599 "aux_cache->nlibs < 0".
17601 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17602 in the reload-count case.
17604 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17607 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17608 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17609 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17610 * sysdeps/x86_64/multiarch/strcat.S: New file.
17611 * sysdeps/x86_64/multiarch/strncat.S: New file.
17612 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17613 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17614 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17615 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17617 (USE_AS_STRCAT): Define.
17618 Add strcat and strncat support.
17619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17621 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17622 * string/strncat.c: Update.
17623 (USE_AS_STRNCAT): Define.
17624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17625 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17627 * sysdeps/x86_64/multiarch/init-arch.h
17628 (bit_Prefer_PMINUB_for_stringop): New.
17629 (index_Prefer_PMINUB_for_stringop): Likewise.
17630 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17631 bit_Prefer_PMINUB_for_stringop.
17633 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17635 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17637 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17638 of casting of buffer.
17639 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17640 buffer32 and buffer64.
17641 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17642 writes instead of casting of buffer.
17643 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17645 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17648 2011-07-19 Andreas Schwab <schwab@redhat.com>
17650 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17652 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17654 * nscd/nscd.c (termination_handler): Don't do anything for a database
17655 if it has not yet been initialized.
17657 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17659 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17661 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17663 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17665 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17667 * po/nl.po: Update from translation team.
17668 * po/sv.po: Likewise.
17670 2011-07-16 Roland McGrath <roland@hack.frob.com>
17672 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17673 now disallowed by GCC.
17675 * configure.in (use-default-link): Default to yes if a test -shared
17676 link meets our qualifications.
17677 * configure: Regenerated.
17679 * config.make.in (output-format): New variable.
17680 * configure.in: Check for ld --print-output-format support.
17681 * configure: Regenerated.
17682 * Makerules ($(common-objpfx)format.lds)
17683 [$(output-format) != unknown]: Just use $(output-format),
17684 instead of the linker-script munging.
17686 2011-07-14 Roland McGrath <roland@hack.frob.com>
17688 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17689 of $(common-objpfx)shlib.lds.
17690 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17692 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17693 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17695 * configure.in (-z relro check): Adjust test code to add a large
17696 writable data section after it.
17697 * configure: Regenerated.
17699 2011-07-11 Roland McGrath <roland@hack.frob.com>
17701 * configure.in (-z relro check): Fix test code to make the variable
17703 * configure: Regenerated.
17705 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17707 * nscd/nscd.h (struct traced_file): Define.
17708 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17709 elements. Add traced_files.
17710 (inotify_fd): Declare.
17711 (register_traced_file): Declare.
17712 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17713 (inotify_fd): Export.
17714 (resolv_conf_descr): Remove.
17715 (nscd_init): Move inotify descriptor creation to main.
17716 Don't register files for notification here.
17717 (register_traced_file): New function.
17718 (invalidate_cache): Don't use reset_res to determine whether to call
17719 res_init, go through the list of registered files.
17720 (main_loop_poll): The inotify descriptors are now stored in the
17721 structures for the traced files.
17722 (main_loop_epoll): Likewise
17723 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17724 to __nss_disable_nscd.
17725 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17726 for a database anymore. Check the records for all the registered
17728 * nss/Makefile (libnss_files-routines): Add files-init.
17729 (libnss_db-routines): Add db-init.
17730 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17731 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17732 * nss/nss_db/db-init.c: New file.
17733 * nss/nss_files/files-init.c: New file.
17734 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17735 __nss_lookup_function.
17736 (__nss_lookup_function): Call nss_load_library.
17737 (nss_load_all_libraries): New function.
17738 (__nss_disable_nscd): Take parameter with callback function for files
17739 to register. Set is_nscd. Load all the DSOs for the NSS modules
17740 used for the cached services.
17741 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17742 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17743 options for features to all the files in nscd.
17745 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17747 2011-07-10 Roland McGrath <roland@hack.frob.com>
17749 * csu/elf-init.c (__libc_csu_init): Comment typo.
17751 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17753 * po/pl.po: Update from translation team.
17754 * po/ja.po: Likewise.
17755 * po/ru.po: Likewise.
17756 * po/ko.po: Likewise.
17757 * po/fr.po: Likewise.
17759 2011-07-09 Roland McGrath <roland@hack.frob.com>
17761 * configure.in (.ctors/.dtors header and trailer check):
17762 Use an empirical test on a built program.
17763 * configure: Regenerated.
17765 * configure.in (-z relro check): Use an empirical test on a built DSO.
17766 Detect, but do not require, on ia64.
17767 * configure: Regenerated.
17769 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17770 Update tests that use readelf to use $READELF instead.
17771 * configure: Regenerated.
17773 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17775 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17776 if the result is not used.
17778 2011-07-05 Andreas Jaeger <aj@suse.de>
17781 * stdlib/tst-strtod.c: Add testcase.
17783 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17785 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17786 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17787 The latter has a higher limit. Take additional parameter to pass to
17789 (__pathconf): Pass file to __statfs_link_max.
17790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17792 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17796 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17800 (__statfs_filesize_max): Likewise.
17801 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17803 2011-07-05 Andreas Jaeger <aj@suse.de>
17805 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17807 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17809 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17811 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17814 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17816 * Makefile (strop-tests): Add strncat.
17817 * string/test-strncat.c: New file.
17819 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17821 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17823 2011-06-21 Andreas Jaeger <aj@suse.de>
17825 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17826 Copy rule from iconvdata/Makefile.
17828 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17831 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17832 but no long options are defined, just return 'W'.
17834 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17837 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17839 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17841 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17843 (innetgr): Likewise.
17845 2011-07-05 Roland McGrath <roland@hack.frob.com>
17847 * config.make.in (install_root): Default to $(DESTDIR).
17849 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17851 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17853 2011-07-02 Roland McGrath <roland@hack.frob.com>
17855 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17857 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17858 containing directory rather than embedding absolute directory names.
17860 * scripts/check-local-headers.sh: Rewritten using awk.
17861 Match by word, not by line. Print error messages for matches.
17862 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17864 * Makerules [shlib-lds-flags empty]:
17865 ($(common-objpfx)libc_pic.opts): New target.
17866 ($(common-objpfx)libc_pic.os.clean): New target.
17867 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17869 * config.make.in (OBJCOPY): New variable.
17870 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17871 * configure: Regenerated.
17873 * config.make.in (use-default-link): New variable.
17874 * configure.in (use_default_link): Grok --with-default-link to set it.
17875 * configure: Regenerated.
17876 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17877 (shlib-lds, shlib-lds-flags): Define to empty.
17879 * Makerules (shlib-lds): New variable.
17880 (shlib-lds-flags): New variable.
17881 (build-shlib, build-moduile, build-module-asneeded): Use it.
17882 ($(common-objpfx)libc.so): Use $(shlib-lds).
17883 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17884 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17886 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17887 DT_FLAGS/DT_FLAGS_1 with zero flags.
17889 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17890 linker script munging.
17892 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17894 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17896 * crypt/sha512.c (sha512_process_block): Perform total addition using
17897 128-bit if possible.
17898 (__sha512_finish_ctx): Likewise.
17899 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17901 * crypt/sha256.c (SWAP64): Define.
17902 (sha256_process_block): Perform total addition using 64-bit if
17904 (__sha256_finish_ctx): Likewise.
17906 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17908 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17910 * nscd/hstcache.c (cache_addhst): Likewise.
17911 * nscd/grpcache.c (cache_addgr): Likewise.
17912 * nscd/aicache.c (addhstaiX): Likewise
17913 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17915 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17917 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17919 * nscd/hstcache.c (cache_addhst): Likewise.
17920 * nscd/grpcache.c (cache_addgr): Likewise.
17921 * nscd/aicache.c (addhstaiX): Likewise
17923 2011-07-01 Andreas Schwab <schwab@redhat.com>
17925 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17926 domain only when needed.
17928 2011-06-30 Andreas Schwab <schwab@redhat.com>
17930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17931 is always restored.
17933 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17935 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17936 are re-adding the entry.
17937 * nscd/servicescache.c (cache_addserv): Likewise.
17939 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17941 * sysdeps/generic/dl-irel.h: fix protection against multiple
17943 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17945 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17948 * malloc/memusage.sh: Fix quoting in message.
17949 * debug/xtrace.sh: Likewise.
17951 * configure.in: Remove support for --experimental-malloc option, make
17953 * config.make.in: Likewise.
17954 * malloc/Makefile: Likewise.
17956 2011-06-27 Andreas Schwab <schwab@redhat.com>
17958 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17959 two-byte characters.
17961 2011-06-27 Roland McGrath <roland@hack.frob.com>
17963 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17964 AC_CACHE_CHECK invocation.
17965 * configure: Regenerated.
17967 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17969 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17972 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17973 bit from old_res_options.
17975 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17977 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17978 value type for setfct.
17980 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17983 __gettimeofday instead of gettimeofday.
17985 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17987 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17989 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17996 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17999 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18000 strcpy-sse2-unaligned strncpy-sse2-unaligned
18001 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18002 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18003 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18004 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18005 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18006 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18008 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18009 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18010 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18011 (STRCPY): Support SSE2 and SSSE3 versions.
18013 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18016 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18017 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18018 kernels which artificially limit size of requests.
18020 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18023 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18024 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18025 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18026 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18027 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18028 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18029 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18030 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18032 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18033 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18034 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18035 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18036 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18038 Enable unaligned load optimization for Intel Core i3, i5 and i7
18040 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18042 (index_Fast_Unaligned_Load): Define.
18043 (HAS_FAST_UNALIGNED_LOAD): Define.
18045 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18047 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18049 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18053 until it is clear that the information is realy needed.
18054 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18056 2011-06-22 Andreas Schwab <schwab@redhat.com>
18058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18060 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18063 /sys/devices/system/cpu/online if it is usable.
18065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18066 reading the information from the /proc filesystem to once a second.
18068 2011-06-21 Andreas Jaeger <aj@suse.de>
18070 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18071 NULL after inclusion of kernel headers.
18073 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18075 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18076 calls to internal_setent.
18079 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18080 addresses using gethostbyname4_r ignore IPv4 addresses.
18082 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18083 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18085 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18087 2011-06-20 David S. Miller <davem@davemloft.net>
18089 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18091 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18093 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18094 (elf_irel): Use it.
18095 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18096 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18097 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18098 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18099 * sysdeps/x86_64/dl-irel.h: Likewise.
18101 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18102 * elf/dl-sym.c: Likewise.
18104 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18106 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18107 need to dereference resplen2.
18109 2011-06-14 Andreas Schwab <schwab@redhat.com>
18111 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18113 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18115 * Makeconfig: Define vardbdir and inst_vardbdir.
18116 * nss/Makefile: Add rules to install db-Makefile.
18118 * nss/nss_db/db-XXX.c: Cleanup.
18120 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18121 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18123 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18124 * nss/makedb.c: Implement -g option to specify that value strings
18125 are generated and should not be added to table iterated over for
18127 * nss/nss_db/db-initgroups.c: New file.
18129 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18132 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18133 (internal_getgrouplist): Adjust to name change.
18134 Update use_initgroups_entry if this is not the first call.
18135 * nss/databases.def: Add initgroups entry.
18137 * nss/makedb.c (compute_tables): Check result of multiple hash table
18138 sizes to minimize maximum chain length.
18140 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18142 * Versions.def: Add entry for libnss_db.
18143 * shlib-versions: Likewise.
18144 * nss/Makefile: Add rules to build libnss_db.
18145 * nss/Versions: Add libnss_db information. Organize libnss_files
18147 * nss/db-Makefile: Add gshadow support. Change rules for the new
18148 makedb progra. Some minor improvements to generate smaller files.
18149 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18151 * nss/makedb.c: ...here.
18152 Improve database format to be smaller and require less memory at
18154 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18156 * nss/nss_db/db-netgrp.c: Likewise.
18157 * nss/nss_db/db-open.c: Likewise.
18158 * nss/nss_files/flies-XXX.x: Adjust comments.
18159 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18160 * nss/nss_files/files-grp.c: Likewise.
18161 * nss/nss_files/files-hosts.c: Likewise.
18162 * nss/nss_files/files-network.c: Likewise.
18163 * nss/nss_files/files-proto.c: Likewise.
18164 * nss/nss_files/files-pwd.c: Likewise.
18165 * nss/nss_files/files-rpc.c: Likewise.
18166 * nss/nss_files/files-service.c: Likewise.
18167 * nss/nss_files/files-sgrp.c: Likewise.
18168 * nss/nss_files/files-spwd.c: Likewise.
18169 * nss/nss_db/db-alias.c: Removed.
18170 * nss/nss_db/dummy-db.h: Removed.
18172 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18174 * nss/makedb.c: Rewritten to not use database library.
18175 * nss/Makefile: Update to build new makedb program.
18177 2011-06-14 Andreas Jaeger <aj@suse.de>
18179 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18180 memset declaration.
18182 2011-06-10 Andreas Schwab <schwab@redhat.com>
18184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18187 2011-06-10 Roland McGrath <roland@hack.frob.com>
18189 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18190 * elf/Makefile ($(objpfx)ld.so): Likewise.
18192 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18193 Don't list ld.so twice in dependencies.
18195 * posix/bug-regex31.c: Include <stdlib.h>.
18197 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18199 * nis/nss_compat/compat-spwd.c
18200 (getspent_next_nss_netgr): Remove unused variable.
18201 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18203 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18204 nonmembers" output to use the right array.
18206 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18208 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18210 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18211 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18212 * catgets/gencat.c (read_input_file): Likewise.
18213 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18215 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18216 variable definition inside #if's controlling its use.
18218 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18220 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18222 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18224 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18227 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18229 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18230 * configure: Regenerated.
18232 * Makerules: Revert last change.
18233 * elf/Makefile: Likewise.
18235 2011-06-09 Roland McGrath <roland@hack.frob.com>
18237 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18238 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18239 (reloc-link): Likewise.
18241 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18243 * elf/Makefile: Add rules to build pldd.
18244 * elf/pldd.c: New file.
18245 * elf/pldd-xx.c: New file.
18247 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18249 * version.h: Update for 2.15 development version.
18251 2011-06-07 David S. Miller <davem@davemloft.net>
18253 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18256 elf_machine_lazy_rel): Likewise.
18257 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18259 elf_machine_lazy_rel): Likewise.
18260 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18261 dl_hwcap via passed in argument.
18262 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18265 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18267 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18269 2011-06-06 Roland McGrath <roland@hack.frob.com>
18272 * manual/fdl-1.1.texi: New file, verbatim from:
18273 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18274 * manual/lgpl-2.1.texi: New file, verbatim from:
18275 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18276 * manual/Makefile (licenses): New variable, list those new file names.
18278 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18280 * manual/fdl.texi: File removed.
18281 * manual/lesser.texi: File removed.
18282 * manual/libc.texinfo (Copying, Documentation License):
18283 Use new @include file names, put @appendix directive before @include.
18285 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18288 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18289 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18290 (mq_open): Add __NTH.
18292 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18295 Assume Intel Core i3/i5/i7 processor if AVX is available.
18297 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18302 2011-05-31 Andreas Schwab <schwab@redhat.com>
18304 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18305 memory. Use alloca_account. Fix memory leak when retrying.
18307 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18309 * version.h (RELEASE): Bump for 2.14 release.
18310 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18312 * config.make.in (RANLIB): Remove entry.
18314 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18316 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18317 (libc.pot): Work around missing support for .ksh extension in xgettext.
18320 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18321 if both request failed.
18322 (send_dg): In case of server errors clear resplen or *resplen2.
18325 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18326 when there are multiple maps.
18327 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18328 (_dl_fini): Remove test here.
18330 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18332 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18335 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18336 bit from old_res_options.
18337 (gaih_inet): Likewise.
18340 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18343 * resolv/res_init.c (res_setoptions): Make the code more compact.
18346 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18350 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18352 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18355 * malloc/malloc.h: Declare malloc hook variables as volatile.
18357 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18361 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18362 raise in the comment.
18363 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18365 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18367 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18370 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18371 grow the buffers more if it already has to be sufficient.
18372 (build_wcs_upper_buffer): Likewise.
18373 * posix/regexec.c (check_matching): Likewise.
18374 (clean_state_log_if_needed): Likewise.
18375 (extend_buffers): Don't enlarge buffers beyond size of the input
18377 Patches mostly by Emil Wojak <emil@wojak.eu>.
18378 * posix/bug-regex32.c: New file.
18379 * posix/Makefile (tests): Add bug-regex32.
18381 * locale/findlocale.c (_nl_find_locale): Return right away if
18382 _nl_explode_name failed.
18383 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18385 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18387 * debug/xtrace.sh: Unify messages.
18388 * malloc/memusage.sh: Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18392 time symbol from vDSO. Substitute with vsyscall if not available.
18393 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18396 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18397 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18398 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18399 Add sendmmsg and internal_sendmmsg.
18400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18401 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18402 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18404 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18405 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18408 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18412 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18414 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18418 * iconvdata/Makefile (tests): Add bug-iconv9.
18419 * iconvdata/bug-iconv9.c: New file.
18421 2011-05-27 Andreas Schwab <schwab@redhat.com>
18424 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18426 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18429 (struct user_regs_struct): Change intcs field back to cs.
18431 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18433 * po/ja.po: Update from translation team.
18435 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18438 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18439 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18441 2011-05-20 Andreas Schwab <schwab@redhat.com>
18443 * stdlib/longlong.h: Update from GCC.
18445 2011-05-23 Andreas Schwab <schwab@redhat.com>
18447 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18449 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18450 Add parameter name.
18451 (__sysconf): Pass it down.
18453 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18456 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18459 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18460 add in in __libc_use_alloca calls. Adjust callers.
18461 (glob): Use malloc in some situations.
18463 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18464 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18467 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18469 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18470 and CLOCK_BOOTTIME_ALARM.
18473 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18476 * string/_strerror.c (__strerror_r): Print negative errors as signed
18480 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18481 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18482 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18484 * configure.in: Fix typo in redirection and correct removal of test
18485 files in two cases.
18488 * locale/setlocale.c (new_composite_name): Fix test to check for
18489 identical name of all categories.
18492 * libio/filedoalloc.c (local_isatty): New function.
18493 (_IO_file_doallocate): Use local_isatty.
18494 * stdio-common/perror.c (perror): In case a new stream is used
18495 forward the stream error.
18496 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18499 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18504 * include/alloca.h (extend_alloca_account): Define.
18507 * posix/regex.h: Fix comments with documentation of user-accessible
18508 fields after compilation and describe correct free'ing of pattern
18509 after re_compile_pattern.
18510 Patch by Reuben Thomas <rrt@sc3d.org>.
18512 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18514 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18515 and -mno-altivec to prevent the compiler from using Altivec and/or
18516 VSX instructions when the corresponding registers are not available.
18518 2011-05-19 Andreas Schwab <schwab@redhat.com>
18520 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18522 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18524 * libio/freopen.c (freopen): Use __dup2, not dup2.
18525 * libio/freopen64.c (freopen64): Likewise.
18527 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18530 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18531 * math/Makefile (tests): Add test-powl.
18532 (CFLAGS-test-powl.c): Define.
18533 * math/test-powl.c: New file.
18535 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18537 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18539 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18542 * iconvdata/gb18030.c: Update to GB18020-2005.
18544 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18546 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18547 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18548 Patch by Aharon Robbins <arnold@skeeve.com>.
18551 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18555 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18556 through underflows.
18559 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18560 point to strings before performing equality test for error_one_per_line
18564 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18568 (struct user_fpregs_struct): Avoid __uint*_t types.
18571 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18572 symbol info. Use it instead of calling _dl_addr locally.
18573 (lock_and_info): New function.
18574 (tr_freehook): Call lock_and_info and pass symbol info as additional
18575 parameter to tr_where.
18576 (tr_mallochook): Likewise.
18577 (tr_reallochook): Likewise.
18578 (tr_memalignhook): Likewise.
18580 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18581 used and couldn't be at all thread-safe.
18583 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18585 * libio/freopen.c (freopen): Don't close old file descriptor
18586 before the new one is opened. Instead dup the new file descriptor
18587 to the old one after the new stream is created.
18588 * libio/freopen64.c (freopen64): Likewise.
18589 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18590 * libio/fileops.c (_IO_new_file_close_it): Handle new
18591 _IO_FLAGS2_NOCLOSE flag.
18592 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18593 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18594 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18595 _IO_FLAGS2_NOCLOSE flag.
18596 * include/unistd.h: Add hidden_proto for dup3.
18597 Define __have_dup3.
18598 * io/dup3.c: Define hidden symbol.
18599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18602 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18603 when an incomplete long option is used.
18604 * posix/tst-getopt_long1.c: New file.
18605 * posix/Makefile (tests): Add tst-getopt_long1.
18608 * scripts/config.guess: Update from autoconf-2.68.
18609 * scripts/config.sub: Likewise.
18612 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18614 (has_cpuclock): ...this. New function.
18615 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18616 macro here based on has_cpuclock code.
18619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18620 First byte (not low byte) is now always NUL.
18621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18624 Use non-cancelable interfaces.
18627 * locale/iso-639.def: Add entry for Sorani.
18630 * include/stdlib.h: Move include protection to the right place.
18631 Define abort_msg_s. Declare __abort_msg with it.
18632 * stdlib/abort.c (__abort_msg): Adjust type.
18633 * assert/assert.c (__assert_fail_base): New function. Majority
18634 of code from __assert_fail. Allocate memory for __abort_msg with
18636 (__assert_fail): Now call __assert_fail_base.
18637 * assert/assert-perr.c: Remove bulk of implementation. Use
18638 __assert_fail_base.
18639 * include/assert.hL Declare __assert_fail_base.
18640 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18642 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18644 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18648 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18649 until all modules are registered in the DTV.
18650 * elf/Makefile: Add rules to build and run tst-tls19.
18651 * elf/tst-tls19.c: New file.
18652 * elf/tst-tls19mod1.c: New file.
18653 * elf/tst-tls19mod2.c: New file.
18654 * elf/tst-tls19mod3.c: New file.
18655 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18658 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18662 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18663 two-byte sequence errors.
18664 * iconvdata/Makefile (tests): Add bug-iconv8.
18665 * iconvdata/bug-iconv8.c: New file.
18668 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18671 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18674 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18675 (dummy_getcfa): New function.
18676 (init): Get _Unwind_GetCFA address, use dummy if not found.
18677 (backtrace_helper): In recursion check, also check whether CFA changes.
18678 (__backtrace): Completely initialize arg.
18680 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18681 storing incomplete byte sequence in state object. Avoid testing for
18682 guaranteed too small input if we know there is enough data available.
18684 2011-05-11 Andreas Schwab <schwab@redhat.com>
18686 * Makeconfig (+link-pie): Indent.
18687 * Rules (binaries-pie): Define if $(have-fpie) and
18689 (binaries-shared): Also filter out $(binaries-pie).
18690 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18691 * nscd/Makefile (others-pie): Add nscd.
18692 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18693 ($(objpfx)nscd): Remove command override.
18694 * login/Makefile (others-pie): Add pt_chown.
18695 ($(objpfx)pt_chown): Remove command override.
18696 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18697 remove command overrides.
18699 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18701 * libio/tst_putwc.c: Fix error messages.
18704 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18705 currently writing and seek to current position when not.
18706 * libio/Makefile (tests): Add bug-fclose1.
18707 * libio/bug-fclose1.c: New file.
18709 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18712 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18713 don't set DF_1_NODELETE here.
18714 (do_lookup_x): When entering new entry test for copy relocation
18715 and if necessary set DF_1_NODELETE flag.
18716 * elf/tst-unique4.cc: New file.
18717 * elf/tst-unique4.h: New file.
18718 * elf/tst-unique4lib.cc: New file.
18719 * elf/Makefile: Add rules to build and run tst-unique4.
18720 Patch by Piotr Bury <pbury@goahead.com>.
18722 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18725 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18728 * misc/mntent_r.c (addmntent): Flush the stream after the output
18731 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18732 (is_trusted_path_normalize): Skip initial colon. Append slash
18733 to empty buffer. Duplicate is_trusted_path code but allow
18734 constructed patch to be prefix.
18735 (is_dst): Allow $ORIGIN followed by /.
18736 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18737 Correct testing of result of is_trusted_path_normalize
18738 (decompose_rpath): Fix warning.
18740 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18743 * grp/initgroups.c (internal_getgrouplist): When we found the service
18744 list through the initgroups entry in nsswitch.conf do not always
18745 continue on a successful lookup. Don't always use the
18746 __nss_group_database value if it is set.
18747 * nss/nsswitch.conf (initgroups): Change action for successful db
18748 lookup to continue for compatibility.
18750 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18753 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18755 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18757 * iconvdata/tst-tables.sh: Likewise.
18758 * iconvdata/cp770.c: New file.
18759 * iconvdata/cp771.c: New file.
18760 * iconvdata/cp772.c: New file.
18761 * iconvdata/cp773.c: New file.
18762 * iconvdata/cp774.c: New file.
18763 * iconvdata/testdata/CP770: New file.
18764 * iconvdata/testdata/CP770..UTF8: New file.
18765 * iconvdata/testdata/CP771: New file.
18766 * iconvdata/testdata/CP771..UTF8: New file.
18767 * iconvdata/testdata/CP772: New file.
18768 * iconvdata/testdata/CP772..UTF8: New file.
18769 * iconvdata/testdata/CP773: New file.
18770 * iconvdata/testdata/CP773..UTF8: New file.
18771 * iconvdata/testdata/CP774: New file.
18772 * iconvdata/testdata/CP774..UTF8: New file.
18774 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18776 * iconvdata/gen-8bit-gap.sh: Likewise.
18777 * iconvdata/gen-8bit.sh: Likewise.
18779 * locale/iso-639.def: Add ary entry.
18782 * locale/C-translit.h.in: Add U20A1 transliteration.
18785 * locale/iso-639.def: Add wae entry.
18786 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18789 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18793 * locale/C-translit.h.in: Add entry for U20B9.
18794 Patch by pravin.d.s@gmail.com.
18796 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18799 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18800 ENAMETOOLONG use generic getcwd.
18801 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18802 in rtld. Use *stat64.
18803 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18804 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18805 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18806 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18807 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18808 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18809 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18810 __fstatat64 macros.
18811 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18812 * dirent/rewinddir.c: Add libc_hidden_def.
18813 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18814 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18816 * include/dirent.h (__alloc_dir): Add flags parameter.
18817 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18818 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18820 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18821 from fdopendir if O_CLOEXEC is already set.
18823 2011-03-15 Alan Modra <amodra@gmail.com>
18825 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18826 l_tls_firstbyte_offset non-zero. Save padding offset in
18827 l_tls_firstbyte_offset for later use.
18828 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18829 freeing static tls block.
18831 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18833 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18834 where #ifdef was intended. The intent is to prevent ARG_MAX from
18835 being defined by the kernel headers.
18837 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18840 * resolv/resolv.h: Define RES_NOTLDQUERY.
18841 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18842 no-tld-query and set RES_NOTLDQUERY.
18843 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18844 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18845 modern BIND to search name as TLD unless forbidden.
18847 2011-05-07 Petr Baudis <pasky@suse.cz>
18848 Ulrich Drepper <drepper@gmail.com>
18851 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18852 (is_trusted_path): ...to here.
18853 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18854 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18855 using is_trusted_path_normalize() in setuid scripts.
18857 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18859 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18860 __BEGIN/__END_DECLS.
18862 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18865 NSS_STATUS_NOTFOUND if no record was found.
18867 2011-05-05 Andreas Schwab <schwab@redhat.com>
18869 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18870 (headers-not-in-tirpc): Remove rpc/netdb.h
18871 * resolv/netdb.h: Revert last change.
18873 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18875 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18876 circular dependency between libgcc.a and libc.a.
18878 2011-05-05 Andreas Schwab <schwab@redhat.com>
18880 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18881 * nis/Makefile: Don't install rpcsvc/*.
18882 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18883 instead of <rpc/types.h>.
18884 (MAXHOSTNAMELEN): Define.
18886 2011-05-03 Andreas Schwab <schwab@redhat.com>
18888 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18890 2011-04-28 Maciej Babinski <mbabinski@google.com>
18893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18894 gethostbyname4_r when IPv6 results are possible.
18896 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18899 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18900 _PC_PIPE_BUF handling.
18902 2011-04-30 Bruno Haible <bruno@clisp.org>
18905 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18906 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18908 * inet/getnameinfo.c (getnameinfo): Likewise.
18910 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18912 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18913 to groups setting in database lookup.
18914 * nss/nsswitch.conf: Add initgroups entry.
18916 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18919 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18921 Patch by Eric Blake <eblake@redhat.com>.
18923 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18925 * sunrpc/Makefile (need-export-routines): Add svc_run.
18926 (routines): Remove svc_run.
18927 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18928 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18929 * sunrpc/svc_run.c (svc_run): Likewise.
18930 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18932 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18935 problem in reallocation in last patch.
18937 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18939 * sunrpc/Makefile: Move inclusion of Rules.
18941 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18943 * nss/nss_files/files-initgroups.c: New file.
18944 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18945 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18946 _nss_files_initgroups_dyn.
18948 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18950 * elf/elf.h (R_ARM_IRELATIVE): Define.
18952 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18954 * po/ru.po: Update from translation team.
18956 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18958 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18961 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18964 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18965 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18970 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18972 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18978 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18981 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18983 * stdlib/bug-getcontext.c: New file.
18984 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18986 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18988 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18989 instructions into .machine "z9-109".
18990 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18991 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18993 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18995 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18996 between environment variables and auxiliary vector.
18998 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19000 * Makefile: Add rules to build linkobj/libc.so.
19001 * include/libc-symbols.h: Define libc_hidden_nolink.
19002 * include/rpc/auth.h: Mark functions which are to be hidden.
19003 * include/rpc/auth_des.h: Likewise.
19004 * include/rpc/auth_unix.h: Likewise.
19005 * include/rpc/clnt.h: Likewise.
19006 * include/rpc/des_crypt.h: Likewise.
19007 * include/rpc/key_prot.h: Likewise.
19008 * include/rpc/pmap_clnt.h: Likewise.
19009 * include/rpc/pmap_prot.h: Likewise.
19010 * include/rpc/pmap_rmt.h: Likewise.
19011 * include/rpc/rpc_msg.h: Likewise.
19012 * include/rpc/svc.h: Likewise.
19013 * include/rpc/svc_auth.h: Likewise.
19014 * include/rpc/xdr.h: Likewise.
19015 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19016 * nss/Makefile: Likewise.
19017 * sunrpc/Makefile: Don't install headers. Build library with normal
19018 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19019 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19020 for the compat linking library. Remove use of INTDEF/INTUSE.
19021 * sunrpc/auth_none.c: Likewise.
19022 * sunrpc/auth_unix.c: Likewise.
19023 * sunrpc/authdes_prot.c: Likewise.
19024 * sunrpc/authuxprot.c: Likewise.
19025 * sunrpc/clnt_gen.c: Likewise.
19026 * sunrpc/clnt_perr.c: Likewise.
19027 * sunrpc/clnt_raw.c: Likewise.
19028 * sunrpc/clnt_simp.c: Likewise.
19029 * sunrpc/clnt_tcp.c: Likewise.
19030 * sunrpc/clnt_udp.c: Likewise.
19031 * sunrpc/clnt_unix.c: Likewise.
19032 * sunrpc/des_crypt.c: Likewise.
19033 * sunrpc/des_soft.c: Likewise.
19034 * sunrpc/get_myaddr.c: Likewise.
19035 * sunrpc/key_call.c: Likewise.
19036 * sunrpc/key_prot.c: Likewise.
19037 * sunrpc/netname.c: Likewise.
19038 * sunrpc/pm_getmaps.c: Likewise.
19039 * sunrpc/pm_getport.c: Likewise.
19040 * sunrpc/pmap_clnt.c: Likewise.
19041 * sunrpc/pmap_prot.c: Likewise.
19042 * sunrpc/pmap_prot2.c: Likewise.
19043 * sunrpc/pmap_rmt.c: Likewise.
19044 * sunrpc/publickey.c: Likewise.
19045 * sunrpc/rpc_cmsg.c: Likewise.
19046 * sunrpc/rpc_common.c: Likewise.
19047 * sunrpc/rpc_dtable.c: Likewise.
19048 * sunrpc/rpc_prot.c: Likewise.
19049 * sunrpc/rpc_thread.c: Likewise.
19050 * sunrpc/rtime.c: Likewise.
19051 * sunrpc/svc.c: Likewise.
19052 * sunrpc/svc_auth.c: Likewise.
19053 * sunrpc/svc_authux.c: Likewise.
19054 * sunrpc/svc_raw.c: Likewise.
19055 * sunrpc/svc_run.c: Likewise.
19056 * sunrpc/svc_simple.c: Likewise.
19057 * sunrpc/svc_tcp.c: Likewise.
19058 * sunrpc/svc_udp.c: Likewise.
19059 * sunrpc/svc_unix.c: Likewise.
19060 * sunrpc/svcauth_des.c: Likewise.
19061 * sunrpc/xcrypt.c: Likewise.
19062 * sunrpc/xdr.c: Likewise.
19063 * sunrpc/xdr_array.c: Likewise.
19064 * sunrpc/xdr_float.c: Likewise.
19065 * sunrpc/xdr_intXX_t.c: Likewise.
19066 * sunrpc/xdr_mem.c: Likewise.
19067 * sunrpc/xdr_rec.c: Likewise.
19068 * sunrpc/xdr_ref.c: Likewise.
19069 * sunrpc/xdr_sizeof.c: Likewise.
19070 * sunrpc/xdr_stdio.c: Likewise.
19072 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19075 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19076 * sysdeps/ia64/dl-tls.h: Likewise.
19077 * sysdeps/powerpc/dl-tls.h: Likewise.
19078 * sysdeps/s390/dl-tls.h: Likewise.
19079 * sysdeps/sh/dl-tls.h: Likewise.
19080 * sysdeps/sparc/dl-tls.h: Likewise.
19081 * sysdeps/x86_64/dl-tls.h: Likewise.
19082 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19084 2011-03-14 Andreas Schwab <schwab@redhat.com>
19086 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19087 rpath element also skip the following colon.
19088 (expand_dynamic_string_token): Add is_path parameter and pass
19089 down to DL_DST_REQUIRED and _dl_dst_substitute.
19090 (decompose_rpath): Call expand_dynamic_string_token with
19091 non-zero is_path. Ignore empty rpaths.
19092 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19095 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19100 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19103 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19104 Patch by Filipe David Manana <fdmanana@apache.org>.
19106 2011-04-07 Andreas Schwab <schwab@redhat.com>
19108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19109 Maintain aligned stack.
19110 (CHECK_RSP): Remove unused macro.
19112 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19114 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19115 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19117 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19119 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19121 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19123 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19126 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19127 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19128 * sysdeps/x86_64/memmove.c: New file.
19129 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19130 (memcpy): Renamed to ...
19131 (__new_memcpy): This.
19132 (memcpy): Provide GLIBC_2_14 memcpy.
19133 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19134 (memcpy): Provide GLIBC_2_2_5 memcpy.
19136 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19139 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19141 2011-03-30 Andreas Schwab <schwab@redhat.com>
19143 * misc/syncfs.c: New file.
19144 * misc/Makefile (routines): Add syncfs.
19145 * posix/unistd.h: Declare syncfs.
19146 * sysdeps/unix/syscalls.list: Add syncfs.
19148 2011-04-01 Andreas Schwab <schwab@redhat.com>
19150 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19157 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19160 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19164 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19170 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19171 sync_file_range.c with -fexceptions.
19172 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19173 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19174 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19175 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19176 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19177 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19179 sync_file_range as cancellation point
19180 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19181 now a wrapper around __call_sync_file_range with cancellation handling.
19182 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19183 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19184 function name to __call_sync_file_range.
19185 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19186 Add call_sync_file_range.
19188 2011-04-01 Andreas Schwab <schwab@redhat.com>
19190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19193 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19195 * iconv/iconv.h: Fix typo in comment.
19196 * io/fcntl.h: Likewise.
19197 * libio/stdio.h: Likewise.
19198 * posix/spawn.h: Likewise.
19199 * posix/unistd.h: Likewise.
19200 * stdlib/stdlib.h: Likewise.
19201 * time/time.h: Likewise.
19202 * wcsmbs/wchar.h: Likewise.
19204 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19205 open_by_handle): Add.
19206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19207 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19208 Augment a few comments.
19209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19214 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19217 * io/fcntl.h (AT_EMPTY_PATH): Define.
19219 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19221 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19222 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19223 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19225 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19226 * Versions.def: Add GLIBC_2.14.
19227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19230 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19232 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19234 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19236 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19239 * string/test-strncmp.c (do_page_test): New function.
19240 (check2): Likewise.
19241 (test_main): Call check2.
19242 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19244 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19247 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19248 Handle cache information in CPU leaf 4.
19249 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19251 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19254 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19255 character representation.
19256 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19258 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19260 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19261 END(__isnan) to END(__isnanf) to match function entry point/label
19262 EALIGN(__isnanf,...).
19264 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19266 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19268 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19271 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19272 copy from the symbol referenced in the relocation to initialize the
19274 Patch by Piotr Bury <pbury@goahead.com>.
19275 * elf/Makefile: Add rules to build and tst-unique3.
19276 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19277 * elf/tst-unique3.cc: New file.
19278 * elf/tst-unique3.h: New file.
19279 * elf/tst-unique3lib.cc: New file.
19280 * elf/tst-unique3lib2.cc: New file.
19282 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19284 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19286 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19287 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19290 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19292 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19293 to-be-loaded object along a path to loader is ld.so.
19295 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19296 Ulrich Drepper <drepper@gmail.com>
19298 * sysdeps/x86_64/memset.S: After aligning destination, code
19299 branches to different locations depending on the value of
19300 misalignment, when multiarch is enabled. Fix this.
19302 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19304 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19305 Set _x86_64_preferred_memory_instruction for AMD processsors.
19306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19307 Set bit_Prefer_SSE_for_memop for AMD processors.
19309 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19311 * libio/fmemopen.c (fmemopen): Optimize a bit.
19313 2011-03-03 Andreas Schwab <schwab@redhat.com>
19315 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19317 2011-03-03 Roland McGrath <roland@redhat.com>
19319 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19321 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19323 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19324 __bzero_ultra1 instead of __memset_ultra1.
19326 2011-02-23 Andreas Schwab <schwab@redhat.com>
19327 Ulrich Drepper <drepper@gmail.com>
19330 * include/link.h (struct link_map): Add l_orig_initfini.
19331 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19332 returning unsuccessfully.
19333 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19334 close of a file loaded at startup, restore the original l_initfini
19336 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19337 list, store the pointer.
19338 * elf/Makefile ($(objpfx)noload-mem): New rule.
19339 (noload-ENV): Define.
19340 (tests): Add $(objpfx)noload-mem.
19341 * elf/noload.c: Include <memcheck.h>.
19342 (main): Call mtrace. Close all opened handles.
19344 2011-02-17 Andreas Schwab <schwab@redhat.com>
19347 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19348 dependencies are missing.
19350 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19352 Fix __if_freereq crash: Unlike the generic version which uses free,
19354 * sysdeps/mach/hurd/ifreq.h: New file.
19356 2011-01-27 Petr Baudis <pasky@suse.cz>
19357 Ulrich Drepper <drepper@gmail.com>
19360 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19361 to extend_alloca().
19362 * stdio-common/bug23.c: New file.
19363 * stdio-common/Makefile (tests): Add bug23.
19365 2010-09-28 Andreas Schwab <schwab@redhat.com>
19366 Ulrich Drepper <drepper@gmail.com>
19369 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19370 before performing relro protection. At old place add assertion
19371 to make sure nothing changed.
19373 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19374 Glauber de Oliveira Costa <glommer@gmail.com>
19376 * elf/elf.h: Add new ARM TLS relocs.
19378 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19381 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19383 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19385 * sysdeps/wordsize-64/tst-writev.c: New file.
19387 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19389 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19390 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19391 insns in _dl_start to prevent a TOC reference before relocs are
19394 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19397 * Makeconfig: Remove RANLIB definition.
19398 * Makerules: Don't use RANLIB.
19399 * aclocal.m4: Remove ranlib test.
19400 * configure.in: No need to check for ranlib.
19401 * elf/rtld-Rules: Don't use RANLIB.
19403 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19405 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19407 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19408 inclusion protection macro.
19410 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19411 SIGRTMIN and SIGRTMAX and print information in that case only when
19412 SIGRTMIN is defined.
19414 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19416 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19417 arginfo fn returning -1.
19419 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19420 and thousands string is zero terminated.
19422 2011-02-03 Andreas Schwab <schwab@redhat.com>
19424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19425 sysdeps/unix/sysv/linux/bits/socket.h.
19427 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19429 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19430 (__CPU_COUNT): Remove old macros.
19431 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19432 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19433 (__CPU_ALLOC, __CPU_FREE): Add macros.
19434 (__sched_cpualloc, __sched_cpufree): Add declarations.
19436 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19438 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19439 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19440 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19441 (readdhstai): Return value of addhstaiX call.
19442 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19443 (addgrbyX): Return value returned by cache_addgr.
19444 (readdgrbyname): Return value returned by addgrbyX.
19445 (readdgrbygid): Likewise.
19446 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19447 (addpwbyX): Return value returned by cache_addpw.
19448 (readdpwbyname): Return value returned by addhstbyX.
19449 (readdpwbyuid): Likewise.
19450 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19451 (addservbyX): Return value returned by cache_addserv.
19452 (readdservbyname): Return value returned by addservbyX:
19453 (readdservbyport): Likewise.
19454 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19455 (addhstbyX): Return value returned by cache_addhst.
19456 (readdhstbyname): Return value returned by addhstbyX.
19457 (readdhstbyaddr): Likewise.
19458 (readdhstbynamev6): Likewise.
19459 (readdhstbyaddrv6): Likewise.
19460 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19461 (readdinitgroups): Return value returned by addinitgroupsX.
19462 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19463 (prune_cache): Keep track of timeout value of re-added entries.
19464 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19465 * nscd/nscd.h: Adjust prototypes of readd* functions.
19467 2011-02-04 Roland McGrath <roland@redhat.com>
19469 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19470 (nis_stats): Likewise.
19471 * nis/nis_modify.c (nis_modify): Likewise.
19472 * nis/nis_remove.c (nis_remove): Likewise.
19473 * nis/nis_add.c (nis_add): Likewise.
19475 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19477 * posix/fnmatch_loop.c: Add some consts.
19479 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19481 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19484 * config.make.in (config-cflags-novzeroupper): Define.
19485 * configure.in: Substitute libc_cv_cc_novzeroupper.
19486 * elf/Makefile (AVX-CFLAGS): Define.
19487 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19488 (CFLAGS-tst-auditmod4a.c): Likewise.
19489 (CFLAGS-tst-auditmod4b.c): Likewise.
19490 (CFLAGS-tst-auditmod6b.c): Likewise.
19491 (CFLAGS-tst-auditmod6c.c): Likewise.
19492 (CFLAGS-tst-auditmod7b.c): Likewise.
19493 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19495 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19497 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19498 function to the callback.
19499 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19501 2011-02-02 Andreas Schwab <schwab@redhat.com>
19503 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19506 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19509 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19511 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19513 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19516 * elf/Makefile: Add rules to build and run new test.
19517 * elf/tst-initorder.c: New file.
19518 * elf/tst-initorder.exp: New file.
19519 * elf/tst-initordera1.c: New file.
19520 * elf/tst-initordera2.c: New file.
19521 * elf/tst-initordera3.c: New file.
19522 * elf/tst-initordera4.c: New file.
19523 * elf/tst-initorderb1.c: New file.
19524 * elf/tst-initorderb2.c: New file.
19525 * elf/tst-order-a1.c: New file.
19526 * elf/tst-order-a2.c: New file.
19527 * elf/tst-order-a3.c: New file.
19528 * elf/tst-order-a4.c: New file.
19529 * elf/tst-order-b1.c: New file.
19530 * elf/tst-order-b2.c: New file.
19531 * elf/tst-order-main.c: New file.
19532 New test case by George Gensure <werkt0@gmail.com>.
19534 2010-10-01 Andreas Schwab <schwab@redhat.com>
19536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19537 decoding ACE if AI_CANONIDN.
19539 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19541 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19543 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19545 * version.h (RELEASE): Bump for 2.13 release.
19546 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19548 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19552 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19557 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19559 * posix/getconf.c: Update copyright year.
19560 * catgets/gencat.c: Likewise.
19561 * csu/version.c: Likewise.
19562 * debug/catchsegv.sh: Likewise.
19563 * debug/xtrace.sh: Likewise.
19564 * elf/ldconfig.c: Likewise.
19565 * elf/ldd.bash.in: Likewise.
19566 * elf/sprof.c (print_version): Likewise.
19567 * iconv/iconv_prog.c: Likewise.
19568 * iconv/iconvconfig.c: Likewise.
19569 * locale/programs/locale.c: Likewise.
19570 * locale/programs/localedef.c: Likewise.
19571 * malloc/memusage.sh: Likewise.
19572 * malloc/mtrace.pl: Likewise.
19573 * nscd/nscd.c (print_version): Likewise.
19574 * nss/getent.c: Likewise.
19576 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19577 PF_CAIF, and PF_ALG.
19578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19580 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19582 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19583 (modules-names): Use them.
19584 (ifunc-test-modules, ifunc-pie-tests): Define.
19585 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19586 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19587 (test-extras): Likewise.
19588 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19589 $(compile-command.c).
19590 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19591 (all-built-dso): Define.
19592 (check-textrel.out, check-execstack.out): Depend on it.
19594 * configure.in: Don't override --enable-multi-arch.
19596 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19599 * nscd/hstcache.c (tryagain): Define.
19600 (cache_addhst): Return tryagain not notfound for temporary errors.
19601 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19604 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19607 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19608 to make the syscall.
19609 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19612 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19613 and fall back to matching as normal character if the string ends before
19614 the matching ']' is found. This is what POSIX requires.
19615 * posix/testfnm.c: Adjust test result.
19616 * posix/globtest.sh: Adjust test result. Add new test.
19617 * posix/tst-fnmatch.input: Likewise.
19618 * posix/tst-fnmatch2.c: Add new test.
19620 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19622 * elf/Makefile (check-execstack): Revert last change. Depend on
19624 (check-execstack.h): New target.
19625 (generated): Add check-execstack.h.
19626 * elf/check-execstack.c: Include "check-execstack.h".
19627 (main): Revert last change.
19628 (handle_file): Return zero if GNU_STACK is absent and
19629 DEFAULT_STACK_PERMS doesn't include PF_X.
19631 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19633 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19634 in child fails because the descriptor is already closed.
19635 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19636 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19637 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19640 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19644 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19645 temporary buffer used to handle multi lookups locally.
19646 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19648 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19650 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19653 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19655 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19656 alignment for SSE2.
19658 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19661 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19662 characters. When rounding increased number of integer digits recompute
19664 * stdio-common/tst-grouping.c: New file.
19665 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19667 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19669 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19670 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19672 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19674 * bits/select.h: Likewise.
19676 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19678 * po/ja.po: Update from translation team.
19680 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19683 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19684 implementation just like for lxstat, fxstatat, et al.
19686 2010-12-27 Jim Meyering <meyering@redhat.com>
19689 * posix/regexec.c (build_trtable): Return failure indication upon
19690 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19692 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19695 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19696 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19697 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19701 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19704 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19705 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19707 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19709 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19710 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19711 script has SORT_BY_INIT_PRIORITY.
19712 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19713 NO_CTORS_DTORS_SECTIONS is defined.
19714 * elf/soinit.c: Likewise.
19715 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19716 NO_CTORS_DTORS_SECTIONS is defined.
19717 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19718 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19719 * sysdeps/sh/init-first.c: Likewise.
19720 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19722 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19724 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19725 always use the slow path.
19727 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19729 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19730 similar rule which adds the sysdep directories to the header search in
19731 order to pick up the correct platform stackinfo.h.
19732 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19733 perform test if it is, otherwise return successfully without testing.
19734 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19735 DEFAULT_STACK_PERMS define in stackinfo.h.
19736 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19737 defined in stackinfo.h.
19738 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19739 DEFAULT_STACK_PERMS defined in stackinfo.h.
19740 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19741 * sysdeps/ia64/stackinfo.h: Likewise.
19742 * sysdeps/s390/stackinfo.h: Likewise.
19743 * sysdeps/sh/stackinfo.h: Likewise.
19744 * sysdeps/sparc/stackinfo.h: Likewise.
19745 * sysdeps/x86_64/stackinfo.h: Likewise.
19746 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19747 PF_X for powerpc64. Retain PF_X for powerpc32.
19749 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19751 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19753 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19754 GETDENTS_64BIT_ALIGNED.
19756 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19758 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19760 2010-12-10 Andreas Schwab <schwab@redhat.com>
19762 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19766 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19768 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19769 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19771 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19774 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19777 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19779 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19781 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19783 * po/it.po: Update from translation team.
19785 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19790 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19792 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19794 2010-11-24 Andreas Schwab <schwab@redhat.com>
19796 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19798 (gaih_getanswer_slice): Likewise.
19800 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19804 2010-05-31 Petr Baudis <pasky@suse.cz>
19807 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19808 silently even in the chroot mode.
19810 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19812 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19813 last patch a bit. Pretty printing
19815 2010-05-31 Petr Baudis <pasky@suse.cz>
19818 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19819 initialization of skip_initgroups_dyn.
19821 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19823 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19824 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19826 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19828 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19830 2010-11-11 Andreas Schwab <schwab@redhat.com>
19832 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19833 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19834 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19835 ($(objpfx)tst-fnmatch-mem): New rule.
19836 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19837 * posix/tst-fnmatch.c (main): Call mtrace.
19839 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19842 Support Intel processor model 6 and model 0x2c.
19844 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19846 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19849 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19852 * string/test-strncasecmp.c (check_result): New function.
19853 (do_one_test): Use it.
19854 (check1): New function.
19855 (test_main): Use it.
19856 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19857 Support strcasecmp and strncasecmp.
19859 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19862 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19865 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19867 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19871 * sysdeps/x86_64/multiarch/bzero.S: New file.
19872 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19873 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19874 * sysdeps/x86_64/multiarch/memset.S: New file.
19875 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19877 Set bit_Prefer_SSE_for_memop for Intel processors.
19878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19880 (index_Prefer_SSE_for_memop): Define.
19881 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19883 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19885 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19886 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19888 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19891 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19892 (__x86_64_raw_data_cache_size_half): Likewise.
19893 (__x86_64_raw_shared_cache_size): Likewise.
19894 (__x86_64_raw_shared_cache_size_half): Likewise.
19896 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19897 (__x86_64_raw_data_cache_size_half): Likewise.
19898 (__x86_64_raw_shared_cache_size): Likewise.
19899 (__x86_64_raw_shared_cache_size_half): Likewise.
19900 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19901 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19902 and __x86_64_raw_shared_cache_size_half. Round
19903 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19904 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19905 to multiple of 256 bytes.
19907 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19910 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19911 of inacessible symlinks. Verify result of symlink before returning it.
19912 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19913 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19915 2010-10-28 Erich Ritz <erichritz@gmail.com>
19917 * math/math.h (isinf): Fix typo in comment.
19919 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19921 * po/da.po: Update from translation team.
19923 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19925 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19926 is added to the list.
19928 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19929 Ulrich Drepper <drepper@gmail.com>
19931 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19932 the global list here. Move code to...
19933 (_dl_add_to_namespace_list): ...here. New function.
19934 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19935 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19936 * elf/dl-load.c (lose): Don't remove the element from the list.
19937 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19938 (_dl_map_object): Likewise.
19940 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19943 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19944 into all bytes of SSE register.
19945 Patch by Richard Li <richardpku@gmail.com>.
19947 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19950 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19953 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19955 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19956 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19957 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19958 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19963 2010-10-22 Andreas Schwab <schwab@redhat.com>
19965 * include/dlfcn.h (__RTLD_SECURE): Define.
19966 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19967 mode & __RTLD_SECURE instead.
19968 (open_path): Rename preloaded parameter to secure.
19969 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19970 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19971 * elf/dl-deps.c (openaux): Likewise.
19972 * elf/rtld.c (struct map_args): Remove is_preloaded.
19973 (map_doit): Don't use it.
19974 (dl_main): Likewise.
19975 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19976 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19978 2010-09-09 Andreas Schwab <schwab@redhat.com>
19980 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19981 (sysd-rules-targets): Remove duplicates.
19982 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19983 rtld-%.$o dependency.
19985 2010-10-18 Andreas Schwab <schwab@redhat.com>
19987 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19988 _dl_map_object do it.
19990 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19992 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19993 fast fma builtins, define the macros in the C99 standard.
19994 (FP_FAST_FMAF): Likewise.
19995 (FP_FAST_FMAL): Likewise.
19996 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19998 * bits/mathdef.h: Update copyright year.
19999 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20001 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20003 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20004 builtins, define the macros in the C99 standard.
20005 (FP_FAST_FMAF): Likewise.
20006 (FP_FAST_FMAL): Likewise.
20007 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20009 (FP_FAST_FMAF): Likewise.
20011 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20014 * math/libm-test.inc (fma_test): Some new testcases.
20015 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20017 y and infinite z. Do multiplication by C already in long double.
20018 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20020 y and infinite z. Do bitwise or of inexact bit into u.d.
20021 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20022 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20023 * sysdeps/i386/fpu/s_fma.S: Removed.
20024 * sysdeps/i386/fpu/s_fmal.S: Removed.
20026 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20029 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20031 computation is not scheduled after fetestexcept. Fix value
20032 of minimum denormal long double.
20034 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20037 * math/libm-test.inc (fma_test): Add some more tests.
20038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20041 2010-10-15 Andreas Schwab <schwab@redhat.com>
20043 * scripts/data/localplt-s390-linux-gnu.data: New file.
20044 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20046 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20049 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20050 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20052 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20054 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20056 if one of x and y is very large and the other is subnormal.
20057 * sysdeps/s390/fpu/s_fmaf.c: New file.
20058 * sysdeps/s390/fpu/s_fma.c: New file.
20059 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20060 * sysdeps/powerpc/fpu/s_fma.S: New file.
20061 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20062 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20063 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20065 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20068 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20070 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20071 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20072 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20073 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20074 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20075 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20078 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20081 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20082 * posix/bug-regex31.input: Add test case.
20084 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20086 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20087 * posix/bug-regex31.input: New file.
20090 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20091 (parse_sub_exp): Fix last change, use postorder.
20093 * posix/bug-regex31.c: New file.
20094 * posix/Makefile: Add rules to build and run bug-regex31.
20096 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20099 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20102 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20103 to have entries in sys_siglist.
20106 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20109 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20112 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20113 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20114 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20115 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20117 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20118 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20119 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20120 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20121 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20122 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20123 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20124 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20125 * math/ftestexcept.c (fetestexcept): Likewise.
20126 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20127 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20128 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20129 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20130 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20131 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20132 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20134 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20137 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20140 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20142 * string/bug-strstr1.c: New file.
20143 * string/Makefile: Add rules to build and run bug-strstr1.
20145 2010-10-05 Eric Blake <eblake@redhat.com>
20148 * string/str-two-way.h (two_way_long_needle): Always clear memory
20149 when skipping input due to the shift table.
20151 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20154 * malloc/mcheck.c: Handle large requests.
20157 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20158 for strncmp and strncasecmp.
20159 * string/stratcliff.c: Add tests for strcmp and strncmp.
20160 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20162 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20164 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20167 2010-09-30 Andreas Jaeger <aj@suse.de>
20169 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20170 (CGROUP_SUPER_MAGIC): Define.
20171 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20172 Handle btrfs and cgroup file systems.
20173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20176 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20178 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20179 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20181 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20184 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20185 trying to locate the ELF header.
20187 2010-09-27 Andreas Schwab <schwab@redhat.com>
20190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20191 Mask out sign-bit copies when constructing f_fsid.
20193 2010-09-24 Petr Baudis <pasky@suse.cz>
20195 * debug/stack_chk_fail_local.c: Add missing licence exception.
20196 * debug/warning-nop.c: Likewise.
20198 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20201 implementing getdents64 using getdents syscall, set d_type if
20202 __ASSUME_GETDENTS32_D_TYPE.
20204 2010-09-16 Andreas Schwab <schwab@redhat.com>
20206 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20207 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20209 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20212 * posix/unistd.h: Undo change of feature selection for ftruncate from
20215 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20217 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20220 2010-09-20 Andreas Schwab <schwab@redhat.com>
20222 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20224 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20226 2010-09-14 Andreas Schwab <schwab@redhat.com>
20228 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20229 variables after CHECK_SP call.
20230 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20232 2010-09-13 Andreas Schwab <schwab@redhat.com>
20233 Ulrich Drepper <drepper@redhat.com>
20235 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20236 re-relocationg ld.so.
20237 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20238 _dl_init_paths call.
20239 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20242 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20244 * resolv/res_init.c (__res_vinit): Count the default server we added.
20246 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20247 Ulrich Drepper <drepper@redhat.com>
20250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20251 (____longjmp_chk): Use %ebx for saving value across system call.
20254 2010-09-06 Andreas Schwab <schwab@redhat.com>
20256 * manual/Makefile: Don't mix pattern rules with normal rules.
20258 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20260 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20262 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20263 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20264 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20265 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20269 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20272 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20273 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20275 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20277 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20278 * sysdeps/x86_64/addmul_1.S: Likewise.
20279 * sysdeps/x86_64/lshift.S: Likewise.
20280 * sysdeps/x86_64/mul_1.S: Likewise.
20281 * sysdeps/x86_64/rshift.S: Likewise.
20282 * sysdeps/x86_64/sub_n.S: Likewise.
20283 * sysdeps/x86_64/submul_1.S: Likewise.
20285 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20287 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20288 Define __sched_param instead of SCHED_* and sched_param when
20289 <bits/sched.h> is included with __need_schedparam defined.
20290 * bits/sched.h [__need_schedparam]
20291 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20292 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20293 (__defined_schedparam): Define to 1.
20294 (__sched_param): New structure, identical to sched_param.
20295 (__need_schedparam): Undefine.
20297 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20300 (epoll_create1): Declare.
20302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20304 2010-08-31 Andreas Schwab <schwab@redhat.com>
20307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20308 shifting retval into place.
20310 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20312 * nis/rpcsvc/nis.h: Update copyright notice.
20313 * nis/rpcsvc/nis.x: Likewise.
20314 * nis/rpcsvc/nis_callback.h: Likewise.
20315 * nis/rpcsvc/nis_callback.x: Likewise.
20316 * nis/rpcsvc/nis_object.x: Likewise.
20317 * nis/rpcsvc/nis_tags.h: Likewise.
20318 * nis/rpcsvc/yp.h: Likewise.
20319 * nis/rpcsvc/yp.x: Likewise.
20320 * nis/rpcsvc/ypupd.h: Likewise.
20321 * nis/yp_xdr.c: Likewise.
20322 * nis/ypupdate_xdr.c: Likewise.
20324 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20325 mainly the body of pmap_getport. Add parameters to specify timeouts.
20326 (pmap_getport): Use __libc_rpc_getport.
20327 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20328 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20329 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20331 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20336 2010-08-27 Roland McGrath <roland@redhat.com>
20338 * sysdeps/i386/i686/multiarch/Makefile
20339 (CFLAGS-varshift.c): New variable.
20341 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20343 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20344 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20348 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20350 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20352 * sysdeps/x86_64/strlen.S: Unroll the loop.
20353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20354 strlen-sse2 strlen-sse2-bsf.
20355 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20356 __strlen_no_bsf if bit_Slow_BSF is set.
20357 (__strlen_sse42): Removed.
20358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20359 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20361 2010-08-25 Roland McGrath <roland@redhat.com>
20363 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20364 * sysdeps/x86_64/multiarch/varshift.c: New file.
20365 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20366 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20367 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20368 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20370 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20373 strlen-sse2 strlen-sse2-bsf.
20374 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20375 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20376 (__strlen_sse2): Removed.
20377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20380 bit_Slow_BSF for Atom.
20381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20382 (index_Slow_BSF): Define.
20383 (HAS_SLOW_BSF): Define.
20385 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20388 * resolv/res_init.c (__res_vinit): When no server address at all
20389 is given default to loopback.
20391 2010-08-24 Roland McGrath <roland@redhat.com>
20393 * configure.in: Remove config-name.h generation.
20394 * configure: Regenerated.
20395 * config-name.in: File removed.
20396 * scripts/config-uname.sh: New file.
20397 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20398 ($(objdir)config-name.h): New target.
20400 * sunrpc/rpc_parse.h: Avoid nested comment.
20402 2010-08-24 Richard Henderson <rth@redhat.com>
20403 Ulrich Drepper <drepper@redhat.com>
20404 H.J. Lu <hongjiu.lu@intel.com>
20406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20408 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20409 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20410 _mm_alignr_epi8 with _mm_loadu_si128.
20411 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20412 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20413 (__m128i_shift_right): Removed.
20414 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20415 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20416 * sysdeps/x86_64/multiarch/varshift.h: New file.
20417 * sysdeps/x86_64/multiarch/varshift.S: New file.
20419 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20421 * configure.in: Move assembler checks to before sysdep dir checking.
20423 2010-08-20 Petr Baudis <pasky@suse.cz>
20425 * LICENSES: Sync the sunrpc license.
20427 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20429 * sunrpc/auth_des.c: Update copyright notice once again.
20430 * sunrpc/auth_none.c: Likewise.
20431 * sunrpc/auth_unix.c: Likewise.
20432 * sunrpc/authdes_prot.c: Likewise.
20433 * sunrpc/authuxprot.c: Likewise.
20434 * sunrpc/bindrsvprt.c: Likewise.
20435 * sunrpc/clnt_gen.c: Likewise.
20436 * sunrpc/clnt_perr.c: Likewise.
20437 * sunrpc/clnt_raw.c: Likewise.
20438 * sunrpc/clnt_simp.c: Likewise.
20439 * sunrpc/clnt_tcp.c: Likewise.
20440 * sunrpc/clnt_udp.c: Likewise.
20441 * sunrpc/clnt_unix.c: Likewise.
20442 * sunrpc/des_crypt.c: Likewise.
20443 * sunrpc/des_soft.c: Likewise.
20444 * sunrpc/get_myaddr.c: Likewise.
20445 * sunrpc/getrpcport.c: Likewise.
20446 * sunrpc/key_call.c: Likewise.
20447 * sunrpc/key_prot.c: Likewise.
20448 * sunrpc/openchild.c: Likewise.
20449 * sunrpc/pm_getmaps.c: Likewise.
20450 * sunrpc/pm_getport.c: Likewise.
20451 * sunrpc/pmap_clnt.c: Likewise.
20452 * sunrpc/pmap_prot.c: Likewise.
20453 * sunrpc/pmap_prot2.c: Likewise.
20454 * sunrpc/pmap_rmt.c: Likewise.
20455 * sunrpc/rpc/auth.h: Likewise.
20456 * sunrpc/rpc/auth_unix.h: Likewise.
20457 * sunrpc/rpc/clnt.h: Likewise.
20458 * sunrpc/rpc/des_crypt.h: Likewise.
20459 * sunrpc/rpc/key_prot.h: Likewise.
20460 * sunrpc/rpc/netdb.h: Likewise.
20461 * sunrpc/rpc/pmap_clnt.h: Likewise.
20462 * sunrpc/rpc/pmap_prot.h: Likewise.
20463 * sunrpc/rpc/pmap_rmt.h: Likewise.
20464 * sunrpc/rpc/rpc.h: Likewise.
20465 * sunrpc/rpc/rpc_des.h: Likewise.
20466 * sunrpc/rpc/rpc_msg.h: Likewise.
20467 * sunrpc/rpc/svc.h: Likewise.
20468 * sunrpc/rpc/svc_auth.h: Likewise.
20469 * sunrpc/rpc/types.h: Likewise.
20470 * sunrpc/rpc/xdr.h: Likewise.
20471 * sunrpc/rpc_clntout.c: Likewise.
20472 * sunrpc/rpc_cmsg.c: Likewise.
20473 * sunrpc/rpc_common.c: Likewise.
20474 * sunrpc/rpc_cout.c: Likewise.
20475 * sunrpc/rpc_dtable.c: Likewise.
20476 * sunrpc/rpc_hout.c: Likewise.
20477 * sunrpc/rpc_main.c: Likewise.
20478 * sunrpc/rpc_parse.c: Likewise.
20479 * sunrpc/rpc_parse.h: Likewise.
20480 * sunrpc/rpc_prot.c: Likewise.
20481 * sunrpc/rpc_sample.c: Likewise.
20482 * sunrpc/rpc_scan.c: Likewise.
20483 * sunrpc/rpc_scan.h: Likewise.
20484 * sunrpc/rpc_svcout.c: Likewise.
20485 * sunrpc/rpc_tblout.c: Likewise.
20486 * sunrpc/rpc_util.c: Likewise.
20487 * sunrpc/rpc_util.h: Likewise.
20488 * sunrpc/rpcinfo.c: Likewise.
20489 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20490 * sunrpc/rpcsvc/key_prot.x: Likewise.
20491 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20492 * sunrpc/rpcsvc/mount.x: Likewise.
20493 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20494 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20495 * sunrpc/rpcsvc/rex.x: Likewise.
20496 * sunrpc/rpcsvc/rstat.x: Likewise.
20497 * sunrpc/rpcsvc/rusers.x: Likewise.
20498 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20499 * sunrpc/rpcsvc/spray.x: Likewise.
20500 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20501 * sunrpc/rtime.c: Likewise.
20502 * sunrpc/svc.c: Likewise.
20503 * sunrpc/svc_auth.c: Likewise.
20504 * sunrpc/svc_authux.c: Likewise.
20505 * sunrpc/svc_raw.c: Likewise.
20506 * sunrpc/svc_run.c: Likewise.
20507 * sunrpc/svc_simple.c: Likewise.
20508 * sunrpc/svc_tcp.c: Likewise.
20509 * sunrpc/svc_udp.c: Likewise.
20510 * sunrpc/svc_unix.c: Likewise.
20511 * sunrpc/svcauth_des.c: Likewise.
20512 * sunrpc/xcrypt.c: Likewise.
20513 * sunrpc/xdr.c: Likewise.
20514 * sunrpc/xdr_array.c: Likewise.
20515 * sunrpc/xdr_float.c: Likewise.
20516 * sunrpc/xdr_mem.c: Likewise.
20517 * sunrpc/xdr_rec.c: Likewise.
20518 * sunrpc/xdr_ref.c: Likewise.
20519 * sunrpc/xdr_sizeof.c: Likewise.
20520 * sunrpc/xdr_stdio.c: Likewise.
20522 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20525 2010-08-19 Andreas Schwab <schwab@redhat.com>
20527 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20529 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20531 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20532 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20533 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20534 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20535 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20536 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20537 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20538 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20539 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20540 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20541 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20542 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20543 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20544 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20546 2010-07-26 Anton Blanchard <anton@samba.org>
20548 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20549 * malloc/arena.c (heap_trim): Likewise.
20551 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20553 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20556 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20558 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20560 * sysdeps/i386/elf/Makefile: New file.
20562 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20564 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20565 from fanotify_init.
20566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20569 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20571 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20573 * sysdeps/multiarch/strcmp.S: Likewise.
20575 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20577 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20578 strncase_l-nonascii.
20579 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20580 Add strncase_l-ssse3.
20581 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20582 * sysdeps/x86_64/strcmp.S: Likewise.
20583 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20584 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20585 * sysdeps/x86_64/strncase.S: New file.
20586 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20587 * sysdeps/x86_64/strncase_l.S: New file.
20588 * string/Makefile (strop-tests): Add strncasecmp.
20589 * string/test-strncasecmp.c: New file.
20591 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20594 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20595 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20597 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20599 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20601 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20603 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20605 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20607 2010-05-01 Alan Modra <amodra@gmail.com>
20609 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20610 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20611 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20612 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20613 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20614 tidying. Don't tail-call __sigjmp_save for static lib.
20615 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20617 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20618 (CALL_MCOUNT): Add eh info, and nop after bl.
20619 (TAIL_CALL_SYSCALL_ERROR): New macro.
20620 (PSEUDO_RET): Use it.
20621 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20622 Correct save location of integer regs and cr.
20623 (_dl_profile_resolve): Correct cr save location. Delete nops
20624 after bl when SHARED. Reduce cfi size a little by better
20625 placement of cfi directives.
20626 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20627 make a stack frame. Instead use parm save area as a temp.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20629 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20631 Don't make a stack frame for parent, use parm save area.
20632 Increase child stack frame to 112 bytes. Don't save unused reg,
20633 and adjust reg usage. Set up cfi on error recovery and
20634 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20636 (__makecontext): Add dummy nop after jump to exit.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20638 Use correct parm save area and cr save, reduce stack frame.
20639 Correct cfi for possible PSEUDO_RET frame setup.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20641 Branch to local label emitted by PSEUDO_RET rather than
20644 2010-08-12 Andreas Schwab <schwab@redhat.com>
20647 * locale/programs/locale.c (print_assignment): New function.
20648 (show_locale_vars): Use it.
20650 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20652 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20654 (struct statfs64): Likewise.
20655 (_STATFS_F_FLAGS): Define.
20656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20658 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20659 (ST_VALID): Define locally.
20660 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20661 __statvfs_getflags, use the provided value.
20662 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20663 __ASSUME_STATFS_F_FLAGS.
20665 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20668 Add sys/fanotify.h.
20669 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20670 fanotify_mask for GLIBC_2.13.
20671 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20672 fanotify_init and fanotify_mark.
20673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20674 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20676 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20678 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20679 prlimit64 for GLIBC_2.13.
20680 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20682 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20685 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20686 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20690 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20693 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20694 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20696 * nss/Makefile: Add rules to build and run tst-nss-test1.
20697 * shlib-versions: Add entry for libnss_test1.
20698 * nss/nss_test1.c: New file.
20699 * nss/tst-nss-test1.c: New file.
20701 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20702 (__nss_configure_lookup): Set appropriate entry in
20703 __nss_configure_lookup to true.
20704 * nss/nsswitch.h: Define enum with indeces of databases in
20705 databases and __nss_database_custom arrays. Declare
20706 __nss_database_custom.
20707 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20708 to avoid using nscd when custom rules are installed.
20709 * nss/getXXbyYY_r.c: Likewise.
20710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20712 * nss/nss_files/files-parse.c: Whitespace fixes.
20714 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20717 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20718 * posix/fnmatch_loop.c: Likewise.
20720 2010-07-17 Andi Kleen <ak@linux.intel.com>
20722 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20723 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20724 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20725 * Versions.def [GLIBC_2.13]: Add.
20727 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20729 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20730 Also fail if tpwd after pwuid call is NULL.
20732 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20734 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20735 when converting to ms.
20737 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20739 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20740 EOPNOTSUPP errors with ENOTTY.
20741 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20742 EOPNOTSUPP errors with ENOTTY.
20744 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20746 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20747 Add strcasecmp_l-ssse3.
20748 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20750 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20751 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20752 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20754 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20756 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20758 * string/Makefile (strop-tests): Add strcasecmp.
20759 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20760 strcasecmp_l-nonascii.
20761 (gen-as-const-headers): Add locale-defines.sym.
20762 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20763 * sysdeps/x86_64/strcasecmp.S: New file.
20764 * sysdeps/x86_64/strcasecmp_l.S: New file.
20765 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20766 * sysdeps/x86_64/locale-defines.sym: New file.
20767 * string/test-strcasecmp.c: New file.
20769 * string/test-strcasestr.c: Test both ends of the range of characters.
20770 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20772 2010-07-29 Roland McGrath <roland@redhat.com>
20775 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20777 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20779 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20782 2010-07-27 Andreas Schwab <schwab@redhat.com>
20784 * manual/memory.texi (Malloc Tunable Parameters): Document
20787 2010-07-26 Roland McGrath <roland@redhat.com>
20790 * configure.in (-fgnu89-inline check): Set and substitute
20791 gnu89_inline, not libc_cv_gnu89_inline.
20792 * configure: Regenerated.
20793 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20795 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20797 * string/test-strnlen.c: New file.
20798 * string/Makefile (strop-tests): Add strnlen.
20799 * string/tester.c (test_strnlen): Add a few more test cases.
20800 * string/tst-strlen.c: Better error reporting.
20802 * sysdeps/x86_64/strnlen.S: New file.
20804 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20807 lower-latency instructions.
20809 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20811 * string/test-strcasestr.c: New file.
20812 * string/test-strstr.c: New file.
20813 * string/Makefile (strop-tests): Add strstr and strcasestr.
20814 * string/str-two-way.h: Don't undefine MAX.
20815 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20817 2010-07-21 Andreas Schwab <schwab@redhat.com>
20819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20820 strcasestr-nonascii.
20821 (CFLAGS-strcasestr-nonascii.c): Define.
20822 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20823 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20824 Remove unused attribute.
20826 2010-07-20 Roland McGrath <roland@redhat.com>
20828 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20829 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20830 ld.so.cache was broken. With it, there is no way to disable dsocaps
20831 like LD_HWCAP_MASK can disable hwcaps.
20833 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20835 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20837 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20839 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20840 call in strcasestr.
20841 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20842 __strcasestr_sse42_nonascii.
20843 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20844 strcasestr-nonascii.c.
20845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20847 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20850 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20851 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20852 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20854 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20859 2010-07-06 Andreas Schwab <schwab@redhat.com>
20862 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20865 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20867 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20868 _PC_PIPE_BUF using F_GETPIPE_SZ.
20870 2010-07-05 Roland McGrath <roland@redhat.com>
20872 * manual/arith.texi (Rounding Functions): Fix rint description
20873 implicit in round description.
20875 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20877 * elf/Makefile: Fix linking for a few tests to make recent linker
20880 2010-06-30 Andreas Schwab <schwab@redhat.com>
20882 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20883 $(common-objpfx)libc_nonshared.a.
20885 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20887 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20888 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20889 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20890 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20891 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20892 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20893 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20894 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20909 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20910 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20911 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20912 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20913 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20914 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20915 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20916 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20917 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20918 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20919 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20920 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20936 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20938 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20939 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20940 * string/memmove.c (memmove): Renamed to ...
20941 (MEMMOVE): ...this. Default to memmove.
20942 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20943 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20946 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20947 mempcpy-ssse3-back memmove-ssse3-back.
20948 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20951 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20952 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20953 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20954 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20955 * sysdeps/x86_64/multiarch/memmove.c: New file.
20956 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20957 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20958 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20959 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20960 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20963 (index_Fast_Copy_Backward): Define.
20964 (HAS_ARCH_FEATURE): Define.
20965 (HAS_FAST_REP_STRING): Define.
20966 (HAS_FAST_COPY_BACKWARD): Define.
20968 2010-06-21 Andreas Schwab <schwab@redhat.com>
20970 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20971 Restore proper fallback handling.
20973 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20976 * posix/group_member.c (__group_member): Correct checking loop.
20978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20979 OOM in getpwuid_r correctly. Return error number when the caller
20980 should return, otherwise -1.
20981 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20982 call returning > 0 value.
20983 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20985 2010-06-07 Andreas Schwab <schwab@redhat.com>
20987 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20988 libc_nonshared.a from targets in modules-names.
20990 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20992 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20995 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20997 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20998 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21002 2010-06-02 Andreas Schwab <schwab@redhat.com>
21004 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21006 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21015 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21017 2010-06-14 Roland McGrath <roland@redhat.com>
21019 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21021 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21023 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21024 __REDIRECT followed by __THROW.
21025 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21026 * posix/getopt.h (getopt): Likewise.
21028 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21030 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21031 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21032 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21034 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21035 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21037 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21039 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21041 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21045 Properly check family and model.
21047 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21049 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21051 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21053 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21055 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21057 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21060 2010-05-19 Andreas Schwab <schwab@redhat.com>
21062 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21065 2010-05-21 Andreas Schwab <schwab@redhat.com>
21067 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21068 and internal_recvmmsg.
21069 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21070 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21071 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21072 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21074 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21078 2010-05-20 Andreas Schwab <schwab@redhat.com>
21080 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21082 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21084 POWER7 optimizations.
21085 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21086 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21088 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21090 * version.h: Update for 2.13 development version.
21092 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21094 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21095 exceptions. Return 0.
21097 2010-05-07 Roland McGrath <roland@redhat.com>
21099 * elf/ldconfig.c (main): Add a const.
21101 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21103 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21104 (args_options): Add no-idn option.
21105 (ahosts_keys_int): Add idn_flags to ai_flags.
21106 (parse_option): Handle 'i' option to clear idn_flags.
21108 * malloc/malloc.c (_int_free): Possible race in the most recently
21109 added check. Only act on the data if no current modification
21112 See ChangeLog.17 for earlier changes.