1 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl (@headers): Add fenv.h.
4 * conform/data/fenv.h-data: New file.
5 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6 include of <math/fenv.h>.
8 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10 && !UNIX98]. Enables tests for XOPEN2K8.
11 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15 (struct rusage): Do not expect type or its members.
18 * math/math.h (FP_NAN): Define macro to integer constant usable in
19 #if and use that to give value to enum constant.
20 (FP_INFINITE): Likewise.
22 (FP_SUBNORMAL): Likewise.
23 (FP_NORMAL): Likewise.
25 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31 2012-11-02 Roland McGrath <roland@hack.frob.com>
33 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36 * configure.in: Remove AC_PREREQ.
38 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42 of the internal implementation.
44 2012-11-02 Joseph Myers <joseph@codesourcery.com>
46 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47 except include of <misc/sys/syslog.h>.
49 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52 function returns with a NULL context exit with zero.
54 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
60 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61 (run_program_cmd): This.
62 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
63 (tst_langinfo): New variable. Use it.
65 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
67 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68 floating point opcodes.
70 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
72 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
77 * sysdeps/mach/hurd/powerpc: Remove directory.
78 * sysdeps/mach/powerpc: Likewise.
80 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
82 * scripts/check-local-headers.sh: Ignore c++ headers.
84 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
86 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
87 __libc_cleanup_region_start argument.
89 2012-11-01 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
94 x * y using scaling, not as x * y + z.
95 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
96 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
97 * math/libm-test.inc (fma_test): Add more tests.
98 (fma_test_towardzero): Likewise.
99 (fma_test_downward): Likewise.
100 (fma_test_upward): Likewise.
102 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
104 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
106 2012-10-31 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
111 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
113 * rt/tst-shm.c (worker): Correct checking for mmap failure.
115 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
122 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
125 Fix the order of the list for glibc 2.17.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
129 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
133 2012-10-31 Joseph Myers <joseph@codesourcery.com>
136 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
137 for low part of x being zero before using __atanl (y).
138 * math/libm-test.inc (atan2_test): Add another test.
140 * manual/install.texi (Configuring and compiling): Document
141 general use of test-wrapper and test-wrapper-env.
142 * INSTALL: Regenerated.
144 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
145 (__fma): Do not extract and scale down low bits on after-rounding
146 systems when result rounded to normal precision would have normal
148 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
149 (__fmal): Do not extract and scale down low bits on after-rounding
150 systems when result rounded to normal precision would have normal
152 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
153 (__fmal): Do not extract and scale down low bits on after-rounding
154 systems when result rounded to normal precision would have normal
156 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
158 (fma_test): Add more tests.
159 (fma_test_towardzero): Likewise.
160 (fma_test_downward): Likewise.
161 (fma_test_upward): Likewise.
163 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
165 * sysdeps/i386/tininess.h: Renamed to ...
166 * sysdeps/x86/tininess.h: This.
167 * sysdeps/x86_64/tininess.h: Removed.
169 2012-10-30 Joseph Myers <joseph@codesourcery.com>
171 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
172 input. Use $(build-program-cmd).
173 ($(objpfx)tst-array1-static.out): Likewise.
174 ($(objpfx)tst-array2.out): Likewise.
175 ($(objpfx)tst-array3.out): Likewise.
176 ($(objpfx)tst-array4.out): Likewise.
177 ($(objpfx)tst-array5.out): Likewise.
178 ($(objpfx)tst-array5-static.out): Likewise.
180 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
182 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
185 * nss/nsswitch.h (nss_interface_function): Provide new
186 macro for use with NSS functions.
187 * grp/initgroups.c: Use new macro.
188 * nss/getXXbyYY.c: Likewise.
189 * nss/getXXbyYY_r.c: Likewise.
190 * nss/getXXent.c: Likewise.
191 * nss/getXXent_r.c: Likewise.
192 * sysdeps/posix/getaddrinfo.c: Likewise.
194 2012-10-30 Andreas Jaeger <aj@suse.de>
196 * po/ru.po: Update Russion translation from translation project.
198 2012-10-30 Joseph Myers <joseph@codesourcery.com>
202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
203 result and shift together with sticky bit instead of replicating
204 round-to-nearest rounding.
205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
207 * math/libm-test.inc (fma_test): Add more tests. Do not permit
208 missing underflow exceptions.
209 (fma_test_towardzero): Add more tests.
210 (fma_test_downward): Likewise.
211 (fma_test_upward): Likewise.
214 * sysdeps/generic/tininess.h: New file.
215 * sysdeps/i386/tininess.h: Likewise.
216 * sysdeps/sh/tininess.h: Likewise.
217 * sysdeps/x86_64/tininess.h: Likewise.
218 * stdlib/tst-strtod-underflow.c: Likewise.
219 * stdlib/tst-tininess.c: Likewise.
220 * stdlib/strtod_l.c: Include <tininess.h>.
221 (round_and_return): Do not set errno for exact underflow cases.
222 Force an underflow exception when setting errno for underflow.
223 Determine underflow based on rounding to normal precision if
224 TININESS_AFTER_ROUNDING.
225 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
226 ERANGE for exact underflow cases.
227 * stdlib/Makefile (tests): Add tst-tininess and
228 tst-strtod-underflow.
229 ($(objpfx)tst-tininess): Use $(link-libm).
230 ($(objpfx)tst-strtod-underflow): Likewise.
232 2012-10-30 Andreas Jaeger <aj@suse.de>
235 * elf/Makefile (tests): Remove conditional for have-initfini-array
236 since this is now always required and the variable does not exist
238 (tests-static): Likewise.
239 (modules-names): Likewise.
241 * po/eo.po: Add Esperanto translation from translation project.
243 * elf/tst-array1.c (fini_array): Make writeable so that it can be
244 merged with constructor/destructor.
245 (init_array): Likewise.
246 * elf/tst-array2dep.c (fini_array): Likewise.
247 (init_array): Likewise.
249 2012-10-29 Mike Frysinger <vapier@gentoo.org>
251 * manual/message.texi: Delete @cartouche tags.
253 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
255 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
257 * sysdeps/mach/hurd/fsync.c: Likewise.
259 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
260 [_POSIX_REALTIME_SIGNALS]: Change condition to
261 [_POSIX_REALTIME_SIGNALS > 0].
263 2012-10-27 Andreas Jaeger <aj@suse.de>
265 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
266 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
268 [__WORDSIZE != 64]: Likewise.
270 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
272 * iconvdata/tst-table.sh: Remove ${SHELL}.
273 * iconvdata/tst-tables.sh: Likewise.
275 2012-10-25 David S. Miller <davem@davemloft.net>
277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
278 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
284 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
285 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
288 2012-10-25 Roland McGrath <roland@hack.frob.com>
290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
291 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
294 2012-10-25 Joseph Myers <joseph@codesourcery.com>
295 Jim Blandy <jimb@codesourcery.com>
297 * scripts/cross-test-ssh.sh: New file.
298 * manual/install.texi (Configuring and compiling): Document use of
300 * INSTALL: Regenerated.
302 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
304 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
307 2012-10-25 Joseph Myers <joseph@codesourcery.com>
309 * Makeconfig (run-program-prefix): Fix comment.
311 2012-10-24 Joseph Myers <joseph@codesourcery.com>
312 Jim Blandy <jimb@codesourcery.com>
314 * Makeconfig (test-wrapper): New variable,
315 (test-wrapper-env): Likewise.
316 [$(cross-compiling) = yes && $(test-wrapper) != ""]
317 (run-built-tests): Define to yes.
318 (run-program-prefix): Use $(test-wrapper).
319 (built-program-cmd): Likewise.
320 * Rules (make-test-out): Use $(test-wrapper-env) and
321 $(host-built-program-cmd).
322 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
323 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
325 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
326 $(test-wrapper-env) to tst-rtld-load-self.sh.
327 ($(objpfx)order2.out): Use $(test-wrapper).
328 ($(objpfx)tst-initorder.out): Likewise.
329 ($(objpfx)tst-initorder2.out): Likewise.
330 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
331 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
332 (test_wrapper_env): New variable. Use it to run ld.so.
333 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
335 (test_wrapper_env): Likewise.
336 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
337 $(test-wrapper) to run-iconv-test.sh.
338 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
339 (ICONV): Use $test_wrapper.
340 * posix/Makefile ($(objpfx)globtest.out): Pass
341 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
342 globtest.sh, not $(run-program-prefix).
343 * posix/globtest.sh (run_via_rtld_prefix): New variable.
344 (test_wrapper): Likewise.
345 (test_wrapper_env): Likewise. Use it to run globtest with HOME
346 set together with run_via_rtld_prefix.
347 (run_program_prefix): Define in terms of test_wrapper and
350 2012-10-24 Roland McGrath <roland@hack.frob.com>
352 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
353 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
357 * include/time.h: Remove librt_hidden_proto (clock_gettime).
358 Declare __clock_getres, __clock_gettime, __clock_settime,
359 __clock_nanosleep, and __clock_getcpuclockid.
360 * rt/clock_gettime.c: Define __clock_gettime as an alias.
361 Remove librt_hidden_def (clock_gettime).
362 * sysdeps/unix/clock_gettime.c: Likewise.
363 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
364 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
365 * rt/clock_getres.c: Define __clock_getres as an alias.
366 * sysdeps/posix/clock_getres.c: Likewise.
367 * rt/clock_settime.c: Define __clock_settime as an alias.
368 * sysdeps/unix/clock_settime.c: Likewise.
369 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
370 * sysdeps/unix/clock_nanosleep.c: Likewise.
371 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
372 * rt/clock-compat.c: New file.
373 * rt/Makefile (librt-routines): Add clock-compat and move
374 $(clock-routines) to ...
375 (routines): ... here, new variable.
376 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
377 Don't add get_clockfreq here.
378 * rt/Versions (libc: GLIBC_2.17): New version set.
379 Add clock_* symbols here.
380 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
382 (GLIBC_2.17): Add clock_* symbols.
383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
394 * NEWS: Mention the move.
396 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
397 Use __open, __read, __close rather than their public counterparts.
398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
399 (__get_clockfreq_via_cpuinfo): Likewise.
400 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
401 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
403 * config.h.in (HAVE_IFUNC): New #undef.
404 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
406 * configure: Regenerated.
408 2012-10-24 Mike Frysinger <vapier@gentoo.org>
410 * configure.in: Move READELF check to start of file.
411 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
412 libc_cv_asm_gnu_indirect_function in the process.
413 * configure: Regenerated.
415 2012-10-24 Mike Frysinger <vapier@gentoo.org>
417 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
418 send the output to /dev/null.
419 (libc_cv_cc_with_libunwind): Likewise.
420 (libc_cv_as_noexecstack): Likewise.
421 * configure: Regenerate.
423 2012-10-24 Joseph Myers <joseph@codesourcery.com>
425 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
427 * posix/globtest.sh (TMPDIR): Do not set.
428 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
431 2012-10-24 Andreas Jaeger <aj@suse.de>
433 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
434 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
435 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
436 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
437 posix_fadvise64, posix_fallocate64.
439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
440 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
441 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
443 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
445 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
448 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
449 <bits/fcntl-linux.h>.
450 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
453 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
454 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
455 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
456 [__WORDSIZE != 64]: Likewise.
458 2012-10-23 Joseph Myers <joseph@codesourcery.com>
460 * Makeconfig (run-built-tests): New variable.
461 * Rules [$(cross-compiling) = yes]: Change condition to
462 [$(run-built-tests) = no].
463 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
464 to [$(run-built-tests) = yes].
465 * elf/Makefile [$(cross-compiling) = no]: Likewise
466 * grp/Makefile [$(cross-compiling) = no]: Likewise.
467 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
468 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
469 * intl/Makefile [$(cross-compiling) = no]: Likewise.
470 * io/Makefile [$(cross-compiling) = no]: Likewise.
471 * libio/Makefile [$(cross-compiling) = no]: Likewise.
472 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
473 * misc/Makefile [$(cross-compiling) = no]: Likewise.
474 * posix/Makefile [$(cross-compiling) = no]: Likewise.
475 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
476 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
477 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
478 * string/Makefile [$(cross-compiling) = no]: Likewise.
480 * posix/Makefile ($(objpfx)globtest.out): Pass
481 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
482 $(rtld-installed-name).
483 * posix/globtest.sh (elf_objpfx): Remove variable.
484 (rtld_installed_name): Likewise.
485 (library_path): Likewise.
486 (run_program_prefix): New variable. Use for running globtest
489 2012-10-23 Jim Blandy <jimb@codesourcery.com>
490 Joseph Myers <joseph@codesourcery.com>
492 * Makeconfig (host-built-program-cmd): New variable.
493 * elf/Makefile (tst-stackguard1-ARGS): Use
494 $(host-built-program-cmd).
495 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
496 (tst-spawn-ARGS): Likewise.
497 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
499 2012-10-23 Joseph Myers <joseph@codesourcery.com>
500 Jim Blandy <jimb@codesourcery.com>
502 * Makeconfig (run-via-rtld-prefix): New variable.
503 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
504 (built-program-cmd): Likewise.
506 2012-10-22 Andreas Jaeger <aj@suse.de>
508 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
509 __O_RSYNC if it exists, otherwise to O_SYNC.
511 2012-10-22 Jim Blandy <jimb@codesourcery.com>
512 Joseph Myers <joseph@codesourcery.com>
514 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
516 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
518 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
521 2012-10-22 Andreas Jaeger <aj@suse.de>
523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
531 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
538 2012-10-21 Jim Blandy <jimb@codesourcery.com>
539 Joseph Myers <joseph@codesourcery.com>
541 * config.make.in (NM): New variable.
543 2012-10-21 Andreas Jaeger <aj@suse.de>
545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
546 definitions and declarations that are provided by
547 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
549 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
552 * elf/Makefile (tests-static): Add tst-leaks1-static.
553 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
554 ($(objpfx)tst-leaks1-static): New rule.
555 ($(objpfx)tst-leaks1-static-mem): Likewise.
556 (tst-leaks1-static-ENV): New macro.
557 * elf/dl-open.c (dl_open_worker): Check the main application
558 only if SHARED is defined.
559 * elf/tst-leaks1-static.c: New file.
561 2012-10-20 Andreas Jaeger <aj@suse.de>
563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
564 generic values for Linux.
565 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
566 and declarations that are provided by <bits/fcntl-linux.h> and
567 include <bits/fcntl-linux.h>.
568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
571 2012-10-20 Roland McGrath <roland@hack.frob.com>
573 * io/fcntl.h: Move include of <bits/types.h> to the top and
574 include it unconditionally.
576 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
578 * wcsmbs/Makefile (tests-ifunc): New variable.
579 (tests): Add $(tests-ifunc).
580 * wcsmbs/test-wcschr-ifunc.c: New file.
581 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
582 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
583 * wcsmbs/test-wcslen-ifunc.c: Likewise.
584 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
585 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
587 * string/Makefile (tests-ifunc): New variable.
588 (tests): Add $(tests-ifunc).
589 * string/test-memccpy.c (TEST_NAME): New macro.
590 * string/test-memchr.c (TEST_NAME): Likewise.
591 * string/test-memcmp.c (TEST_NAME): Likewise.
592 * string/test-memcpy.c (TEST_NAME): Likewise.
593 * string/test-memmem.c (TEST_NAME): Likewise.
594 * string/test-memmove.c (TEST_NAME): Likewise.
595 * string/test-memset.c (TEST_NAME): Likewise.
596 * string/test-rawmemchr.c (TEST_NAME): Likewise.
597 * string/test-stpcpy.c (TEST_NAME): Likewise.
598 * string/test-stpncpy.c (TEST_NAME): Likewise.
599 * string/test-strcasecmp.c (TEST_NAME): Likewise.
600 * string/test-strcasestr.c (TEST_NAME): Likewise.
601 * string/test-strcat.c (TEST_NAME): Likewise.
602 * string/test-strchr.c (TEST_NAME): Likewise.
603 * string/test-strcmp.c(TEST_NAME): Likewise.
604 * string/test-strcpy.c (TEST_NAME): Likewise.
605 * string/test-strcspn.c (TEST_NAME): Likewise.
606 * string/test-strlen.c (TEST_NAME): Likewise.
607 * string/test-strncasecmp.c (TEST_NAME): Likewise.
608 * string/test-strncmp.c (TEST_NAME): Likewise.
609 * string/test-strncpy.c (TEST_NAME): Likewise.
610 * string/test-strnlen.c (TEST_NAME): Likewise.
611 * string/test-strpbrk.c (TEST_NAME): Likewise.
612 * string/test-strrchr.c (TEST_NAME): Likewise.
613 * string/test-strspn.c (TEST_NAME): Likewise.
614 * string/test-strstr.c (TEST_NAME): Likewise.
615 * string/test-bcopy-ifunc.c: New file.
616 * string/test-bzero-ifunc.c: Likewise.
617 * string/test-memccpy-ifunc.c: Likewise.
618 * string/test-memchr-ifunc.c: Likewise.
619 * string/test-memcmp-ifunc.c: Likewise.
620 * string/test-memcpy-ifunc.c: Likewise.
621 * string/test-memmem-ifunc.c: Likewise.
622 * string/test-memmove-ifunc.c: Likewise.
623 * string/test-mempcpy-ifunc.c: Likewise.
624 * string/test-memset-ifunc.c: Likewise.
625 * string/test-rawmemchr-ifunc.c: Likewise.
626 * string/test-stpcpy-ifunc.c: Likewise.
627 * string/test-stpncpy-ifunc.c: Likewise.
628 * string/test-strcasecmp-ifunc.c: Likewise.
629 * string/test-strcasestr-ifunc.c: Likewise.
630 * string/test-strcat-ifunc.c: Likewise.
631 * string/test-strchr-ifunc.c: Likewise.
632 * string/test-strchrnul-ifunc.c: Likewise.
633 * string/test-strcmp-ifunc.c: Likewise.
634 * string/test-strcpy-ifunc.c: Likewise.
635 * string/test-strcspn-ifunc.c: Likewise.
636 * string/test-strlen-ifunc.c: Likewise.
637 * string/test-strncasecmp-ifunc.c: Likewise.
638 * string/test-strncat-ifunc.c: Likewise.
639 * string/test-strncmp-ifunc.c: Likewise.
640 * string/test-strncpy-ifunc.c: Likewise.
641 * string/test-strnlen-ifunc.c: Likewise.
642 * string/test-strpbrk-ifunc.c: Likewise.
643 * string/test-strrchr-ifunc.c: Likewise.
644 * string/test-strspn-ifunc.c: Likewise.
645 * string/test-strstr-ifunc.c: Likewise.
647 * debug/Makefile (tests-ifunc): New variable.
648 (tests): Add $(tests-ifunc).
649 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
650 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
651 * debug/test-stpcpy_chk-ifunc.c: New file.
652 * debug/test-strcpy_chk-ifunc.c: Likewise.
654 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
657 * elf/dl-load.c (open_verify): Retry read if the entire ELF
658 header is not read in.
660 2012-10-19 Joseph Myers <joseph@codesourcery.com>
662 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
663 script to $(SHELL) as $<. Pass $(common-objpfx) to script
664 directly. Pass built executable to script as
665 $(built-program-cmd).
666 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
667 $testprogram without using LD_LIBRARY_PATH and $ldso.
669 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
670 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
671 $(rtld-installed-name).
672 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
673 (rtld_installed_name): Likewise.
674 (library_path): Likewise.
675 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
676 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
677 $(run-program-prefix) to tst-tables.sh.
678 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
679 it to run tst-table-from and tst-table-to.
680 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
681 Pass it to tst-table.sh.
682 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
683 $(run-program-prefix) to tst-gettext.sh.
684 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
686 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
688 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
690 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
692 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
694 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
695 $(run-program-prefix) to tst-mtrace.sh.
696 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
698 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
699 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
700 $(rtld-installed-name).
701 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
702 (rtld_installed_name): Likewise.
703 (run_program_prefix): New variable. Use it to run wordexp-test.
705 * Makeconfig (ARCH): Remove all definitions.
707 [ARCH]: Remove conditional code.
708 [!objdir]: Give error.
709 [!objdir] (objpfx): Remove.
710 [!objdir] (common-objpfx): Likewise.
711 [!objdir] (common-objdir): Likewise.
712 * configure.in (config_makefile): Remove. Hardcode Makefile in
713 AC_CONFIG_FILES call.
714 * configure: Regenerated.
717 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
721 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
722 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
723 $(rtld-installed-name).
724 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
725 (rtld_installed_name): Likwise.
726 (runit): Remove function.
727 (run_getconf): New variable, Use it for running getconf binary.
729 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
732 * string/test-memmem.c (check_result): New function.
733 (do_one_test): Use it.
734 (check1): New function.
737 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
739 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
741 2012-10-18 Joseph Myers <joseph@codesourcery.com>
743 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
744 (_G_LSEEK64): Likewise.
745 (_G_MMAP64): Likewise.
746 (_G_FSTAT64): Likewise.
747 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
748 (_G_LSEEK64): Likewise.
749 (_G_MMAP64): Likewise.
750 (_G_FSTAT64): Likewise.
751 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
752 unconditional. Call __mmap64 directly.
753 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
754 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
756 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
757 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
759 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
760 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
762 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
763 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
765 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
766 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
768 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
769 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
771 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
772 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
774 (freopen64) [!_G_OPEN64]: Remove conditional code.
775 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
777 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
778 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
780 (ftello64) [!_G_LSEEK64]: Remove conditional code.
781 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
783 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
784 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
786 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
787 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
789 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
790 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
792 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
793 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
795 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
797 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
800 * manual/memory.texi (Malloc Tunable Parameters): Add note
801 about free list pointers overwriting some perturb bytes.
802 Wording suggested by Roland McGrath.
804 2012-10-17 Joseph Myers <joseph@codesourcery.com>
806 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
807 (lgamma_test): Likewise.
808 (tgamma_test): Likewise.
810 2012-10-16 Florian Weimer <fweimer@redhat.com>
813 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
814 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
816 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
818 * NEWS: Mention BZ #14716.
819 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
820 when removing AVAILABLE1_USES_J macro.
822 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
824 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
825 (__bswap_64): __uint64_t for unsigned 64-bit int.
827 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
829 * include/string.h (memmem): Declare libc hidden alias.
830 * string/memmem.c (memmem): Define libc hidden alias.
831 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
832 __read, __close instead of open, read, close.
834 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
837 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
839 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
840 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
841 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
843 (__rawmemchr_sse2): Likewise.
844 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
845 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
846 (__strchr_sse2): Likewise.
847 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
848 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
849 (__strcasecmp_sse2): Likewise.
850 (__strncasecmp_sse2): Likewise.
851 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
852 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
853 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
854 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
855 (__strrchr_sse2): Likewise.
856 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
858 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
859 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
860 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
861 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
862 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
863 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
864 * sysdeps/x86_64/multiarch/memset.S: Likewise.
865 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
866 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
867 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
868 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
869 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
870 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
871 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
872 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
873 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
874 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
875 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
876 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
877 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
878 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
879 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
880 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
881 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
882 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
883 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
884 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
885 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
886 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
887 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
889 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
891 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
892 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
893 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
894 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
896 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
898 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
899 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
900 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
901 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
903 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
904 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
905 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
906 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
907 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
908 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
909 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
910 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
911 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
912 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
913 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
914 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
915 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
916 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
917 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
918 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
919 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
920 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
921 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
922 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
926 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
928 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
929 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
930 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
931 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
932 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
933 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
934 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
935 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
936 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
937 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
938 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
939 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
940 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
941 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
942 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
943 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
945 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
946 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
947 * include/ifunc-impl-list.h: New file.
948 * misc/ifunc-impl-list.c: Likewise.
949 * misc/Makefile (routines): Add ifunc-impl-list.
950 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
951 * string/test-string.h: Include <ifunc-impl-list.h>.
952 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
953 impl_array): New variables.
954 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
956 (test_init): Call __libc_ifunc_impl_list to initialize
957 func_list if TEST_IFUNC and TEST_NAME are defined.
959 * string/Makefile (strop-tests): Add bcopy and bzero.
960 * string/test-bcopy.c: New file.
961 * string/test-bzero.c: Likewise.
962 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
964 * string/test-memset.c: Support bzero test if TEST_BZERO is
966 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
968 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
970 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
973 2012-10-10 Joseph Myers <joseph@codesourcery.com>
975 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
976 * configure: Regenerated.
978 * Makeconfig (+link-static-before-libc): Don't include
981 * libio/libio.h (_IO_pos_t): Remove.
983 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
985 * NEWS: Add note about FIPS mode. Wording suggested by Roland
988 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
990 * crypt/crypt-entry.c: Include fips-private.h.
991 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
992 * crypt/md5c-test.c (main): Tolerate disabled MD5.
993 * sysdeps/unix/sysv/linux/fips-private.h: New file.
994 * sysdeps/generic/fips-private.h: New file, dummy fallback.
996 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
998 * crypt/crypt-private.h: Include stdbool.h.
999 (_ufc_setup_salt_r): Return bool.
1000 * crypt/crypt-entry.c: Include errno.h.
1001 (__crypt_r): Return NULL with EINVAL for bad salt.
1002 * crypt/crypt_util.c (bad_for_salt): New.
1003 (_ufc_setup_salt_r): Check that salt is long enough and within
1004 the specified alphabet.
1005 * crypt/badsalttest.c: New file.
1006 * crypt/Makefile (tests): Add it.
1007 ($(objpfx)badsalttest): New.
1009 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1011 * NEWS: Add entry for BZ #14602.
1013 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1015 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1017 * math/libm-test.inc: Update comment listing what functions and
1019 (isgreater_test): New function.
1020 (isgreaterequal_test): Likewise.
1021 (isless_test): Likewise.
1022 (islessequal_test): Likewise.
1023 (islessgreater_test): Likewise.
1024 (isunordered_test): Likewise.
1025 (main): Call the new functions.
1027 2012-10-09 Roland McGrath <roland@hack.frob.com>
1029 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1030 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1031 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1032 * sysdeps/i386/configure: Regenerated.
1033 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1034 * sysdeps/mach/configure: Regenerated.
1035 * sysdeps/mach/hurd/configure: Regenerated.
1036 * sysdeps/powerpc/configure: Regenerated.
1037 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1038 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1039 * sysdeps/s390/s390-32/configure: Regenerated.
1040 * sysdeps/s390/s390-64/configure: Regenerated.
1041 * sysdeps/sh/configure: Regenerated.
1042 * sysdeps/sparc/configure: Regenerated.
1043 * sysdeps/unix/sysv/linux/configure: Regenerated.
1044 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1045 * sysdeps/x86_64/configure: Regenerated.
1047 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1048 defined. Don't check if MAP is NULL.
1050 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1052 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1053 (_G_stat64): Likewise.
1054 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1055 (_G_stat64): Likewise.
1056 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1057 instead of struct _G_stat64.
1058 * libio/fileops.c (mmap_remap_check): Likewise.
1059 (decide_maybe_mmap): Likewise.
1060 (_IO_new_file_seekoff): Likewise.
1061 (_IO_file_stat): Likewise.
1062 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1064 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1065 instead of struct _G_stat64.
1066 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1068 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1071 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1073 (CHECK_EOL): New macro.
1074 (two_way_short_needle): Check beginning of haystack for EOL. Use
1076 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1077 Replace with CHECK_EOL.
1078 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1079 Replace with CHECK_EOL.
1081 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1083 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1085 * math/libm-test.inc: Update comment listing what functions and
1087 (finite_test): New function.
1088 (isinf_test): Likewise.
1089 (isnan_test): Likewise.
1090 (fpclassify_test): Test subnormal input.
1091 (isfinite_test): Likewise.
1092 (isnormal_test): Likewise.
1093 (main): Call the new functions.
1095 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1098 * Makerules (%.dynsym): Force C locale when running
1099 $(OBJDUMP) --dynamic-syms.
1101 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1103 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1106 2012-10-06 David S. Miller <davem@davemloft.net>
1108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1109 upper 32-bits of the length value in %o2 since we use branch-on-register
1110 tests which consider the entire 64-bit register.
1112 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1114 * string/test-strstr.c (check2): Add a test for page boundary.
1116 2012-10-05 David S. Miller <davem@davemloft.net>
1118 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1119 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1121 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1123 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1124 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1125 and bzero when HWCAP_SPARC_CRYPTO is present.
1127 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1130 * string/test-strstr.c (check2): New function.
1131 (test_main): Call check2.
1133 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1135 * string/bug-strcasestr1.c (do_test): Moved to ...
1136 * string/test-strcasestr.c (check1): Here. New function.
1137 (do_one_test): Break out result checking code into ...
1138 (check_result): This. New function.
1139 (do_one_test): Call check_result.
1140 (test_main): Call check1.
1141 * string/bug-strchr1.c (do_test): Moved to ...
1142 * string/test-strchr.c (check1): Here. New function.
1143 (do_one_test): Break out result checking code into ...
1144 (check_result): This. New function.
1145 (do_one_test): Call check_result.
1146 (test_main): Call check1.
1147 * string/bug-strstr1.c (main): Moved to ...
1148 * string/test-strchr.c (check1): Here. New function.
1149 (do_one_test): Break out result checking code into ...
1150 (check_result): This. New function.
1151 (do_one_test): Call check_result.
1152 (test_main): Call check1.
1153 * string/bug-strcasestr1.c: Removed.
1154 * string/bug-strchr1.c: Likewise.
1155 * string/bug-strstr1.c: Likewise.
1157 * elf/Makefile (dl-routines): Add hwcaps.
1158 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1159 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1160 (_dl_important_hwcaps): Moved to ...
1161 * elf/dl-hwcaps.c: Here. New file.
1162 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1165 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1166 if IS_IN_rtld isn't defined.
1168 * elf/dl-support.c (_dl_sysinfo_map): New.
1169 Include "get-dynamic-info.h" and "setup-vdso.h".
1170 (_dl_non_dynamic_init): Call setup_vdso.
1171 * elf/dynamic-link.h: Don't include <assert.h>.
1172 (elf_get_dynamic_info): Moved to ...
1173 * elf/get-dynamic-info.h: Here. New file.
1174 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1175 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1176 * elf/setup-vdso.h: Here. New file.
1177 * elf/rtld.c: Include "setup-vdso.h".
1178 (dl_main): Call setup_vdso.
1180 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1182 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1183 creal in comment listing functions tested. List finite, isinf,
1184 isnan, isless, islessequal, isgreater, isgreaterequal,
1185 islessgreater, isunordered, lgamma_r and pow10 as functions and
1186 macros not tested. Mention which functions not tested are aliases
1187 for other functions. Fix typo. Note that signs of NaNs are not
1190 * scripts/config.guess: Update from config.git.
1191 * scripts/config.sub: Likewise.
1193 2012-10-04 Roland McGrath <roland@hack.frob.com>
1195 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1196 * misc/madvise.c (madvise): Renamed to __madvise.
1197 Make madvise a weak alias.
1198 * include/sys/mman.h: Declare __madvise.
1199 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1200 * sysdeps/unix/syscalls.list
1201 (madvise): Make __madvise the strong name, and madvise a weak alias.
1202 * sysdeps/unix/sysv/linux/syscalls.list
1203 (madvise, mmap): Remove redundant entries.
1204 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1205 * malloc/malloc.c (mtrim): Likewise.
1206 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1208 2012-10-03 Roland McGrath <roland@hack.frob.com>
1210 * sysdeps/mach/hurd/dl-cache.c: File removed.
1211 * config.h.in (USE_LDCONFIG): New #undef.
1212 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1213 * configure: Regenerated.
1214 * elf/Makefile (dl-routines): Add dl-cache only under
1215 [$(use-ldconfig) = yes].
1216 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1217 cache on [USE_LDCONFIG].
1218 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1220 * elf/rtld.c (dl_main): Likewise.
1222 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1224 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1225 _SC_LEVEL4_CACHE_LINESIZE.
1227 2012-10-03 Roland McGrath <roland@hack.frob.com>
1229 * sysdeps/unix/bsd/confstr.h: File removed.
1231 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1233 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1236 2012-10-02 Roland McGrath <roland@hack.frob.com>
1238 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1239 Make 'mapoff' field ElfW(Off) rather than off_t.
1241 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1243 * nscd/Makefile: Remove nscd-cflags and all its users.
1244 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1245 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1248 * malloc.c (malloc_printerr): Clarify error message.
1250 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1254 Set bit_FMA_Usable if FMA is supported.
1255 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1257 (bit_FMA4_Usable): Updated.
1258 (index_FMA_Usable): New macro.
1259 (CPUID_FMA): Likewise
1260 (HAS_FMA): Defined with bit_FMA_Usable.
1262 2012-10-01 Roland McGrath <roland@hack.frob.com>
1264 * bits/types.h (__swblk_t): Type removed.
1265 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1266 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1268 (__SWBLK_T_TYPE): Likewise.
1269 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1270 (__SWBLK_T_TYPE): Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1272 (__SWBLK_T_TYPE): Likewise.
1273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1274 (__SWBLK_T_TYPE): Likewise.
1276 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1277 Honza Horak <hhorak@redhat.com>
1279 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1280 (xdr_mapname): Use YPMAXMAP as maxsize.
1281 (xdr_peername): Use YPMAXPEER as maxsize.
1282 (xdr_keydat): Use YPAXRECORD as maxsize.
1283 (xdr_valdat): Use YPMAXRECORD as maxsize.
1285 2012-10-01 Roland McGrath <roland@hack.frob.com>
1287 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1289 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1290 * csu/init-first.c: ... here.
1291 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1292 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1294 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1295 * sysdeps/i386/init-first.c: File removed.
1296 * sysdeps/sh/init-first.c: File removed.
1298 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1302 if x * y might underflow to zero and z is zero.
1303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1305 * math/libm-test.inc (min_subnorm_value): New variable.
1306 (fma_test): Add more tests.
1307 (fma_test_towardzero): Likewise.
1308 (fma_test_downward): Likewise
1309 (fma_test_upward): Likewise.
1310 (initialize): Set min_subnorm_value.
1312 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1318 mode for addition resulting in exact zero.
1319 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1324 * math/libm-test.inc (fma_test): Add more tests.
1325 (fma_test_towardzero): New function.
1326 (fma_test_downward): Likewise.
1327 (fma_test_upward): Likewise.
1328 (main): Call the new functions.
1330 2012-09-28 David S. Miller <davem@davemloft.net>
1332 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1334 2012-09-28 Roland McGrath <roland@hack.frob.com>
1336 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1339 * sysdeps/gnu/_G_config.h: Moved to ...
1340 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1341 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1342 * sysdeps/generic/_G_config.h: ... here.
1344 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1346 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1348 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1349 Conditionalize target on [libnss_test1.so-version].
1351 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1353 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1354 (elfobjdir): Move out of conditionals.
1356 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1357 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1358 (__nss_lookup_function): Conditionalize label remove_from_tree on
1359 [!DO_STATIC_NSS || SHARED], matching its only use.
1361 2012-09-28 David S. Miller <davem@davemloft.net>
1363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1366 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1368 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1370 when HWCAP_SPARC_CRYPTO is present.
1372 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1374 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1376 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1379 * stdio-common/vfprintf.c (process_string_arg): Revert
1382 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1384 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1386 * stdio-common/tst-sprintf.c: Include <locale.h>
1387 (main): Test sprintf's handling of incomplete multibyte
1390 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1392 * elf/dl-runtime.c (VERSYMIDX): Removed.
1393 * elf/dl-version.c (VERSYMIDX): Likewise.
1394 * elf/do-rel.h (VERSYMIDX): Likewise.
1396 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1397 * elf/rtld.c (VALIDX): Likewise.
1398 (ADDRIDX): Likewise.
1399 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1400 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1401 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1402 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1404 (ADDRIDX): Likewise.
1406 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1408 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1410 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1413 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1415 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1416 addresses are in the same scope as 192.0.2/24.
1417 * posix/gai.conf: Document new scope table defaults.
1419 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1423 for ftell. Compute offsets from write pointers instead.
1424 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1426 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1429 * libio/Makefile (tests): New test case tst-fseek.
1430 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1431 combination works in wide mode.
1432 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1433 state when the external buffer state changes.
1435 2012-09-27 David S. Miller <davem@davemloft.net>
1438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1439 pass reloc->r_addend in as the 'high' argument to
1440 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1444 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1446 * rt/tst-aio2.c: Include <pthread.h>.
1447 * rt/tst-aio3.c: Likewise.
1449 2012-09-27 Steve Ellcey <sellcey@mips.com>
1451 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1453 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1455 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1456 contents on [SHARED].
1458 2012-09-26 Marek Polacek <polacek@redhat.com>
1462 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1463 for C++ and GCC <4.3 as well as for non GCC compilers.
1465 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1469 2012-09-25 Roland McGrath <roland@hack.frob.com>
1471 * Makefile.in (all, install): Declare with .PHONY.
1472 Reported by Michael Hope <michael.hope@linaro.org>.
1474 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1476 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1477 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1479 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1481 (sydep_routines): Add the new and the internal functions.
1482 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1483 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1485 (GLIBC_2.17): Add the new function.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1487 (GLIBC_2.17): Likewise.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1489 (GLIBC_2.17): Likewise.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1491 (GLIBC_2.17): Likewise.
1492 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1494 2012-09-25 Alan Modra <amodra@gmail.com>
1496 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1497 Add release barrier before setting once_control to say
1498 initialisation is done. Add hints on lwarx. Use macro in
1500 (clear_once_control): Add release barrier.
1502 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1505 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1507 * math/s_clog10.c (__clog10): Likewise.
1508 * math/s_clog10f.c (__clog10f): Likewise.
1509 * math/s_clog10l.c (__clog10l): Likewise.
1510 * math/s_clogf.c (__clogf): Likewise.
1511 * math/s_clogl.c (__clogl): Likewise.
1512 * math/Makefile (libm-calls): Add x2y2m1.
1513 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1514 (__x2y2m1): Likewise.
1515 (__x2y2m1l): Likewise.
1516 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1517 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1520 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1521 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1522 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1523 * sysdeps/i386/fpu/libm-test-ulps: Update.
1524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1527 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1528 int as type of variable DEPTH.
1529 (glob): Use size_t instead of int as type of variables NEWCOUNT
1532 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1534 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1536 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1537 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1538 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1539 macros for using routine as __sincosf_ia32.
1540 Use macro for function declaration and weak_alias.
1541 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1546 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1548 * math/s_cexpf.c (__cexpf): Likewise.
1549 * math/s_csinf.c (__csinf): Likewise.
1550 * math/s_csinhf.c (__csinhf): Likewise.
1551 * math/s_ctanf.c (__ctanf): Likewise.
1552 * math/s_ctanhf.c (__ctanhf): Likewise.
1553 * math/s_ccosh.c (__ccoshf): Likewise.
1554 * math/s_cexp.c (__cexpl): Likewise.
1555 * math/s_csin.c (__csin): Likewise.
1556 * math/s_csinh.c (__csinh): Likewise.
1557 * math/s_ctan.c (__ctan): Likewise.
1558 * math/s_ctanh.c (ctanh): Likewise.
1559 * math/s_ccoshl.c (__ccoshl): Likewise.
1560 * math/s_cexpl.c (__cexpl): Likewise.
1561 * math/s_csinl.c (__csinl): Likewise.
1562 * math/s_csinhl.c (__csinhl): Likewise.
1563 * math/s_ctanl.c (__ctanl): Likewise.
1564 * math/s_ctanhl.c (__ctanhl): Likewise.
1566 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1568 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1569 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1570 (_IO_off_t): Define to __off_t, not _G_off_t.
1571 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1572 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1573 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1574 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1575 type of __dummy and __dummy2 fields.
1576 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1577 (_G_ssize_t): Likewise.
1578 (_G_off_t): Likewise.
1579 (_G_pid_t): Likewise.
1580 (_G_uid_t): Likewise.
1581 (_G_wchar_t): Likewise.
1582 (_G_wint_t): Likewise.
1583 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1584 (_G_ssize_t): Likewise.
1585 (_G_off_t): Likewise.
1586 (_G_pid_t): Likewise.
1587 (_G_uid_t): Likewise.
1588 (_G_wchar_t): Likewise.
1589 (_G_wint_t): Likewise.
1590 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1591 (_G_ssize_t): Likewise.
1592 (_G_off_t): Likewise.
1593 (_G_pid_t): Likewise.
1594 (_G_uid_t): Likewise.
1595 (_G_wchar_t): Likewise.
1596 (_G_wint_t): Likewise.
1598 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 * malloc/arena.c: Include malloc-sysdep.h.
1601 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1602 is sufficient to shrink the heap or an unmap is needed.
1603 * sysdeps/generic/malloc-sysdep.h: New file. Define
1604 new function check_may_shrink_heap.
1605 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1606 new function check_may_shrink_heap.
1608 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1610 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1613 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1615 * catgets/test-gencat.sh: Add "set -e".
1616 * elf/tst-pathopt.sh: Likewise.
1617 * grp/tst_fgetgrent.sh: Likewise.
1618 * iconvdata/run-iconv-test.sh: Likewise.
1619 * intl/tst-gettext.sh: Likewise.
1620 * intl/tst-gettext2.sh: Likewise.
1621 * intl/tst-gettext4.sh: Likewise.
1622 * intl/tst-gettext6.sh: Likewise.
1623 * intl/tst-translit.sh: Likewise.
1624 * io/ftwtest-sh: Likewise.
1625 * libio/test-freopen.sh: Likewise.
1626 * malloc/tst-mtrace.sh: Likewise.
1627 * posix/globtest.sh: Likewise.
1628 * posix/tst-getconf.sh: Likewise.
1629 * posix/wordexp-tst.sh: Likewise.
1630 * stdio-common/tst-printf.sh: Likewise.
1631 * stdio-common/tst-unbputc.sh: Likewise.
1632 * stdlib/tst-fmtmsg.sh: Likewise.
1633 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1634 * catgets/Makefile: Do not specify -e option when running
1635 testsuite shell scripts.
1636 * elf/Makefile: Likewise.
1637 * grp/Makefile: Likewise.
1638 * iconvdata/Makefile: Likewise.
1639 * intl/Makefile: Likewise.
1640 * io/Makefile: Likewise.
1641 * libio/Makefile: Likewise.
1642 * malloc/Makefile: Likewise.
1643 * posix/Makefile: Likewise.
1644 * stdio-common/Makefile: Likewise.
1645 * stdlib/Makefile: Likewise.
1646 * sysdeps/x86_64/Makefile: Likewise.
1648 * io/ftwtest-sh: Add copyright header.
1649 * posix/globtest.sh: Likewise.
1650 * posix/tst-getconf.sh: Likewise.
1651 * posix/wordexp-tst.sh: Likewise.
1652 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1654 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1657 * Makeconfig (+link): Defined as $(+link-static) if
1658 $(build-shared) isn't yes.
1659 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1661 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1663 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1666 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1667 new chunk size with MALLOC_ALIGN_MASK.
1669 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1672 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1674 (__printf_fphex): Determine rounding using get_rounding_mode and
1676 * stdio-common/tst-printf-round.c (struct hex_test): New
1678 (hex_tests): New variable.
1679 (test_hex_in_one_mode): New function.
1680 (do_test): Also run tests for hex float output.
1682 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1684 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1685 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1686 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1687 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1688 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1689 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1690 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1691 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1693 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1695 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1696 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1697 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1698 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1700 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1703 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1705 * elf/tst-rtld-load-self.sh: New test.
1706 * elf/Makefile: Run it.
1708 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1710 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1711 (tst-writev-ENV): Remove.
1712 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1714 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1716 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1718 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1720 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1722 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1724 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1725 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1726 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1729 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1732 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1733 * config.make.in (have-cpp-asm-debuginfo): Removed.
1734 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1735 * configure: Regenerated.
1737 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1740 * stdio-common/printf_fp.c: Include <stdbool.h> and
1742 (___printf_fp): Determine rounding using get_rounding_mode and
1744 * stdio-common/tst-printf-round.c: New file.
1745 * stdio-common/Makefile (tests): Add tst-printf-round.
1746 (link-libm): New variable.
1747 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1749 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1752 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1753 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1755 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1758 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1760 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1761 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1762 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1763 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1765 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1768 * include/rounding-mode.h: New file.
1769 * sysdeps/generic/get-rounding-mode.h: Likewise.
1770 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1771 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1772 (MAX_VALUE): New macro.
1773 (MIN_VALUE): Likewise.
1774 (overflow_value): New function.
1775 (underflow_value): Likewise.
1776 (round_and_return): Use overflow_value and underflow_value to
1777 determine return values in overflow and underflow cases. Use
1778 round_away to determine rounding depending on rounding mode.
1779 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1780 determine return values in overflow and underflow cases.
1781 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1782 (struct test_results): New structure.
1783 (struct test): Use struct test_results to store expected results
1784 for all rounding modes.
1785 (TEST): Include expected results for all rounding modes.
1786 (test_in_one_mode): New function.
1787 (do_test): Use test_in_one_mode to compute and check results.
1788 Check results for all rounding modes.
1789 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1792 2012-12-09 Allan McRae <allan@archlinux.org>
1794 * sysdeps/i386/fpu/libm-test-ulps: Update
1796 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1798 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1799 (_G_int32_t): Likewise.
1800 (_G_uint16_t): Likewise.
1801 (_G_uint32_t): Likewise.
1802 (_G_HAVE_BOOL): Likewise.
1803 (_G_HAVE_ATEXIT): Likewise.
1804 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1805 (_G_HAVE_IO_FILE_OPEN): Likewise.
1806 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1807 (_G_int32_t): Likewise.
1808 (_G_uint16_t): Likewise.
1809 (_G_uint32_t): Likewise.
1810 (_G_HAVE_BOOL): Likewise.
1811 (_G_HAVE_ATEXIT): Likewise.
1812 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1813 (_G_HAVE_IO_FILE_OPEN): Likewise.
1814 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1815 (_G_int32_t): Likewise.
1816 (_G_uint16_t): Likewise.
1817 (_G_uint32_t): Likewise.
1818 (_G_HAVE_BOOL): Likewise.
1819 (_G_HAVE_ATEXIT): Likewise.
1820 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1821 (_G_HAVE_IO_FILE_OPEN): Likewise.
1823 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1825 * csu/libc-tls.c: Update copyright years.
1827 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1829 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1830 [!_G_USING_THUNKS]: Remove conditional code.
1831 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1832 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1834 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1835 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1836 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1837 (_G_VTABLE_LABEL_PREFIX): Likewise.
1838 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1839 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1841 (_G_VTABLE_LABEL_PREFIX): Likewise.
1842 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1843 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1844 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1845 (_G_VTABLE_LABEL_PREFIX): Likewise.
1846 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1848 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1850 * libio/Makefile: Include ../Makeconfig before tests.
1851 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1852 only if $(build-shared) is yes.
1854 * iconv/gconv_db.c: Update copyright years.
1856 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1858 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1859 unwind info if defined PIC. Fix special cases description.
1860 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1862 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1864 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1866 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1868 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1870 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1873 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1874 (LDLIBS-tst-chk4): This.
1875 (LDFLAGS-tst-chk5): Renamed to ...
1876 (LDLIBS-tst-chk5): This.
1877 (LDFLAGS-tst-chk6): Renamed to ...
1878 (LDLIBS-tst-chk6): This.
1879 (LDFLAGS-tst-lfschk4): Renamed to ...
1880 (LDLIBS-tst-lfschk4): This.
1881 (LDFLAGS-tst-lfschk5): Renamed to ...
1882 (LDLIBS-tst-lfschk5): This.
1883 (LDFLAGS-tst-lfschk6): Renamed to ...
1884 (LDLIBS-tst-lfschk6): This.
1886 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1887 on $(common-objpfx)soversions.mk.
1889 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1892 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1895 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1897 * malloc/arena.c (arena_get_retry): New function that gets
1898 another arena for the caller to try its request on.
1899 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1900 current arena cannot fulfill the request.
1901 (__libc_memalign): Likewise.
1902 (__libc_memalign): Likewise.
1903 (__libc_pvalloc): Likewise.
1904 (__libc_calloc): Likewise.
1906 2012-09-05 John Tobey <john.tobey@gmail.com>
1909 * manual/arith.texi (Operations on Complex): Fix description
1912 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1915 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1919 * manual/memory.texi (Memory): Make order of menu items match
1922 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1924 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1925 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1926 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1928 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1930 * csu/libc-tls.c (static_dtv): Renamed to ...
1931 (_dl_static_dtv): This. Make it global.
1932 (_dl_initial_dtv): Removed.
1933 (__libc_setup_tls): Updated.
1934 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1935 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1938 2012-09-06 Petr Machata <pmachata@redhat.com>
1940 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1941 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1942 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1943 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1945 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1948 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1949 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1952 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1955 * Makeconfig (link-static-before-libc): Replace $(+prector)
1957 (link-static-after-libc): Replace $(+postctor) with
1959 (link-bounded): Replace $(+prector)/$(+postctor) with
1960 $(+prectorT)/$(+postctorT).
1961 (+prectorT): New macro.
1962 (+postctorT): Likewise.
1964 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1966 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1967 (round_str): Handle values above the maximum for IBM long double
1969 * stdlib/tst-strtod-round.c (tests): Regenerated.
1971 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1973 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1975 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1976 zarch_nohighgprs around the zarch optimized routines.
1977 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1978 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1979 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1982 2012-09-05 David S. Miller <davem@davemloft.net>
1984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1986 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1987 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1988 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1989 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1992 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1994 * malloc/arena.c: Fold copyright years.
1995 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1997 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1999 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2001 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2003 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2005 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2007 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2008 change internal state upon failure.
2010 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2012 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2013 * malloc/memusage.c (mmap): Likewise.
2014 (mmap64, mremap): Likewise. Adjust name in comment.
2016 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2018 * libio/fileops.c: Fix typos in comments.
2019 * libio/oldfileops.c: Likewise.
2020 * libio/wfileops.c: Likewise.
2022 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2025 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2026 (tst-malloc-usable-ENV): Set environment for test case.
2027 * malloc/hooks.c (malloc_check_get_size): New function to get
2029 * malloc/malloc.c (musable): Use malloc_check_get_size.
2030 * malloc/tst-malloc-usable.c: New test case.
2032 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2034 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2036 2012-09-05 Allan McRae <allan@archlinux.org>
2039 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2040 determine header location.
2041 * configure: Regenerated.
2043 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2045 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2047 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2048 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2052 2012-09-04 David S. Miller <davem@davemloft.net>
2054 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2055 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2056 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2058 2012-09-04 Florian Weimer <fweimer@redhat.com>
2060 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2063 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2065 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2068 * libio/iogetdelim.c: Include <limits.h>.
2069 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2070 + len + 1 would overflow.
2072 2012-09-03 Andreas Jaeger <aj@suse.de>
2074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2075 * sysdeps/i386/fpu/libm-test-ulps: Update.
2077 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2079 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2080 Add s_sinf-sse2, s_conf-sse2.
2082 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2083 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2084 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2085 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2087 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2088 for using routine as __sinf_ia32.
2089 Use macro for function declaration and weak_alias.
2090 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2091 for using routine as __cosf_ia32.
2092 Use macro for function declaration and weak_alias.
2094 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2095 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2097 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2098 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2101 * math/libm-test.inc (cos_test): Add more test cases.
2102 (sin_test): Likewise.
2103 (sincos_test): Likewise.
2105 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2107 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2108 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2110 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2112 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2115 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2116 first element of the GOT.
2117 (elf_machine_load_address): Return the difference between
2118 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2120 2012-09-01 Allan McRae <allan@archlinux.org>
2123 * configure.in (AWK): Require gawk version 3.0 or later.
2124 * configure: Regenerated.
2126 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2128 * sysdeps/unix/sysv/linux/kernel-features.h
2129 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2131 [__NR_clock_getres]: Make code unconditional.
2132 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2133 (clock_getcpuclockid): Remove code left unreachable by removal of
2135 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2137 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2138 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2139 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2140 Make code unconditional.
2141 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2142 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2143 * sysdeps/unix/sysv/linux/clock_settime.c
2144 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2146 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2147 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2149 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2152 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2153 scripts/test-installation.pl.
2155 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2156 and $ld_so_version if it is set.
2158 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2161 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2162 failure if reading from procfs failed.
2163 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2165 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2167 * sysdeps/unix/sysv/linux/kernel-features.h
2168 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2169 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2170 Remove conditional code.
2171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2172 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2173 Remove conditional code.
2174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2175 * sysdeps/unix/sysv/linux/i386/fxstat.c
2176 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2178 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2179 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2181 * sysdeps/unix/sysv/linux/i386/lxstat.c
2182 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2184 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2185 Remove conditional code.
2186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2187 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2188 Remove conditional code.
2189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2190 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2191 <kernel-features.h>.
2192 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2194 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2195 Remove conditional code.
2196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2197 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2200 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2203 * NEWS: Add fixed bug number.
2205 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2208 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2209 underflowing exponent in case of negative sign.
2210 * stdlib/tst-strtod-round-data: Add more tests.
2211 * stdlib/tst-strtod-round.c (tests): Regenerated.
2214 * stdlib/strtod_l.c (NDIG): Remove.
2215 (HEXNDIG): Likewise.
2216 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2217 smallest representable value.
2218 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2219 lie within an exact representation of 1/2 ulp of the result.
2220 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2222 (TENS_P9_IDX): Define unconditionally.
2223 (TENS_P9_SIZE): Likewise.
2224 (TENS_P10_IDX): Likewise.
2225 (TENS_P10_SIZE): Likewise.
2226 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2227 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2228 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2229 entries for 10^2^13 and 10^2^14.
2230 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2231 (TENS_P13_IDX): Define.
2232 (TENS_P13_SIZE): Likewise.
2233 (TENS_P14_IDX): Likewise.
2234 (TENS_P14_SIZE): Likewise.
2235 (_fpioconst_pow10): Change array size to
2236 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2238 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2239 1024]: Add entries for 10^2^13 and 10^2^14.
2240 [LAST_POW10 > _LAST_POW10]: Remove #error.
2241 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2242 (_fpioconst_pow10): Change array size to
2243 FPIOCONST_POW10_ARRAY_SIZE.
2244 * stdlib/gen-fpioconst.c: New file.
2245 * stdlib/gen-tst-strtod-round.c: Likewise.
2246 * stdlib/tst-strtod-round-data: Likewise.
2247 * stdlib/tst-strtod-round.c: Likewise.
2248 * stdlib/Makefile (tests): Add tst-strtod-round.
2251 * stdlib/strtod_l.c: Include <stdint.h>.
2252 (NDEBUG): Do not define.
2253 (round_and_return): Change EXPONENT parameter to type intmax_t.
2254 Rearrange calculations to avoid internal overflow possibilities.
2255 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2256 Rearrange calculations to avoid internal overflow possibilities.
2257 Assert that number fits inside MPNSIZE limbs.
2258 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2259 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2260 calculations and add assertions to avoid internal overflow
2261 possibilities. Add casts to avoid signed/unsigned operations.
2262 * stdlib/tst-strtod-overflow.c: New file.
2263 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2265 2012-08-25 Marek Polacek <polacek@redhat.com>
2267 * time/time.h: Fix some typos in comments.
2269 2012-08-23 Roland McGrath <roland@hack.frob.com>
2271 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2272 * posix/tst-rfc3484-2.c: Likewise.
2273 * posix/tst-rfc3484-3.c: Likewise.
2275 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2277 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2278 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2280 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2282 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2283 #include of fxstatat64.c.
2285 2012-08-22 Roland McGrath <roland@hack.frob.com>
2287 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2288 * shadow/getspent_r.c: Likewise.
2289 * shadow/getspnam.c: Likewise.
2290 * shadow/getspnam_r.c: Likewise.
2291 * gshadow/getsgent.c: Likewise.
2292 * gshadow/getsgent_r.c: Likewise.
2293 * gshadow/getsgnam.c: Likewise.
2294 * gshadow/getsgnam_r.c: Likewise.
2295 * inet/getnetbyad.c: Likewise.
2296 * inet/getnetbyad_r.c: Likewise.
2297 * inet/getnetbynm.c: Likewise.
2298 * inet/getnetbynm_r.c: Likewise.
2299 * inet/getnetent.c: Likewise.
2300 * inet/getnetent_r.c: Likewise.
2301 * inet/getproto.c: Likewise.
2302 * inet/getproto_r.c: Likewise.
2303 * inet/getprtent.c: Likewise.
2304 * inet/getprtent_r.c: Likewise.
2305 * inet/getprtname.c: Likewise.
2306 * inet/getprtname_r.c: Likewise.
2307 * inet/getrpcbyname.c: Likewise.
2308 * inet/getrpcbyname_r.c: Likewise.
2309 * inet/getrpcbynumber.c: Likewise.
2310 * inet/getrpcbynumber_r.c: Likewise.
2311 * inet/getrpcent.c: Likewise.
2312 * inet/getrpcent_r.c: Likewise.
2313 * inet/getaliasent.c: Likewise.
2314 * inet/getaliasent_r.c: Likewise.
2315 * inet/getaliasname.c: Likewise.
2316 * inet/getaliasname_r.c: Likewise.
2317 * nscd/getgrgid_r.c: Likewise.
2318 * nscd/getgrnam_r.c: Likewise.
2319 * nscd/gethstbyad_r.c: Likewise.
2320 * nscd/gethstbynm3_r.c: Likewise.
2321 * nscd/getpwnam_r.c: Likewise.
2322 * nscd/getpwuid_r.c: Likewise.
2323 * nscd/getsrvbynm_r.c: Likewise.
2324 * nscd/getsrvbypt_r.c: Likewise.
2325 * nscd/gai.c: Likewise.
2327 * configure.in (build_nscd): New substituted variable, set
2328 by --disable-build-nscd and defaults to $use_nscd.
2329 * configure: Regenerated.
2330 * config.make.in (build-nscd): New substituted variable.
2331 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2332 Change conditional to require [$(build-nscd) = yes] as well.
2333 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2336 * configure.in (use_nscd): New substituted variable, set by
2337 --disable-nscd. If enabled, define USE_NSCD.
2338 * configure: Regenerated.
2339 * config.h.in: Add USE_NSCD.
2340 * config.make.in (use-nscd): New substituted variable.
2341 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2342 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2343 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2344 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2345 (CFLAGS-getgrnam_r.c): Likewise.
2346 (CFLAGS-initgroups.c): Likewise.
2347 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2348 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2350 * inet/getnetgrent_r.c
2351 (nscd_setnetgrent): New function, broken out of ...
2352 (setnetgrent): ... here. Call it.
2353 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2354 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2355 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2356 * nscd/Makefile (routines, aux): Move definitions after include of
2357 Makeconfig. Conditionalize on [$(use-nscd) != no].
2358 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2359 Conditionalize on [USE_NSCD].
2360 (is_nscd, nscd_init_cb): Likewise.
2361 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2362 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2363 * nss/nss_db/db-init.c: Likewise.
2364 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2366 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2367 (make_request): Use it.
2368 (cache_valid_p): New function.
2369 (__check_pf): Use it.
2370 * NEWS: Add item for --disable-nscd.
2372 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2374 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2375 to support sed >= 4.2.1-20-ga9bf076.
2376 * configure: Regenerated.
2378 2012-08-22 Roland McGrath <roland@hack.frob.com>
2380 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2381 Conditionalize whole body on [IREL].
2383 2012-08-22 Jeff Law <law@redhat.com>
2386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2387 if the family is PF_UNSPEC.
2389 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2391 * Makerules (lib-version): Rename from V.
2392 (install-lib-nosubdir): Change V to lib-version.
2394 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2397 * powerpc32/power6/wcschr.c: New file.
2398 * powerpc32/power6/wcscpy.c: New file.
2399 * powerpc32/power6/wcsrchr.c: New file.
2400 * powerpc64/power6/wcschr.c: New file.
2401 * powerpc64/power6/wcscpy.c: New file.
2402 * powerpc64/power6/wcsrchr.c: New file.
2404 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2406 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2407 (two_way_short_needle): Use it.
2408 * string/strstr.c (AVAILABLE1_USES_J): Define.
2409 * string/strcasestr.c: Likewise.
2411 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2413 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2416 * NEWS: Add an entry.
2417 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2418 define their defaults.
2419 (two_way_short_needle): Detect end-of-string on-the-fly.
2420 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2421 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2422 * string/bug-strcasestr1.c: New test.
2423 * string/Makefile: Run it.
2425 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2428 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2429 the first character.
2431 2012-08-21 Roland McGrath <roland@hack.frob.com>
2433 * csu/elf-init.c (__libc_csu_irel): Function removed.
2434 * csu/libc-start.c (apply_irel): New function.
2435 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2437 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2439 * sysdeps/unix/sysv/linux/kernel-features.h
2440 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2441 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2442 <kernel-features.h>.
2443 [__NR_fadvise64_64]: Make code unconditional.
2444 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2445 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2446 !__NR_fadvise64_64)]: Likewise.
2447 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2448 !__NR_fadvise64_64))]: Likewise.
2449 [__NR_fadvise64]: Make code unconditional.
2450 [!__NR_fadvise64]: Remove conditional code.
2451 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2452 <kernel-features.h>.
2453 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2455 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2458 not include <kernel-features.h>.
2459 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2461 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2463 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2464 include <kernel-features.h>.
2465 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2467 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2470 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2472 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2473 slight instruction rearrangements per scrollpipe analysis.
2474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2476 2012-08-20 Roland McGrath <roland@hack.frob.com>
2478 * manual/syslog.texi (syslog; vsyslog, closelog):
2479 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2480 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2482 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2483 DSOCAPS to match condition on defining it.
2485 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2487 * sysdeps/unix/sysv/linux/kernel-features.h
2488 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2490 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2491 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2493 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2494 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2496 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2497 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2499 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2500 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2502 * sysdeps/unix/sysv/linux/kernel-features.h
2503 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2504 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2506 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2507 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2508 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2509 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2511 Make code unconditional.
2512 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2513 (__mmap64) [!__NR_mmap2]: Likewise.
2514 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2515 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2516 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2518 [__NR_mmap2]: Make code unconditional.
2519 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2520 (__mmap64) [!__NR_mmap2]: Likewise.
2522 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2524 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2526 2012-08-18 Andreas Jaeger <aj@suse.de>
2528 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2530 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2532 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2533 * include/unistd.h (__have_sock_cloexec): Likewise.
2534 (__have_pipe2): Likewise.
2535 (__have_dup3): Likewise.
2537 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2540 * include/unistd.h (__have_pipe2): Change define into an extern int.
2541 (__have_dup3): Likewise.
2542 * socket/have_sock_cloexec.c: Include fcntl.h.
2543 (__have_pipe2): New variable.
2544 (__have_dup3): Likewise.
2546 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2548 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2550 2012-08-17 Marek Polacek <polacek@redhat.com>
2552 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2553 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2555 2012-08-17 Roland McGrath <roland@hack.frob.com>
2557 * configure.in: Add AC_SUBST for sysheaders.
2558 * configure: Regenerated.
2559 * config.make.in (sysheaders): New substituted variable.
2561 * sysdeps/unix/mkfifo.c: Moved ...
2562 * sysdeps/posix/mkfifo.c: ... here.
2563 * sysdeps/unix/mkfifoat.c: Moved ...
2564 * sysdeps/posix/mkfifoat.c: ... here.
2566 * sysdeps/unix/utime.c: Moved ...
2567 * sysdeps/posix/utime.c: ... here.
2569 * sysdeps/unix/time.c: Moved ...
2570 * sysdeps/posix/time.c: ... here.
2571 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2572 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2574 * sysdeps/unix/nice.c: Moved ...
2575 * sysdeps/posix/nice.c: ... here.
2577 * sysdeps/unix/alarm.c: Moved ...
2578 * sysdeps/posix/alarm.c: ... here.
2580 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2582 2012-08-17 Jeff Law <law@redhat.com>
2584 * intl/Makefile (codeset_mo): New variable.
2585 ($(codeset_mo)): New target.
2586 (tst-codeset.out): Depend on that. Remove explicit rule.
2587 (tst-gettext3.out, tst-gettext5.out): Likewise.
2588 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2589 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2590 * intl/tst-codeset.sh: Remove.
2591 * intl/tst-gettext3.sh: Likewise.
2592 * intl/tst-gettext5.sh: Likewise.
2594 2012-08-17 Roland McGrath <roland@hack.frob.com>
2596 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2597 * sysdeps/unix/syscalls.list: ... here.
2599 * sysdeps/posix/getaddrinfo.c
2600 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2601 (gaiconf_init, gaiconf_reload): Use them.
2603 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2604 Define using time_t rather than struct timespec.
2606 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2607 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2609 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2611 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2612 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2615 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2616 __libc_cleanup_push argument.
2618 * bits/param.h: New file.
2619 * misc/sys/param.h: New file.
2620 * include/sys/param.h: New file.
2621 * misc/Makefile (headers): Add bits/param.h.
2622 * sysdeps/generic/sys/param.h: File removed.
2623 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2624 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2625 * sysdeps/mach/hurd/bits/param.h: New file.
2626 * sysdeps/mach/hurd/sys/param.h: File removed.
2628 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2631 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2633 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2634 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2637 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2638 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2639 rather than -D_IO_MTSAFE_IO conditionally.
2640 * stdio-common/Makefile (CPPFLAGS): Likewise.
2641 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2642 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2643 Use $(libio-mtsafe).
2644 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2646 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2647 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2648 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2649 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2650 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2651 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2652 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2653 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2654 (CFLAGS-fread_u_chk.c): Likewise.
2655 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2656 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2657 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2658 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2659 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2660 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2661 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2662 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2663 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2665 * libio/Makefile: Test [$(libc-reentrant) = yes]
2666 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2669 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2670 * sysdeps/pthread/configure: File removed.
2671 * sysdeps/pthread/Makeconfig: New file.
2672 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2673 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2675 2012-08-16 Gary Benson <gbenson@redhat.com>
2677 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2678 unmapping the first object in a namespace.
2680 2012-08-16 Roland McGrath <roland@hack.frob.com>
2682 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2683 (__internal_setnetgrent): ... this. Add internal_function to
2684 definition. Add libc_hidden_def.
2685 (setnetgrent): Update caller.
2686 (internal_endnetgrent): Renamed to ...
2687 (__internal_endnetgrent): ... this. Add internal_function to
2688 definition. Add libc_hidden_def.
2689 (endnetgrent): Update caller.
2690 (internal_getnetgrent_r): Renamed to ...
2691 (__internal_getnetgrent_r): ... this. Add internal_function to
2692 definition. Add libc_hidden_def.
2693 (__getnetgrent_r): Update caller.
2694 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2696 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2698 * stdlib/longlong.h: Update from GCC.
2700 2012-08-16 Roland McGrath <roland@hack.frob.com>
2702 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2703 on _QL, which is set by umul_ppmm but never used.
2704 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2705 variables, which are set by GMP macros but never used.
2706 * stdio-common/_itowa.c (_itowa): Likewise.
2707 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2708 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2710 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2712 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2713 struct La_sh_regs is not constant.
2714 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2715 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2716 and struct La_sparc64_regs are not constant.
2718 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2720 * sysdeps/unix/sysv/linux/kernel-features.h
2721 (__ASSUME_POSIX_TIMERS): Remove.
2722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2724 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2725 Make code unconditional.
2726 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2727 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2728 Make code unconditional.
2729 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2730 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2731 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2732 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2733 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2734 Make code unconditional.
2735 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2736 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2737 (__libc_missing_posix_timers): Remove.
2739 2012-08-15 Roland McGrath <roland@hack.frob.com>
2741 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2742 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2744 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2746 * elf/dl-sym.c: Include <stdlib.h>.
2748 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2749 constants, which avoids warnings in 32-bit builds.
2751 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2752 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2754 * misc/lseek.c: File moved to ...
2755 * io/lseek.c: ... here.
2757 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2759 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2760 shifting LEN more than 31 bits at once.
2762 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2765 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2766 segmentation fault for a case of two empty input strings.
2767 * string/test-strncasecmp.c (check1): Renamed to...
2769 (bz14195): Add new testcase for two empty input strings and N > 0.
2770 (test_main): Call new testcase, adapt for renamed function.
2772 2012-08-15 Andreas Jaeger <aj@suse.de>
2775 * crypt/md5test2.c: New test, based on test supplied by Serge
2776 Belyshev <belyshev@depni.sinp.msu.ru>.
2777 * crypt/Makefile (xtests): Add md5test-giant..
2778 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2780 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2783 * crypt/md5.c (md5_process_block): Don't assume the buffer
2784 length is less than 2**32.
2785 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2786 length is less than 2**64.
2788 2012-08-15 Roland McGrath <roland@hack.frob.com>
2790 * string/str-two-way.h: Include <sys/param.h>.
2791 (MAX): Macro removed.
2793 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2794 Move #define and #undef of memmove to just before and after
2795 including <string.h>.
2797 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2798 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2799 and after including <string.h>. Move declarations of
2800 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2801 to before #include "string/memmove.c".
2803 * include/dirent.h: Declare __getdirentries.
2805 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2806 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2808 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2810 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2811 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2812 * sysdeps/i386/configure: Regenerated.
2813 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2814 STABS_CURRENT_FILE, and STABS_FUN.
2815 (END): Remove call to STABS_FUN_END.
2816 (STABS_CURRENT_FILE1): Delete.
2817 (STABS_CURRENT_FILE): Likewise.
2818 (STABS_FUN): Likewise.
2819 (STABS_FUN_END): Likewise.
2820 (STABS_FUN2): Likewise.
2821 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2822 * sysdeps/x86_64/configure: Regenerated.
2824 2012-08-14 Roland McGrath <roland@hack.frob.com>
2826 * elf/dl-open.c: Include <atomic.h>.
2827 * elf/dl-lookup.c: Likewise.
2829 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2831 * sysdeps/unix/sysv/linux/kernel-features.h
2832 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2833 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2835 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2837 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2838 condition on __ASSUME_CLONE_THREAD_FLAGS.
2840 2012-08-14 Andreas Jaeger <aj@suse.de>
2842 * sysdeps/i386/fpu/libm-test-ulps: Update.
2844 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2846 * include/atomic.h (atomic_exchange_and_add): Split into ...
2847 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2850 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2854 2012-08-13 Jeff Law <law@redhat.com>
2856 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2857 null byte in the output string.
2859 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2861 * sysdeps/unix/sysv/linux/kernel-features.h
2862 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2863 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2864 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2865 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2866 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2867 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2868 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2870 2012-08-09 Jeff Law <law@redhat.com>
2873 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2874 When avoid_arena is set, don't retry in the that arena. Pick the
2875 next one, whatever it might be.
2876 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2877 (arena_lock): Pass in new parameter to arena_get2.
2878 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2880 (__libc_malloc): Unify retrying after main arena failure with
2881 __libc_memalign version.
2882 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2884 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2887 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2888 to __redirect_strstr.
2889 (__strstr_sse42): Use typeof __redirect_strstr.
2890 (__strstr_ia32): Likewise.
2891 (__libc_strstr): New prototype.
2892 (strstr): Renamed to ...
2893 (__libc_strstr): This.
2894 (strstr): New strong alias of __libc_strstr.
2895 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2896 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2899 (__libc_time): New prototype.
2900 (time_ifunc): Replace time with __libc_time.
2901 (time): New strong alias and hidden definition of __libc_time.
2902 (__GI_time): Remove strong alias.
2903 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2905 (memmove): Redefined to __redirect_memmove.
2906 (__memmove_sse2): Use typeof __redirect_memmove.
2907 (__memmove_ssse3): Likewise.
2908 (__memmove_ssse3_back): Likewise.
2909 (__libc_memmove): New prototype.
2910 (memmove): Renamed to ...
2911 (__libc_memmove): This.
2912 (memmove): New strong alias of __libc_memmove.
2914 2012-08-08 Mark Salter <msalter@redhat.com>
2917 (R_MN10300_TLS_GD): Define.
2918 (R_MN10300_TLS_LD): Likewise.
2919 (R_MN10300_TLS_LDO): Likewise.
2920 (R_MN10300_TLS_GOTIE): Likewise.
2921 (R_MN10300_TLS_IE): Likewise.
2922 (R_MN10300_TLS_LE): Likewise.
2923 (R_MN10300_TLS_DTPMOD): Likewise.
2924 (R_MN10300_TLS_DTPOFF): Likewise.
2925 (R_MN10300_TLS_TPOFF): Likewise.
2926 (R_MN10300_SYM_DIFF): Likewise.
2927 (R_MN10300_ALIGN): Likewise.
2928 (R_MN10300_NUM): Update.
2930 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2935 2012-08-08 Roland McGrath <roland@hack.frob.com>
2937 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2939 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2940 sysdeps/unix -> sysdeps/posix move.
2941 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2943 2012-08-07 Allan McRae <allan@archlinux.org>
2946 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2947 (SUNOS_CPP): Likewise.
2948 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2950 (open_input): Call CPP using execvp.
2952 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2954 * sysdeps/unix/sysv/linux/kernel-features.h
2955 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2956 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2957 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2958 (__ASSUME_WAITID_SYSCALL): Likewise.
2959 * sysdeps/unix/sysv/linux/dl-execstack.c
2960 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2962 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2965 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2966 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2968 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2970 [__ASSUME_WAITID_SYSCALL]: Likewise.
2971 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2973 2012-08-07 Roland McGrath <roland@hack.frob.com>
2975 * sysdeps/unix/closedir.c: Renamed to ...
2976 * sysdeps/posix/closedir.c: ... here.
2977 * sysdeps/unix/dirfd.c: Renamed to ...
2978 * sysdeps/posix/dirfd.c: ... here.
2979 * sysdeps/unix/dirstream.h: Renamed to ...
2980 * sysdeps/posix/dirstream.h: ... here.
2981 * sysdeps/unix/fdopendir.c: Renamed to ...
2982 * sysdeps/posix/fdopendir.c: ... here.
2983 * sysdeps/unix/opendir.c: Renamed to ...
2984 * sysdeps/posix/opendir.c: ... here.
2985 * sysdeps/unix/readdir.c: Renamed to ...
2986 * sysdeps/posix/readdir.c: ... here.
2987 * sysdeps/unix/readdir_r.c: Renamed to ...
2988 * sysdeps/posix/readdir_r.c: ... here.
2989 * sysdeps/unix/rewinddir.c: Renamed to ...
2990 * sysdeps/posix/rewinddir.c: ... here.
2991 * sysdeps/unix/seekdir.c: Renamed to ...
2992 * sysdeps/posix/seekdir.c: ... here.
2993 * sysdeps/unix/telldir.c: Renamed to ...
2994 * sysdeps/posix/telldir.c: ... here.
2995 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2996 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2997 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2998 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3000 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3001 * bits/fcntl.h: ... here.
3003 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3005 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3006 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3007 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3008 (struct flock): Move l_start, l_len to the beginning.
3009 Use __pid_t for l_pid.
3010 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3011 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3012 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3013 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3014 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3015 [__USE_LARGEFILE64] (struct flock64): New type.
3016 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3018 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3019 * bits/dirent.h: ... here.
3021 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3022 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3024 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3026 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3027 Change from 2.6.0 to 2.6.16.
3028 * sysdeps/unix/sysv/linux/configure: Regenerated.
3029 * sysdeps/unix/sysv/linux/kernel-features.h
3030 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3031 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3033 (__ASSUME_UTIMES): Likewise.
3034 (__ASSUME_CLONE_STOPPED): Remove.
3035 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3036 architectures, not kernel version.
3037 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3038 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3039 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3040 (__ASSUME_WAITID_SYSCALL): Likewise.
3041 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3042 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3043 * README: State 2.6.16 as minimum Linux kernel version. Do not
3044 refer to older versions.
3046 2012-08-06 Roland McGrath <roland@hack.frob.com>
3048 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3049 Define alphasort64 as an alias.
3050 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3051 Define versionsort64 as an alias.
3052 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3053 Define scandir64 as an alias.
3054 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3055 Define scandirat64 as an alias.
3056 * dirent/alphasort64.c (alphasort64):
3057 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3058 * dirent/versionsort64.c: Likewise.
3059 * dirent/scandir64.c: Likewise.
3060 * dirent/scandirat64.c: Likewise.
3061 * sysdeps/wordsize-64/alphasort.c: File removed.
3062 * sysdeps/wordsize-64/alphasort64.c: File removed.
3063 * sysdeps/wordsize-64/scandir.c: File removed.
3064 * sysdeps/wordsize-64/scandir64.c: File removed.
3065 * sysdeps/wordsize-64/scandirat.c: File removed.
3066 * sysdeps/wordsize-64/scandirat64.c: File removed.
3067 * sysdeps/wordsize-64/versionsort.c: File removed.
3068 * sysdeps/wordsize-64/versionsort64.c: File removed.
3069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3078 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3080 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3082 [defined __arch64__ || defined __sparcv9]
3083 (__INO_T_MATCHES_INO64_T): New macro.
3084 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3085 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3086 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3087 * sysdeps/unix/sysv/linux/bits/dirent.h
3088 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3089 (_DIRENT_MATCHES_DIRENT64): New macro.
3091 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3092 Define lockf64 as an alias.
3093 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3094 Define fseeko64 as an alias.
3095 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3096 Define ftello64 as an alias.
3097 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3098 Define _IO_fgetpos64 and fgetpos64 as aliases.
3099 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3100 Define _IO_fsetpos64 and fsetpos64 as aliases.
3101 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3102 Conditionalize body on this.
3103 * libio/fseeko64.c: Likewise.
3104 * libio/ftello64.c: Likewise.
3105 * libio/iofgetpos64.c: Likewise.
3106 * libio/iofsetpos64.c: Likewise.
3107 * sysdeps/wordsize-64/lockf.c: File removed.
3108 * sysdeps/wordsize-64/lockf64.c: File removed.
3109 * sysdeps/wordsize-64/fseeko.c: File removed.
3110 * sysdeps/wordsize-64/fseeko64.c: File removed.
3111 * sysdeps/wordsize-64/ftello.c: File removed.
3112 * sysdeps/wordsize-64/ftello64.c: File removed.
3113 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3114 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3115 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3116 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3117 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3118 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3119 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3121 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3128 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3130 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3132 [defined __arch64__ || defined __sparcv9]
3133 (__OFF_T_MATCHES_OFF64_T): New macro.
3134 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3135 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3137 (__OFF_T_MATCHES_OFF64_T): New macro.
3139 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3141 * stdlib/secure-getenv.c (__secure_getenv): Replace
3142 GLIBC_2_16 with GLIBC_2_17.
3144 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3146 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3149 2012-08-03 David S. Miller <davem@davemloft.net>
3151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3153 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3157 (__ASSUME_CORRECT_SI_PID): Likewise.
3158 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3159 (__ASSUME_TMPFS_NAME): Likewise.
3160 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3161 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3163 (HAVE_AUX_SECURE): Make definition unconditional.
3164 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3165 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3167 2012-08-03 Roland McGrath <roland@hack.frob.com>
3169 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3170 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3171 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3172 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3173 __eloop_threshold instead of SYMLOOP_MAX.
3175 * sysdeps/generic/eloop-threshold.h: New file.
3176 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3178 * elf/chroot_canon.c (chroot_canon): Likewise.
3180 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3184 Change to 2.6.0 everywhere.
3185 * sysdeps/unix/sysv/linux/configure: Regenerated.
3186 * sysdeps/unix/sysv/linux/kernel-features.h
3187 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3188 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3190 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3191 (__ASSUME_FUTEX_REQUEUE): Remove.
3192 (__ASSUME_STATFS64): Define unconditionally.
3193 (__ASSUME_AT_SECURE): Likewise.
3194 (__ASSUME_CORRECT_SI_PID): Likewise.
3195 (__ASSUME_TGKILL): Define without depending on kernel version for
3197 (__ASSUME_UTIMES): Likewise.
3198 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3200 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3201 (__ASSUME_TMPFS_NAME): Likewise.
3202 * README: Update reference to Linux kernel versions.
3204 2012-08-02 Marek Polacek <polacek@redhat.com>
3207 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3208 libc_cv_asm_type_prefix with %.
3209 * configure: Regenerated.
3210 * include/libc-symbols.h: Remove comment about
3211 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3212 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3213 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3214 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3215 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3216 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3217 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3218 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3219 * elf/tst-unique2mod1.c: Likewise.
3220 * elf/tst-unique1mod2.c: Likewise.
3221 * elf/tst-unique1mod1.c: Likewise.
3222 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3223 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3224 Replace ASM_TYPE_DIRECTIVE with .type.
3225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3226 * sysdeps/i386/sysdep.h: Likewise.
3227 * sysdeps/x86_64/sysdep.h: Likewise.
3228 * sysdeps/sh/sysdep.h: Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3230 Do not define ASM_TYPE_DIRECTIVE.
3231 * sysdeps/powerpc/sysdep.h: Likewise.
3232 * sysdeps/powerpc/powerpc32/sysdep.h:
3233 Replace ASM_TYPE_DIRECTIVE with .type.
3234 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3235 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3236 * sysdeps/i386/fpu/e_powf.S: Likewise.
3237 * sysdeps/i386/fpu/e_expl.S: Likewise.
3238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3239 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3240 * sysdeps/i386/fpu/e_pow.S: Likewise.
3241 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3242 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3243 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3244 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3245 * sysdeps/i386/fpu/e_log2.S: Likewise.
3246 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3247 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3248 * sysdeps/i386/fpu/e_powl.S: Likewise.
3249 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3250 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3251 * sysdeps/i386/fpu/e_logl.S: Likewise.
3252 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3253 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3254 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3255 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3256 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3257 * sysdeps/i386/fpu/e_log.S: Likewise.
3258 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3259 * sysdeps/i386/fpu/e_logf.S: Likewise.
3260 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3261 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3262 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3263 * sysdeps/i386/fpu/e_log10.S: Likewise.
3264 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3265 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3266 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3267 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3268 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3269 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3270 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3271 * sysdeps/i386/i686/strtok.S: Likewise.
3272 * sysdeps/i386/i386-mcount.S: Likewise.
3273 * sysdeps/i386/strtok.S: Likewise.
3274 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3275 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3276 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3278 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3279 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3280 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3281 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3282 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3283 * sysdeps/x86_64/_mcount.S: Likewise.
3284 * sysdeps/x86_64/strtok.S: Likewise.
3285 * sysdeps/sh/_mcount.S: Likewise.
3287 2012-08-01 Roland McGrath <roland@hack.frob.com>
3289 * libio/iofopen.c: Include <fcntl.h>.
3290 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3291 (_IO_fopen64, fopen64): Define as aliases.
3292 * libio/iofopen64.c: Include <fcntl.h>.
3293 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3294 Conditionalize body on this.
3295 * sysdeps/wordsize-64/iofopen.c: File removed.
3296 * sysdeps/wordsize-64/iofopen64.c: File removed.
3298 2012-08-01 Marek Polacek <polacek@redhat.com>
3300 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3301 Use dlfcn directly instead of a variable.
3302 (binfmt-subdir): Do not define.
3305 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3308 Remove all definitions.
3309 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3310 <kernel-features.h>.
3311 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3312 (miss_F_GETOWN_EX): Remove all definitions.
3313 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3315 [!__ASSUME_FCNTL64]: Remove conditional code.
3316 [__ASSUME_FCNTL64]: Make code unconditional.
3317 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3318 <kernel-features.h>.
3319 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3320 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3321 (lockf64) [__NR_fcntl64]: Make code unconditional.
3322 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3324 * sysdeps/unix/sysv/linux/kernel-features.h
3325 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3326 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3327 Make code unconditional.
3328 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3329 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3331 [__NR_vfork]: Make code unconditional.
3332 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3333 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3335 [__NR_vfork]: Make code unconditional.
3336 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3337 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3339 2012-08-01 Roland McGrath <roland@hack.frob.com>
3341 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3342 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3344 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3345 Define mkstemp64 as an alias.
3346 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3347 Define mkstemps64 as an alias.
3348 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3349 Define mkostemp64 as an alias.
3350 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3351 Define mkostemps64 as an alias.
3352 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3353 Conditionalize body on this.
3354 * misc/mkostemp64.c: Likewise.
3355 * misc/mkostemps64.c: Likewise.
3356 * misc/mkstemps64.c: Likewise.
3357 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3358 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3359 * sysdeps/wordsize-64/mkostemp.c: File removed.
3360 * sysdeps/wordsize-64/mkstemp.c: File removed.
3361 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3362 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3363 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3367 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3368 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3369 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3370 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3372 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3373 compat_symbol macros from <shlib-compat.h> rather than the underlying
3374 default_symbol_version and symbol_version macros, so that DEFAULT
3375 lines in shlib-versions are respected.
3376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3378 2012-08-01 Florian Weimer <fweimer@redhat.com>
3380 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3381 Declare with warn_unused_result.
3382 (setgid, setregid, setegid, setresgid): Likewise.
3383 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3385 * WUR-REPORT: Remove set*id functions.
3387 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3389 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3391 2012-07-31 Roland McGrath <roland@hack.frob.com>
3393 * include/sys/socket.h (__libc_accept, __libc_accept4):
3394 Add attribute_hidden.
3395 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3397 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3399 * inet/getnetgrent_r.c (setup): Likewise.
3401 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3403 2012-07-31 David S. Miller <davem@davemloft.net>
3405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3407 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3410 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3411 value between 1.0 and 2.0 and smaller part has absolute value less
3413 * math/s_clog10.c (__clog10): Likewise.
3414 * math/s_clog10f.c (__clog10f): Likewise.
3415 * math/s_clog10l.c (__clog10l): Likewise.
3416 * math/s_clogf.c (__clogf): Likewise.
3417 * math/s_clogl.c (__clogl): Likewise.
3418 * math/libm-test.inc (clog_test): Add more tests.
3419 (clog10_test): Likewise.
3420 * sysdeps/i386/fpu/libm-test-ulps: Update.
3421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3423 2012-07-31 Florian Weimer <fweimer@redhat.com>
3425 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3426 Exit with zero in case no suitable GID is found, and write a
3427 message to standard error.
3429 2012-07-30 Roland McGrath <roland@hack.frob.com>
3431 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3433 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3434 (MAXPATHLEN): Removed.
3435 (NOGROUP, NODEV): New macros.
3436 (setbit, clrbit, isset, isclr): New macros.
3437 (howmany, roundup, powerof2): New macros.
3438 (DEV_BSIZE): New macro.
3440 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3441 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3443 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3444 definition on [!__NO_LONG_DOUBLE_MATH].
3446 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3447 PTR_MANGLE and PTR_DEMANGLE.
3449 * socket/accept4.c (accept4): Rename to __libc_accept4.
3450 Define accept4 as a weak alias.
3452 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3453 on [_DIRENT_HAVE_D_TYPE].
3454 * io/ftw.c (ftw_dir): Likewise.
3456 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3458 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3460 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3461 Use the BSD numbers rather than the arbitrary ones we had.
3462 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3463 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3464 (SIGXCPU, SIGXFSZ): New macros.
3467 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3468 initializer on [_LIBC_REENTRANT].
3470 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3471 definitions inside [_POSIX_MAPPED_FILES].
3473 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3475 * dirent/opendir.c: Include <fcntl.h>.
3477 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3478 (__libc_getspecific): Likewise.
3479 (__libc_key_create): Likewise.
3481 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3482 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3483 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3484 (tmpfile64): Define as alias.
3485 * sysdeps/wordsize-64/tmpfile.c: File removed.
3486 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3487 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3488 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3490 * stdio-common/vfscanf.c: Include <stdbool.h>.
3491 * nss/makedb.c: Likewise.
3492 * stdio-common/_i18n_number.h: Likewise.
3493 * argp/argp-help.c: Likewise.
3494 * posix/wordexp.c: Likewise.
3495 * sysdeps/posix/spawni.c: Likewise.
3496 * nss/nss_files/files-initgroups.c: Likewise.
3497 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3498 * nss/nss_files/files-initgroups.c: Likewise.
3499 * nss/nss_db/db-netgrp.c: Likewise.
3500 * nss/nss_db/db-initgroups.c: Likewise.
3501 * io/fchmodat.c: Include <sys/stat.h>.
3503 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3504 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3506 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3509 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3510 Add multiple inclusion protection.
3512 2012-07-27 David S. Miller <davem@davemloft.net>
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3516 2012-07-27 Gary Benson <gbenson@redhat.com>
3519 * elf/rtld.c: Include <stap-probe.h>.
3520 (dl_main): Added static probes "init_start" and "init_complete".
3521 * elf/dl-load.c: Include <stap-probe.h>.
3522 (lose): Take new parameter "nsid".
3523 Added static probe "map_failed".
3524 (_dl_map_object_from_fd): Pass namespace id to lose.
3525 Added static probe "map_start".
3526 (open_verify): Pass namespace id to lose.
3527 * elf/dl-open.c: Include <stap-probe.h>.
3528 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3529 and "reloc_complete".
3530 * elf/dl-close.c: Include <stap-probe.h>.
3531 (_dl_close_worker): Added static probes "unmap_start" and
3533 * elf/rtld-debugger-interface.txt: New file documenting the above.
3535 2012-07-26 Roland McGrath <roland@hack.frob.com>
3537 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3538 rather than a string variable.
3539 * sunrpc/rpc_main.c (h_output): Likewise.
3540 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3542 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3544 * inet/check_native.c: New file.
3546 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3549 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3550 if larger part has absolute value 1.0.
3551 * math/s_clog10.c (__clog10): Likewise.
3552 * math/s_clog10f.c (__clog10f): Likewise.
3553 * math/s_clog10l.c (__clog10l): Likewise.
3554 * math/s_clogf.c (__clogf): Likewise.
3555 * math/s_clogl.c (__clogl): Likewise.
3556 * math/libm-test.inc (clog_test): Add more tests.
3557 (clog10_test): Likewise.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3562 (pltexit): Likewise.
3563 (La_regs): Likewise.
3564 (La_retval): Likewise.
3565 (int_retval): Likewise.
3566 Update #error for removed macros to refer only to definitions in
3568 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3570 (pltexit): Likewise.
3571 (La_regs): Likewise.
3572 (La_retval): Likewise.
3573 (int_retval): Likewise.
3574 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3576 (pltexit): Likewise.
3577 (La_regs): Likewise.
3578 (La_retval): Likewise.
3579 (int_retval): Likewise.
3580 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3582 (pltexit): Likewise.
3583 (La_regs): Likewise.
3584 (La_retval): Likewise.
3585 (int_retval): Likewise.
3586 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3588 (pltexit): Likewise.
3589 (La_regs): Likewise.
3590 (La_retval): Likewise.
3591 (int_retval): Likewise.
3592 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3594 (pltexit): Likewise.
3595 (La_regs): Likewise.
3596 (La_retval): Likewise.
3597 (int_retval): Likewise.
3598 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3600 (pltexit): Likewise.
3601 (La_regs): Likewise.
3602 (La_retval): Likewise.
3603 (int_retval): Likewise.
3604 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3605 macro definitions in tst-audit.h.
3606 * sysdeps/i386/tst-audit.h: New file.
3607 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3608 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3609 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3610 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3611 * sysdeps/sh/tst-audit.h: Likewise.
3612 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3613 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3614 * sysdeps/x86_64/tst-audit.h: Likewise.
3616 2012-07-26 Andreas Jaeger <aj@suse.de>
3618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3621 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3622 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3623 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3625 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3626 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3629 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3632 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3634 (si_call_addr, si_syscall, si_arch): Define new macro.
3635 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3637 (si_call_addr, si_syscall, si_arch): Define new marcro.
3638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3640 (si_call_addr, si_syscall, si_arch): Define new macro.
3641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3643 (si_call_addr, si_syscall, si_arch): Define new macro.
3645 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3649 Change to 2.4.21 where previously 2.4.1.
3650 * sysdeps/unix/sysv/linux/configure: Regenerated.
3651 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3652 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3653 Linux kernel version.
3654 (__ASSUME_STD_AUXV): Remove.
3655 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3657 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3658 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3659 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3660 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3661 (__ASSUME_NETLINK_SUPPORT): Likewise.
3662 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3663 (__no_netlink_support): Remove conditional definition.
3664 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3666 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3667 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3668 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3669 (if_nameindex_ioctl): Remove.
3670 (if_nameindex_netlink): Do not handle __no_netlink_support.
3671 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3673 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3674 Remove conditional code.
3675 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3677 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3679 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3680 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3681 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3683 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3684 [!__ASSUME_STD_AUXV]: Remove conditional code.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3686 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3687 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3689 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3690 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3692 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3694 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3695 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3697 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3699 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3702 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3705 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3707 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3709 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3711 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3714 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3716 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3719 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3721 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3723 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3725 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3728 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3730 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3732 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3734 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3737 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3739 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3740 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3741 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3742 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3743 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3744 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3745 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3746 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3747 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3748 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3749 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3750 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3751 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3752 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3753 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3754 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3755 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3757 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3763 2012-07-25 Florian Weimer <fweimer@redhat.com>
3765 * Versions.def: Add GLIBC_2.17.
3766 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3767 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3768 Introduce __libc_secure_getenv.
3769 * stdlib/Versions (2.17): Add secure_getenv
3770 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3771 * stdlib/secure-getenv.c: Rename __secure_getenv to
3772 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3773 symbol __secure_getenv for GLIBC_2.0.
3774 * stdlib/tst-secure-getenv.c: New.
3775 * stdlib/Makefile (tests): Add testcase.
3776 * manual/startup.texi (Environment Access): Document
3778 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3779 __libc_secure_getenv.
3780 * inet/ruserpass.c (ruserpass): Likewise.
3781 * malloc/mtrace.c (mtrace): Likewise.
3782 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3783 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3784 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3785 * sysdeps/posix/tempname.c: Likewise. Evaluate
3787 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3788 __secure_getenv to __libc_secure_getenv.
3789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3802 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3804 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3805 (struct La_i86_retval): Likewise.
3806 (struct La_x86_64_regs): Likewise.
3807 (struct La_x86_64_retval): Likewise.
3808 (struct La_x32_regs): Likewise.
3809 (struct La_x32_retval): Likewise.
3810 (struct La_ppc32_regs): Likewise.
3811 (struct La_ppc32_retval): Likewise.
3812 (struct La_ppc64_regs): Likewise.
3813 (struct La_ppc64_retval): Likewise.
3814 (struct La_sh_regs): Likewise.
3815 (struct La_sh_retval): Likewise.
3816 (struct La_s390_32_regs): Likewise.
3817 (struct La_s390_32_retval): Likewise.
3818 (struct La_s390_64_regs): Likewise.
3819 (struct La_s390_64_retval): Likewise.
3820 (struct La_sparc32_regs): Likewise.
3821 (struct La_sparc32_retval): Likewise.
3822 (struct La_sparc64_regs): Likewise.
3823 (struct La_sparc64_retval): Likewise.
3824 (struct audit_ifaces): Remove architecture-specific pltenter and
3826 * sysdeps/i386/ldsodefs.h: New file.
3827 * sysdeps/powerpc/ldsodefs.h: Likewise.
3828 * sysdeps/s390/ldsodefs.h: Likewise.
3829 * sysdeps/sh/ldsodefs.h: Likewise.
3830 * sysdeps/sparc/ldsodefs.h: Likewise.
3831 * sysdeps/x86_64/ldsodefs.h: Likewise.
3833 2012-07-25 Marek Polacek <polacek@redhat.com>
3836 * math/libm-test.inc (yn_test): Add another test.
3837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3838 to ERANGE when the result is +-Inf.
3839 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3840 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3841 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3842 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3844 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3846 * conform/data/time.h-data (NULL): Use macro-constant. Require
3848 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3850 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3852 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3854 * configure.in <sysdeps resolving>: Correct printing
3856 * configure: Regenerate.
3858 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3860 * math/w_ilogb.c: Include <limits.h>.
3861 * math/w_ilogbl.c: Likewise.
3863 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3865 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3866 va_copy. Document allowing for unavailable va_copy only as
3867 pre-C99 compatibility.
3868 * manual/string.texi (Copying and Concatenation): Use va_copy
3869 instead of __va_copy in concat example.
3871 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3873 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3874 (__sendto): Use create_address_port. Initialize APORT and deallocate
3877 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3878 with O_NOLINK passed to __file_name_lookup.
3880 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3881 with O_NOLINK passed to __file_name_lookup.
3883 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3884 negative N or less than NGIDS.
3886 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3887 type to string_t. Set ERANGE as errno and return it if NAME is not big
3888 enough. Use memcpy instead of strncpy.
3890 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3892 * elf/Makefile (check-data): Remove.
3893 (localplt.data): New vpath directive.
3894 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3895 instead of $(check-data).
3896 * scripts/data/localplt-generic.data: Move to ...
3897 * sysdeps/generic/localplt.data: ... here.
3898 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3899 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3900 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3903 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3906 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3909 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3912 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3915 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3919 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3921 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3922 PPC32 and PPC64 files.
3923 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3924 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3926 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3928 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3929 __makecontext_ret to ...
3930 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3931 ... here and call exit if uc_link is NULL. New file.
3932 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3933 __makecontext_ret.S.
3934 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3935 __makecontext_ret to ...
3936 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3937 ... here and call exit if uc_link is NULL. New file.
3938 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3939 __makecontext_ret.S.
3941 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3943 * elf/elf.h (R_390_IRELATIVE): New definition.
3944 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3945 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3946 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3948 (elf_machine_lazy_rel): Likewise.
3949 * sysdeps/s390/dl-irel.h: New file.
3950 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3951 * sysdeps/s390/s390-64/memset.S: New asm code.
3952 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3953 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3954 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3955 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3956 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3957 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3958 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3959 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3960 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3961 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3962 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3963 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3964 * sysdeps/s390/s390-32/memset.S: New asm code.
3965 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3967 2012-07-17 Marek Polacek <polacek@redhat.com>
3970 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3971 * sysdeps/s390/s390-64/configure.in: Likewise.
3972 * sysdeps/sparc/configure.in: Likewise.
3973 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3974 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3975 * sysdeps/i386/configure.in: Likewise.
3976 * sysdeps/x86_64/configure.in: Likewise.
3977 * sysdeps/sh/configure.in: Likewise.
3978 * sysdeps/s390/s390-32/configure: Regenerated.
3979 * sysdeps/s390/s390-64/configure: Likewise.
3980 * sysdeps/x86_64/configure: Likewise.
3981 * sysdeps/sh/configure: Likewise.
3982 * sysdeps/powerpc/powerpc64/configure: Likewise.
3983 * sysdeps/powerpc/powerpc32/configure: Likewise.
3984 * sysdeps/sparc/configure: Likwise.
3985 * sysdeps/i386/configure: Likewise.
3987 * elf/dl-open.c: Comment fixes.
3989 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3991 * Makefile [CXX] (check-data): Remove.
3992 [CXX] (c++-types.data): New vpath directive.
3993 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3994 vpath. Do not allow for C++ type data being missing.
3995 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3996 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3997 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3998 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3999 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4000 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4001 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4004 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4007 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4010 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4013 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4016 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4019 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4022 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4025 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4026 definitions to architecture-specific files.
4030 * sysdeps/i386/tls-macros.h: New file.
4031 * sysdeps/powerpc/tls-macros.h: Likewise.
4032 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4033 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4034 * sysdeps/sh/tls-macros.h: Likewise.
4035 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4036 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4037 * sysdeps/x86_64/tls-macros.h: Likewise.
4039 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4041 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4042 zero value for regular exit case.
4044 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4045 (__start_context): Preserve zero value for regular exit case.
4047 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4048 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4050 * manual/setjmp.texi (setcontext): Clarify normal process
4051 termination when uc_link is the null pointer.
4052 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4055 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4057 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4058 preprocessor. Test for each exception mask separately.
4060 2012-07-16 Andreas Jaeger <aj@suse.de>
4062 * po/ru.po: Update from translation team.
4064 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4066 * conform/data/string.h-data (NULL): Use macro-constant. Require
4068 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4069 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4070 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4071 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4074 2012-07-13 Andreas Jaeger <aj@suse.de>
4076 * po/fr.po: Update from translation team.
4078 2012-07-12 Marek Polacek <polacek@redhat.com>
4081 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4082 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4085 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4089 Change to 2.4.1 where previously 2.4.0.
4090 * sysdeps/unix/sysv/linux/configure: Regenerated.
4091 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4092 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4094 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4095 (__ASSUME_AT_CLKTCK): Remove.
4096 (__ASSUME_AT_PAGESIZE): Likewise.
4097 (__ASSUME_AT_XID): Likewise.
4098 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4099 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4100 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4102 (HAVE_AUX_PAGESIZE): Likewise.
4103 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4104 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4105 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4107 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4111 the temporary buffer used to invoke __gethostbyname2_r,
4112 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4113 host_data / struct gaih_addrtuple.
4114 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4115 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4116 header file nss/nsswitch.h.
4117 * nss/nsswitch.h (global scope): Add definition of implementation
4118 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4119 resolv/nss_dns/dns-host.c).
4121 2012-07-11 Andreas Jaeger <aj@suse.de>
4123 * po/fr.po: Update from translation team.
4125 * po/sv.po: Update from translation team
4126 * po/fr.po: Another update from translation team.
4128 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4130 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4131 for subnormals or multiply small sinh result by itself.
4132 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4135 2012-07-11 David S. Miller <davem@davemloft.net>
4137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4139 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4142 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4143 (INTERNAL_MARK): Shift it here.
4145 2012-07-10 Marek Polacek <polacek@redhat.com>
4148 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4149 libc_cv_asm_global_directive with .globl.
4150 * configure: Regenerated.
4151 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4153 * sysdeps/i386/configure: Regenerated.
4154 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4156 * sysdeps/x86_64/configure: Regenerated.
4157 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4158 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4159 * elf/tst-unique2mod2.c: Likewise.
4160 * elf/tst-unique2mod1.c: Likewise.
4161 * elf/tst-unique1mod2.c: Likewise.
4162 * elf/tst-unique1mod1.c: Likewise.
4163 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4164 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4166 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4167 * sysdeps/mach/sysdep.h: Likewise.
4168 * sysdeps/i386/sysdep.h: Likewise.
4169 * sysdeps/i386/i386-mcount.S: Likewise.
4170 * sysdeps/x86_64/_mcount.S: Likewise.
4171 * sysdeps/x86_64/sysdep.h: Likewise.
4172 * sysdeps/sh/_mcount.S: Likewise.
4173 * sysdeps/sh/sysdep.h: Likewise.
4174 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4175 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4176 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4177 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4178 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4179 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4180 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4181 * locale/localeinfo.h: Likewise.
4182 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4183 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4185 2012-07-09 Roland McGrath <roland@hack.frob.com>
4188 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4190 * manual/message.texi (The Uniforum approach): Likewise.
4191 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4192 (glibc iconv Implementation): Likewise.
4194 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4197 * math/s_clog.c (__clog): Avoid scaling a value down where that
4198 could result in underflow.
4199 * math/s_clog10.c (__clog10): Likewise.
4200 * math/s_clog10f.c (__clog10f): Likewise.
4201 * math/s_clog10l.c (__clog10l): Likewise.
4202 * math/s_clogf.c (__clogf): Likewise.
4203 * math/s_clogl.c (__clogl): Likewise.
4204 * math/libm-test.inc (clog_test): Add more tests.
4205 (clog10_test): Likewise.
4206 * sysdeps/i386/fpu/libm-test-ulps: Update.
4207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4209 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4212 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4213 by 7 not 8 to examine high bit of fractional part.
4216 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4217 for call to __mcount_internal.
4218 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4219 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4220 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4222 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4225 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4226 approximation for values within 0x1p-13f of an odd multiple of
4228 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4229 exception. Add more tests.
4230 * sysdeps/i386/fpu/libm-test-ulps: Update.
4233 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4234 inputs and return -1 for them. Do not check for +Inf in case not
4236 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4237 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4238 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4239 and return -1 for them. Do not check for +Inf in case not
4241 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4243 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4244 and return -1 for them. Do not check for +Inf in case not
4246 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4248 * sysdeps/i386/fpu/libm-test-ulps: Update.
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4253 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4255 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4259 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4260 could result in spurious underflow. Scale down values above
4261 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4262 * math/s_csqrtf.c (__csqrtf): Likewise.
4263 * math/s_csqrtl.c (__csqrtl): Likewise.
4264 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4266 * sysdeps/i386/fpu/libm-test-ulps: Update.
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4269 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4271 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4273 * catgets/xopen-msg.awk: New file.
4274 * catgets/xopen-msg.sed: Removed.
4276 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4278 * intl/po2test.awk: New file.
4279 * intl/po2test.sed: Removed.
4281 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4284 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4285 or multiply small sinh result by itself.
4286 * math/s_ctanf.c (__ctanf): Likewise.
4287 * math/s_ctanh.c (__ctanh): Likewise.
4288 * math/s_ctanhf.c (__ctanhf): Likewise.
4289 * math/s_ctanhl.c (__ctanhl): Likewise.
4290 * math/s_ctanl.c (__ctanl): Likewise.
4291 * math/libm-test.inc (ctan_test_tonearest): New function.
4292 (ctan_test_towardzero): Likewise.
4293 (ctan_test_downward): Likewise.
4294 (ctan_test_upward): Likewise.
4295 (ctanh_test_tonearest): Likewise.
4296 (ctanh_test_towardzero): Likewise.
4297 (ctanh_test_downward): Likewise.
4298 (ctanh_test_upward): Likewise.
4299 (main): Call these new functions.
4300 * sysdeps/i386/fpu/libm-test-ulps: Update.
4301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4303 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4305 * .gitignore: Delete /ports entry.
4307 2012-07-03 Andreas Jaeger <aj@suse.de>
4309 * po/bg.po: Update from translation team.
4310 * po/cs.po: Likewise.
4311 * po/de.po: Likewise.
4312 * po/hr.po: Likewise.
4313 * po/nl.pl: Likewise.
4314 * po/pl.po: Likewise.
4315 * po/vi.po: Likewise.
4317 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4319 * Makeconfig [!+link] (+link-before-libc): New variable.
4320 [!+link] (+link-after-libc): Likewise.
4321 [!+link] (+link-tests): Likewise.
4322 [!+link] (+link): Define in terms of $(+link-before-libc) and
4323 $(+link-after-libc).
4324 [!+link-static] (+link-static-before-libc): New variable.
4325 [!+link-static] (+link-static-after-libc): Likewise.
4326 [!+link-static] (+link-static-tests): Likewise.
4327 [!+link-static] (+link-static): Define in terms of
4328 $(+link-static-before-libc) and $(+link-static-after-libc).
4329 [build-shared] (link-libc-before-gnulib): New variable.
4330 [build-shared] (link-libc-tests): Likewise.
4331 [build-shared] (link-libc): Define in terms of
4332 $(link-libc-before-gnulib).
4333 [!build-shared] (link-libc-tests): New variable.
4334 (link-libc-static-tests): New variable.
4335 [!gnulib] (gnulib-arch): New variable.
4336 [!gnulib] (gnulib-tests): Likewise.
4337 [!gnulib] (static-gnulib-arch): Likewise.
4338 [!gnulib] (static-gnulib-tests): Likewise.
4339 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4340 Define with "=" instead of ":=".
4341 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4342 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4343 * Rules (binaries-all-notests): New variable.
4344 (binaries-all-tests): Likewise.
4345 (binaries-static-notests): Likewise.
4346 (binaries-static-tests): Likewise.
4347 (binaries-all): Define using $(binaries-all-notests) and
4348 $(binaries-all-tests).
4349 (binaries-static): Define using $(binaries-static-notests) and
4350 $(binaries-static-tests).
4351 (binaries-shared-tests): New variable.
4352 (binaries-shared-notests): Likewise.
4353 (binaries-shared): Remove variable.
4354 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4355 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4356 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4357 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4358 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4359 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4360 * elf/Makefile (sln-modules): New variable.
4361 (extra-objs): Add $(sln-modules:=.o).
4362 (ldconfig-modules): Add static-stubs.
4363 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4364 * elf/static-stubs.c: New file.
4367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4368 by 7 not 8 to examine high bit of fractional part. Use volatile
4369 variables when splitting into final array of floats if
4370 __FLT_EVAL_METHOD__ != 0.
4371 * math/libm-test.inc (cos_test): Add another test.
4372 (sin_test): Likewise.
4373 * sysdeps/i386/fpu/libm-test-ulps: Update.
4376 * math/libm-test.inc (cosh_test): Add more tests.
4378 * version.h (RELEASE): Set to "development".
4379 (VERSION): Set to "2.16.90".
4381 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4383 * NEWS: Update copyright. Remove last-updated date.
4384 Mention math library bug fixes and timezone data changes.
4385 * README: Mention GNU/Hurd, x32, and HPPA support status.
4387 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4389 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4391 2012-06-27 Andreas Jaeger <aj@suse.de>
4393 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4395 2012-06-25 Andreas Jaeger <aj@suse.de>
4397 * sysdeps/s390/fpu/libm-test-ulps: Update.
4399 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4400 Thomas Schwinge <thomas@codesourcery.com>
4402 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4403 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4407 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4409 * sysdeps/mach/start.c: Remove file.
4410 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4411 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4412 * sysdeps/sh/init-first.c: Likewise.
4414 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4415 registers for frame unwinding purposes, add CFI directives.
4416 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4418 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4421 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4422 __fortify_fail returning.
4423 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4426 sysdeps/sh/____longjmp_chk.S.
4427 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4428 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4429 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4430 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4432 * sysdeps/sh/abort-instr.h: New file.
4433 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4434 process in case exit returns.
4436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4437 initialize the GOT register before use.
4439 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4440 calculation of ARGC > 4.
4442 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4443 meaningful names to some local labels.
4445 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4446 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4448 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4449 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4450 (__arch_compare_and_exchange_val_16_acq): Likewise.
4451 (__arch_compare_and_exchange_val_32_acq): Likewise.
4452 (atomic_exchange_and_add): Fix gUSA sequence.
4453 (atomic_add): Likewise.
4454 (atomic_add_negative): Likewise.
4455 (atomic_add_zero): Likewise.
4456 (atomic_bit_test_set): Likewise.
4458 2012-06-22 Andreas Schwab <schwab@redhat.com>
4461 * include/link.h (struct link_map): Add l_free_initfini.
4462 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4464 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4465 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4466 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4469 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4471 * configure.in: Use AC_LANG_SOURCE.
4472 * configure: Regenerate.
4474 2012-06-22 Roland McGrath <roland@hack.frob.com>
4476 * configure.in (libc_cv_localstatedir): New substituted variable.
4477 * configure: Regenerated.
4478 * config.make.in (localstatedir): New variable, substituted from
4479 libc_cv_localstatedir.
4480 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4481 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4482 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4483 * sysdeps/gnu/configure: Regenerated.
4485 2012-06-21 Jeff Law <law@redhat.com>
4488 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4489 free. Simplify list management for _LIBC case.
4491 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4494 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4495 Clear sign bit of 64-bit integer value before comparing against
4498 * sysdeps/mach/configure: Regenerated.
4500 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4503 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4505 2012-06-21 Jeff Law <law@redhat.com>
4508 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4509 uint16_t for elements in the "seen" array to avoid char overflows.
4510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4511 * elf/dl-open.c (dl_open_worker): Likewise.
4513 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4515 * scripts/list-sources.sh: Scan PORTS for translations.
4516 * po/libc.pot: Regenerated.
4518 2012-06-21 Andreas Jaeger <aj@suse.de>
4521 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4523 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4524 * bits/byteswap-16.h (__bswap_16): Likewise.
4525 * bits/byteswap.h (__bswap_constant_16): Likewise.
4527 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4530 * sysdeps/i386/fpu_control.h: Removed.
4531 * sysdeps/x86_64/fpu_control.h: Moved to ...
4532 * sysdeps/x86/fpu_control.h: Here.
4534 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4535 (_FPU_SETCW): Likewise.
4537 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4540 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4541 * sysdeps/x86/fpu/bits/mathinline.h: This.
4542 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4546 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4547 functions if __x86_64__ is defined.
4549 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4551 * string/endian.h: Add !__ASSEMBLER__ condition for including
4552 conversion interfaces.
4554 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4558 of ABS(x) in calculating zero to negative powers other than odd
4560 * math/libm-test.inc (pow_test): Add more tests.
4562 2012-06-15 Andreas Jaeger <aj@suse.de>
4564 * manual/contrib.texi (Contributors): Update entry of Liubov
4565 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4568 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4570 * string/string.h: Add __wur to GNU version of strerror_r.
4572 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4575 * string/Makefile (tests): Add tst-strtok_r.
4576 * string/tst-strtok_r.c: New file.
4577 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4578 RAX_LP/RDX_LP on SAVE_PTR.
4580 2012-06-14 Roland McGrath <roland@hack.frob.com>
4582 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4584 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4586 * libm_test.inc (csqrt_test): Allow more spurious underflow
4588 (j0_test): Likewise.
4589 (j1_test): Likewise.
4590 (y0_test): Likewise.
4591 (y1_test): Likewise.
4593 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4595 * po/Makefile (libc.pot): Use UTF-8 charset.
4597 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4600 Suppress sign-conversion warning from FD_SET.
4601 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4602 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4603 not unsigned long int.
4604 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4606 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4610 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4611 __extern_always_inline instead of __extern_inline.
4612 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4613 (__signbit): Likewise.
4614 (__signbitl): Support C++ namespace.
4615 (lrintf): New inline function.
4617 (llrintf): Likewise.
4629 (nearbyint): Likewise.
4630 (nearbyintf): Likewise.
4632 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4634 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4635 non-default versions.
4637 2012-06-11 Roland McGrath <roland@hack.frob.com>
4640 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4642 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4644 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4645 (FE_UPWARD, FE_DOWNWARD): Don't define.
4646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4647 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4654 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4656 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4658 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4661 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4665 * sysdeps/i386/fpu/Implies: New file.
4666 * sysdeps/x86_64/fpu/Implies: Likewise.
4667 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4668 * sysdeps/x86/fpu/bits/fenv.h: This.
4670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4673 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4676 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4677 character 0xffff that matches the last element of the
4680 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4685 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4688 values higher than 25.6283.
4690 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4693 subnormal exponent extraction and add some __builtin_expect.
4694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4695 Fix for subnormal mantissa calculation.
4697 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4699 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4700 cpu2 is -1 and errno is not ENOSYS.
4702 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4705 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4706 * sysdeps/x86/bits/string.h: This.
4707 * sysdeps/x86_64/bits/string.h: Removed.
4709 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4710 if not compiling for x86-64, but compiling for >= i486.
4712 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4713 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4716 New macro from Linux kernel 3.4.0.
4717 (FP_XSTATE_MAGIC2): Likewise.
4718 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4719 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4720 (struct _fpx_sw_bytes): New struct.
4721 (struct _xsave_hdr): Likewise.
4722 (struct _ymmh_state): Likewise.
4723 (struct _xstate): Likewise.
4725 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4726 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4727 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4728 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4729 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4730 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4732 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4733 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4734 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4735 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4736 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4737 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4739 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4742 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4743 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4744 (sysdep_headers): Include sys/platform/ppc.h.
4745 * sysdeps/powerpc/test-gettimebase.c: Test for
4746 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4747 * manual/Makefile (appendices): Include platform.texi.
4748 * manual/contrib.texi (Contributors): Update @node pointers.
4749 * manual/maint.texi (Maintenance): Likewise.
4750 (Platform): New node.
4751 * manual/platform.texi: New file. Document the new features.
4753 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4754 Jakub Jelinek <jakub@redhat.com>
4757 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4758 where __builtin_expect is unavailable.
4760 2012-06-03 David S. Miller <davem@davemloft.net>
4762 * stdlib/longlong.h: Updated from GCC.
4764 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4767 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4768 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4771 (GLIBC_2.16): Likewise.
4773 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4775 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4777 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4780 (default-abi): New variable.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4782 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4784 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4786 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4788 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4791 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4792 definition. Document in comment.
4794 2012-06-01 David S. Miller <davem@davemloft.net>
4796 * stdlib/longlong.h: Updated from GCC.
4798 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4801 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4802 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4803 sys/debugreg.h sys/io.h here.
4804 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4805 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4807 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4808 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4809 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4810 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4811 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4812 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4814 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4815 Define only if __x86_64__ is defined.
4817 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4821 Use int64_t for variable i.
4822 * math/libm-test.inc (fmod_test): Add more tests.
4824 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4825 z computation is not scheduled after fetestexcept.
4826 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4827 Use math_force_eval instead of asm to ensure calculation scheduled
4828 before exception test.
4829 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4830 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4832 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4835 computation is not scheduled after fetestexcept.
4837 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4840 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4841 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4843 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4845 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4846 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4848 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4851 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4853 (__WCHAR_MIN): Support __WORDSIZE == 64.
4854 (__WCHAR_MAX): Likewise.
4856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4857 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4861 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4864 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4867 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4868 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4871 Defined to 1 if __x86_64__ isn't defined.
4872 (_STAT_VER_LINUX_OLD): New.
4873 (st_atime): Remove duplicate.
4874 (st_mtime): Likewise.
4875 (st_ctime): Likewise.
4877 2012-05-31 David S. Miller <davem@davemloft.net>
4879 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4882 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4884 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4888 * elf/dl-reloc.c: Include <_itoa.h>.
4889 (_dl_reloc_bad_type): Remove use of INTUSE.
4890 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4891 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4892 * stdio-common/psiginfo.c (psiginfo): Likewise.
4893 * stdio-common/psignal.c (psignal): Likewise.
4894 * string/strsignal.c (strsignal): Likewise.
4895 * include/signal.h (_sys_siglist): Declare hidden proto.
4896 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4897 INTVARDEF with libc_hidden_data_def.
4898 * stdio-common/itoa-udigits.c: Likewise.
4899 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4900 (_itoa_lower_digits_internal): Remove declaration.
4901 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4902 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4903 (_sys_sigabbrev_internal): Remove aliases.
4904 (_sys_siglist): Define hidden alias.
4906 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4911 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4914 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4915 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4917 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4918 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4919 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4920 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4922 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4924 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4926 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4936 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4938 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4940 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4941 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4943 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4944 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4945 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4947 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4948 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4950 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4951 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4954 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4957 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4958 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4960 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4962 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4963 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4964 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4970 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4972 * math/math.h (M_El): Use two more decimal places.
4973 (M_LOG2El): Likewise.
4974 (M_LOG10El): Likewise.
4976 (M_LN10l): Likewise.
4978 (M_PI_2l): Likewise.
4979 (M_PI_4l): Likewise.
4980 (M_1_PIl): Likewise.
4981 (M_2_PIl): Likewise.
4982 (M_2_SQRTPIl): Likewise.
4983 (M_SQRT2l): Likewise.
4984 (M_SQRT1_2l): Likewise.
4986 2012-05-31 David S. Miller <davem@davemloft.net>
4988 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4989 values between float registers.
4990 * sysdeps/sparc/sparc64/memset.S: Likewise.
4991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4993 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4995 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4996 -D_FORTIFY_SOURCE=1.
4997 (CPPFLAGS-tst-longjmp_chk.c): Define.
4998 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4999 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5000 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5001 CFLAGS-tst-wchar-h.c.
5003 2012-05-31 Marek Polacek <polacek@redhat.com>
5006 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5007 __endmntent_internal): Remove declaration.
5008 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5009 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5010 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5012 2012-05-30 David S. Miller <davem@davemloft.net>
5014 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5015 (___Q_simulate_exceptions): Use real FP ops rather than writing
5017 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5020 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5023 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5024 * sysdeps/x86/bits/xtitypes.h: This.
5026 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5027 * sysdeps/x86/bits/wordsize.h: This.
5029 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5030 * sysdeps/x86/bits/huge_vall.h: This.
5032 * sysdeps/i386/bits/select.h: Removed.
5033 * sysdeps/x86_64/bits/select.h: Renamed to ...
5034 * sysdeps/x86/bits/select.h: This.
5036 * sysdeps/i386/bits/setjmp.h: Removed.
5037 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5038 * sysdeps/x86/bits/setjmp.h: This.
5040 * sysdeps/i386/bits/mathdef.h: Removed.
5041 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5042 * sysdeps/x86/bits/mathdef.h: This.
5044 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5047 * include/sys/socket.h (__connect_internal)
5048 (__libc_sa_len_internal): Remove declaration.
5049 (__connect, __libc_sa_len): Declare hidden_proto.
5050 (SA_LEN): Remove use of INTUSE.
5051 * socket/connect.c: Add libc_hidden_def.
5052 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5053 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5054 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5056 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5057 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5058 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5059 of adding _internal alias.
5061 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5064 * sysdeps/i386/bits/link.h: Removed.
5065 * sysdeps/i386/bits/linkmap.h: Likewise.
5066 * sysdeps/x86_64/bits/link.h: Renamed to ...
5067 * sysdeps/x86/bits/link.h: This.
5068 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5069 * sysdeps/x86/bits/linkmap.h: This.
5071 * sysdeps/i386/bits/endian.h: Removed.
5072 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5073 * sysdeps/x86/bits/endian.h: This.
5075 * sysdeps/i386/bits/byteswap.h: Removed.
5076 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5077 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5078 * sysdeps/x86/bits/byteswap.h: This.
5079 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5080 * sysdeps/x86/bits/byteswap-16.h: This.
5081 * sysdeps/i386/Implies: Add x86.
5082 * sysdeps/x86_64/Implies: Likewise.
5084 2012-05-30 David S. Miller <davem@davemloft.net>
5086 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5087 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5088 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5089 (FP_TRAPPING_EXCEPTIONS): Define.
5090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5091 (FP_TRAPPING_EXCEPTIONS): Define.
5092 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5093 subnormals only when inexact has been signalled or underflow
5094 exceptions are enabled.
5095 (_FP_PACK_CANONICAL): Likewise.
5097 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5101 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5103 2012-05-30 Richard Henderson <rth@twiddle.net>
5105 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5106 with #ifndef NOT_IN_libc.
5108 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5109 marked to avoid plt entry.
5111 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5114 * Makeconfig (default-abi): New macro.
5115 (abi-includes): Likewise.
5116 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5117 $(abi-$(default-abi)-lib-soname) for soname if defined.
5118 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5120 * Makefile (installed-stubs): Likewise.
5121 * include/stubs-biarch.h: Removed.
5122 * scripts/lib-names.awk: Only handle one library at a time.
5123 * scripts/soversions.awk: Remove WORDSIZE support.
5124 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5126 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5128 (syscall-list-default-condition): Likewise.
5129 (syscall-list-default-condition): Likewise.
5130 (syscall-list-includes): Likewise.
5131 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5132 syscall-list-* with abi-*. Handle undefined abi-variants.
5133 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5134 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5135 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5136 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5137 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5138 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5140 (syscall-list-32-options): Likewise.
5141 (syscall-list-32-condition): Likewise.
5142 (syscall-list-64-options): Likewise.
5143 (syscall-list-64-condition): Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5146 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5149 (abi-64-ld-soname): New macro.
5150 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5151 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5154 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5155 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5157 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/unix/sysv/linux/kernel-features.h
5160 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5161 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5162 include <kernel-features.h>.
5163 [!__NR_ftruncate64]: Remove conditional code.
5164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5165 [__NR_ftruncate64]: Make code unconditional.
5166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5167 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5168 include <kernel-features.h>.
5169 [!__NR_ftruncate64]: Remove conditional code.
5170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5171 [__NR_ftruncate64]: Make code unconditional.
5172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5174 include <kernel-features.h>.
5175 [!__NR_ftruncate64]: Remove conditional code.
5176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5177 [__NR_ftruncate64]: Make code unconditional.
5178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5180 include <kernel-features.h>.
5181 [!__NR_ftruncate64]: Remove conditional code.
5182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5183 [__NR_ftruncate64]: Make code unconditional.
5184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5186 * configure.in (libc_cv_fpie): Weaken to a compile test using
5188 * configure: Regenerated.
5190 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5205 2012-05-27 David S. Miller <davem@davemloft.net>
5207 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5209 (__Q_simulate_exceptions): Return void. Change to simulate
5210 exceptions by writing into the %fsr.
5211 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5212 (__Qp_handle_exceptions): Likewise.
5214 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5215 __Qp_handle_exceptions.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5217 __Qp_handle_exceptions.
5218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5219 as unused and give dummy FP_RND_NEAREST initializer.
5220 (FP_INHIBIT_RESULTS): Define.
5221 (___Q_simulate_exceptions): Update declaration.
5222 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5224 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5225 as unused and give dummy FP_RND_NEAREST initializer.
5226 (__Qp_handle_exceptions): Update declaration.
5227 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5230 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5232 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5233 the temporary FPU control word.
5234 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5235 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5238 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5239 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5240 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5242 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5243 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5246 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5248 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5251 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5253 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5254 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5255 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5256 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5258 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5259 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5262 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5264 * po/h.po: Update from translation team.
5266 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5268 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5270 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5271 handling of denormals.
5272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5273 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5274 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5275 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5281 2012-05-26 Marek Polacek <polacek@redhat.com>
5284 * math/libm-test.inc (fma_test): Don't always expect underflow
5287 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * elf/tst-execstack.c: Include stackinfo.h.
5291 (do_test): Adjust test case to ensure that pthread_getattr_np
5292 behaviour remains the same after marking stack executable.
5294 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/unix/sysv/linux/kernel-features.h
5297 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5298 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5300 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5301 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5302 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5304 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5305 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5307 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5309 * configure.in: Define the default includes to being none.
5310 * configure: Regenerated.
5312 2012-05-25 Roland McGrath <roland@hack.frob.com>
5314 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5315 * sysdeps/x86_64/setjmp.S: Likewise.
5316 * sysdeps/i386/bsd-setjmp.S: Likewise.
5317 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5318 * sysdeps/i386/setjmp.S: Likewise.
5319 * sysdeps/i386/__longjmp.S: Likewise.
5320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5321 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5323 * include/stap-probe.h: New file.
5324 * configure.in: Handle --enable-systemtap.
5325 * configure: Regenerated.
5326 * config.h.in (USE_STAP_PROBE): New #undef.
5327 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5328 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5329 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5331 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5335 to 2.4.0 where earlier.
5336 * sysdeps/unix/sysv/linux/configure: Regenerated.
5337 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5338 <kernel-features.h>.
5339 [__ASSUME_32BITUIDS]: Make code unconditional.
5340 [!__ASSUME_32BITUIDS]: Remove conditional code.
5341 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5342 <kernel-features.h>.
5343 [__ASSUME_32BITUIDS]: Make code unconditional.
5344 [!__ASSUME_32BITUIDS]: Remove conditional code.
5345 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5346 [__ASSUME_32BITUIDS]: Make code unconditional.
5347 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5348 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5349 <kernel-features.h>.
5350 [__ASSUME_32BITUIDS]: Make code unconditional.
5351 [!__ASSUME_32BITUIDS]: Remove conditional code.
5352 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5353 <kernel-features.h>.
5354 [__ASSUME_32BITUIDS]: Make code unconditional.
5355 [!__ASSUME_32BITUIDS]: Remove conditional code.
5356 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5357 <kernel-features.h>.
5358 [__ASSUME_32BITUIDS]: Make code unconditional.
5359 [!__ASSUME_32BITUIDS]: Remove conditional code.
5360 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5361 <kernel-features.h>.
5362 [__ASSUME_32BITUIDS]: Make code unconditional.
5363 [!__ASSUME_32BITUIDS]: Remove conditional code.
5364 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5365 <kernel-features.h>.
5366 [__ASSUME_32BITUIDS]: Make code unconditional.
5367 [!__ASSUME_32BITUIDS]: Remove conditional code.
5368 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5369 <kernel-features.h>.
5370 [__ASSUME_32BITUIDS]: Make code unconditional.
5371 [!__ASSUME_32BITUIDS]: Remove conditional code.
5372 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
5389 <kernel-features.h>.
5390 [__NR_setresgid] (__setresgid): Do not declare.
5391 [__ASSUME_32BITUIDS]: Make code unconditional.
5392 [!__ASSUME_32BITUIDS]: Remove conditional code.
5393 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5394 <kernel-features.h>.
5395 [__NR_setresuid] (__setresuid): Do not declare.
5396 [__ASSUME_32BITUIDS]: Make code unconditional.
5397 [!__ASSUME_32BITUIDS]: Remove conditional code.
5398 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5399 <kernel-features.h>.
5400 [__ASSUME_32BITUIDS]: Make code unconditional.
5401 [!__ASSUME_32BITUIDS]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5403 <kernel-features.h>.
5404 [__ASSUME_32BITUIDS]: Make code unconditional.
5405 [!__ASSUME_32BITUIDS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5407 <kernel-features.h>.
5408 [__ASSUME_32BITUIDS]: Make code unconditional.
5409 [!__ASSUME_32BITUIDS]: Remove conditional code.
5410 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5411 <kernel-features.h>.
5412 [__ASSUME_32BITUIDS]: Make code unconditional.
5413 [!__ASSUME_32BITUIDS]: Remove conditional code.
5414 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5415 <kernel-features.h>.
5416 [__ASSUME_32BITUIDS]: Make code unconditional.
5417 [!__ASSUME_32BITUIDS]: Remove conditional code.
5418 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5419 <kernel-features.h>.
5420 [__ASSUME_32BITUIDS]: Make code unconditional.
5421 [!__ASSUME_32BITUIDS]: Remove conditional code.
5422 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
5439 (__ASSUME_SETRESUID_SYSCALL): Remove.
5440 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5441 (__ASSUME_32BITUIDS): Likewise.
5442 (__ASSUME_LDT_WORKS): Likewise.
5443 (__ASSUME_O_DIRECTORY): Likewise.
5444 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5445 architecture but not kernel version.
5446 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5447 (__ASSUME_MMAP2_SYSCALL): Likewise.
5448 (__ASSUME_STAT64_SYSCALL): Likewise.
5449 (__ASSUME_IPC64): Likewise.
5450 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5451 <kernel-features.h>.
5452 [__ASSUME_32BITUIDS]: Make code unconditional.
5453 [!__ASSUME_32BITUIDS]: Remove conditional code.
5454 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5455 <kernel-features.h>.
5456 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5457 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5458 132096]: Remove conditional code.
5459 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5460 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5461 <kernel-features.h>.
5462 [__ASSUME_32BITUIDS]: Make code unconditional.
5463 [!__ASSUME_32BITUIDS]: Remove conditional code.
5464 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5465 <kernel-features.h>.
5466 [__ASSUME_32BITUIDS]: Make code unconditional.
5467 [!__ASSUME_32BITUIDS]: Remove conditional code.
5468 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5469 <kernel-features.h>.
5470 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5472 (__setresgid): Do not declare.
5473 [__ASSUME_32BITUIDS]: Make code unconditional.
5474 [!__ASSUME_32BITUIDS]: Remove conditional code.
5475 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5476 <kernel-features.h>.
5477 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5479 (__setresuid): Do not declare.
5480 [__ASSUME_32BITUIDS]: Make code unconditional.
5481 [!__ASSUME_32BITUIDS]: Remove conditional code.
5482 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5483 <kernel-features.h>.
5484 [__ASSUME_32BITUIDS]: Make code unconditional.
5485 [!__ASSUME_32BITUIDS]: Remove conditional code.
5486 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5487 <kernel-features.h>.
5488 [__ASSUME_32BITUIDS]: Make code unconditional.
5489 [!__ASSUME_32BITUIDS]: Remove conditional code.
5491 2012-05-25 Richard Henderson <rth@twiddle.net>
5493 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5494 dl_hwcap to ifunc resolver.
5495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5497 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5498 dl_hwcap to ifunc resolver.
5499 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5501 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5504 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5505 for |x| <= 2**-26, not 2**-57.
5506 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5509 2012-05-24 Jeff Law <law@redhat.com>
5511 * stdio-common/Makefile (tests): Add bug25.
5512 * stdio-common/bug25.c: New test.
5514 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5517 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5518 multiple of MALLOC_ALIGNMENT in size.
5519 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5521 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5523 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5525 (FILENAME_MAX): Use macro-int-constant.
5526 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5527 (_IOFBF): Use macro-int-constant.
5530 (SEEK_CUR): Likewise.
5531 (SEEK_END): Likewise.
5532 (SEEK_SET): Likewise.
5533 (TMP_MAX): Likewise.
5534 (EOF): Use macro-int-constant. Require < 0.
5535 (NULL): Use macro-constant. Require == 0.
5536 (stdin): Require type to be FILE *.
5539 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5541 (EXIT_SUCCESS): Likewise.
5542 (NULL): Use macro-constant. Require == 0.
5543 (RAND_MAX): Use macro-int-constant.
5544 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5545 [C99-based standards] (strtof): Require function.
5546 [C99-based standards] (strtold): Likewise.
5547 [C99-based standards] (strtoll): Likewise.
5548 [C99-based standards] (strtoull): Likewise.
5549 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5550 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5551 [ISO || ISO99 || ISO11] (math.h): Likewise.
5552 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5553 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5556 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5559 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5560 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5561 * intl/dgettext.c (DCGETTEXT): Likewise.
5562 * intl/gettext.c (DCGETTEXT): Likewise.
5563 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5564 * posix/regex_internal.h (gettext): Likewise.
5565 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5567 * include/argz.h (__argz_count_internal)
5568 (__argz_stringify_internal): Remove declaration.
5569 (__argz_count, __argz_stringify): Declare hidden proto.
5570 * intl/dcgettext.c: Remove use of INTDEF.
5571 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5572 * string/argz-stringify.c: Likewise.
5573 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5574 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5575 Declare hidden proto.
5576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5578 Declare hidden proto.
5579 * include/stdio.h (__asprintf_internal): Don't declare.
5580 (__asprintf): Don't define as macro. Declare hidden proto.
5581 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5582 (__fsetlocking): Declare hidden proto.
5583 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5584 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5586 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5587 (_IO_setlinebuf): Remove use of INTUSE.
5588 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5589 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5590 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5592 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5593 (_IO_do_flush): Remove use of INTUSE.
5594 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5595 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5596 (_IO_adjust_column, _IO_least_wmarker)
5597 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5598 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5599 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5600 (_IO_default_doallocate, _IO_wdefault_doallocate)
5601 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5602 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5603 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5604 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5605 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5606 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5607 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5608 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5609 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5610 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5611 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5612 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5613 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5615 (_IO_flush_all_internal, _IO_adjust_column_internal)
5616 (_IO_default_uflow_internal, _IO_default_finish_internal)
5617 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5618 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5619 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5620 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5621 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5622 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5623 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5624 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5625 (_IO_file_close_internal, _IO_file_close_it_internal)
5626 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5627 (_IO_file_init_internal, _IO_file_attach_internal)
5628 (_IO_file_fopen_internal, _IO_file_read_internal)
5629 (_IO_file_sync_internal, _IO_file_seek_internal)
5630 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5631 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5632 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5633 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5634 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5635 (_IO_list_all_internal, _IO_link_in_internal)
5636 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5637 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5638 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5639 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5640 (_IO_do_write_internal, _IO_padn_internal)
5641 (_IO_getline_info_internal, _IO_getline_internal)
5642 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5643 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5644 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5645 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5646 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5647 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5648 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5649 with libc_hidden_ver, remove use of INTUSE.
5650 * libio/genops.c: Likewise.
5651 * libio/freopen.c: Likewise.
5652 * libio/freopen64.c: Likewise.
5653 * libio/iofclose.c: Likewise.
5654 * libio/iofdopen.c: Likewise.
5655 * libio/iofflush.c: Likewise.
5656 * libio/iofflush_u.c: Likewise.
5657 * libio/iofgets.c: Likewise.
5658 * libio/iofgets_u.c: Likewise.
5659 * libio/iofopen.c: Likewise.
5660 * libio/iofopncook.c: Likewise.
5661 * libio/iofread.c: Likewise.
5662 * libio/iofread_u.c: Likewise.
5663 * libio/ioftell.c: Likewise.
5664 * libio/iofwrite.c: Likewise.
5665 * libio/iogetline.c: Likewise.
5666 * libio/iogets.c: Likewise.
5667 * libio/iogetwline.c: Likewise.
5668 * libio/iopadn.c: Likewise.
5669 * libio/iopopen.c: Likewise.
5670 * libio/ioseekoff.c: Likewise.
5671 * libio/ioseekpos.c: Likewise.
5672 * libio/iosetbuffer.c: Likewise.
5673 * libio/iosetvbuf.c: Likewise.
5674 * libio/ioungetc.c: Likewise.
5675 * libio/ioungetwc.c: Likewise.
5676 * libio/iovdprintf.c: Likewise.
5677 * libio/iovsprintf.c: Likewise.
5678 * libio/iovsscanf.c: Likewise.
5679 * libio/memstream.c: Likewise.
5680 * libio/obprintf.c: Likewise.
5681 * libio/oldfileops.c: Likewise.
5682 * libio/oldiofclose.c: Likewise.
5683 * libio/oldiofdopen.c: Likewise.
5684 * libio/oldiofopen.c: Likewise.
5685 * libio/oldiopopen.c: Likewise.
5686 * libio/oldstdfiles.c: Likewise.
5687 * libio/putc.c: Likewise.
5688 * libio/setbuf.c: Likewise.
5689 * libio/setlinebuf.c: Likewise.
5690 * libio/stdfiles.c: Likewise.
5691 * libio/strops.c: Likewise.
5692 * libio/vasprintf.c: Likewise.
5693 * libio/vscanf.c: Likewise.
5694 * libio/vsnprintf.c: Likewise.
5695 * libio/vswprintf.c: Likewise.
5696 * libio/wfiledoalloc.c: Likewise.
5697 * libio/wfileops.c: Likewise.
5698 * libio/wgenops.c: Likewise.
5699 * libio/wmemstream.c: Likewise.
5700 * libio/wstrops.c: Likewise.
5701 * libio/__fpurge.c: Likewise.
5702 * libio/__fsetlocking.c: Likewise.
5703 * assert/assert.c: Likewise.
5704 * debug/fgets_chk.c: Likewise.
5705 * debug/fgets_u_chk.c: Likewise.
5706 * debug/fread_chk.c: Likewise.
5707 * debug/fread_u_chk.c: Likewise.
5708 * debug/gets_chk.c: Likewise.
5709 * debug/obprintf_chk.c: Likewise.
5710 * debug/vasprintf_chk.c: Likewise.
5711 * debug/vdprintf_chk.c: Likewise.
5712 * debug/vsnprintf_chk.c: Likewise.
5713 * debug/vsprintf_chk.c: Likewise.
5714 * malloc/mtrace.c: Likewise.
5715 * misc/error.c: Likewise.
5716 * misc/syslog.c: Likewise.
5717 * stdio-common/asprintf.c: Likewise.
5718 * stdio-common/fxprintf.c: Likewise.
5719 * stdio-common/getw.c: Likewise.
5720 * stdio-common/isoc99_fscanf.c: Likewise.
5721 * stdio-common/isoc99_scanf.c: Likewise.
5722 * stdio-common/isoc99_vfscanf.c: Likewise.
5723 * stdio-common/isoc99_vscanf.c: Likewise.
5724 * stdio-common/isoc99_vsscanf.c: Likewise.
5725 * stdio-common/printf-prs.c: Likewise.
5726 * stdio-common/printf_fp.c: Likewise.
5727 * stdio-common/printf_fphex.c: Likewise.
5728 * stdio-common/printf_size.c: Likewise.
5729 * stdio-common/putw.c: Likewise.
5730 * stdio-common/scanf.c: Likewise.
5731 * stdio-common/sprintf.c: Likewise.
5732 * stdio-common/tmpfile.c: Likewise.
5733 * stdio-common/vfprintf.c: Likewise.
5734 * stdio-common/vfscanf.c: Likewise.
5735 * stdlib/strfmon_l.c: Likewise.
5736 * sunrpc/openchild.c: Likewise.
5737 * sunrpc/xdr_stdio.c: Likewise.
5738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5739 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5741 2012-05-24 Roland McGrath <roland@hack.frob.com>
5743 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5745 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5746 in the third column, to generate for the shared library an IFUNC
5747 that uses _dl_vdso_vsym.
5748 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5749 * Makeconfig (object-suffixes-noshared): New variable.
5751 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5752 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5753 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5754 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5757 * include/sys/time.h (__gettimeofday): Remove macro.
5758 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5759 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5761 (__gettimeofday): Add libc_hidden_def.
5762 (gettimeofday): Add libc_hidden_weak.
5763 * sysdeps/mach/gettimeofday.c: Likewise.
5764 * sysdeps/posix/gettimeofday.c: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5766 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5768 (__gettimeofday_internal): Remove strong_alias.
5769 (__gettimeofday): Add libc_hidden_def.
5770 (gettimeofday): Add libc_hidden_weak.
5771 * sysdeps/unix/syscalls.list (gettimeofday):
5772 Remove __gettimeofday_internal alias.
5774 2012-05-24 Daniel Jacobowitz <drow@false.org>
5775 H.J. Lu <hongjiu.lu@intel.com>
5778 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5779 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5780 (largebin_index_32_big): New.
5781 (largebin_index): Use it for 16-byte alignment.
5782 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5783 correction with front_misalign.
5785 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5813 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5814 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5816 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5820 * math/libm-test.inc (exp_test): Add test from bug 14036.
5821 (pow_test): Add test from bug 10846.
5823 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5825 (special_function): Do not include flags in test name.
5826 (parse_args): Likewise.
5827 * sysdeps/i386/fpu/libm-test-ulps: Update.
5828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5835 * math/libm-test.inc ("Philosophy"): Update comment about
5837 (UNDERFLOW_EXCEPTION): New macro.
5838 (UNDERFLOW_EXCEPTION_OK): Likewise.
5839 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5840 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5841 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5842 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5843 (INVALID_EXCEPTION_OK): Update value.
5844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5845 (OVERFLOW_EXCEPTION_OK): Likewise.
5846 (IGNORE_ZERO_INF_SIGN): Likewise.
5847 (test_exceptions): Handle underflow exceptions.
5848 (acos_test): Update for underflow exception expectations.
5849 (cexp_test): Likewise.
5850 (clog_test): Likewise.
5851 (clog10_test): Likewise.
5852 (csqrt_test): Likewise.
5853 (ctan_test): Likewise.
5854 (ctanh_test): Likewise.
5855 (exp_test): Likewise.
5856 (exp10_test): Likewise.
5857 (exp2_test): Likewise.
5858 (expm1_test): Likewise.
5859 (fma_test): Likewise.
5860 (j0_test): Likewise.
5861 (jn_test): Likewise.
5862 (nexttoward_test): Likewise.
5863 (pow_test): Likewise.
5864 (scalbn_test): Likewise.
5865 (scalbln_test): Likewise.
5866 (tan_test): Likewise.
5867 (y1_test): Likewise.
5868 * sysdeps/i386/fpu/libm-test-ulps: Update.
5869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871 2012-05-23 David S. Miller <davem@davemloft.net>
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5874 (__libc_sigaction): Remove unused local variables.
5876 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5878 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5880 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5882 mktime: avoid signed integer overflow
5883 * time/mktime.c (__mktime_internal): Do not mishandle the case
5884 where diff == INT_MIN.
5886 mktime: simplify computation of average
5887 * time/mktime.c (ranged_convert): Use new time_t_avg function
5888 instead of rolling our own (probably-slower) code.
5890 mktime: do not assume signed right shift propagates sign bit
5891 * time/mktime.c (isdst_differ): New static function.
5892 (__mktime_internal): No need to normalize tm_isdst now.
5893 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5896 mktime: merge another wrapv change from gnulib
5897 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5898 from some compilers.
5900 mktime: remove incorrect attempt at unusual arithmetics
5901 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5902 The code didn't really work on such machines anyway.
5903 (TYPE_MINIMUM): Assume two's complement.
5904 (twos_complement_arithmetic): Verify that long_int and time_t
5905 are two's complement (or unsigned, in the latter case).
5907 mktime: check signed shifts on long_int and time_t, too
5908 * time/mktime.c (SHR): Check that shifts work as desired
5909 on the types long_int and time_t too, as SHR is used on
5912 mktime: do not assume 'long' is wide enough
5913 * time/mktime.c (verify): Move decl up.
5914 (long_int): New type.
5915 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5916 to remove assumption in the code that 'long' is wide enough to
5917 store year values. This assumption is not true on x32 and on
5918 some non-glibc platforms.
5920 mktime: merge wrapv change from gnulib
5921 * time/mktime.c (WRAPV): New macro.
5922 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5923 (guess_time_tm, __mktime_internal): Do not assume that signed
5924 integer overflow wraps around; modern compilers generate code
5925 where this assumption is no longer valid.
5927 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5929 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5930 Replace "jmp L(pseudo_end)" with "ret".
5931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5934 2012-05-23 Andreas Jaeger <aj@suse.de>
5936 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5937 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5939 2012-05-23 Andreas Jaeger <aj@suse.de>
5940 Maximilian Attems <max@stro.at>
5942 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5945 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5948 code so that pseudo_end is just ret and the stack pointer is
5949 correct also for static library in error case.
5951 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5954 move to syscalls.list.
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5960 * manual/install.texi (Running make install): Do not mention Linux
5961 kernel version for which pt_chown is not needed.
5962 (Linux): Do not mention problems with nscd with 2.0 kernels.
5963 * INSTALL: Regenerated.
5965 2012-05-23 Andreas Jaeger <aj@suse.de>
5967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5968 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5970 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5972 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5974 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5980 * sysdeps/unix/sysv/linux/bits/in.h
5981 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5983 2012-05-22 Roland McGrath <roland@hack.frob.com>
5985 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5986 (PREPARE_VERSION): Just use assert instead, it will be elided
5987 under [NDEBUG] anyway.
5989 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5991 * sysdeps/unix/sysv/linux/Makefile: Include
5992 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5993 (sysdep_routines): Remove sysctl.
5994 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5995 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5996 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5997 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5998 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6000 2012-05-22 Andreas Jaeger <aj@suse.de>
6002 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6003 that pseudo_end is just ret and the stack pointer is correct also
6004 for static library in error case.
6006 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6009 * nss/nsswitch.c (defconfig_entries): New variable.
6010 (__nss_database_lookup): Don't leak defconfig entries.
6011 (nss_parse_service_list): Don't leak on error paths.
6012 (free_database_entries): New function.
6013 (free_defconfig): New function.
6014 (free_mem): Move common code to free_database_entries.
6016 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6018 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6020 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6022 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6023 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6026 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6027 (INTERNAL_SYSCALL_TYPES): Likewise.
6028 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6029 (LOAD_REGS_TYPES_[1-6]): Likewise.
6030 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6031 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6033 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6036 copysignl for GLIBC_2_0.
6037 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6038 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6040 logbl for GLIBC_2_0.
6041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6042 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6044 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6047 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6049 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6052 * time/mktime.c: Update copyright years.
6054 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6056 mktime: merge comment-quoting-style change from gnulib
6057 * time/mktime.c: Quote 'like this' in comments.
6058 The GNU coding standards suggest that we no longer quote `like this',
6059 as "`" and "'" are typically rendered asymmetrically nowadays.
6060 The typical gnulib style is to quote 'like this' when quoting
6061 code, and "like this" when quoting English.
6063 * time/mktime.c (compile-command): Add "-I.".
6065 mktime: merge mktime-internal.h change from gnulib
6066 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6068 mktime: merge time_r change from gnulib
6069 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6071 mktime: merge DEBUG change from gnulib
6072 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6073 case system <time.h> has a #define.
6075 mktime: merge <sys/types.h> change from gnulib
6076 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6077 since <time.t> is now guaranteed to define time_t.
6079 mktime: merge HAVE_CONFIG_H change from gnulib
6080 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6082 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6087 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6089 (struct rusage): Use anonymous union to pad each field to
6092 2012-05-21 David S. Miller <davem@davemloft.net>
6094 * Makefules (o-iterator): Remove .s cases.
6095 (compile-command.s): Delete.
6096 (COMPILE.s): Delete.
6097 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6099 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6101 * configure.in (libc_cv_predef_stack_protector): Only consider
6102 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6103 * configure: Regenerated.
6105 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6108 New macro. Use R*LP on int and pointer.
6109 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6110 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6111 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6112 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6114 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6115 [__WORDSIZE_TIME64_COMPAT32] instead of
6116 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6117 (struct utmp): Likewise.
6118 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6119 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6121 (__WORDSIZE_TIME64_COMPAT32): This.
6122 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6123 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6124 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6125 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6126 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6127 (__WORDSIZE_TIME64_COMPAT32): New macro.
6129 2012-05-21 Andreas Jaeger <aj@suse.de>
6131 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6132 only if [SHARED]. Add prototype for __wcschr_ia32.
6134 2012-05-21 Roland McGrath <roland@hack.frob.com>
6136 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6137 of %rbp unmolested in the jmp_buf while mangling the low bits.
6138 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6139 unmolested high bits of %rbp while demangling the low bits.
6140 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6142 2012-05-21 Andreas Jaeger <aj@suse.de>
6144 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6145 * sunrpc/svc_simple.c: Use it for registerrpc.
6146 * sunrpc/xcrypt.c: Use it for passwd2des.
6148 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6152 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6153 Don't define if [__SYSCALL_WORDSIZE != 32].
6154 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6157 2012-05-21 Bruno Haible <bruno@clisp.org>
6158 Andreas Jaeger <aj@suse.de>
6160 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6161 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6162 inptr and inend for must_buffer_ch.
6163 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6164 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6165 * stdio-common/Makefile (tests): Remove bug15.
6166 (bug15-ENV): Remove macro.
6167 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6170 2012-05-19 Andreas Jaeger <aj@suse.de>
6171 Roland McGrath <roland@hack.frob.com>
6173 * manual/contrib.texi: Completely rewritten. It contains now an
6174 alphabetical list of contributors and their contributions.
6176 2012-05-21 Richard Henderson <rth@twiddle.net>
6178 * misc/getauxval.c (__getauxval): Use unsigned long int.
6179 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6180 (getauxval): Use unsigned long int.
6182 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6184 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6186 2012-05-21 Roland McGrath <roland@hack.frob.com>
6188 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6189 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6190 __alignof__ (long double).
6192 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6196 2012-05-20 Richard Henderson <rth@twiddle.net>
6198 * misc/getauxval.c: New file.
6199 * misc/sys/auxv.h: New file.
6200 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6201 (routines): Add getauxval.
6202 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6203 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6204 * elf/dl-sysdep.c (_dl_auxv): Remove.
6205 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6206 * elf/dl-support.c (_dl_auxv): New variable.
6207 (_dl_aux_init): Initialize it.
6208 * manual/startup.texi (Auxiliary Vector): New node.
6209 * sysdeps/generic/bits/hwcap.h: New file.
6210 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6211 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6212 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6213 * sysdeps/sparc/sysdep.h: ... here. Include it.
6214 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6227 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6231 2012-05-19 David S. Miller <davem@davemloft.net>
6233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6235 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6238 * math/s_ccosh.c: Include <float.h>
6239 (__ccosh): Avoid internal overflow calculating sinh and cosh
6240 values before multiplying by sin and cos values.
6241 * math/s_ccoshf.c: Likewise.
6242 * math/s_ccoshl.c: Likewise.
6243 * math/s_csin.c: Likewise.
6244 * math/s_csinf.c: Likewise.
6245 * math/s_csinl.c: Likewise.
6246 * math/s_csinh.c: Likewise.
6247 * math/s_csinhf.c: Likewise.
6248 * math/s_csinhl.c: Likewise.
6249 * math/libm-test.inc (ccos_test): Add more tests.
6250 (ccosh_test): Likewise.
6251 (csin_test): Likewise.
6252 (csinh_test): Likewise.
6253 * sysdeps/i386/fpu/libm-test-ulps: Update.
6254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6256 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6258 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6259 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6261 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6263 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6265 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6266 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6267 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6268 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6269 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6270 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6271 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6272 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6273 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6274 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6275 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6276 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6277 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6278 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6279 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6280 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6281 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6282 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6283 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6284 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6285 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6286 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6287 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6288 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6289 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6290 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6291 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6292 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6293 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6294 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6295 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6297 2012-05-18 Andreas Jaeger <aj@suse.de>
6299 * csu/.gitignore: Delete.
6301 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6303 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6304 (timex): Use __syscall_slong_t.
6306 2012-05-18 Andreas Jaeger <aj@suse.de>
6307 Carlos O'Donell <carlos_odonell@mentor.com>
6309 * manual/install.texi (Configuring and compiling): Update
6310 description about files modified in the source directory.
6311 * INSTALL: Regenerated.
6313 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6315 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6316 value. Use "or" to set return value to -1.
6317 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6318 negate return value.
6320 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6322 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6323 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6324 failure if the compiler has Graphite support disabled.
6325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6327 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6328 CFLAGS-memmove.c): Likewise.
6329 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6332 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6334 * sysdeps/x86_64/x32/_itoa.h: New file.
6336 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6337 getdents system call only if kernel and user dirents have the
6338 same d_ino and d_off.
6340 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6341 LLONG_MAX != LONG_MAX.
6342 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6343 (_fitoa_word): Likewise.
6345 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6347 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6351 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6352 include <bits/wordsize.h>. Check __x86_64__ instead of
6354 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6355 if __x86_64__ is defined. Use anonymous union on fpstate.
6357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6360 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6362 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6363 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6364 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6365 Refer to _rtld_local_ro instead of _rtld_global_ro.
6366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6368 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6370 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6372 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6373 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6374 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6376 * sysdeps/powerpc/powerpc32/dl-machine.c
6377 (__elf_machine_runtime_setup) [PROF]: Don't reference
6380 2012-05-18 Andreas Jaeger <aj@suse.de>
6382 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6383 function only available for GCCs before 3.4 since GCC 3.4
6384 introduced a builtin.
6386 (llrintf): Likewise.
6394 (nearbyint): Likewise.
6395 (nearbyintf): Likewise.
6401 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6403 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6404 on both fields and cast pointer to __syscall_ulong_t.
6406 * bits/types.h (__fsword_t): New type.
6407 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6408 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6410 (__FSWORD_T_TYPE): Likewise.
6411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6412 (__FSWORD_T_TYPE): Likewise.
6413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6414 (__FSWORD_T_TYPE): Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6416 (__FSWORD_T_TYPE): Likewise.
6417 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6418 __SWORD_TYPE with __fsword_t.
6419 (statfs64): Likewise.
6421 2012-05-17 David S. Miller <davem@davemloft.net>
6423 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6425 2012-05-17 Andreas Jaeger <aj@suse.de>
6427 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6430 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6432 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6434 2012-05-17 Andreas Jaeger <aj@suse.de>
6436 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6439 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6441 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6443 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6445 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6446 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6448 2012-05-17 Andreas Jaeger <aj@suse.de>
6449 Carlos O'Donell <carlos_odonell@mentor.com>
6452 * sysdeps/x86_64/multiarch/init-arch.h
6453 (bit_YMM_Usable): Rename to...
6454 (bit_AVX_Usable): ... this.
6455 (bit_FMA4_Usable): New macro.
6456 (bit_XMM_state): New macro.
6457 (bit_YMM_state): New macro.
6458 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6459 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6460 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6461 (CPUID_OSXSAVE): New macro.
6462 (CPUID_AVX): New macro.
6463 (CPUID_FMA4): New macro.
6464 (index_YMM_Usable): Rename to...
6465 (index_AVX_Usable): ... this.
6466 (HAS_AVX): Use HAS_ARCH_FEATURE.
6467 (HAS_FMA4): Likewise.
6468 (HAS_YMM_USABLE): Remove.
6469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6470 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6472 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6473 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6474 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6475 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6476 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6478 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6480 * math/libm-test.c: Support platforms without multiple rounding modes.
6481 * math/bug-nextafter.c: Support platforms without FP exceptions.
6482 * math/bug-nexttoward.c: Likewise.
6483 * math/test-fenv.c: Likewise.
6484 * math/test-misc.c: Likewise.
6485 * stdlib/bug-getcontext.c: Likewise.
6487 2012-05-17 Andreas Jaeger <aj@suse.de>
6489 * manual/examples/search.c (critter_cmp): Change signature to
6491 * manual/string.texi (Collation Functions): Likewise.
6493 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6495 * bits/types.h: Fold copyright years.
6496 * bits/typesizes.h: Likewise.
6497 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6501 * time/time.h: Likewise.
6503 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6506 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6507 in instead of returning them. Return void.
6508 (__libc_mallinfo): Accumulate over all arenas.
6509 (__malloc_stats): Adjust for change in int_mallinfo interface.
6511 2012-05-16 Roland McGrath <roland@hack.frob.com>
6514 * configure.in (NM): Add AC_CHECK_TOOL for it.
6515 (libc_extra_cflags): New substituted variable.
6516 Check for -fstack-protector being used implicitly.
6517 * configure: Regenerated.
6518 * config.make.in (config-extra-cflags): New variable,
6519 gets @libc_extra_cflags@.
6520 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6523 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6524 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6525 * configure: Regenerated.
6526 * config.make.in (CPPUNDEFS): New substituted variable.
6527 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6528 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6529 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6531 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6533 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6534 (mq_attr): Use __syscall_slong_t.
6536 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6538 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6539 Check __x86_64__ instead of __WORDSIZE.
6540 (_STAT_VER_LINUX): Likewise.
6541 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6542 __syscall_ulong_t and __syscall_slong_t.
6545 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6551 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6553 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6555 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6558 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6559 include <bits/wordsize.h>. Check __x86_64__ instead of
6561 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6563 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6566 include <bits/wordsize.h>. Check __x86_64__ instead of
6568 (user_regs_struct): Use "__extension__ unsigned long long"
6569 instead of "unsigned long" if __x86_64__ is defined.
6570 (user): Likewise. Pad after pointer field if __ILP32__ is
6573 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6575 * configure.in (makeinfo): Require version 4.5 or later. Allow
6577 * configure: Regenerated.
6578 * manual/install.texi (texinfo): Increase version requirement to
6580 * INSTALL: Regenerated.
6582 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6584 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6586 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6588 * sysdeps/x86_64/x32/ffs.c: New file.
6590 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6592 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6593 defined. Use __syscall_ulong_t.
6594 (shminfo): Use __syscall_ulong_t.
6595 (shm_info): Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6600 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6602 (msgqnum_t): Use __syscall_ulong_t.
6603 (msglen_t): Likewise.
6604 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6607 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6608 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6610 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6612 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6613 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6615 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6619 include <bits/wordsize.h>. Check __x86_64__ instead of
6622 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6623 "unsigned long long int" if __x86_64__ is defined.
6624 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6626 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6628 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6630 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6632 (GET_PC): Cast to uintptr_t first.
6633 (GET_FRAME): Likewise.
6634 (GET_STACK): Likewise.
6636 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6637 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6639 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6641 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6642 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6643 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6644 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6645 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6647 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6651 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6652 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6653 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6654 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6655 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6664 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6666 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6668 * Makerules (+depfiles): Also collect depfiles from .oS in
6670 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6671 .oS, $(libnldbl-routines)).
6673 * Makerules (native-compile-mkdep-flags): Define.
6674 * sunrpc/Makefile (extra-objs): Add $(addprefix
6675 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6676 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6677 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6678 calling $(make-target-directory).
6680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6682 * bits/types.h (__snseconds_t): Removed.
6683 * time/time.h (struct timespec): Replace __snseconds_t with
6685 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6686 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6689 (__SNSECONDS_T_TYPE): Likewise.
6690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6691 (__SNSECONDS_T_TYPE): Likewise.
6692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6693 (__SNSECONDS_T_TYPE): Likewise.
6695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6697 * sysdeps/mach/hurd/bits/typesizes.h
6698 (__SYSCALL_SLONG_TYPE): New macro.
6699 (__SYSCALL_ULONG_TYPE): Likewise.
6701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6703 * bits/types.h (__syscall_slong_t): New type.
6704 (__syscall_ulong_t): Likewise.
6706 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6707 (__SYSCALL_ULONG_TYPE): Likewise.
6708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6709 (__SYSCALL_SLONG_TYPE): Likewise.
6710 (__SYSCALL_ULONG_TYPE): Likewise.
6711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6712 (__SYSCALL_SLONG_TYPE): Likewise.
6713 (__SYSCALL_ULONG_TYPE): Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6715 (__SYSCALL_SLONG_TYPE): Likewise.
6716 (__SYSCALL_ULONG_TYPE): Likewise.
6718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6720 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6721 Add sigaltstack-offsets.sym.
6722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6723 <sigaltstack-offsets.h>.
6724 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6725 longjmp_msg pointer.
6726 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6727 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6729 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6731 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6733 * elf/stackguard-macros.h: Remove file.
6734 * sysdeps/generic/stackguard-macros.h: New file.
6735 * sysdeps/i386/stackguard-macros.h: Likewise.
6736 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6737 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6738 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6739 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6740 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6741 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6742 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6743 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6744 <elf/stackguard-macros.h>.
6747 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6748 __aligned__ in attribute.
6749 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6750 (gregset_t): Likewise.
6752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6754 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6755 * sysdeps/x86_64/64/Implies-after: Here. New file.
6756 * sysdeps/x86_64/x32/Implies-after: New file.
6758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6760 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6761 and access return value for _dl_profile_fixup. Use R10_LP to
6764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6766 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6770 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6771 * sysdeps/x86_64/x32/sysdep.h: New file.
6773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6775 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6776 * sysdeps/x86_64/setjmp.S: Likewise.
6778 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6781 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6782 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6783 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6784 remove unused global constant.
6786 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6788 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6789 include of <not-cancel.h>.
6791 2012-05-15 Roland McGrath <roland@hack.frob.com>
6793 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6795 2012-05-15 Jeff Law <law@redhat.com>
6796 Andreas Jaeger <aj@suse.de>
6799 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6801 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6802 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6803 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6804 code changing __hst_map_handle.map.
6806 2012-05-15 Roland McGrath <roland@hack.frob.com>
6808 * configure.in (sysnames): Look for Implies-before and Implies-after
6810 * configure: Regenerated.
6812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6814 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6815 8-byte data alignment with LP_SIZE alignment.
6817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6824 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6828 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6829 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6830 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6836 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6837 (stackinfo_sub_sp): Likewise.
6839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6841 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6851 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6856 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6860 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6861 into R11_LP and load __x86_64_shared_cache_size_half into
6864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6869 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6877 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6878 powerpc32/power7/fpu/s_logb.c via #include.
6879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6880 powerpc32/power7/fpu/s_logbf.c via #include.
6881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6882 powerpc32/power7/fpu/s_logbl.c via #include.
6884 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6886 * README.libm: Remove file.
6888 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6890 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6891 count for x32. Use R*_LP and omit operand-size suffix.
6893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6895 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6896 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6897 * sysdeps/x86_64/x32/shlib-versions: New file.
6899 2012-05-14 Roland McGrath <roland@hack.frob.com>
6901 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6902 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6903 Use _dl_fatal_printf instead.
6905 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6907 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6908 set if not set by the user. Do not allow for being unset.
6909 * sysdeps/unix/sysv/linux/configure: Regenerated.
6911 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6913 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6914 the `q' suffix from lea and replace .quad with ASM_ADDR.
6916 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6919 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6921 (PTR_DEMANGLE): Likewise.
6923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6925 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6927 (ASM_ADDR): Likewise.
6945 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/x86_64/x32/dl-machine.h: New file.
6949 2012-05-14 Andreas Jaeger <aj@suse.de>
6951 * manual/Makefile (subdir): Remove export of subdir.
6952 (all): Remove target.
6953 (.PHONY): Remove all from list.
6954 (mkinstalldirs): Remove.
6955 (.PHONY): Remove installdirs from list.
6956 ($(inst_infodir)/libc.info): Use make-target-directory.
6957 (installdirs): Remove.
6959 (glibc-targets): Remove.
6962 ($(objpfx)stubs ../po/manual.pot): Remove.
6963 ($(objpfx)stamp%): Remove.
6964 (make-target-directory): Remove.
6965 (subdir_install): Remove.
6973 * manual/.gitignore: Remove, it's not needed anymore.
6974 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6976 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6978 (texis): Renamed to $(objpfx)texis.
6979 (texis-path): New, contains path to generated files.
6980 (chapters.%): Use texis-path for complete path, add extra argument
6982 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6983 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6984 (summary,texi, stamp-summary): Use complete path of
6985 files. Generate files in build dir.
6986 (dir-add.texi): Build in build dir.
6987 (libm-err.texi,stamp-libm-err): Likewise.
6988 (version.texi, stamp-version): Likewise.
6989 (.%c.texi): Likewise.
6990 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6991 (mostlyclean): Remove target.
6992 (realclean): Remove target.
6993 (generated): Add new variable with contents from mostlyclean and
6994 realclean, remove entries duplicated in common-mostlyclean, add
6995 stamp-libm-err and stamp-version.
6996 (generated-dirs): Add libc directory.
6997 ($(inst_infodir)/libc.info): Install files from build dir.
6999 * manual/install.texi (Configuring and compiling): Adjust since
7000 the info files are not part of the tar ball anymore.
7002 2012-05-14 Andreas Jaeger <aj@suse.de>
7004 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7007 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7011 to 2.2.0 where earlier.
7012 * sysdeps/unix/sysv/linux/configure: Regenerated.
7013 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7014 Remove conditional code.
7015 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7016 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7017 Remove conditional code.
7018 [!__NR_lchown]: Likewise.
7019 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7020 [__NR_lchown]: Likewise.
7021 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7022 comment referencing __ASSUME_LCHOWN_SYSCALL.
7023 * sysdeps/unix/sysv/linux/i386/sigaction.c
7024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7026 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7027 Remove conditional code.
7028 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7029 (__protocol_available): Remove #if 0 code.
7030 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7032 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7033 * sysdeps/unix/sysv/linux/kernel-features.h
7034 (__ASSUME_GETCWD_SYSCALL): Don't define.
7035 (__ASSUME_REALTIME_SIGNALS): Likewise.
7036 (__ASSUME_PREAD_SYSCALL): Likewise.
7037 (__ASSUME_PWRITE_SYSCALL): Likewise.
7038 (__ASSUME_POLL_SYSCALL): Likewise.
7039 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7040 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7042 (__ASSUME_SIOCGIFNAME): Don't define.
7043 (__ASSUME_MSG_NOSIGNAL): Likewise.
7044 (__ASSUME_SENDFILE): Define unconditionally.
7045 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7046 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7048 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7049 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7050 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7051 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7052 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7054 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7079 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7080 Remove conditional code.
7081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7082 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7083 Remove conditional code.
7084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7085 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7086 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7087 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7088 Remove conditional code.
7089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7090 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7091 Remove conditional code.
7092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7093 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7094 Remove conditional code.
7095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7096 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7097 Remove conditional code.
7098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7099 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7100 Remove conditional code.
7101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7102 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7105 * sysdeps/unix/sysv/linux/sigaction.c
7106 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7107 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7108 * sysdeps/unix/sysv/linux/sigpending.c
7109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7111 * sysdeps/unix/sysv/linux/sigprocmask.c
7112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7114 * sysdeps/unix/sysv/linux/sigsuspend.c
7115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7118 (__libc_missing_rt_sigs): Remove.
7119 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7120 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7121 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7122 Remove conditional code.
7123 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7124 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7126 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7127 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7128 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7129 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7131 2012-05-14 Andreas Jaeger <aj@suse.de>
7133 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7134 it's not used in glibc.
7135 (__coshm1): Likewise.
7136 (__acosh1p): Likewise.
7139 * manual/string.texi (Copying and Concatenation): Add missing
7140 variable in concat example.
7141 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7143 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7147 __builtin_clzl with __builtin_clzll.
7149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7152 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7155 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7157 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7158 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7159 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7160 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7162 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7164 * NEWS: Update ia64 info.
7166 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7168 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7171 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7173 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7174 * sysdeps/unix/syscalls.list (dup3): Likewise.
7175 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7176 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7178 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7180 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7181 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7183 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7185 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7187 (TLS_IE): Use mov/add instead of movq/addq to load thread
7189 (TLS_GD_PREFIX): New.
7192 2012-05-11 David S. Miller <davem@davemloft.net>
7194 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7195 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7196 (_FPU_SETCW): Likewise.
7198 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7200 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7203 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7206 * iconvdata/gb18030.c: Update tables.
7207 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7208 characters specially.
7209 (BODY for TO_LOOP): Add encoding of missing ranges.
7211 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7214 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7215 * sysdeps/mach/hurd/dup3.c: Likewise.
7216 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7217 * sysdeps/powerpc/memmove.c:: Likewise.
7219 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7222 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7224 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7226 * elf/elf.h (R_X86_64_RELATIVE64): New.
7227 (R_X86_64_NUM): Updated.
7228 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7229 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7230 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7231 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7232 tst-quad1pie tst-quad2pie
7233 (modules-names): Add tst-quadmod1 tst-quadmod2.
7234 ($(objpfx)tst-quad1): New dependency.
7235 ($(objpfx)tst-quad2): Likewise.
7236 ($(objpfx)tst-quad1pie): Likewise.
7237 ($(objpfx)tst-quad2pie): Likewise.
7238 * sysdeps/x86_64/tst-quad1.c: New file.
7239 * sysdeps/x86_64/tst-quad1pie.c: New file.
7240 * sysdeps/x86_64/tst-quad2.c: Likewise.
7241 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7242 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7243 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7244 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7245 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7249 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7250 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7251 * streams/stropts.h (t_scalar_t): Define type.
7253 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7254 (_PATH_PRESERVE): Set to "/var/lib".
7255 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7257 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7260 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7261 if __dir_mkfile succeeded.
7263 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7264 checking for _hurd_dtablesize. Unlock it right after having
7265 finished _hurd_dtable allocation.
7267 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7269 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7270 * sysdeps/mach/hurd/configure: Regenerated.
7271 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7272 special-casing to...
7273 * sysdeps/gnu/configure.in: ... this new file.
7274 * sysdeps/unix/sysv/linux/configure: Regenerated.
7275 * sysdeps/gnu/configure: New generated file.
7277 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7278 for Linux: use nsec instead of usec, as well as:
7279 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7280 members of type struct timespec.
7281 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7283 (struct stat64): Likewise.
7284 (_STATBUF_ST_NSEC): New macro.
7285 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7287 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7288 __strtoul_internal rather than strtoul.
7290 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7292 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7297 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7298 which preserves existing values.
7299 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7301 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7303 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7304 TIMEOUT values. Return EINVAL for NFDS values either negative or
7305 greater than FD_SETSIZE.
7307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7309 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7310 allocated, call __vm_protect to finish enabling the existing space, and
7311 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7312 allocate the remainder.
7314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7316 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7317 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7321 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7322 sysdeps/mach/hurd/readlink.c.
7324 * posix/tst-sysconf.c (posix_options): Only use
7325 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7326 _POSIX_SYNCHRONIZED_IO when they are defined
7327 * sysdeps/mach/hurd/bits/posix_opt.h:
7328 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7329 (_XOPEN_REALTIME): Undefine macro.
7330 (_XOPEN_REALTIME_THREADS): Undefine macro.
7331 (_XOPEN_SHM): Undefine macro.
7332 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7334 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7336 (_POSIX_ASYNC_IO): Undefine macro.
7337 (_POSIX_PRIORITIZED_IO): Undefine macro.
7338 (_POSIX_SPIN_LOCKS): Define macro to -1.
7340 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7341 SA_NODEFER, SA_RESETHAND.
7342 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7343 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7348 * elf/Makefile (pldd-modules): Define unconditionally.
7350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7352 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7354 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7356 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7357 Return ENOENT when name is empty.
7358 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7362 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7364 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7368 Fix mlock in all cases except non-readable pages.
7369 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7370 instead of VM_PROT_ALL as parameter to __vm_wire function.
7372 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7373 (__mkdir): When path is `/', just fail with EEXIST.
7374 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7376 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7378 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7379 <sys/uio.h> (for writev).
7380 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7381 and <sys/param.h> (for MIN).
7383 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7385 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7386 REQUESTED_TIME. Properly set the remaining time and return EINTR
7389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7391 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7392 Depend on against $(link-rpcuserlibs).
7394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7396 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7397 (__libc_stack_end): Do not use attribute_relro.
7398 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7399 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7400 to libthread-provided value.
7401 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7407 * bits/libc-lock.h (__libc_once_get): New macro.
7408 * sysdeps/mach/bits/libc-lock.h: Likewise.
7409 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7411 instead of using implementation details.
7413 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7414 * libio/freopen.c: Likewise.
7415 * libio/freopen64.c: Likewise.
7416 * misc/syslog.c: Likewise.
7417 * nscd/connections.c: Likewise.
7418 * nscd/netgroupcache.c: Likewise.
7419 * sysdeps/posix/getcwd.c: Likewise.
7421 2012-05-10 Roland McGrath <roland@hack.frob.com>
7423 * math/w_ilogbf.c: Add #include <limits.h>.
7425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7427 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7428 path instead of returning without unlocking.
7430 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7431 immediate-write ioctls.
7432 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7436 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7437 __builtin_frame_address instead of making assumptions about the
7438 location of the return address relative to DATA. Force early load of
7440 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7441 __builtin_frame_address.
7444 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7445 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7446 implement dup3 and do some further code clean-ups.
7447 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7448 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7452 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7454 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7455 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7456 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7457 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7458 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7461 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7462 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7463 when handler == SIG_ERR, not when handler != SIG_ERR.
7465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7467 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7468 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7471 accept4 for GNU Hurd.
7472 * include/sys/socket.h (__libc_accept4): New prototype.
7473 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7474 to implement __libc_accept4.
7475 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7477 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7479 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7480 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7481 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7486 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7490 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7491 assertion on O_CLOEXEC flag.
7492 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7493 * hurd/intern-fd.c: Likewise.
7494 * hurd/port2fd.c: Likewise.
7496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7499 * bits/in.h (IPV6_PKTINFO): Define new macro.
7500 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7502 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7509 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7512 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7513 * math/libm-test.inc (logb_test) : Additional logb tests.
7515 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7516 Andreas Jaeger <aj@suse.de>
7518 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7519 * configure: Regenerated.
7520 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7521 * config.make.in (link-obsolete-rpc): New substituted variable.
7522 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7523 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7524 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7525 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7526 so that libc.a contains the symbols.
7527 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7528 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7529 * sunrpc/auth_none.c: Likewise.
7530 * sunrpc/auth_unix.c: Likewise.
7531 * sunrpc/authdes_prot.c: Likewise.
7532 * sunrpc/authuxprot.c: Likewise.
7533 * sunrpc/clnt_gen.c: Likewise.
7534 * sunrpc/clnt_perr.c: Likewise.
7535 * sunrpc/clnt_raw.c: Likewise.
7536 * sunrpc/clnt_simp.c: Likewise.
7537 * sunrpc/clnt_tcp.c: Likewise.
7538 * sunrpc/clnt_udp.c: Likewise.
7539 * sunrpc/clnt_unix.c: Likewise.
7540 * sunrpc/des_crypt.c: Likewise.
7541 * sunrpc/des_soft.c: Likewise.
7542 * sunrpc/get_myaddr.c: Likewise.
7543 * sunrpc/key_call.c: Likewise.
7544 * sunrpc/key_prot.c: Likewise.
7545 * sunrpc/netname.c: Likewise.
7546 * sunrpc/pm_getmaps.c: Likewise.
7547 * sunrpc/pm_getport.c: Likewise.
7548 * sunrpc/pmap_clnt.c: Likewise.
7549 * sunrpc/pmap_prot.c: Likewise.
7550 * sunrpc/pmap_prot2.c: Likewise.
7551 * sunrpc/pmap_rmt.c: Likewise.
7552 * sunrpc/publickey.c: Likewise.
7553 * sunrpc/rpc_cmsg.c: Likewise.
7554 * sunrpc/rpc_common.c: Likewise.
7555 * sunrpc/rpc_dtable.c: Likewise.
7556 * sunrpc/rpc_prot.c: Likewise.
7557 * sunrpc/rpc_thread.c: Likewise.
7558 * sunrpc/rtime.c: Likewise.
7559 * sunrpc/svc.c: Likewise.
7560 * sunrpc/svc_auth.c: Likewise.
7561 * sunrpc/svc_raw.c: Likewise.
7562 * sunrpc/svc_run.c: Likewise.
7563 * sunrpc/svc_tcp.c: Likewise.
7564 * sunrpc/svc_udp.c: Likewise.
7565 * sunrpc/svc_unix.c: Likewise.
7566 * sunrpc/svcauth_des.c: Likewise.
7567 * sunrpc/xcrypt.c: Likewise.
7568 * sunrpc/xdr.c: Likewise.
7569 * sunrpc/xdr_array.c: Likewise.
7570 * sunrpc/xdr_float.c: Likewise.
7571 * sunrpc/xdr_intXX_t.c: Likewise.
7572 * sunrpc/xdr_mem.c: Likewise.
7573 * sunrpc/xdr_rec.c: Likewise.
7574 * sunrpc/xdr_ref.c: Likewise.
7575 * sunrpc/xdr_sizeof.c: Likewise.
7576 * sunrpc/xdr_stdio.c: Likewise.
7578 2012-05-10 Roland McGrath <roland@hack.frob.com>
7580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7581 change. Update copyright years.
7583 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7585 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7587 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7588 Joseph Myers <joseph@codesourcery.com>
7589 Paul Pluzhnikov <ppluzhnikov@google.com>
7592 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7594 [cross-compiling] (extra-libs): Likewise.
7595 [cross-compiling] (extra-libs-others): Likewise.
7596 [cross-compiling] (librpcsvc-routines): Likewise.
7597 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7598 [cross-compiling] (omit-deps): Likewise.
7599 (sunrpc-CPPFLAGS): New variable.
7600 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7601 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7602 (cross-rpcgen-objs): New variable.
7603 (extra-objs): Append $(cross-rpcgen-objs).
7604 ($(cross-rpcgen-objs)): New rule.
7605 ($(objpfx)cross-rpcgen): Likewise.
7606 (rpcgen-cmd): Define to use $(built-program-file). Expand
7608 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7609 ($(objpfx)x%.stmp): Likewise.
7610 * sunrpc/proto.h [IS_IN_build] (_): Define.
7611 [IS_IN_build] (_libc_intl_domainname): Likewise.
7613 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7616 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7617 and R_X86_64_TPOFF64.
7619 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7622 sysdeps/unix/sysv/syscalls.list.
7625 * sysdeps/unix/sysv/syscalls.list: Remove file.
7627 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7630 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7631 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7632 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7633 (__LC_IDENTIFICATION): Make these macros useful in #if
7634 expressions, as required by C99.
7636 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7638 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7639 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7642 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7644 * stdlib/longlong.h: Updated from GCC.
7646 2012-05-09 Andreas Jaeger <aj@suse.de>
7648 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7649 default is first entry.
7650 (run_mode): Set type.
7651 (main): Remove informal message about syslog.
7652 (options): Fix typo.
7655 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7658 (llrintf): Likewise.
7662 (nearbyint): Likewise.
7663 (nearbyintf): Likewise.
7665 2012-05-09 Andreas Jaeger <aj@suse.de>
7666 Pedro Alves <palves@redhat.com>
7668 * nscd/nscd.c (run_mode): Use enum.
7669 (main): Cleanup coding style issue.
7671 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7672 Andreas Jaeger <aj@suse.de>
7674 * nscd/nscd.c (go_background): Replaced with...
7675 (run_mode): ... this.
7676 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7677 (options): Add -F --foreground.
7678 (main): Implement it.
7679 (parse_opt): Parse it.
7681 2012-05-09 Andreas Jaeger <aj@suse.de>
7684 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7685 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7686 -Wconversion warning.
7687 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7690 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7692 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7694 (LC_ALL): Use macro-int-constant.
7695 (LC_COLLATE): Likewise.
7696 (LC_CTYPE): Likewise.
7697 (LC_MESSAGES): Likewise.
7698 (LC_MONETARY): Likewise.
7699 (LC_NUMERIC): Likewise.
7700 (LC_TIME): Likewise.
7701 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7702 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7704 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7706 [C99-based standards] (float_t): Expect type.
7707 [C99-based standards] (double_t): Expect type.
7708 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7710 [C99-based standards] (HUGE_VALL): Likewise.
7711 [C99-based standards] (INFINITY): Likewise.
7712 [C99-based standards] (NAN): Likewise.
7713 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7714 [C99-based standards] (FP_NAN): Likewise.
7715 [C99-based standards] (FP_NORMAL): Likewise.
7716 [C99-based standards] (FP_SUBNORMAL): Likewise.
7717 [C99-based standards] (FP_ZERO): Likewise.
7718 [C99-based standards] (FP_FAST_FMA): Use
7719 optional-macro-int-constant. Specify type. Require == 1.
7720 [C99-based standards] (FP_FAST_FMAF): Likewise.
7721 [C99-based standards] (FP_FAST_FMAL): Likewise.
7722 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7723 [C99-based standards] (FP_ILOGBNAN): Likewise.
7724 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7726 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7727 [C99-based standards] (math_errhandling): Specify type.
7728 [ISO99 || ISO11] (signgam): Do not allow.
7729 [non-C99-based standards] (copysignf): Do not allow.
7730 [non-C99-based standards] (exp2f): Likewise.
7731 [non-C99-based standards] (log2f): Likewise.
7732 [non-C99-based standards] (modff): Allow.
7733 [non-C99-based standards] (erff): Do not allow.
7734 [non-C99-based standards] (erfcf): Likewise.
7735 [non-C99-based standards] (gammaf): Likewise.
7736 [non-C99-based standards] (hypotf): Likewise.
7737 [non-C99-based standards] (j0f): Likewise.
7738 [non-C99-based standards] (j1f): Likewise.
7739 [non-C99-based standards] (jnf): Likewise.
7740 [non-C99-based standards] (lgammaf): Likewise.
7741 [non-C99-based standards] (tgammaf): Likewise.
7742 [non-C99-based standards] (y0f): Likewise.
7743 [non-C99-based standards] (y1f): Likewise.
7744 [non-C99-based standards] (ynf): Likewise.
7745 [non-C99-based standards] (isnanf): Likewise.
7746 [non-C99-based standards] (acoshf): Likewise.
7747 [non-C99-based standards] (asinhf): Likewise.
7748 [non-C99-based standards] (atanhf): Likewise.
7749 [non-C99-based standards] (cbrtf): Likewise.
7750 [non-C99-based standards] (expm1f): Likewise.
7751 [non-C99-based standards] (ilogbf): Likewise.
7752 [non-C99-based standards] (log1pf): Likewise.
7753 [non-C99-based standards] (logbf): Likewise.
7754 [non-C99-based standards] (nextafterf): Likewise.
7755 [non-C99-based standards] (remainderf): Likewise.
7756 [non-C99-based standards] (rintf): Likewise.
7757 [non-C99-based standards] (scalbf): Likewise.
7758 [non-C99-based standards] (copysignl): Likewise.
7759 [non-C99-based standards] (exp2l): Likewise.
7760 [non-C99-based standards] (log2l): Likewise.
7761 [non-C99-based standards] (modfl): Allow.
7762 [non-C99-based standards] (erfl): Do not allow.
7763 [non-C99-based standards] (erfcl): Likewise.
7764 [non-C99-based standards] (gammal): Likewise.
7765 [non-C99-based standards] (hypotl): Likewise.
7766 [non-C99-based standards] (j0l): Likewise.
7767 [non-C99-based standards] (j1l): Likewise.
7768 [non-C99-based standards] (jnl): Likewise.
7769 [non-C99-based standards] (lgammal): Likewise.
7770 [non-C99-based standards] (tgammal): Likewise.
7771 [non-C99-based standards] (y0l): Likewise.
7772 [non-C99-based standards] (y1l): Likewise.
7773 [non-C99-based standards] (ynl): Likewise.
7774 [non-C99-based standards] (isnanl): Likewise.
7775 [non-C99-based standards] (acoshl): Likewise.
7776 [non-C99-based standards] (asinhl): Likewise.
7777 [non-C99-based standards] (atanhl): Likewise.
7778 [non-C99-based standards] (cbrtl): Likewise.
7779 [non-C99-based standards] (expm1l): Likewise.
7780 [non-C99-based standards] (ilogbl): Likewise.
7781 [non-C99-based standards] (log1pl): Likewise.
7782 [non-C99-based standards] (logbl): Likewise.
7783 [non-C99-based standards] (nextafterl): Likewise.
7784 [non-C99-based standards] (remainderl): Likewise.
7785 [non-C99-based standards] (rintl): Likewise.
7786 [non-C99-based standards] (scalbl): Likewise.
7787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7788 [non-C99-based standards] (FP_*): Do not allow.
7789 [C99-based standards] (FP_*): Change to
7790 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7791 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7793 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7794 (SIG_ERR): Likewise.
7795 [X/Open-based standards] (SIG_HOLD): Likewise.
7796 (SIG_IGN): Likewise.
7797 (SIGABRT): Use macro-int-constant. Specify type. Require
7802 (SIGSEGV): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7822 [X/Open-based standards] (SIGTRAP): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7827 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7830 2012-05-08 Ian Wienand <ianw@vmware.com>
7833 * time/tzset.c (__tzset_parse_tz): Update default rules for
7834 daylight time changes in the Energy Policy Act of 2005.
7836 2012-05-09 Andreas Jaeger <aj@suse.de>
7839 * elf/ldconfig.c (parse_conf): Change string to make clear that
7840 ldconfig only issued a warning if ld.so.conf does not exist.
7842 2012-05-08 David S. Miller <davem@davemloft.net>
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7845 movxtod instead of popping the value on the stack.
7847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7849 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7851 * config.h.in: Add HAVE_ARM_PCS_VFP.
7853 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7856 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7857 checking but the checks are disabled for any reason.
7859 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7862 and ELF64_R_TYPE with ELFW(R_TYPE).
7864 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7866 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7869 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7870 (settimeofday): Likewise.
7872 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7874 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7875 a struct th_u2 inside the union, and move tu_block/tu_code into
7876 a new th_u3 union of tu_block/tu_code inside of that. Move
7877 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7878 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7879 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7880 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7881 (th_stuff): Change to th_u1.tu_stuff.
7883 (th_msg): Change to th_u1.th_u2.tu_data.
7885 2012-05-07 David S. Miller <davem@davemloft.net>
7887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7891 (SETUP_PIC_REG): Use it.
7892 (SETUP_PIC_REG_LEAF): Use it.
7894 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7900 (EXPL_FINITE): Likewise.
7902 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7903 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7907 (EXPL_FINITE): Likewise.
7909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7910 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7912 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7913 test of -max_value argument for long double.
7914 * sysdeps/i386/fpu/libm-test-ulps: Update.
7915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7917 2012-05-06 David S. Miller <davem@davemloft.net>
7919 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7920 quad soft-float symbols whose references which are compiler
7922 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7924 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7928 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7930 (EXPL_FINITE): Likewise.
7934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7935 Adjust comments for base varying.
7936 (__expl_finite): Change alias to EXPL_FINITE.
7937 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7939 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7940 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7942 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7945 (EXPL_FINITE): Likewise.
7949 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7950 Adjust comments for base varying.
7951 (__expl_finite): Change alias to EXPL_FINITE.
7952 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7957 * math/libm-test.inc (check_float_internal): Correct ulp
7958 calculation for subnormal expected results.
7960 2012-05-06 Andreas Jaeger <aj@suse.de>
7962 * Makeconfig (+math-flags): New, set to -frounding-math.
7963 (+cflags): Add +math-flags so that all of glibc gets compiled with
7966 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7968 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7970 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7976 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7977 (__ieee754_expl): Allow for and saturate large arguments.
7978 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7979 (u_threshold): Likewise.
7980 (__exp): Call __ieee754_exp before checking for overflow and
7982 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7983 (u_threshold): Likewise.
7984 (__expf): Call __ieee754_expf before checking for overflow and
7986 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7987 (u_threshold): Likewise.
7988 (__expl): Call __ieee754_expl before checking for overflow and
7990 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7991 (__ieee754_expl): Allow for and saturate large arguments.
7992 * math/libm-test.inc (exp_test): Add another test. Do not allow
7993 missing overflow exception on overflow.
7994 (expm1_test): Do not allow missing overflow exception on overflow.
7996 * sysdeps/i386/fpu/e_expl.c: Move to ...
7997 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7998 rather than using inline asm.
7999 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8000 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8001 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8003 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8010 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8013 sysdeps/unix/common/syscalls.list.
8016 (ftruncate): Likewise.
8017 (getrusage): Likewise.
8018 (gettimeofday): Likewise.
8019 (setpgid): Likewise.
8020 (setregid): Likewise.
8021 (setreuid): Likewise.
8022 (sigaction): Likewise.
8023 (truncate): Likewise.
8024 (vhangup): Likewise.
8025 * sysdeps/unix/common/syscalls.list: Remove file.
8026 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8027 * sysdeps/unix/sysv/linux/Implies: Likewise.
8029 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8033 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8037 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8040 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8043 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8046 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8049 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8052 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8055 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8059 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8063 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8066 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8070 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8074 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8076 * sysdeps/unix/common/bits/dirent.h: Remove file.
8077 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8079 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8080 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8081 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8082 * sysdeps/unix/bsd/isatty.c: Likewise.
8083 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8084 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8085 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8087 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8091 long double comparison inaccuracies.
8092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8095 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8097 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8100 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8104 nonzero digits before rounding a hex value.
8105 * stdlib/tst-strtod.c (tests): Add another test.
8107 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8109 * sysdeps/s390/fpu/libm-test-ulps: Update.
8111 2012-05-03 Andreas Jaeger <aj@suse.de>
8113 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8114 does not get optimized out.
8115 (malloc_opt_barrier): New.
8117 2012-05-03 Andreas Jaeger <aj@suse.de>
8118 Roland McGrath <roland@hack.frob.com>
8120 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8121 intermediate file deletion.
8122 (generated): Add .symlist files.
8124 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8127 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8128 Redirect under this condition.
8129 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8130 [__USE_GNU] (__dprintf_chk): Not under this condition.
8131 [__USE_GNU] (__vdprintf_chk): Likewise.
8132 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8133 under this condition.
8134 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8135 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8136 [__USE_XOPEN2K8] (vdprintf): Likewise.
8137 [__USE_GNU] (__dprintf_chk): Not under this condition.
8138 [__USE_GNU] (__vdprintf_chk): Likewise.
8139 [__USE_GNU] (dprintf): Likewise.
8140 [__USE_GNU] (vdprintf): Likewise.
8142 2012-05-03 Roland McGrath <roland@hack.frob.com>
8144 * elf/Makefile (common-generated): Set this instead of generated for
8145 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8146 $(all-built-dso)-derived lists.
8148 2012-05-03 Andreas Jaeger <aj@suse.de>
8150 * sysdeps/i386/fpu/libm-test-ulps: Update.
8154 * scripts/gen-FAQ.pl: Likewise.
8155 * manual/install.texi (Installation): Point to online location of
8157 * Makefile (files-for-dist): Remove FAQ.
8160 2012-05-02 Allan McRae <allan@archlinux.org>
8162 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8163 (LDFLAGS-reldepmod5.so): Likewise.
8164 (LDFLAGS-reldep6mod1.so): Likewise.
8165 (LDFLAGS-reldep6mod4.so): Likewise.
8166 (LDFLAGS-reldep8mod3.so): Likewise.
8167 (LDFLAGS-unload4mod1.so): Likewise.
8168 (LDFLAGS-unload4mod2.so): Likewise.
8169 (LDFLAGS-tst-initorder): Likewise.
8170 (LDFLAGS-tst-initordera2.so): Likewise.
8171 (LDFLAGS-tst-initordera3.so): Likewise.
8172 (LDFLAGS-tst-initordera4.so): Likewise.
8173 (LDFLAGS-tst-initorderb2.so): Likewise.
8174 (LDFLAGS-noload): Likewise.
8175 (LDFLAGS-next): Likewise.
8176 (LDFLAGS-order2mod1.so): Likewise.
8177 (LDFLAGS-order2mod2.so): Likewise.
8178 (LDFLAGS-tst-initorder2): Likewise.
8179 (LDFLAGS-tst-initorder2a.so): Likewise.
8180 (LDFLAGS-tst-initorder2b.so): Likewise.
8181 (LDFLAGS-tst-initorder2c.so): Likewise.
8182 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8184 2012-05-02 David S. Miller <davem@davemloft.net>
8186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8188 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8191 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8193 2012-05-02 Andreas Jaeger <aj@suse.de>
8195 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8196 since we manipulate rounding mode.
8197 (CPPFLAGS-test-idouble.c): Likewise.
8198 (CPPFLAGS-test-ifloat.c): Likewise.
8199 (CFLAGS-test-ldouble.c): Likewise.
8200 (CFLAGS-test-double.c): Likewise.
8201 (CFLAGS-test-float.c): Likewise.
8202 (CFLAGS-test-misc.c): Likewise.
8203 (CFLAGS-test-test-fenv.c): Likewise.
8205 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8210 comparisons to determine direction to adjust input.
8212 2012-05-01 Roland McGrath <roland@hack.frob.com>
8214 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8215 output to the target.
8217 * scripts/localplt.awk: New file.
8218 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8219 (check-localplt-CFLAGS): Variable removed.
8220 ($(all-built-dso:=.jmprel)): New static pattern rule.
8221 (generated): Add those targets.
8222 (localplt-built-dso): New variable.
8223 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8225 * elf/check-localplt.c: File removed.
8227 * scripts/check-execstack.awk: New file.
8228 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8229 (check-execstack-CFLAGS): Variable removed.
8230 ($(objpfx)check-execstack.h): Target removed.
8231 ($(objpfx)execstack-default): New target.
8232 (generated): Add that instead of check-execstack.h.
8233 ($(all-built-dso:=.phdr)): New static pattern rule.
8234 (generated): Add those targets.
8235 * elf/check-execstack.c: File removed.
8237 * scripts/check-textrel.awk: New file.
8238 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8239 (check-textrel-CFLAGS): Variable removed.
8240 (all-built-dso): Use := to define.o
8241 ($(all-built-dso:=.dyn)): New static pattern rule.
8242 (generated): Add those targets.
8243 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8244 * config.make.in (READELF): New substituted variable.
8245 * elf/check-textrel.c: File removed.
8247 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8249 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8251 * conform/data/ctype.h-data [C99-based standards] (isblank):
8253 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8254 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8256 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8257 Specify type. Require positive value.
8260 [ISO || POSIX] (EILSEQ): Do not expect.
8261 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8262 Specify type. Require positive value.
8263 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8300 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8301 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8307 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8308 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8309 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8310 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8311 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8312 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8313 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8314 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8315 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8316 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8317 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8318 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8319 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8320 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8321 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8322 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8323 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8324 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8325 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8326 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8327 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8328 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8329 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8330 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8331 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8332 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8333 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8334 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8335 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8336 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8337 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8338 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8339 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8341 (FLT_ROUNDS): Expect as macro, not constant.
8342 (FLT_MANT_DIG): Use macro-int-constant.
8343 (DBL_MANT_DIG): Likewise.
8344 (LDBL_MANT_DIG): Likewise.
8345 (FLT_DIG): Likewise.
8346 (DBL_DIG): Likewise.
8347 (LDBL_DIG): Likewise.
8348 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8349 (DBL_MIN_EXP): Likewise.
8350 (LDBL_MIN_EXP): Likewise.
8351 (FLT_MAX_EXP): Use macro-int-constant.
8352 (DBL_MAX_EXP): Likewise.
8353 (LDBL_MAX_EXP): Likewise.
8354 (FLT_MAX_10_EXP): Likewise.
8355 (DBL_MAX_10_EXP): Likewise.
8356 (LDBL_MAX_10_EXP): Likewise.
8357 (FLT_MAX): Use macro-constant.
8358 (DBL_MAX): Likewise.
8359 (LDBL_MAX): Likewise.
8360 (FLT_EPSILON): Use macro-constant. Give upper bound.
8361 (DBL_EPSILON): Likewise.
8362 (LDBL_EPSILON): Likewise.
8363 (FLT_MIN): Likewise.
8364 (DBL_MIN): Likewise.
8365 (LDBL_MIN): Likewise.
8366 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8367 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8368 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8369 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8370 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8371 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8372 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8373 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8374 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8375 [ISO11] (FLT_TRUE_MIN): Likewise.
8376 [ISO11] (LDBL_TRUE_MIN): Likewise.
8377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8378 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8379 (SCHAR_MIN): Use macro-int-constant. Specify type.
8380 (SCHAR_MAX): Likewise.
8381 (UCHAR_MAX): Likewise.
8382 (CHAR_MIN): Likewise.
8383 (CHAR_MAX): Likewise.
8384 (MB_LEN_MAX): Use macro-int-constant.
8385 (SHRT_MIN): Use macro-int-constant. Specify type.
8386 (SHRT_MAX): Likewise.
8387 (USHRT_MAX): Likewise.
8388 (INT_MAX): Likewise.
8389 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8391 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8393 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8395 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8396 bound negative. Suffix upper bound with "L".
8397 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8399 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8401 [C99-based standards] (LLONG_MAX): Likewise.
8402 [C99-based standards] (ULLONG_MAX): Likewise.
8403 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8405 [ISO11] (max_align_t): Require type.
8406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8408 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8409 from $CFLAGS, without defining away __attribute__ calls.
8410 (checknamespace): Use $CFLAGS_namespace.
8412 * conform/conformtest.pl (@keywords): Only include C99 keywords
8413 for standards based on C99 or C11.
8415 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8417 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8420 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8421 usability of symbols in #if.
8423 * conform/conformtest.pl: If macro or constant types start
8424 "promoted:", expect the symbol to be of the following type
8425 promoted by the integer promotions.
8427 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8428 in one place. Also handle "macro-constant".
8430 * conform/conformtest.pl: Only accept expected macro values with
8431 "==". Parse all "macro" lines in one place.
8432 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8434 * conform/conformtest.pl: Handle braced types on "constant" lines
8435 instead of handling "typed-constant".
8436 * conform/data/signal.h-data: Use "constant" instead of
8439 * conform/conformtest.pl: Handle "optional-" at start of lines in
8440 one place rather than duplicating several cases. Handle each
8441 format of "macro" line with initial "optional-".
8443 * conform/conformtest.pl: Only accept expected constant or
8444 optional-constant values with "==". Parse all "constant" lines in
8445 one place. Parse all "optional-constant" lines in one place.
8446 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8447 * conform/data/fmtmsg.h-data: Likewise.
8448 * conform/data/netinet/in.h-data: Likewise.
8449 * conform/data/tar.h-data: Likewise.
8450 * conform/data/limits.h-data: Use "==" form on "constant" and
8451 "optional-constant" lines.
8453 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8454 Use -std=c99 for XOPEN2K.
8455 (@knownproblems): Remove.
8456 (newtoken): Don't check %isknown.
8458 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8459 Do not expect macro.
8460 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8472 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8473 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8490 [XPG3] (acosh): Likewise.
8491 [XPG3] (asinh): Likewise.
8492 [XPG3] (atanh): Likewise.
8493 [XPG3] (cbrt): Likewise.
8494 [XPG3] (expm1): Likewise.
8495 [XPG3] (ilogb): Likewise.
8496 [XPG3] (log1p): Likewise.
8497 [XPG3] (logb): Likewise.
8498 [XPG3] (nextafter): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8501 [XPG3] (remainder): Likewise.
8502 [XPG3] (rint): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8510 [UNIX98 || XOPEN2K] (scalb): Expect.
8511 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8512 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8624 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8625 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8626 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8627 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8628 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8629 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8630 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8633 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8634 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8635 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8642 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8643 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8644 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8649 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8650 _XOPEN_SOURCE_EXTENDED for XPG4.
8652 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8654 * Makeconfig (localtime): Remove variable.
8655 (inst_localtime-file): Likewise.
8657 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8678 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8682 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8683 comparisons to determine direction to adjust input.
8684 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8685 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8695 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8697 * math/libm-test.inc (nexttoward_test): Add more tests.
8699 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8703 in version GLIBC_2.1, not GLIBC_2.0.
8704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8707 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8710 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8712 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8713 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8714 * math/libm-test.inc (acos_test): Add more tests.
8715 (asin_test): Likewise.
8716 * sysdeps/i386/fpu/libm-test-ulps: Update.
8717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8720 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8722 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8723 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8724 * math/libm-test.inc (acos_test_tonearest): New function.
8725 (acos_test_towardzero): Likewise.
8726 (acos_test_downward): Likewise.
8727 (acos_test_upward): Likewise.
8728 (asin_test_tonearest): Likewise.
8729 (asin_test_towardzero): Likewise.
8730 (asin_test_downward): Likewise.
8731 (asin_test_upward): Likewise.
8732 (main): Call the new functions.
8733 * sysdeps/i386/fpu/libm-test-ulps: Update.
8734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8738 * math/e_exp10.c: Include <float.h>.
8739 (__ieee754_exp10): Handle underflow here rather than multiplying
8740 large negative argument by M_LN10.
8741 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8743 * math/e_exp10l.c: Include <float.h>.
8744 (__ieee754_exp10l): Handle underflow here rather than multiplying
8745 large negative argument by M_LN10l.
8746 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8747 spurious overflow exception on underflow.
8749 2012-04-29 Marek Polacek <polacek@redhat.com>
8751 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8752 (__fortify_function): New macro.
8753 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8754 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8755 __extern_always_inline.
8756 * libio/bits/stdio2.h: Likewise.
8757 * libio/bits/stdio.h: Likewise.
8758 * string/string.h: Likewise.
8759 * string/bits/string3.h: Likewise.
8760 * include/stdio.h: Likewise.
8761 * stdlib/bits/stdlib.h: Likewise.
8762 * stdlib/stdlib.h: Likewise.
8763 * rt/bits/mqueue2.h: Likewise.
8764 * rt/mqueue.h: Likewise.
8765 * posix/bits/unistd.h: Likewise.
8766 * posix/unistd.h: Likewise.
8767 * io/bits/poll2.h: Likewise.
8768 * io/bits/fcntl2.h: Likewise.
8769 * io/fcntl.h: Likewise.
8770 * io/sys/poll.h: Likewise.
8771 * misc/bits/syslog.h: Likewise.
8772 * misc/bits/syslog-ldbl.h: Likewise.
8773 * misc/sys/syslog.h: Likewise.
8774 * socket/bits/socket2.h: Likewise.
8775 * socket/sys/socket.h: Likewise.
8776 * debug/tst-chk1.c: Likewise.
8777 * wcsmbs/bits/wchar2.h: Likewise.
8778 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8779 * wcsmbs/wchar.h: Likewise.
8781 2012-04-29 Andreas Jaeger <aj@suse.de>
8783 * Makerules (tests): Remove enable-check-abi protection.
8784 (check-abi-warn): Remove.
8785 (check-abi-%): Remove check-abi-warn usage.
8787 * configure.in: Remove check-abi configure option.
8788 * configure: Regenerated.
8789 * config.make.in (enable-check-abi): Remove.
8791 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8794 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8795 double functions to double *_finite functions.
8798 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8799 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8801 * stdio-common/Makefile (tests): Add tst-sprintf3.
8802 * stdio-common/tst-sprintf3.c: New file.
8804 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8805 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8807 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8809 * conform/conformtest.pl: Remove duplicate typed-constant
8812 2012-04-28 David S. Miller <davem@davemloft.net>
8814 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8815 (check-abi-%): Remove AWK script prerequisite and explicit
8817 (check-abi): Rewrite to just diff the symlist with the abilist.
8818 (config-tls, config-abi-config): Delete, no longer used.
8819 (update-abi-%): Remove AWK script and explicit abilist directory.
8820 (update-abi): Rewrite to simply compare and conditionally copy the
8821 symlist and the sysdep abilist file. Remove update-abi-config
8823 * abilist/ld.abilist: Remove.
8824 * abilist/libBrokenLocale.abilist: Remove.
8825 * abilist/libanl.abilist: Remove.
8826 * abilist/libcrypt.abilist: Remove.
8827 * abilist/libdl.abilist: Remove.
8828 * abilist/librt.abilist: Remove.
8829 * abilist/libthread_db.abilist: Remove.
8830 * abilist/libutil.abilist: Remove.
8831 * scripts/extract-abilist.awk: Remove.
8832 * scripts/merge-abilist.awk: Remove.
8833 * sysdeps/generic/libcidn.abilist: New file.
8834 * sysdeps/generic/libnss_compat.abilist: New file.
8835 * sysdeps/generic/libnss_db.abilist: New file.
8836 * sysdeps/generic/libnss_dns.abilist: New file.
8837 * sysdeps/generic/libnss_files.abilist: New file.
8838 * sysdeps/generic/libnss_hesiod.abilist: New file.
8839 * sysdeps/generic/libnss_nis.abilist: New file.
8840 * sysdeps/generic/libnss_nisplus.abilist: New file.
8841 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8842 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8843 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8846 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8847 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8848 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8849 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8850 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8851 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8852 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8853 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8855 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8856 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8857 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8858 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8860 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8862 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8863 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8864 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8865 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8867 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8868 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8869 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8871 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8974 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8975 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8976 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8979 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8980 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8982 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8983 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8984 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8985 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8986 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8987 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9039 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9041 * conform/conformtest.pl: Fix typo in handling typed-constant from
9044 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9046 * README: Cut down references to pre-2.6 Linux kernels and
9047 Linuxthreads. Update lists of configurations in libc and ports
9048 and sort alphabetically. Say "or newer" with Linux kernel version
9051 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9053 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9056 * math/libm-test.inc (logb_test_downward): New test to expose
9057 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9060 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9063 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9065 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9066 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9068 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9070 * sysdeps/unix/i386/brk.S: Remove file.
9071 * sysdeps/unix/i386/dl-brk.S: Likewise.
9072 * sysdeps/unix/i386/pipe.S: Likewise.
9073 * sysdeps/unix/i386/sigreturn.S: Likewise.
9074 * sysdeps/unix/i386/syscall.S: Likewise.
9075 * sysdeps/unix/i386/vfork.S: Likewise.
9076 * sysdeps/unix/i386/wait.S: Likewise.
9078 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9079 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9081 * configure.in (arm*-none*): Do not allow without
9082 --enable-hacker-mode.
9083 (netbsd*): Remove case setting base_os.
9084 (386bsd*): Likewise.
9085 (freebsd*): Likewise.
9089 (ultrix*): Likewise.
9090 (newsos*): Likewise.
9100 (solaris[2-9]*): Likewise.
9102 * configure: Regenerated.
9104 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9107 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9108 overflow or cancellation in calculating denominator.
9109 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9111 down expression to avoid unexpected rounding in newer GCCs.
9112 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9114 2012-04-26 David S. Miller <davem@davemloft.net>
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9117 long-double compat symbols.
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9132 2012-04-25 David S. Miller <davem@davemloft.net>
9134 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9135 HWCAP_* values only after the memory barriers have been defined.
9136 (atomic_full_barrier): Define.
9137 (atomic_read_barrier): Define.
9138 (atomic_write_barrier): Define.
9140 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9142 * shlib-versions: Add libgcc_s version information.
9143 * sysdeps/generic/libgcc_s.h: Remove.
9144 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9146 * sysdeps/gnu/unwind-resume.c: Likewise.
9147 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9149 2012-04-25 David S. Miller <davem@davemloft.net>
9151 * sysdeps/unix/sparc/brk.S: Delete.
9152 * sysdeps/unix/sparc/dl-brk.S: Delete.
9153 * sysdeps/unix/sparc/pipe.S: Delete.
9154 * sysdeps/unix/sparc/sysdep.S: Delete.
9155 * sysdeps/unix/sparc/sysdep.h: Delete.
9156 * sysdeps/unix/sparc/vfork.S: Delete.
9157 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9158 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9160 ret_ERRVAL, r0, r1, MOVE): Define.
9161 (JUMPTARGET): Remove.
9162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9163 sysdeps/unix/sparc/sysdep.h
9164 (ENTRY, END): Remove.
9165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9167 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9169 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9170 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9173 * timezone/README: Update upstream location and email address for
9175 * timezone/zdump.c: Update from tzcode 2012b.
9176 * timezone/zic.c: Likewise.
9178 * configure.in (libc_cv_as_needed): Remove test.
9179 * configure: Regenerated.
9180 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9181 conditional definition.
9182 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9183 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9184 * config.make.in (have-as-needed): Remove variable.
9186 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9187 Paul Pluzhnikov <ppluzhnikov@google.com>
9189 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9192 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9194 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9195 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9196 * sysdeps/sh/strlen.S: Likewise.
9198 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9200 * sysdeps/unix/fork.S: Remove file.
9201 * sysdeps/unix/i386/fork.S: Likewise.
9202 * sysdeps/unix/sparc/fork.S: Likewise.
9204 * sysdeps/unix/system.c: Remove file.
9205 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9207 * sysdeps/unix/getegid.S: Remove file.
9208 * sysdeps/unix/geteuid.S: Likewise.
9210 2012-04-24 Roland McGrath <roland@hack.frob.com>
9212 * scripts/check-localplt.awk: New file.
9213 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9215 * scripts/data/localplt-generic.data: Add a comment.
9217 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9218 NODE when __dir_mkfile failed.
9219 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9220 Reported by Ludovic Courtès <ludo@gnu.org>.
9222 2012-04-24 Andreas Jaeger <aj@suse.de>
9224 * Makerules (common-clean): Also remove gen-as-const-headers
9227 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9229 * Makerules (native-compile): Do not change working directory for
9230 build. Use $(OUTPUT_OPTION) in command.
9231 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9233 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9237 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9238 * math/libm-test.inc (floor_test): Add more tests.
9239 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9241 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9243 * sysdeps/unix/getdents.c: Remove file.
9244 * sysdeps/unix/sysv/getdents.c: Likewise.
9245 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9247 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9248 sysdeps/unix/mman/syscalls.list.
9250 (mprotect): Likewise.
9253 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9254 * sysdeps/unix/mman/syscalls.list: Remove.
9255 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9257 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9258 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9259 * configure: Regenerated.
9260 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9262 * config.make.in (libgcc_s_suffix): Remove variable.
9264 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9266 * sysdeps/unix/sysv/gethostname.c: Move to ...
9267 * sysdeps/posix/gethostname.c: ... here.
9269 * sysdeps/unix/execve.S: Remove file.
9271 * sysdeps/unix/_exit.S: Remove file.
9273 2012-04-23 Andreas Jaeger <aj@suse.de>
9276 * manual/Makefile: Remove make dist support, there's no
9277 need for a stand-alone documentation tar ball.
9278 (TEXI2DVI): Define always, it's not in Makeconfig.
9282 (glibc-doc-$(edition).tar): Removed
9286 (ETAGS): Remove, it's in Makeconfig.
9287 (move-if-change): Remove, it's in Makeconfig.
9289 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9292 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9293 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9294 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9295 (strtod_l, strtof_l, strtold_l): Remove __wur.
9296 It is not necessarily an error to ignore strtol's return value.
9297 One can reliably look at the stored endptr to decide whether
9298 the number had valid syntax.
9300 2012-04-21 Andreas Jaeger <aj@suse.de>
9303 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9305 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9307 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9308 * sysdeps/unix/sysv/Versions: Remove file.
9310 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9315 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9319 version from __vm86.
9321 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9323 * sysdeps/unix/common/lxstat.c: Remove file.
9324 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9326 * sysdeps/unix/sysv/Makefile: Remove file.
9328 * sysdeps/unix/sysv/direct.h: Remove file.
9330 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9331 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9332 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9333 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9334 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9335 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9336 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9338 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9340 * sysdeps/unix/xmknod.c: Remove file.
9341 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9343 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9345 * sysdeps/unix/sysv/i386/time.S: Remove file.
9347 * sysdeps/unix/fxstat.c: Remove file.
9348 * sysdeps/unix/xstat.c: Likewise.
9349 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9351 * sysdeps/unix/sysv/sigaction.c: Remove file.
9353 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9354 (sysdep_headers): Remove variable.
9355 [termio.h not in sysdep_headers] (generated): Likewise.
9356 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9357 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9358 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9359 * sysdeps/unix/sysv/tcflow.c: Likewise.
9360 * sysdeps/unix/sysv/tcflush.c: Likewise.
9361 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9362 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9363 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9364 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9365 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9367 * sysdeps/unix/siglist.c: Remove file.
9369 * sysdeps/unix/getppid.S: Remove file.
9371 * sysdeps/unix/mkdir.c: Remove file.
9372 * sysdeps/unix/rmdir.c: Likewise.
9374 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9376 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9378 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9379 errlist-compat value.
9381 2012-04-18 David S. Miller <davem@davemloft.net>
9383 * sysdeps/generic/memcopy.h (reg_char): Delete.
9384 * debug/strcat_chk.c: Use char, not reg_char.
9385 * debug/strcpy_chk.c: Likewise.
9386 * debug/strncat_chk.c: Likewise.
9387 * debug/strncpy_chk.c: Likewise.
9388 * string/memchr.c: Likewise.
9389 * string/memrchr.c: Likewise.
9390 * string/rawmemchr.c: Likewise.
9391 * string/strcat.c: Likewise.
9392 * string/strchr.c: Likewise.
9393 * string/strchrnul.c: Likewise.
9394 * string/strcmp.c: Likewise.
9395 * string/strcpy.c: Likewise.
9396 * string/strncat.c: Likewise.
9397 * string/strncmp.c: Likewise.
9398 * string/strncpy.c: Likewise.
9400 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9402 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9403 __builtin_memcopy is called when src and dest ranges are known to not
9406 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9409 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9410 fwd_align_merge macro call.
9411 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9412 bwd_align_merge macro call.
9413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9415 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9418 bwd_align_merge macros.
9419 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9420 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9421 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9423 2012-04-18 David S. Miller <davem@davemloft.net>
9425 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9427 2012-04-18 Andreas Jaeger <aj@suse.de>
9430 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9431 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9432 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9435 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9436 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9438 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9439 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9440 Adjust for changed ldbl-128 files.
9442 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9443 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9446 2012-04-17 David S. Miller <davem@davemloft.net>
9448 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9450 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9452 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9453 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9454 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9455 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9457 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9459 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9462 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9463 * math/libm-test.inc: Add ilogb errno and exception tests.
9464 * math/w_ilogb.c: New file: ilogb wrapper.
9465 * math/w_ilogbf.c: New file: ilogbf wrapper.
9466 * math/w_ilogbl.c: New file: ilogbl wrapper.
9467 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9468 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9469 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9470 exception being thrown with 0.0 as argument.
9471 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9472 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9473 exception being thrown with 0.0 as argument.
9474 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9475 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9476 exception being thrown with 0.0 as argument.
9477 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9478 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9479 exception being thrown with 0.0 as argument.
9480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9481 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9482 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9483 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9485 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9486 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9487 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9488 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9490 2012-04-17 Petr Baudis <pasky@ucw.cz>
9492 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9495 2012-04-16 Marek Polacek <polacek@redhat.com>
9497 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9499 2012-04-16 Marek Polacek <polacek@redhat.com>
9501 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9502 operands of fdivp instruction.
9504 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9506 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9507 * elf/tst-auditmod3b.c: Likewise.
9508 * elf/tst-auditmod4b.c: Likewise.
9509 * elf/tst-auditmod5b.c: Likewise.
9510 * elf/tst-auditmod6b.c: Likewise.
9511 * elf/tst-auditmod6c.c: Likewise.
9512 * elf/tst-auditmod7b.c: Likewise.
9513 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9514 * sysdeps/x86_64/preconfigure.in: Likewise.
9515 * sysdeps/x86_64/preconfigure: Regenerated.
9517 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9519 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9522 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9525 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9527 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9530 * locale/iso-639.def: Fix gl language name. Spotted by
9533 2012-04-12 Roland McGrath <roland@hack.frob.com>
9536 * libio/libio.h (__io_write_fn): Update comment.
9538 2012-04-12 Petr Baudis <pasky@ucw.cz>
9541 * stdio.texi (Hook Functions): The user provided writer function
9542 is not allowed to return -1.
9544 2012-04-11 David S. Miller <davem@davemloft.net>
9546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9548 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9550 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9551 Add a leading slash to rtkaio.
9553 2012-04-11 Jim Meyering <meyering@redhat.com>
9556 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9557 It is not necessarily an error to ignore fwrite's return
9558 value. One can reliably use ferror to test for errors after
9561 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9563 * bits/types.h (__snseconds_t): New type.
9564 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9566 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9568 (__SNSECONDS_T_TYPE): Likewise.
9569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9570 (__SNSECONDS_T_TYPE): Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9572 (__SNSECONDS_T_TYPE): Likewise.
9574 2012-04-10 Andreas Jaeger <aj@suse.de>
9577 * manual/time.texi (Processor Time): Return type of times is
9578 elapsed real time since an arbitrary point in the past.
9579 (CPU Time): Move CLK_TCK from here...
9580 (Processor Time): ...to here. Correct description.
9581 * manual/conf.texi (Constants for Sysconf): Correct description of
9584 2012-04-10 David S. Miller <davem@davemloft.net>
9587 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9588 where the is a gap between DT_REL(A) and DT_JMPREL.
9590 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9592 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9593 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9594 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9596 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9598 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9599 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9600 (dl_main): Handle --inhibit-cache.
9601 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9603 * elf/dl-load.c (_dl_map_object): Use it.
9604 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9606 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9609 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9610 (__ieee754_powl): Saturate large exponents rather than testing for
9611 overflow of y*log2(x).
9612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9613 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9617 * math/s_ctan.c: Include <float.h>.
9618 (__ctan): Avoid internal overflow or cancellation in calculating
9620 * math/s_ctanf.c: Likewise.
9621 * math/s_ctanl.c: Likewise.
9622 * math/s_ctanh.c: Likewise.
9623 * math/s_ctanhf.c: Likewise.
9624 * math/s_ctanhl.c: Likewise.
9625 * math/libm-test.inc (ctan_test): Add more tests.
9626 (ctanh_test): Likewise.
9627 * sysdeps/i386/fpu/libm-test-ulps: Update.
9628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630 2012-04-09 Andreas Jaeger <aj@suse.de>
9633 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9634 is an optional BSD extension.
9637 * manual/stdio.texi (Opening Streams): Document additional fopen
9640 2012-04-09 Roland McGrath <roland@hack.frob.com>
9642 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9643 %eax without telling the compiler.
9645 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9648 * manual/install.texi: Use sourceware.org.
9650 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9653 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9654 (__ieee754_pow): Generate overflow and underflow using huge*huge
9655 and tiny*tiny rather than just returning constant infinity or zero
9656 for large exponents.
9657 * math/libm-test.inc (pow_test): Require overflow exceptions for
9658 applicable cases of large exponents.
9661 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9662 (__ieee754_pow): Use iterative multiplication algorithm only for
9663 integer exponents with absolute value below 1024. Check for odd
9664 integer exponents when using algorithm for real exponents.
9665 * math/libm-test.inc (pow_test): Add more tests.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9668 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9671 * math/libm-test.inc (exp_test): Do not allow overflow exception
9674 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9677 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9678 instead of __kernel_standard_f.
9680 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9682 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9683 * sysdeps/x86_64/memset_chk.S: Likewise.
9685 2012-04-08 Andreas Jaeger <aj@suse.de>
9688 * manual/startup.texi (Environment Access): Describe return value
9689 for putenv and setenv.
9692 * manual/filesys.texi (Directory Entries): Add description for
9696 * manual/filesys.texi (Directory Entries): Clarify that it's file
9697 system not operating system in the description of DT_UNKNOWN.
9700 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9702 2012-04-08 Stephen Compall <s11@member.fsf.org>
9705 * manual/llio.texi (Opening and Closing Files): Add cross
9706 reference to explain mode argument.
9708 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9710 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9711 * sysdeps/x86_64/memset_chk.S: Likewise.
9713 2012-04-07 David S. Miller <davem@davemloft.net>
9715 * elf/elf.h (R_SPARC_WDISP10): Define.
9716 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9719 R_SPARC_SIZE64 and R_SPARC_H34.
9721 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9724 conditions and remove no longer applicable assertion.
9726 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9728 * bits/byteswap.h: Include <features.h>.
9729 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9730 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9732 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9734 * bits/byteswap.h (__bswap_16): Removed.
9735 Include <bits/byteswap-16.h> to get __bswap_16.
9736 * sysdeps/i386/bits/byteswap.h: Likewise.
9737 * sysdeps/s390/bits/byteswap.h: Likewise.
9738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9739 * bits/byteswap-16.h: New file.
9740 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9741 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9742 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9743 * string/Makefile (headers): Add bits/byteswap-16.h.
9745 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9748 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9750 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9751 * nss/tst-nss-static.c: New.
9753 2012-04-06 Robert Millan <rmh@gnu.org>
9756 * manual/llio.texi (File Position Primitive): lseek
9757 refers to WHENCE when it really means OFFSET.
9759 2012-04-06 Andreas Jaeger <aj@suse.de>
9761 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9762 strncmp declarations.
9764 * abilist/libc.abilist: Add __poll and __ppoll.
9766 2012-04-05 David S. Miller <davem@davemloft.net>
9768 * scripts/check-local-headers.sh: Accept a host triplet in the
9769 path matched by the exclude regexp.
9771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9773 * sysdeps/powerpc/powerpc32/dl-machine.h
9774 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9775 * sysdeps/s390/s390-32/dl-machine.h
9776 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9777 * sysdeps/sparc/sparc32/dl-machine.h
9778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9779 * sysdeps/sparc/sparc64/dl-machine.h
9780 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9782 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9784 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9785 undefined symbol errors.
9787 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9790 2012-04-05 Michael Matz <matz@suse.de>
9793 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9795 2012-04-05 Andreas Jaeger <aj@suse.de>
9798 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9801 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9804 which ROUND is no valid rounding mode.
9806 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9810 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9812 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9814 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9815 an exception using FPU order intentionally.
9817 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9819 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9820 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9821 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9822 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9824 2012-04-05 Simon Josefsson <simon@josefsson.org>
9827 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9828 EINVAL when BUFLEN is too smal.
9830 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9833 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9834 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9836 2012-04-03 Andreas Jaeger <aj@suse.de>
9839 * manual/setjmp.texi (System V contexts): Fix sentence.
9842 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9843 New macro for this case.
9844 [!__GNUC__] (__bswap_64): New inline function for this case.
9845 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9846 * bits/byteswap.h: Likewise.
9847 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9848 ull, guard with __GLIBC_HAVE_LONG_LONG.
9850 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9851 __GLIBC_HAVE_LONG_LONG.
9853 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9854 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9856 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9859 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9860 inptr and inend, rather than using last_ch.
9862 2012-04-02 David S. Miller <davem@davemloft.net>
9864 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9865 * stdio-common/printf-parse.h (read_int): Change return type to
9866 'int', return -1 on INT_MAX overflow.
9867 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9868 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9869 overflows INT_MAX. Check for overflow of in-format-string precision
9870 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9871 SIZE_MAX not INT_MAX for integer overflow test.
9872 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9873 skip the construct in the format string but do not record anything.
9874 * stdio-common/bug22.c: Adjust to test both width/prevision
9875 INT_MAX overflow as well as total length INT_MAX overflow. Check
9876 explicitly for proper errno values.
9878 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9880 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9882 * string/test-strcmp.c [! WIDE]: Likewise.
9883 * time/tst-mktime2.c: Likewise for INT_MAX.
9884 * string/test-string.h: #include <sys/param.h> for MIN.
9886 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9887 * sysdeps/i386/init-first.c (init): Likewise.
9888 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9889 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9890 * sysdeps/sh/init-first.c (init): Likewise.
9892 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9894 * po/ru.po: Update from translation team.
9895 * po/vi.po: Likewise.
9897 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * resolv/nss_dns/dns-host.c: Merge copyright years.
9901 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9904 Optimize memcpy with prefetch if
9905 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9906 src, dst pointers have unequal 16 byte alignments.
9908 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9911 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9912 from a CNAME entry and return the minimum ttl for the query.
9913 (gaih_getanswer_slice): Likewise.
9915 2012-03-30 Jeff Law <law@redhat.com>
9917 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9919 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9920 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9922 * resolv/nss_dns/dns-host.c: Update copyright year.
9924 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9926 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9927 requests to save a system call. Fix check that all bytes are sent.
9929 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9930 comments for sendmmsg.
9932 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9935 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9936 with only 1 character between 0x0041 and 0x01b0.
9937 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9938 * wcsmbs/tst-mbsnrtowcs.c: New file.
9940 2012-03-29 David S. Miller <davem@davemloft.net>
9942 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9943 small copies by hand.
9945 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9948 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9949 _nss_compat_initgroups_dyn): Fall back to malloc/free
9950 for large group memberships.
9952 2012-03-28 David S. Miller <davem@davemloft.net>
9954 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9955 that branches into memcpy.
9956 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9959 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9962 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9964 * sysdeps/sparc/mempcpy.S: New file.
9966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9967 the IFUNC routine in the libc case.
9968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9970 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9971 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9972 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9973 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9974 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9975 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9976 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9977 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9979 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9980 loop to 256 bytes instead of 64 bytes and fix test signedness.
9982 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9983 * sysdeps/sparc/sparc32/Makefile: rather than here...
9984 * sysdeps/sparc/sparc64/Makefile: and here.
9986 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9988 * malloc/mallocbug.c: Avoid warnings about unused variables.
9990 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9993 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9994 in the right place. Discard and retry query if response is
9995 larger than input buffer size.
9997 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10003 x for large integer exponent.
10004 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10005 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10006 sign of result as needed afterwards.
10007 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10009 result for underflowing pow the same as for overflow.
10010 (__kernel_standard_l): Handle powl overflow and underflow here
10011 rather than calling __kernel_standard.
10012 * math/libm-test.inc (pow_test): Add more tests.
10027 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10028 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10029 (__kernel_standard_l): New function.
10030 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10032 * math/w_acosl.c (__acosl): Likewise.
10033 * math/w_asinl.c (__asinl): Likewise.
10034 * math/w_atan2l.c (__atan2l): Likewise.
10035 * math/w_atanhl.c (__atanhl): Likewise.
10036 * math/w_coshl.c (__coshl): Likewise.
10037 * math/w_exp10l.c (__exp10l): Likewise.
10038 * math/w_exp2l.c (__exp2l): Likewise.
10039 * math/w_fmodl.c (__fmodl): Likewise.
10040 * math/w_hypotl.c (__hypotl): Likewise.
10041 * math/w_j0l.c (__j0l, __y0l): Likewise.
10042 * math/w_j1l.c (__j1l, __y1l): Likewise.
10043 * math/w_jnl.c (__jnl, __ynl): Likewise.
10044 * math/w_lgammal.c (__lgammal): Likewise.
10045 * math/w_log10l.c (__log10l): Likewise.
10046 * math/w_log2l.c (__log2l): Likewise.
10047 * math/w_logl.c (__logl): Likewise.
10048 * math/w_powl.c (__powl): Likewise.
10049 * math/w_remainderl.c (__remainderl): Likewise.
10050 * math/w_scalbl.c (sysv_scalbl): Likewise.
10051 * math/w_sinhl.c (__sinhl): Likewise.
10052 * math/w_sqrtl.c (__sqrtl): Likewise.
10053 * math/w_tgammal.c (__tgammal): Likewise.
10054 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10055 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10056 * math/libm-test.inc (acos_test): Add more tests.
10057 (acosh_test): Likewise.
10058 (asin_test): Likewise.
10059 (atanh_test): Likewise.
10060 (exp_test): Likewise.
10061 (exp10_test): Likewise.
10062 (exp2_test): Likewise.
10063 (expm1_test): Likewise.
10064 (lgamma_test): Likewise.
10065 (log_test): Likewise.
10066 (log10_test): Likewise.
10067 (log1p_test): Likewise.
10068 (log2_test): Likewise.
10069 (pow_test): Do not allow some spurious overflow exceptions.
10070 (sqrt_test): Add more tests.
10071 (tgamma_test): Likewise.
10072 (y0_test): Likewise.
10073 (y1_test): Likewise.
10074 (yn_test): Likewise.
10076 2012-03-27 Anton Blanchard <anton@samba.org>
10078 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10080 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10084 2012-03-27 David S. Miller <davem@davemloft.net>
10086 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10088 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10089 have-as-vis3 check.
10091 2012-03-27 Andreas Jaeger <aj@suse.de>
10093 * sysdeps/x86_64/elf/configure.in: Moved to ...
10094 * sysdeps/x86_64/configure.in: ... here.
10095 * sysdeps/x86_64/elf/start.S: Moved to ...
10096 * sysdeps/x86_64/start.S: ... here.
10097 * sysdeps/x86_64/elf/configure: Delete.
10099 * sysdeps/x86_64/configure.in: Merge contents from
10100 sysdeps/i386/configure.in (without i686 check).
10102 * sysdeps/i386/elf/Versions: Merge into ...
10103 * sysdeps/i386/Versions: ... this.
10104 * sysdeps/i386/elf/Versions: Delete file.
10105 * sysdeps/i386/elf/start.S: Moved to ...
10106 * sysdeps/i386/start.S: ...here.
10107 * sysdeps/i386/elf/configure.in: Merge into...
10108 * sysdeps/i386/configure.in: ...here.
10109 * sysdeps/i386/elf/configure.in: Delete file.
10110 * sysdeps/i386/elf/configure: Delete file.
10112 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10113 * debug/backtracesyms.c: ... here.
10114 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10115 * debug/backtracesymsfd.c: ... here.
10116 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10117 * sysdeps/generic/ifunc-sel.h: ... here.
10119 * sysdeps/unix/i386/start.c: Delete file.
10120 * sysdeps/unix/sparc/start.c: Delete file.
10121 * sysdeps/unix/start.c: Delete file.
10123 * sysdeps/sh/elf/configure.in: Moved to ...
10124 * sysdeps/sh/configure.in: ... here.
10125 * sysdeps/sh/elf/start.S: Moved to ...
10126 * sysdeps/sh/start.S: ... here.
10127 * sysdeps/sh/elf/configure: Delete file.
10129 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10130 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10131 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10132 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10133 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10134 * sysdeps/powerpc/powerpc64/start.S: here.
10135 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10136 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10137 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10138 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10139 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10141 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10142 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10143 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10144 * sysdeps/powerpc/powerpc32/start.S: ... here.
10145 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10146 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10147 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10149 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10150 * sysdeps/powerpc/ifunc-sel.h: ... here.
10151 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10152 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10154 * sysdeps/sparc/elf/configure.in: Moved to ...
10155 * sysdeps/sparc/configure.in: ... here.
10156 * sysdeps/sparc/elf/configure: Delete file.
10157 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10158 * sysdeps/sparc/sparc32/start.S: ... here.
10159 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10160 * sysdeps/sparc/sparc64/start.S: ... here.
10161 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10162 * sysdeps/sparc/sparc32/Makefile: ... this.
10163 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10164 * sysdeps/sparc/sparc64/Makefile: ... this.
10166 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10167 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10168 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10169 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10170 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10171 * sysdeps/s390/s390-32/setjmp.S: ... here.
10172 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10173 * sysdeps/s390/s390-32/configure.in: ... here.
10174 * sysdeps/s390/s390-32/elf/configure: Delete file.
10175 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10176 * sysdeps/s390/s390-32/start.S: ... here.
10178 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10179 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10180 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10181 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10182 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10183 * sysdeps/s390/s390-64/setjmp.S: ... here.
10184 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10185 * sysdeps/s390/s390-64/configure.in: ... here
10186 * sysdeps/s390/s390-64/elf/configure: Delete file.
10187 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10188 * sysdeps/s390/s390-64/start.S: ... here.
10189 * sysdeps/s390/s390-64/elf/configure: Delete.
10191 * configure.in: Remove support for elf directories in sysdeps.
10193 * configure: Regenerated.
10194 * sysdeps/i386/configure: Regenerated.
10195 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10196 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10197 * sysdeps/s390/s390-32/configure: Regenerated.
10198 * sysdeps/s390/s390-64/configure: Regenerated.
10199 * sysdeps/sh/configure: Regenerated.
10200 * sysdeps/sparc/configure: Regenerated.
10201 * sysdeps/x86_64/configure: Regenerated.
10203 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10208 denormal result into account.
10210 2012-03-25 Roland McGrath <roland@hack.frob.com>
10212 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10213 Reported by Allan McRae <allan@archlinux.org>.
10215 2012-03-23 Jeff Law <law@redhat.com>
10217 * nss/getnssent.c (__nss_getent): Fix typo.
10219 2012-03-23 David S. Miller <davem@davemloft.net>
10221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10223 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10225 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10226 to pad to uint64_t for each field.
10227 (dl_tls_index): Replace unsigned long with uint64_t.
10229 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10230 Paul Pluzhnikov <ppluzhnikov@google.com>
10233 * grp/Makefile (otherlibs): Don't set it.
10234 * inet/Makefile (otherlibs): Likewise.
10235 * login/Makefile (otherlibs): Likewise.
10236 * nscd/Makefile (otherlibs): Likewise.
10237 * posix/Makefile (otherlibs): Likewise.
10238 * pwd/Makefile (otherlibs): Likewise.
10239 * rt/Makefile (otherlibs): Likewise.
10240 * sunrpc/Makefile (otherlibs): Likewise.
10241 * nss/Makefile (otherlibs): Likewise.
10242 Add libnss_files to routines and static-only-routines.
10243 ($(objpfx)getent): Remove rule.
10244 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10245 static-only-routines.
10247 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10250 * math/s_cexp.c: Include <float.h>.
10251 (__cexp): Handle exp result overflowing not necessarily
10252 overflowing both real and imaginary parts of result.
10253 * math/s_cexpf.c: Likewise.
10254 * math/s_cexpl.c: Likewise.
10255 * math/libm-test.inc (cexp_test): Add more tests.
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10259 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10261 * include/link.h (ELFW): New macro.
10262 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10263 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10265 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10267 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10270 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10272 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10274 (struct La_x32_retval): Likewise.
10276 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10278 * sysdeps/x86_64/preconfigure.in: New file.
10279 * sysdeps/x86_64/preconfigure: New generated file.
10281 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10284 * math/e_exp2l.c: Include <float.h>.
10285 (__ieee754_exp2l): Handle overflow and underflow cases
10286 separately. Only pass fractional part of argument to
10288 * math/libm-test.inc (exp2_test): Add more tests.
10290 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10291 negating x to take absolute value.
10292 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10297 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10298 computing low part if x was negated.
10299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10301 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10303 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10304 la_x32_gnu_pltexit.
10305 (pltexit): Cast int_retval to ptrdiff_t.
10306 * elf/tst-auditmod3b.c: Likewise.
10307 * elf/tst-auditmod4b.c: Likewise.
10308 * elf/tst-auditmod5b.c: Likewise.
10309 * elf/tst-auditmod6b.c: Likewise.
10310 * elf/tst-auditmod6c.c: Likewise.
10311 * elf/tst-auditmod7b.c: Likewise.
10313 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10314 and x32_gnu_pltexit.
10316 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10317 __ELF_NATIVE_CLASS.
10318 (La_x32_regs): New macro.
10319 (La_x32_retval): Likewise.
10320 (la_x32_gnu_pltenter): New function prototype.
10321 (la_x32_gnu_pltexit): Likewise.
10323 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10330 * configure.in (libc_cv_cc_nofma): Check for option to disable
10331 generation of FMA instructions.
10332 * configure: Regenerate.
10333 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10334 * sysdeps/ieee754/dbl-64/Makefile: New file.
10335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10336 Remove brandred-fma4.
10337 (CFLAGS-brandred-fma4.c): Remove.
10338 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10341 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10344 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10346 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10347 LLONG_MAX != LONG_MAX.
10348 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10349 (_fitoa_word): Likewise.
10350 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10351 LLONG_MAX != LONG_MAX.
10352 * stdio-common/_itowa.h: Include <_itoa.h>.
10353 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10354 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10355 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10356 only if not defined.
10357 (_ITOA_WORD_TYPE): Likewise.
10358 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10359 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10361 2012-03-21 David S. Miller <davem@davemloft.net>
10363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10365 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10367 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10368 of x86_64 when setting libc_cv_slibdir, libdir and
10370 * sysdeps/unix/sysv/linux/configure: Regenerated.
10372 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10374 * manual/lang.texi (Old Varargs): Remove section.
10375 (How Variadic): Update menu.
10376 (va_start): Do not mention varargs.h.
10378 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10379 Joseph Myers <joseph@codesourcery.com>
10381 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10383 * configure: Regenerated.
10385 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10387 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10388 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10391 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10394 * Makefile (files-for-dist): Remove NOTES.
10395 (NOTES): Remove rule.
10396 * README: Don't refer to NOTES.
10397 * manual/creature.texi: Don't include macros.texi.
10398 * manual/intro.texi (creature.texi): Remove comment referring to
10401 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10402 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10403 * configure: Regenerated.
10404 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10405 LIBC_TRY_CC_OPTION.
10406 (libc_cv_as_i686): Likewise.
10407 (libc_cv_cc_avx): Likewise.
10408 (libc_cv_cc_sse2avx): Likewise.
10409 (libc_cv_cc_fma4): Likewise.
10410 (libc_cv_cc_novzeroupper): Likewise.
10411 * sysdeps/i386/configure: Regenerated.
10414 * sysdeps/i386/fpu/s_cexp.S: Remove.
10415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10416 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10417 * math/libm-test.inc (cexp_test): Add more tests.
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10421 2012-03-21 Allan McRae <allan@archlinux.org>
10423 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10425 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10428 * math/w_exp2.c: Do not include <float.h>.
10429 (o_threshold, u_threshold): Remove.
10430 (__exp2): Calculate result before checking finiteness and calling
10432 * math/w_exp2f.c: Likewise.
10433 * math/w_exp2l.c: Likewise.
10434 * math/libm-test.inc (exp2_test): Require overflow exception for
10438 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10439 range of signed 64-bit integers before using fistpll. Remove
10440 checks for whether integers fit in mantissa bits.
10441 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10442 the range of signed 32-bit integers before using fistpl. Remove
10443 checks for whether integers fit in mantissa bits.
10444 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10445 (__ieee754_powl): Test for y outside the range of signed 64-bit
10446 integers before using fistpll. Reduce 64-bit values to 63-bit
10448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10449 divide-by-zero is raised for zero to large negative powers.
10450 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10451 (__ieee754_powl): Test for y outside the range of signed 64-bit
10452 integers before using fistpll. Reduce 64-bit values to 63-bit
10454 * math/libm-test.inc (pow_test): Add more tests.
10456 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10458 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10459 <stdio-common/_itoa.h>.
10460 * debug/segfault.c: Likewise.
10461 * elf/dl-cache.c: Likewise.
10462 * elf/dl-minimal.c: Likewise.
10463 * elf/dl-misc.c: Likewise.
10464 * elf/dl-sysdep.c: Likewise.
10465 * elf/dl-version.c: Likewise.
10466 * elf/rtld.c: Likewise.
10467 * hurd/hurdsock.c: Likewise.
10468 * hurd/lookup-retry.c: Likewise.
10469 * malloc/malloc.c: Likewise.
10470 * malloc/mtrace.c: Likewise.
10471 * nscd/nscd_getgr_r.c: Likewise.
10472 * nscd/nscd_getpw_r.c: Likewise.
10473 * nscd/nscd_getserv_r.c: Likewise.
10474 * posix/getopt_init.c: Likewise.
10475 * posix/wordexp.c: Likewise.
10476 * stdio-common/_itoa.c: Likewise.
10477 * stdio-common/printf_fphex.c: Likewise.
10478 * stdio-common/vfprintf.c: Likewise.
10479 * string/_strerror.c: Likewise.
10480 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10481 * sysdeps/i386/i686/hp-timing.h: Likewise.
10482 * sysdeps/mach/_strerror.c: Likewise.
10483 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10484 * sysdeps/mach/hurd/sethostid.c: Likewise.
10485 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10486 * sysdeps/mach/xpg-strerror.c: Likewise.
10487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10488 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10489 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10490 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10491 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10492 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10493 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10494 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10495 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10496 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10497 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10498 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10499 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10500 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10501 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10502 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10504 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10505 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10506 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10509 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10511 * stdio-common/_itoa.h: Moved to ...
10512 * sysdeps/generic/_itoa.h: Here.
10514 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10516 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10517 instead of "_itoa.h" and "_itowa.h".
10518 * stdio-common/vfprintf.: Likewise.
10520 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10524 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10525 (__signbit): Likwise.
10526 (llrintf): Likwise.
10529 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10531 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10534 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10536 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10537 OVERFLOW_EXCEPTION_OK.
10538 * math/libm-test.inc ("Philosophy"): Update comment about
10540 (OVERFLOW_EXCEPTION): Define.
10541 (OVERFLOW_EXCEPTION_OK): Likewise.
10542 (INVALID_EXCEPTION_OK): Renumber.
10543 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10544 (IGNORE_ZERO_INF_SIGN): Likewise.
10545 (test_exceptions): Handle FE_OVERFLOW.
10546 (exp10_test): Expect overflow exceptions.
10547 (exp2_test): Likewise.
10548 (expm1_test): Likewise.
10549 (nextafter_test): Likewise.
10550 (pow_test): Likewise.
10551 (scalbn_test): Likewise.
10552 (scalbln_test): Likewise.
10554 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10556 * sysdeps/x86_64/bits/atomic.h
10557 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10559 (atomic_exchange_acq): Likewise.
10560 (__arch_exchange_and_add_body): Likewise.
10561 (__arch_add_body): Likewise.
10562 (atomic_add_negative): Likewise.
10563 (atomic_add_zero): Likewise.
10565 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10567 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10568 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10570 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10572 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10573 Check __x86_64__ instead of __WORDSIZE.
10575 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10579 2012-03-19 David S. Miller <davem@davemloft.net>
10581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10583 * sysdeps/sparc/fpu/fenv_private.h: New file.
10584 * sysdeps/sparc/fpu/math_private.h: Use it.
10585 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10587 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10588 (libc_feholdexcept_setroundl): Remove.
10589 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10591 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10592 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10594 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10596 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10597 int64_t instead of long int.
10598 (INSERT_WORDS64): Likwise.
10600 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10602 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10603 _Unwind_GetCFA return to _Unwind_Ptr first.
10605 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10608 * math/s_clog.c: Include <float.h>.
10609 (__clog): Scale large or subnormal inputs.
10610 * math/s_clogf.c: Likewise.
10611 * math/s_clogl.c: Likewise.
10612 * math/s_clog10.c: Include <float.h>.
10613 (M_LOG10_2): Define.
10614 (__clog10): Scale large or subnormal inputs.
10615 * math/s_clog10f.c: Likewise.
10616 * math/s_clog10l.c: Likewise.
10617 * math/libm-test.inc (clog_test): Add more tests.
10618 (clog10_test): Likewise.
10619 * sysdeps/i386/fpu/libm-test-ulps: Update.
10620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10625 * math/libm-test.inc (atan2_test): Add another test.
10627 * Makerules (common-objdir-compile): Remove.
10628 * sysdeps/unix/Makefile (config-generated): Do not add
10629 $(unix-generated) to variable.
10630 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10631 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10633 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10635 [generic bits/local_lim.h] (before-compile): Do not append to
10637 [generic bits/local_lim.h] (common-generated): Likewise.
10638 [generic sys/param.h] (before-compile): Do not append to variable.
10639 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10640 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10641 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10642 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10644 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10645 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10646 [generic sys/param.h] ($(addprefix
10647 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10648 [generic sys/param.h] (common-generated): Do not append to
10650 [generic sys/param.h] (sysdep_headers): Likewise.
10651 [generic bits/errno.h] (before-compile): Do not append to
10653 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10655 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10656 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10657 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10658 [generic bits/errno.h] (common-generated): Do not append to
10660 [generic bits/ioctls.h] (before-compile): Do not append to
10662 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10664 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10665 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10666 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10668 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10669 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10670 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10671 [generic bits/ioctls.h] (common-generated): Do not append to
10673 [generic sys/syscall.h] (syscall.h): Remove variable.
10674 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10676 [generic sys/syscall.h] (before-compile): Do not append to
10678 [generic sys/syscall.h] (common-generated): Likewise.
10679 * sysdeps/unix/errnos-tmpl.c: Remove file.
10680 * sysdeps/unix/errnos.awk: Likewise.
10681 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10682 * sysdeps/unix/ioctls.awk: Likewise.
10683 * sysdeps/unix/mk-local_lim.c: Likewise.
10684 * sysdeps/unix/snarf-ioctls: Likewise.
10686 2012-03-19 Richard Henderson <rth@twiddle.net>
10688 * sysdeps/i386/fpu/fenv_private.h: New file.
10689 * sysdeps/i386/fpu/math_private.h: Use it.
10690 (math_opt_barrier, math_force_eval): Remove.
10691 (libc_feholdexcept_setround_53bit): Remove.
10692 (libc_feupdateenv_53bit): Remove.
10693 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10694 (math_opt_barrier, math_force_eval): Remove.
10695 (libc_feholdexcept): Remove.
10696 (libc_feholdexcept_setround): Remove.
10697 (libc_fetestexcept, libc_fesetenv): Remove.
10698 (libc_feupdateenv_test): Remove.
10699 (libc_feupdateenv, libc_feholdsetround): Remove.
10700 (libc_feresetround): Remove.
10702 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10703 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10705 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10706 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10707 (libc_feupdateenv_testl): New.
10708 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10709 (libc_feupdateenv_testf): New.
10710 (libc_feupdateenv): Use libc_feupdateenv_test.
10711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10714 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10715 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10716 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10717 (libc_feresetround_noex): New.
10718 (libc_feresetround_noexf): New.
10719 (libc_feresetround_noexl): New.
10720 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10721 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10722 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10723 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10728 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10730 SET_RESTORE_ROUND_NOEX.
10731 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10732 SET_RESTORE_ROUND_NOEXF.
10733 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10734 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10735 (libc_feholdsetroundf): New.
10736 (libc_feresetround, libc_feresetroundf): New.
10738 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10739 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10740 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10742 * sysdeps/generic/math_private.h: Include <fenv.h>.
10743 (default_libc_feholdexcept): New.
10744 (default_libc_feholdexcept_setround): New.
10745 (default_libc_fesetenv, default_libc_feupdateenv): New.
10746 (libc_feholdexcept): Only define if undefined.
10747 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10749 (libc_feholdexcept_setroundl): Likewise.
10750 (libc_feholdexcept_setround_53bit): Likewise.
10751 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10754 (libc_feupdateenv_53bit): Likewise.
10755 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10756 (libc_feholdexcept): Convert from macro to inline function.
10757 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10758 (libc_fesetenv, libc_feupdateenv): Likewise.
10760 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10761 not previously defined.
10762 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10763 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10764 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10765 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10766 * sysdeps/ieee754/flt-32/math_private.h: New file.
10767 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10768 math_private.h below SET_FLOAT_WORD.
10769 (__isnan, __isinf_ns, __finite): Remove.
10770 (__isnanf, __isinf_nsf, __finitef): Remove.
10772 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10776 2012-03-17 David S. Miller <davem@davemloft.net>
10779 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10782 2012-03-16 David S. Miller <davem@davemloft.net>
10784 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10788 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10790 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10791 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10792 sysdep_routines when subdir is sysvipc.
10793 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10794 __getshmlba helper.
10796 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10798 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10800 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10803 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10805 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10806 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10807 (__lround): Renamed to ...
10808 (__llround): This. Replace long int with long long int.
10809 Define lround functions as aliases of llround functions.
10810 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10812 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10814 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10815 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10816 adresses to uintptr_t. Replace "long int" and "unsigned long
10817 int" with "greg_t" on va_arg.
10819 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10821 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10822 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10824 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10825 Move e_machine check before EI_CLASS check. Handle x32
10826 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10827 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10828 SKIP_EM_IA_64 and include
10829 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10831 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10832 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10833 (add_system_dir): New macro.
10835 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10836 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10838 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10849 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10851 * math/w_j0f.c (j0f): Likewise.
10853 * math/w_j0l.c (__j0l): Likewise.
10855 * math/w_j1.c (j1): Likewise.
10857 * math/w_j1f.c (j1f): Likewise.
10859 * math/w_j1l.c (__j1l): Likewise.
10861 * math/w_jn.c (jn): Likewise.
10863 * math/w_jnf.c (jnf): Likewise.
10865 * math/w_jnl.c (__jnl): Likewise.
10867 * math/libm-test.inc (j0_test): Add more tests.
10868 (j1_test): Likewise.
10869 (jn_test): Likewise. Add trailing semicolon to existing test.
10870 (y0_test): Likewise.
10871 (y1_test): Likewise.
10872 * sysdeps/i386/fpu/libm-test-ulps: Update.
10873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10878 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10879 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10881 (__tanl): Set errno for infinite argument.
10882 * sysdeps/i386/fpu/mptan.c: Remove.
10883 * sysdeps/i386/fpu/s_tan.S: Likewise.
10884 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10885 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10886 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10887 * math/libm-test.inc (tan_test): Add more tests and enable more
10888 tests for double and long double.
10889 * sysdeps/i386/fpu/libm-test-ulps: Update.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10892 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10894 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10895 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10897 2012-03-16 Roland McGrath <roland@hack.frob.com>
10899 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10900 * configure.in: Use it for both main tree and add-ons.
10901 * configure: Regenerated.
10903 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10905 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10907 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10913 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10914 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10919 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10921 != 0 for prec == 2.
10922 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10923 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10924 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10925 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10926 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10927 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10928 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10929 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10930 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10931 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10932 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10933 * math/libm-test.inc (cos_test): Add more tests and enable more
10934 tests for long double.
10935 (sin_test): Likewise.
10936 (sincos_test): Likewise.
10937 * sysdeps/i386/fpu/libm-test-ulps: Update.
10938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10940 2012-03-16 David S. Miller <davem@davemloft.net>
10942 * sysdeps/sparc/fpu/math_private.h: New file.
10944 2012-03-15 David S. Miller <davem@davemloft.net>
10946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10960 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10961 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10963 * sysdeps/sparc/sparc-ifunc.h: New file.
10964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11009 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11011 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11015 2012-03-15 Andreas Jaeger <aj@suse.de>
11018 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11019 ieee754/flt-32 implementation for sin, cos and sincos.
11020 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11021 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11022 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11023 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11024 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11025 ieee754/flt-32 implementation for tan.
11027 * math/libm-test.inc (cos_test): Enable some large input tests for
11029 (sin_test): Likewise.
11030 (sincos_test): Likewise.
11031 (tan_test): Add tests for large input.
11033 * sysdeps/i386/fpu/libm-test-ulps: Update.
11035 2012-03-15 Andreas Jaeger <aj@suse.de>
11038 * math/libm-test.inc (cos_test): Add more test cases.
11039 (sin_test): Likewise.
11040 (sincos_test): Likewise.
11042 2012-03-15 Andreas Jaeger <aj@suse.de>
11045 * math/libm-test.inc (cos_test): Add a test case for large input
11047 (sin_test): Likewise.
11048 (sincos_test): Likewise.
11050 2012-03-15 Andreas Jaeger <aj@suse.de>,
11051 Joseph Myers <joseph@codesourcery.com>
11054 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11055 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11056 * sysdeps/i386/fpu/branred.c: Likewise.
11057 * sysdeps/i386/fpu/dosincos.c: Likewise.
11058 * sysdeps/i386/fpu/mpa.c: Likewise.
11059 * sysdeps/i386/fpu/s_cos.S: Likewise.
11060 * sysdeps/i386/fpu/s_sin.S: Likewise.
11061 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11062 * sysdeps/i386/fpu/sincos32.c: Likewise.
11064 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11066 (libc_feupdateenv_53bit): Define.
11067 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11069 (libc_feupdateenv_53bit): Define.
11071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11072 53 bit (without extend i386 double precision).
11074 * math/libm-test.inc (sincos_test): Add tests for large input.
11078 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11080 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11084 2012-03-15 David S. Miller <davem@davemloft.net>
11086 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11114 fmin/fmax sysdep routines.
11115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11117 2012-03-14 David S. Miller <davem@davemloft.net>
11119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11191 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11196 * sysdeps/sparc/configure.in: New file.
11197 * sysdeps/sparc/configure: Generate.
11198 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11199 * configure: Regenerate.
11200 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11201 * config.make.in (have-as-vis3): New.
11202 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11203 available use -Av9d instead of -Av9a.
11204 * sysdeps/sparc/sparc64/Makefile: Likewise.
11205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11221 fzeros/fnegs to load 0x80000000 into a float register instead of
11223 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11225 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11229 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11230 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11231 ($(inst_includedir)/bits/syscall.h): Remove rule.
11232 ($(objpfx)bits/syscall.d): Include instead of
11233 $(objpfx)syscall-list.d.
11234 (generated): Change syscall-list.h and syscall-list.d to
11235 bits/syscall.h and bits/syscall.d.
11237 2012-03-14 Roland McGrath <roland@hack.frob.com>
11240 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11242 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11245 * math/s_csqrt.c: Include <float.h>.
11246 (__csqrt): Scale large or subnormal inputs.
11247 * math/s_csqrtf.c: Likewise.
11248 * math/s_csqrtl.c: Likewise.
11249 * math/libm-test.inc (csqrt_test): Add more tests.
11250 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254 * math/libm-test.inc (hypot_test): Add more tests.
11256 2012-03-13 David S. Miller <davem@davemloft.net>
11259 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11260 double-precision for the calculation instead of scaling.
11262 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11265 manipulate bits before adding and subtracting TWO52[sx].
11266 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11269 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11271 2012-03-13 David S. Miller <davem@davemloft.net>
11273 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11274 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11276 rtld-global-offsets.h
11277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11285 'err' in the ifdef scope in which it is actually used.
11287 * nss/nss_db/db-init.c: Include string.h
11289 2012-03-12 David S. Miller <davem@davemloft.net>
11291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11292 masking out of the most significant byte of random value used.
11293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11294 Fix coding style in previous change.
11296 * sysdeps/unix/sysv/linux/kernel-features.h
11297 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11298 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11300 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11303 2012-03-11 David S. Miller <davem@davemloft.net>
11305 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11306 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11308 for 'resultvar' otherwise things get truncated on 64-bit.
11310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11311 Fix masking out of the most significant byte of random value used.
11313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11315 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11319 2012-03-09 David S. Miller <davem@davemloft.net>
11321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11322 variables with appropriate CPP guards.
11323 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11324 frame pointer, not the stack pointer. Correct layout comments. Fix test
11325 on resulting framesize and the management of the outregs buffer for pltexit.
11326 Preserve floating point return values across _dl_call_pltexit call.
11327 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11328 framesize and the management of the outregs buffer for pltexit.
11329 Preserve floating point return values across _dl_call_pltexit
11331 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11332 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11333 (print_exit): Fix format string for return register value.
11335 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11337 * sunrpc/Makefile (others): Add rpcgen.
11338 ($(objpfx)rpcgen): Remove special build rule and dependency on
11340 * sunrpc/rpcgen.c: New file.
11342 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11345 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11346 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11347 * sysdeps/i386/crti.S: Likewise.
11348 * sysdeps/i386/crtn.S: Likewise.
11349 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11350 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11351 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11352 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11353 * sysdeps/sh/crti.S: Likewise.
11354 * sysdeps/sh/crtn.S: Likewise.
11355 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11358 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11360 * locale/programs/locfile-kw.gperf: Likewise.
11361 * locale/programs/charmap-kw.h: Regenerated.
11362 * locale/programs/locfile-kw.h: Likewise.
11365 * intl/plural.y: Replace FSF snail mail address with URL.
11366 * intl/plural.c: Regenerated.
11368 2012-03-09 Richard Henderson <rth@twiddle.net>
11370 * include/math_private.h: Remove file.
11371 * math/math_private.h: Move file ...
11372 * sysdeps/generic/math_private.h: ... here.
11374 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11375 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11376 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11378 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11379 and <math_private.h>.
11380 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11381 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11382 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11383 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11384 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11464 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11468 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11472 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11477 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11480 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11481 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11482 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11485 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11492 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11495 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11500 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11502 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11505 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11506 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11507 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11508 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11513 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11514 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11515 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11516 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11518 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11519 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11521 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11522 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11523 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11524 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11525 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11526 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11527 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11528 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11529 * sysdeps/ieee754/k_standard.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11690 * sysdeps/ieee754/s_lib_version.c: Likewise.
11691 * sysdeps/ieee754/s_matherr.c: Likewise.
11692 * sysdeps/ieee754/s_signgam.c: Likewise.
11693 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11694 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11695 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11696 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11697 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11698 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11699 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11700 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11701 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11702 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11703 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11704 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11705 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11706 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11707 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11709 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11710 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11711 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11715 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11717 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11718 * sunrpc/rpc_main.c: Likewise.
11719 * sunrpc/rpc_svcout.c: Likewise.
11721 2012-03-09 David S. Miller <davem@davemloft.net>
11723 * include/math_private.h: New file.
11725 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11727 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11728 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11729 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11730 from <bits/socket_type.h>.
11731 (enum __socket_type): Don't define here.
11732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11734 bits/socket_type.h.
11737 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11738 checking __USE_GNU.
11740 * Makerules ($(inst_includedir)/%.h): New rule.
11741 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11742 (install-others): Remove variable setting.
11743 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11745 2012-03-08 Richard Henderson <rth@twiddle.net>
11747 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11748 from macro to inline function; merge with the
11749 !__LIBC_INTERNAL_MATH_INLINES version.
11750 (__ieee754_sqrtf): Likewise.
11752 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11753 to inline function.
11754 (__rintf, __floor, __floorf): Likewise.
11756 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11757 macro to inline function.
11758 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11761 not <math/math_private.h>.
11763 2012-03-08 David S. Miller <davem@davemloft.net>
11765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11767 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11769 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11771 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11773 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11774 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11776 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11778 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11779 be defined individually, they must be defined as a block. Define
11780 S for printing a string instead of hidint the different by using a
11781 macro for adding the 'l'.
11782 * stdio-common/tst-fphex-wide.c: Adjust.
11784 2012-03-07 Marek Polacek <polacek@redhat.com>
11786 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11788 2012-03-08 Marek Polacek <polacek@redhat.com>
11791 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11792 * stdio-common/tst-fphex.c: Define a few macros to make the
11793 test reusable. Use them.
11794 * stdio-common/tst-fphex-wide.c: New file.
11796 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11799 * manual/macros.texi (gnusystems): New macro.
11800 (nongnusystems): Likewise.
11801 (gnulinuxhurdsystems): Likewise.
11802 (gnuhurdsystems): Likewise..
11803 (gnulinuxsystems): Likewise.
11804 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11805 variants of the GNU system, not "GNU system".
11806 * manual/conf.texi: Likewise.
11807 * manual/errno.texi: Likewise. Update example of errno macro
11809 * manual/filesys.texi: Likewise.
11810 (getumask): Document as specific to GNU/Hurd.
11811 * manual/install.texi: Likewise. Reword some references to
11813 * manual/intro.texi: Likewise.
11814 * manual/io.texi: Likewise.
11815 (File Name Portability): Detail which constraints are inapplicable
11816 to all GNU systems and which are only inapplicable to GNU/Hurd.
11817 * manual/job.texi: Likewise.
11818 * manual/llio.texi: Likewise.
11819 (O_NOCTTY): Document as present on GNU/Linux.
11820 * manual/maint.texi: Likewise.
11821 * manual/memory.texi: Likewise.
11822 * manual/pattern.texi: Likewise.
11823 * manual/pipe.texi: Likewise.
11824 * manual/process.texi: Likewise.
11825 * manual/resource.texi: Likewise.
11826 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11828 * manual/setjmp.texi: Likewise.
11829 * manual/signal.texi: Likewise.
11830 * manual/startup.texi: Likewise.
11831 * manual/stdio.texi: Likewise.
11832 * manual/terminal.texi: Likewise.
11833 (ONLCR): Document as POSIX.
11834 (OXTABS): Document availability on GNU/Linux as XTABS.
11835 (ONOEOT): Document availability separately from other bits.
11836 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11837 * manual/time.texi: Likewise.
11838 * manual/users.texi: Likewise.
11839 * INSTALL: Regenerated.
11840 * sysdeps/gnu/errlist.c: Regenerated.
11842 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11843 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11844 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11846 * configure: Regenerated.
11848 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11850 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11851 default includes instead of AC_HEADER_CHECK.
11852 * sysdeps/i386/configure: Regenerated.
11855 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11856 * math/s_cacoshf.c (__cacoshf): Likewise.
11857 * math/s_cacoshl.c (__cacoshl): Likewise.
11858 * math/s_casinh.c (__casinh): Set signs of result from argument.
11859 * math/s_casinhf.c (__casinhf): Likewise.
11860 * math/s_casinhl.c (__casinhl): Likewise.
11861 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11862 (casinh_test): Add more tests.
11863 * sysdeps/i386/fpu/libm-test-ulps: Update.
11864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11866 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11868 * po/zh_TW.po: Update from translation team.
11870 * login/Makefile (distribute): Remove variable.
11871 * catgets/Makefile: Likewise.
11872 * mach/Makefile: Likewise.
11873 * malloc/Makefile: Likewise.
11874 * misc/Makefile: Likewise.
11875 * iconv/Makefile: Likewise.
11876 * nscd/Makefile: Likewise.
11877 * hurd/Makefile: Likewise.
11878 * manual/Makefile: Likewise.
11879 * locale/Makefile: Likewise.
11880 * intl/Makefile: Likewise.
11881 * conform/Makefile: Likewise.
11882 * nss/Makefile: Likewise.
11883 * time/Makefile: Likewise.
11884 * soft-fp/Makefile: Likewise.
11885 * dirent/Makefile: Likewise.
11886 * gmon/Makefile: Likewise.
11887 * po/Makefile: Likewise.
11888 * rt/Makefile: Likewise.
11889 * socket/Makefile: Likewise.
11890 * math/Makefile: Likewise.
11891 * signal/Makefile: Likewise.
11892 * debug/Makefile: Likewise.
11893 * elf/Makefile: Likewise.
11894 * timezone/Makefile: Likewise.
11895 * stdlib/Makefile: Likewise.
11896 * iconvdata/Makefile: Likewise.
11897 * sunrpc/Makefile: Likewise.
11898 * io/Makefile: Likewise.
11899 * argp/Makefile: Likewise.
11900 * inet/Makefile: Likewise.
11901 * hesiod/Makefile: Likewise.
11902 * grp/Makefile: Likewise.
11903 * csu/Makefile: Likewise.
11904 * wctype/Makefile: Likewise.
11905 * crypt/Makefile: Likewise.
11906 * libio/Makefile: Likewise.
11907 * string/Makefile: Likewise.
11908 * nis/Makefile: Likewise.
11909 * resolv/Makefile: Likewise.
11910 * stdio-common/Makefile: Likewise.
11911 * wcsmbs/Makefile: Likewise.
11912 * dlfcn/Makefile: Likewise.
11913 * posix/Makefile: Likewise.
11916 * timezone/Makefile: Don't install timezone files, just the programs
11919 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11921 * nss/databases.def: Add missing gshadow entry.
11923 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11925 2012-03-06 Marek Polacek <polacek@redhat.com>
11928 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11929 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11930 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11931 * stdio-common/tst-long-dbl-fphex.c: New file.
11933 2012-03-06 David S. Miller <davem@davemloft.net>
11935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11936 (set_obp_int): New function.
11937 (get_obp_int): New function.
11938 (__get_clockfreq_via_dev_openprom): Likewise.
11939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11940 Avoid unused variable warnings on 'val' and use builtin_expect.
11941 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11943 (INLINE_CLONE_SYSCALL): Likewise.
11945 2012-03-05 David S. Miller <davem@davemloft.net>
11947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11949 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11954 only for |x| >= 40.
11955 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11957 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11960 Replace gettimeofday with __vdso_gettimeofday.
11962 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11963 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11964 __vdso_clock_gettime and __vdso_getcpu.
11966 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11967 time with __vdso_time.
11969 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11971 * manual/lang.texi (size_t): Note types to which size_t may be
11972 equivalent with the GNU C Library, but do not describe when
11973 differences between them are significant.
11975 2012-03-05 Andreas Jaeger <aj@suse.de>
11977 * sysdeps/i386/fpu/libm-test-ulps: Update.
11979 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11982 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11983 (__ieee754_pow): Save and restore rounding mode and use
11984 round-to-nearest for main computations.
11985 * math/libm-test.inc (pow_test_tonearest): New function.
11986 (pow_test_towardzero): Likewise.
11987 (pow_test_downward): Likewise.
11988 (pow_test_upward): Likewise.
11989 (main): Call the new functions.
11990 * sysdeps/i386/fpu/libm-test-ulps: Update.
11991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 * math/libm-test.inc (cosh_test_tonearest): New function.
11995 (cosh_test_towardzero): Likewise.
11996 (cosh_test_downward): Likewise.
11997 (cosh_test_upward): Likewise.
11998 (sinh_test_tonearest): Likewise.
11999 (sinh_test_towardzero): Likewise.
12000 (sinh_test_downward): Likewise.
12001 (sinh_test_upward): Likewise.
12002 (main): Call the new functions.
12003 * sysdeps/i386/fpu/libm-test-ulps: Update.
12004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12006 2012-03-05 Tom de Vries <tom@codesourcery.com>
12008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12009 default stack guard is set in last bytes.
12010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12012 2012-03-05 Kees Cook <keescook@chromium.org>
12014 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12017 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12018 possibly allocate from heap instead of stack.
12019 * stdio-common/bug-vfprintf-nargs.c: New file.
12020 * stdio-common/Makefile (tests): Add nargs overflow test.
12022 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12026 2012-03-03 Marek Polacek <polacek@redhat.com>
12028 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12029 * math/math_private.h: Likewise.
12030 * stdlib/tst-strtod.c: Likewise.
12031 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12032 * sysdeps/x86_64/bits/atomic.h: Likewise.
12034 2012-03-02 David S. Miller <davem@davemloft.net>
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12040 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12041 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12042 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12043 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12045 2012-03-02 Roland McGrath <roland@hack.frob.com>
12048 * manual/examples/README: New file, says the example source files
12049 can be used under GPL>=2.
12050 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12051 line containing just "*/".
12052 * manual/examples/add.c: Add copyright header (GPL>=2).
12053 * manual/examples/argp-ex1.c: Likewise.
12054 * manual/examples/argp-ex2.c: Likewise.
12055 * manual/examples/argp-ex3.c: Likewise.
12056 * manual/examples/argp-ex4.c: Likewise.
12057 * manual/examples/atexit.c: Likewise.
12058 * manual/examples/db.c: Likewise.
12059 * manual/examples/dir.c: Likewise.
12060 * manual/examples/dir2.c: Likewise.
12061 * manual/examples/execinfo.c: Likewise.
12062 * manual/examples/filecli.c: Likewise.
12063 * manual/examples/filesrv.c: Likewise.
12064 * manual/examples/fmtmsgexpl.c: Likewise.
12065 * manual/examples/genpass.c: Likewise.
12066 * manual/examples/inetcli.c: Likewise.
12067 * manual/examples/inetsrv.c: Likewise.
12068 * manual/examples/isockad.c: Likewise.
12069 * manual/examples/longopt.c: Likewise.
12070 * manual/examples/memopen.c: Likewise.
12071 * manual/examples/memstrm.c: Likewise.
12072 * manual/examples/mkfsock.c: Likewise.
12073 * manual/examples/mkisock.c: Likewise.
12074 * manual/examples/mygetpass.c: Likewise.
12075 * manual/examples/pipe.c: Likewise.
12076 * manual/examples/popen.c: Likewise.
12077 * manual/examples/rprintf.c: Likewise.
12078 * manual/examples/search.c: Likewise.
12079 * manual/examples/select.c: Likewise.
12080 * manual/examples/setjmp.c: Likewise.
12081 * manual/examples/sigh1.c: Likewise.
12082 * manual/examples/sigusr.c: Likewise.
12083 * manual/examples/stpcpy.c: Likewise.
12084 * manual/examples/strdupa.c: Likewise.
12085 * manual/examples/strftim.c: Likewise.
12086 * manual/examples/strncat.c: Likewise.
12087 * manual/examples/subopt.c: Likewise.
12088 * manual/examples/swapcontext.c: Likewise.
12089 * manual/examples/termios.c: Likewise.
12090 * manual/examples/testopt.c: Likewise.
12091 * manual/examples/testpass.c: Likewise.
12092 * manual/examples/timeval_subtract.c: Likewise.
12095 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12097 * manual/timeval_subtract.c.texi: ... here, new file.
12099 2012-03-02 David S. Miller <davem@davemloft.net>
12101 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12103 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12107 (__sin): Save and restore rounding mode and use round-to-nearest
12108 for all computations.
12109 (__cos): Save and restore rounding mode and use round-to-nearest
12110 for all computations.
12111 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12113 (tan): Save and restore rounding mode and use round-to-nearest for
12115 * math/libm-test.inc (cos_test_tonearest): New function.
12116 (cos_test_towardzero): Likewise.
12117 (cos_test_downward): Likewise.
12118 (cos_test_upward): Likewise.
12119 (sin_test_tonearest): Likewise.
12120 (sin_test_towardzero): Likewise.
12121 (sin_test_downward): Likewise.
12122 (sin_test_upward): Likewise.
12123 (tan_test_tonearest): Likewise.
12124 (tan_test_towardzero): Likewise.
12125 (tan_test_downward): Likewise.
12126 (tan_test_upward): Likewise.
12127 (main): Call the new functions.
12128 * sysdeps/i386/fpu/libm-test-ulps: Update.
12129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12132 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12133 small n, then large n, before computing and testing k+n.
12134 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12139 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12140 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12142 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12145 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12147 * math/libm-test.inc (scalbn_test): Add more tests.
12148 (scalbln_test): Likewise.
12150 * manual/filesys.texi (mode_t): Describe constraints on size and
12151 signedness, not exact equivalence to a particular type.
12153 (ino64_t): Likewise.
12155 (nlink_t): Likewise.
12156 (blkcnt_t): Likewise.
12157 (blkcnt64_t): Likewise.
12158 * manual/llio.texi (off_t): Likewise.
12161 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12162 (__ieee754_exp): Save and restore rounding mode and use
12163 round-to-nearest for all computations.
12164 * math/libm-test.inc (exp_test_tonearest): New function.
12165 (exp_test_towardzero): Likewise.
12166 (exp_test_downward): Likewise.
12167 (exp_test_upward): Likewise.
12168 (main): Call the new functions.
12169 * sysdeps/i386/fpu/libm-test-ulps: Update.
12170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12172 2012-03-01 Chris Demetriou <cgd@google.com>
12174 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12175 have predictable order.
12177 2012-03-01 David S. Miller <davem@davemloft.net>
12179 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12181 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12182 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12183 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12184 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12186 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12187 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12188 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12190 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12191 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12192 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12193 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12194 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12199 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12202 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12203 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12204 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12205 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12206 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12209 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12210 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12211 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12212 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12213 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12215 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12216 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12218 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12219 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12220 * sysdeps/sparc/elf/configure: Regenerated.
12222 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12224 * configure.in (AS, LD): Require binutils 2.20 or later.
12225 * configure: Regenerated.
12226 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12227 as required minimum version.
12228 * INSTALL: Regenerated.
12232 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12233 before squaring exponent.
12234 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12235 bottom long double and 27 bits of top long double before squaring
12237 * math/libm-test.inc (erfc_test): Add more tests.
12238 * sysdeps/i386/fpu/libm-test-ulps: Update.
12239 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12242 2012-03-01 Kai Tietz <ktietz@redhat.com>
12244 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12245 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12246 containing bit-fields.
12247 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12248 * soft-fp/single.h (_FP_UNION_S): Likewise.
12249 * soft-fp/double.h (_FP_UNION_D): Likewise.
12251 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12254 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12255 not include ../strcmp.S.
12256 [USE_AS_STRNCASECMP_L]: Likewise.
12257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12258 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12259 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12260 (__strncasecmp_l_ia32): Define as alias to
12261 __strncasecmp_l_nonascii.
12264 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12265 * sysdeps/i386/fpu/libm-test-ulps: Update.
12266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12268 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12271 2012-02-29 Jeff Law <law@redhat.com>
12273 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12274 out of bounds read.
12276 2012-02-29 Marek Polacek <polacek@redhat.com>
12279 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12280 * elf/Makefile: Add rules to run tst-unused-dep.out.
12282 2012-02-28 David S. Miller <davem@davemloft.net>
12284 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12285 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12288 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12289 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12291 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12293 * math/libm-test.inc (llround_test): Move one test from
12294 lround_test. Use TEST_f_L in moved test.
12295 (lround_test): Move misplaced test to llround_test. Add testcase
12298 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12300 * sysdeps/x86_64/fpu/e_expf.S: New file.
12301 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12303 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12306 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12307 of remain_len that may cause incomplete multi-byte character and
12309 * posix/bug-regex33.c: New file.
12310 * posix/Makefile (tests): Add bug-regex33.
12312 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12314 * manual/macros.texi: New file.
12315 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12316 * manual/libc.texinfo: Include macros.texi.
12317 * manual/creatute.texi: Likewise.
12318 * manual/install.texi: Likewise.
12319 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12320 @glibcadj{} in references to the GNU C Library.
12321 * manual/charset.texi: Likewise.
12322 * manual/conf.texi: Likewise.
12323 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12324 when not using those macros.
12325 * manual/creature.texi: Likewise.
12326 * manual/crypt.texi: Likewise.
12327 * manual/errno.texi: Likewise.
12328 * manual/filesys.texi: Likewise.
12329 * manual/header.texi: Likewise.
12330 * manual/install.texi: Likewise.
12331 * manual/intro.texi: Likewise.
12332 * manual/io.texi: Likewise.
12333 * manual/job.texi: Likewise.
12334 * manual/lang.texi: Likewise.
12335 * manual/libc.texiinfo: Likewise.
12336 * manual/llio.texi: Likewise.
12337 * manual/locale.texi: Likewise.
12338 * manual/maint.texi: Likewise.
12339 * manual/math.texi: Likewise.
12340 * manual/memory.texi: Likewise.
12341 * manual/message.texi: Likewise.
12342 * manual/nss.texi: Likewise.
12343 * manual/pattern.texi: Likewise.
12344 * manual/process.texi: Likewise.
12345 * manual/resource.texi: Likewise.
12346 * manual/search.texi: Likewise.
12347 * manual/setjmp.texi: Likewise.
12348 * manual/signal.texi: Likewise.
12349 * manual/socket.texi: Likewise.
12350 * manual/startup.texi: Likewise.
12351 * manual/stdio.texi: Likewise.
12352 * manual/string.texi: Likewise.
12353 * manual/sysinfo.texi: Likewise.
12354 * manual/syslog.texi: Likewise.
12355 * manual/terminal.texi: Likewise.
12356 * manual/time.texi: Likewise.
12357 * manual/users.texi: Likewise.
12358 * INSTALL: Regenerated.
12359 * NOTES: Regenerated.
12360 * sysdeps/gnu/errlist.c: Regenerated.
12362 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12364 * include/dirent.h: Include <dirstream.h> before
12367 2012-02-28 David S. Miller <davem@davemloft.net>
12369 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12370 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12374 2012-02-27 David S. Miller <davem@davemloft.net>
12376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12378 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12379 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12382 frame pointer instead of stack pointer relative arg slot.
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12384 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12385 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12387 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12390 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12392 2012-02-27 David S. Miller <davem@davemloft.net>
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12400 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12401 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12403 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12405 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12406 later. Allow versions 5-9.
12407 * configure: Regenerated.
12408 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12409 required minimum version and 4.6 as recommended version. Do not
12410 mention bugs in GCC 2.7 and 2.8.
12411 * INSTALL: Regenerated.
12413 2012-02-27 David S. Miller <davem@davemloft.net>
12415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12419 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12420 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12421 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12422 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12425 manipulate bits before adding and subtracting TWO112[sx].
12426 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12428 2012-02-27 Roland McGrath <roland@hack.frob.com>
12431 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12432 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12433 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12434 being in POSIX, because they are in 1003.1-2008.
12436 * rt/tst-aio.c: Include <fcntl.h>.
12437 * rt/tst-aio7.c: Likewise.
12438 * rt/tst-aio64.c: Likewise.
12440 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12442 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12444 * manual/install.texi (--with-headers): Describe headers as
12445 interface headers, not private headers.
12446 (Specific advice for GNU/Linux systems): Describe use of headers
12447 from "make headers_install", not private headers from older
12449 * INSTALL: Regenerated.
12450 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12452 * sysdeps/unix/sysv/linux/configure: Regenerated.
12454 * manual/llio.texi (fclean): Remove documentation.
12456 * manual/Makefile (libc-texi-generated): New variable. Include
12458 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12459 $(libc-texi-generated), not duplicated list of files.
12460 (version.texi, stamp-version): New rules.
12461 (realclean): Remove $(libc-texi-generated), not individual files
12462 from that list. Do not remove dir-add.texinfo.
12463 * manual/libc.texinfo: Comment out uses of edition numbers and
12464 references to printed manual. Remove last-updated dates.
12465 (EDITION): Comment out.
12467 (VERSION, UPDATED): Remove.
12468 (version.texi): Include.
12470 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12472 * sysdeps/posix/spawni.c: Include <signal.h>.
12473 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12474 * sysdeps/pthread/aio_fsync.c: Likewise.
12476 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12478 * conform/Makefile (tests): Run only when not cross-compiling and
12479 when fast-check is not defined.
12481 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12482 * conform/data/limits.h-data: Fixes for POSIX2008.
12483 * conform/run-conformtest.sh: Run all tests.
12484 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12486 * include/bits/dlfcn.h: Likewise.
12487 * include/langinfo.h: Likewise.
12488 * include/monetary.h: Likewise.
12489 * include/sys/poll.h: Likewise.
12491 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12493 * posix/spawn.h: Define __need_sigset_t.
12494 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12495 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12496 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12497 to get sigevent_t only.
12498 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12499 only for __USE_GNU.
12500 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12501 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12502 process_vm_writev only for __USE_GNU.
12503 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12505 * conform/Makefile: For now ignore errors from run-conformtest.
12506 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12507 POSIX to avoid namespace pollution. Don't prepend headers.
12508 * conform/data/aio.h-data: Fixes for POSIX testing.
12509 * conform/data/fcntl.h-data: Likewise.
12510 * conform/data/glob.h-data: Likewise.
12511 * conform/data/grp.h-data: Likewise.
12512 * conform/data/pthread.h-data: Likewise.
12513 * conform/data/pwd.h-data: Likewise.
12514 * conform/data/signal.h-data: Likewise.
12515 * conform/data/spawn.h-data: Likewise.
12516 * conform/data/stdio.h-data: Likewise.
12517 * conform/data/stdlib.h-data: Likewise.
12518 * conform/data/stropts.h-data: Likewise.
12519 * conform/data/sys/mman.h-data: Likewise.
12520 * conform/data/sys/stat.h-data: Likewise.
12521 * conform/data/sys/types.h-data: Likewise.
12522 * conform/data/sys/wait.h-data: Likewise.
12523 * conform/data/time.h-data: Likewise.
12524 * conform/data/unistd.h-data: Likewise.
12525 * conform/data/utime.h-data: Likewise.
12527 * io/sys/stat.h: fchmod was always in POSIX.
12528 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12529 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12530 * rt/aio.h: Define __need_timespec before including <time.h>.
12531 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12532 struct. Add forward declaration of pthread_attr_t and use it in
12534 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12536 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12537 always remove CLK_TCK definition.
12539 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12541 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12543 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12545 * conform/run-conformtest.sh: New file.
12546 * conform/Makefile: Run run-conformtest for tests.
12547 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12550 * conform/data/uchar.h-data: New file.
12551 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12552 * conform/data/arpa/inet.h-data: Likewise.
12553 * conform/data/assert.h-data: Likewise.
12554 * conform/data/complex.h-data: Likewise.
12555 * conform/data/cpio.h-data: Likewise.
12556 * conform/data/ctype.h-data: Likewise.
12557 * conform/data/dirent.h-data: Likewise.
12558 * conform/data/dlfcn.h-data: Likewise.
12559 * conform/data/errno.h-data: Likewise.
12560 * conform/data/fcntl.h-data: Likewise.
12561 * conform/data/float.h-data: Likewise.
12562 * conform/data/fmtmsg.h-data: Likewise.
12563 * conform/data/fnmatch.h-data: Likewise.
12564 * conform/data/ftw.h-data: Likewise.
12565 * conform/data/glob.h-data: Likewise.
12566 * conform/data/grp.h-data: Likewise.
12567 * conform/data/iconv.h-data: Likewise.
12568 * conform/data/inttypes.h-data: Likewise.
12569 * conform/data/langinfo.h-data: Likewise.
12570 * conform/data/libgen.h-data: Likewise.
12571 * conform/data/limits.h-data: Likewise.
12572 * conform/data/locale.h-data: Likewise.
12573 * conform/data/math.h-data: Likewise.
12574 * conform/data/monetary.h-data: Likewise.
12575 * conform/data/mqueue.h-data: Likewise.
12576 * conform/data/ndbm.h-data: Likewise.
12577 * conform/data/net/if.h-data: Likewise.
12578 * conform/data/netdb.h-data: Likewise.
12579 * conform/data/netinet/in.h-data: Likewise.
12580 * conform/data/nl_types.h-data: Likewise.
12581 * conform/data/poll.h-data: Likewise.
12582 * conform/data/pthread.h-data: Likewise.
12583 * conform/data/pwd.h-data: Likewise.
12584 * conform/data/regex.h-data: Likewise.
12585 * conform/data/sched.h-data: Likewise.
12586 * conform/data/search.h-data: Likewise.
12587 * conform/data/semaphore.h-data: Likewise.
12588 * conform/data/setjmp.h-data: Likewise.
12589 * conform/data/signal.h-data: Likewise.
12590 * conform/data/spawn.h-data: Likewise.
12591 * conform/data/stdarg.h-data: Likewise.
12592 * conform/data/stdio.h-data: Likewise.
12593 * conform/data/stdlib.h-data: Likewise.
12594 * conform/data/string.h-data: Likewise.
12595 * conform/data/strings.h-data: Likewise.
12596 * conform/data/stropts.h-data: Likewise.
12597 * conform/data/sys/ipc.h-data: Likewise.
12598 * conform/data/sys/mman.h-data: Likewise.
12599 * conform/data/sys/msg.h-data: Likewise.
12600 * conform/data/sys/resource.h-data: Likewise.
12601 * conform/data/sys/select.h-data: Likewise.
12602 * conform/data/sys/sem.h-data: Likewise.
12603 * conform/data/sys/shm.h-data: Likewise.
12604 * conform/data/sys/socket.h-data: Likewise.
12605 * conform/data/sys/stat.h-data: Likewise.
12606 * conform/data/sys/statvfs.h-data: Likewise.
12607 * conform/data/sys/time.h-data: Likewise.
12608 * conform/data/sys/timeb.h-data: Likewise.
12609 * conform/data/sys/times.h-data: Likewise.
12610 * conform/data/sys/types.h-data: Likewise.
12611 * conform/data/sys/uio.h-data: Likewise.
12612 * conform/data/sys/un.h-data: Likewise.
12613 * conform/data/sys/utsname.h-data: Likewise.
12614 * conform/data/sys/wait.h-data: Likewise.
12615 * conform/data/syslog.h-data: Likewise.
12616 * conform/data/tar.h-data: Likewise.
12617 * conform/data/termios.h-data: Likewise.
12618 * conform/data/utime.h-data: Likewise.
12619 * conform/data/utmpx.h-data: Likewise.
12620 * conform/data/varargs.h-data: Likewise.
12621 * conform/data/wchar.h-data: Likewise.
12622 * conform/data/wctype.h-data: Likewise.
12623 * conform/data/wordexp.h-data: Likewise.
12625 * include/stropts.h: New file.
12626 * include/uchar.h: New file.
12627 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12628 * include/assert.h: Likewise.
12629 * include/ctype.h: Likewise.
12630 * include/dirent.h: Likewise.
12631 * include/dlfcn.h: Likewise.
12632 * include/fcntl.h: Likewise.
12633 * include/fnmatch.h: Likewise.
12634 * include/glob.h: Likewise.
12635 * include/grp.h: Likewise.
12636 * include/libio.h: Likewise.
12637 * include/locale.h: Likewise.
12638 * include/math.h: Likewise.
12639 * include/net/if.h: Likewise.
12640 * include/netdb.h: Likewise.
12641 * include/netinet/in.h: Likewise.
12642 * include/pthread.h: Likewise.
12643 * include/pwd.h: Likewise.
12644 * include/regex.h: Likewise.
12645 * include/sched.h: Likewise.
12646 * include/search.h: Likewise.
12647 * include/setjmp.h: Likewise.
12648 * include/signal.h: Likewise.
12649 * include/stdio.h: Likewise.
12650 * include/stdlib.h: Likewise.
12651 * include/string.h: Likewise.
12652 * include/sys/cdefs.h: Likewise.
12653 * include/sys/mman.h: Likewise.
12654 * include/sys/msg.h: Likewise.
12655 * include/sys/resource.h: Likewise.
12656 * include/sys/select.h: Likewise.
12657 * include/sys/socket.h: Likewise.
12658 * include/sys/stat.h: Likewise.
12659 * include/sys/statvfs.h: Likewise.
12660 * include/sys/time.h: Likewise.
12661 * include/sys/times.h: Likewise.
12662 * include/sys/uio.h: Likewise.
12663 * include/sys/utsname.h: Likewise.
12664 * include/sys/wait.h: Likewise.
12665 * include/termios.h: Likewise.
12666 * include/time.h: Likewise.
12667 * include/ulimit.h: Likewise.
12668 * include/unistd.h: Likewise.
12669 * include/utime.h: Likewise.
12670 * include/wchar.h: Likewise.
12671 * include/wctype.h: Likewise.
12672 * include/wordexp.h: Likewise.
12674 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12676 * time/time.h: TIME_UTC must be a macro.
12677 Make timespec_get available for ISO C11 only as well.
12679 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12681 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12682 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12684 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12686 * configure.in: Use -o not -a in test for unsupported multi-arch.
12688 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12690 * manual/texinfo.tex: Update to version 2012-01-19.16.
12692 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12694 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12696 2012-02-24 Roland McGrath <roland@hack.frob.com>
12699 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12700 * manual/fdl-1.3.texi: New file.
12701 * manual/fdl-1.1.texi: File removed.
12704 * manual/libc.texinfo (FDL_VERSION): New @set.
12705 Use it for mention of FDL in cover text.
12706 (Documentation License): Use it in @include file name.
12708 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12709 Roland McGrath <roland@hack.frob.com>
12712 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12713 not LONG_LONG_MAX and LONG_LONG_MIN.
12714 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12715 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12717 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12719 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12723 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12724 manipulate bits before adding and subtracting TWO23[sx].
12725 * math/libm-test.inc (nearbyint_test): Add more tests.
12727 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12730 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12731 bits before adding and subtracting TWO23[sx].
12732 * math/libm-test.inc (rint_test): Add more tests.
12733 (rint_test_tonearest): Likewise.
12734 (rint_test_towardzero): Likewise.
12735 (rint_test_downward): Likewise.
12736 (rint_test_upward: Likewise.
12738 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12741 * include/stdc-predef.h: New file. Extracted from features.h.
12742 * include/features.h: Include stdc-predef.h.
12743 * Makefile (headers): Add stdc-predef.h.
12744 * CONFORMANCE (Compiler limitations): Update.
12746 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12748 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12750 2012-02-21 David S. Miller <davem@davemloft.net>
12752 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12753 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12755 2012-02-20 David S. Miller <davem@davemloft.net>
12757 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12758 using a normal save/restore sequence, rather than allocating a
12759 dummy stack frame just to store a frame pointer and restore.
12760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12762 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12764 * manual/install.texi: Fix stray word in line-wrapped comment.
12766 2012-02-20 David S. Miller <davem@davemloft.net>
12768 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12769 both binutils and gcc support GOTDATA.
12771 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12772 "rd %pc" in the PIC register setup sequences.
12774 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12775 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12777 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12778 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12783 (SYSCALL_ERROR_HANDLER): Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12785 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12787 (SYSCALL_ERROR_HANDLER): Likewise.
12789 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12790 (HAVE_GCC_GOTDATA): New.
12791 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12792 relocation support in both binutils and gcc.
12793 * sysdeps/sparc/elf/configure: Regenerate.
12795 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12796 * sysdeps/sparc/sparc32/elf/configure: Delete.
12797 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12798 * sysdeps/sparc/sparc64/elf/configure: Delete.
12799 * sysdeps/sparc/elf/configure.in: New file.
12800 * sysdeps/sparc/elf/configure: Generate.
12802 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12803 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12804 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12805 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12806 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12808 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12810 * manual/install.texi: Do not mention specific glibc version
12812 * manual/libc.texinfo (VERSION, UPDATED): Update.
12813 (@copying): Use @copyright{} and range of years.
12815 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12818 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12819 [crti.S not in sysdirs] (generated): Do not append.
12820 [crti.S not in sysdirs] (omit-deps): Likewise.
12821 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12822 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12823 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12824 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12825 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12827 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12828 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12829 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12830 * csu/defs.awk: Remove file.
12831 * sysdeps/generic/initfini.c: Likewise.
12832 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12834 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12837 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12839 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12840 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12841 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12844 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12846 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12847 (__EPOLL_PACKED): Define to empty if not defined by
12849 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12853 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12855 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12856 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12857 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12858 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12860 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12864 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12866 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12869 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12870 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12873 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12878 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12880 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12881 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12883 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12885 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12888 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12890 * math/w_acos.c: Use non-signaling floating-point comparisons.
12891 * math/w_acosf.c: Likewise.
12892 * math/w_acosh.c: Likewise.
12893 * math/w_acoshf.c: Likewise.
12894 * math/w_acoshl.c: Likewise.
12895 * math/w_acosl.c: Likewise.
12896 * math/w_asin.c: Likewise.
12897 * math/w_asinf.c: Likewise.
12898 * math/w_asinl.c: Likewise.
12899 * math/w_atanh.c: Likewise.
12900 * math/w_atanhf.c: Likewise.
12901 * math/w_atanhl.c: Likewise.
12902 * math/w_exp2.c: Likewise.
12903 * math/w_exp2f.c: Likewise.
12904 * math/w_exp2l.c: Likewise.
12905 * math/w_j0.c: Likewise.
12906 * math/w_j0f.c: Likewise.
12907 * math/w_j0l.c: Likewise.
12908 * math/w_j1.c: Likewise.
12909 * math/w_j1f.c: Likewise.
12910 * math/w_j1l.c: Likewise.
12911 * math/w_jn.c: Likewise.
12912 * math/w_jnf.c: Likewise.
12913 * math/w_log.c: Likewise.
12914 * math/w_log10.c: Likewise.
12915 * math/w_log10f.c: Likewise.
12916 * math/w_log10l.c: Likewise.
12917 * math/w_log2.c: Likewise.
12918 * math/w_log2f.c: Likewise.
12919 * math/w_log2l.c: Likewise.
12920 * math/w_logf.c: Likewise.
12921 * math/w_logl.c: Likewise.
12922 * math/w_sqrt.c: Likewise.
12923 * math/w_sqrtf.c: Likewise.
12924 * math/w_sqrtl.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12929 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12931 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12934 * manual/string.texi (strnlen): Use correct parameter name in
12935 equivalent expression.
12937 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12940 * manual/users.texi (seteuid): Consistently use neweuid for
12943 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12946 * manual/nss.texi (Services in the NSS configuration): Correct
12947 list of services in example configuration file.
12949 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12952 * manual/arith.texi: Remove statements about negative zero
12953 behaving identically to zero.
12955 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12958 * manual/install.texi: Do not document upgrading from libc5.
12960 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12963 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12965 2012-02-18 David S. Miller <davem@davemloft.net>
12967 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12968 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12969 %o7 across the call.
12970 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12973 SETUP_PIC_REG_LEAF.
12974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12975 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12976 * sysdeps/sparc/crtn.S: Likewise.
12978 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12980 * aout/Makefile: Remove.
12982 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12985 * manual/examples/argp-ex1.c (main): Format definition in GNU
12987 * manual/examples/argp-ex2.c (main): Likewise.
12988 * manual/examples/argp-ex3.c (main): Likewise.
12989 * manual/examples/argp-ex4.c (main): Likewise.
12990 * manual/examples/longopt.c (main): Use new-style prototype
12992 * manual/examples/strncat.c (main): Specify return type and use
12993 (void) for arguments.
12994 * manual/examples/subopt.c (main): Use char **argv argument.
12996 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12999 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13002 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13005 * manual/string.texi (strchr): Change when strchrnul is
13008 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13011 * manual/locale.texi (setlocale): Document LOCPATH.
13013 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13016 * manual/process.texi (execle): Move @dots{} before last argument.
13018 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13021 * manual/charset.texi (Generic Charset Conversion): Fix typo
13022 (LC_TYPE -> LC_CTYPE).
13024 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13027 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13028 (scalbnf): Likewise.
13029 (scalbnl): Likewise.
13030 (scalbln): Likewise.
13031 (scalblnf): Likewise.
13032 (scalblnl): Likewise.
13033 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13034 (vwarnx): Likewise.
13037 * manual/filesys.texi (telldir): Use braces around return type.
13038 * manual/llio.texi (mmap): Add space after comma.
13039 (mmap64): Likewise.
13040 * manual/math.texi (jn): Use @var{} on parameter names.
13046 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13048 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13050 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13051 (sched_get_priority_max): Likewise.
13052 * manual/signal.texi (sigvec): Add space after comma.
13053 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13055 (if_indextoname): Likewise.
13056 (if_freenameindex): Likewise.
13057 (sendto): Use ',' instead of '.' in prototype.
13058 * manual/startup.texi (syscall): Use @dots{} instead of literal
13060 * manual/stdio.texi (__fpending): Separate initial words of
13061 paragraph from @deftypefun line.
13062 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13064 (vsyslog): Use @var{} on parameter names.
13065 * manual/terminal.texi (stty): Use @var{} on parameter names.
13066 * manual/users.texi (getutmp): Use @var{} on parameter names.
13067 (getutmpx): Likewise.
13069 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13072 * manual/stdio.texi (fopen): Fix typos in description of
13075 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13078 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13079 get clock_id definition.
13081 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13084 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13085 (madvise): Cast every argument to void on its own.
13087 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13090 * manual/startup.texi (Exit Status): Fix typo.
13092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13095 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13096 * manual/examples/argp-ex2.c: Likewise.
13097 * manual/examples/argp-ex3.c: Likewise.
13099 2012-02-16 Richard Henderson <rth@redhat.com>
13101 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13102 * sysdeps/s390/s390-32/initfini.c: Remove.
13103 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13104 * sysdeps/s390/s390-64/initfini.c: Remove.
13106 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13108 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13109 compiler output for sysdeps/generic/initfini.c.
13110 * sysdeps/sh/elf/initfini.c: Remove file.
13112 2012-02-16 David S. Miller <davem@davemloft.net>
13115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13117 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13118 * sysdeps/sparc/crti.S: New file.
13119 * sysdeps/sparc/crtn.S: New file.
13120 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13121 * sysdeps/sparc/sparc64/Makefile: Likewise.
13123 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13126 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13128 2012-02-15 Roland McGrath <roland@hack.frob.com>
13131 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13133 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13134 (write, read, close): Likewise.
13135 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13137 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13139 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13140 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13142 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13144 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13148 2012-02-14 Marek Polacek <polacek@redhat.com>
13150 * sysdeps/x86_64/crti.S: New file.
13151 * sysdeps/x86_64/crtn.S: New file.
13152 * sysdeps/x86_64/elf/initfini.c: Remove file.
13154 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13156 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13157 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13159 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13161 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13165 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13167 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13168 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13170 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13172 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13176 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13178 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13179 __feraiseexcept instead of feraiseexcept.
13181 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13182 nanosleep invocations.
13183 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13184 strings, and add error checking for a nanosleep invocations.
13186 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13188 Replace FSF snail mail address with URLs, as per GNU coding standards.
13189 Most of the snail mail addresses were wrong anyway, and omitting
13190 them makes the source code easier to maintain. Almost all of the
13191 changes are to license notices and to locale LC_IDENTIFICATION
13192 addresses, except for this one:
13193 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13194 not its snail mail address.
13196 2012-02-09 Richard Henderson <rth@twiddle.net>
13198 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13199 of kernel-features.h.
13201 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13203 2012-02-08 Marek Polacek <polacek@redhat.com>
13205 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13206 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13207 * sysdeps/gnu/_G_config.h: Likewise.
13208 * sysdeps/generic/_G_config.h: Likewise.
13210 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13212 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13216 * sysdeps/powerpc/powerpc32/crti.S: New file.
13217 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13218 * sysdeps/powerpc/powerpc64/crti.S: New file.
13219 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13221 * Makeconfig (have-initfini): Don't set.
13222 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13223 * configure.in (nopic_initfini): Don't substitute.
13224 * config.h.in (HAVE_INITFINI): Don't #undef.
13225 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13226 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13228 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13230 Support crti.S and crtn.S provided directly by architectures.
13231 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13232 [crti.S in sysdirs] (omit-deps): Likewise.
13233 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13234 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13235 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13236 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13237 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13238 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13239 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13240 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13241 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13242 compiler output for sysdeps/generic/initfini.c.
13243 * sysdeps/i386/elf/Makefile: Remove file.
13244 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13246 2012-02-07 Marek Polacek <polacek@redhat.com>
13248 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13249 * sysdeps/gnu/_G_config.h: Likewise.
13250 * sysdeps/mach/hurd/_G_config.h: Likewise.
13252 2012-02-07 Marek Polacek <polacek@redhat.com>
13254 * math/Makefile (tests): Add tst-CMPLX2.
13255 * math/tst-CMPLX2.c: New file.
13257 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13259 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13261 * math/libm-test.inc (jn_test): Add missing L suffix.
13263 2012-02-06 Marek Polacek <polacek@redhat.com>
13265 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13266 * sysdeps/i386/fpu/e_powf.S: Likewise.
13267 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13268 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13269 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13270 * sysdeps/i386/fpu/e_pow.S: Likewise.
13271 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13272 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13273 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13274 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13275 * sysdeps/i386/fpu/e_log2.S: Likewise.
13276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13277 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13278 * sysdeps/i386/fpu/e_powl.S: Likewise.
13279 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13280 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13281 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13282 * sysdeps/i386/fpu/e_logl.S: Likewise.
13283 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13284 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13285 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13286 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13287 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13288 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13289 * sysdeps/i386/fpu/e_log.S: Likewise.
13290 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13292 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13293 * sysdeps/i386/fpu/e_logf.S: Likewise.
13294 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13295 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13296 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13297 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13298 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13299 * sysdeps/i386/fpu/e_log10.S: Likewise.
13300 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13301 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13302 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13303 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13305 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13306 * sysdeps/i386/asm-syntax.h: Likewise.
13307 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13308 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13309 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13310 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13311 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13313 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13314 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13316 * sysdeps/powerpc/sysdep.h: Likewise.
13317 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13318 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13320 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13323 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13325 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13327 * sysdeps/i386/sysdep.h: Include <features.h>.
13328 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13331 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13333 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13335 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13338 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13340 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13341 (SETUP_PIC_REG): Use GET_PC_THUNK.
13342 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13345 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13348 for non-PIC compilation.
13349 (SETUP_PIC_REG): Add .p2align directive.
13350 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13351 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13358 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13360 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13362 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13363 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13367 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13368 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13369 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13370 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13372 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13373 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13377 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13378 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13379 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13381 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13382 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13383 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13384 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13385 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13386 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13387 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13388 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13389 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13390 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13392 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13394 * math/tst-CMPLX.c: Include <stdio.h>.
13396 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13398 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13400 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13401 * sysdeps/sparc/bits/mathdef.h: Likewise.
13403 2012-01-31 Marek Polacek <polacek@redhat.com>
13405 * libio/libio.h: Don't define _PARAMS.
13406 * locale/programs/config.h: Don't define PARAMS.
13407 * stdlib/strtol_l.c: Likewise.
13408 (__strtol_l): Remove PARAMS from the prototype.
13410 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13412 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13413 names. Just use the correct names. Remove unnecessary wrapper
13415 * malloc/arena.c: Likewise.
13416 * malloc/hooks.c: Likewise.
13418 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13419 ARENA_TEST says not to. Simplify test for creation of a new arena.
13420 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13422 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13424 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13426 (update_get_addr): New function.
13427 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13428 GET_ADDR_MODULE parameter.
13430 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13432 * crypt/cert.c: Remove __STDC__ conditionals.
13433 * crypt/crypt-entry.c: Likewise.
13434 * crypt/crypt_util.c: Likewise.
13435 * libio/filedoalloc.c: Likewise.
13436 * libio/fileops.c: Likewise.
13437 * libio/genops.c: Likewise.
13438 * libio/iofclose.c: Likewise.
13439 * libio/iofdopen.c: Likewise.
13440 * libio/iofopen.c: Likewise.
13441 * libio/iofopen64.c: Likewise.
13442 * libio/iogetdelim.c: Likewise.
13443 * libio/iopopen.c: Likewise.
13444 * libio/obprintf.c: Likewise.
13445 * libio/oldfileops.c: Likewise.
13446 * libio/oldiofclose.c: Likewise.
13447 * libio/oldiofdopen.c: Likewise.
13448 * libio/oldiofopen.c: Likewise.
13449 * libio/oldiopopen.c: Likewise.
13450 * libio/wfiledoalloc.c: Likewise.
13451 * libio/wgenops.c: Likewise.
13452 * locale/programs/xmalloc.c: Likewise.
13453 * misc/syslog.c: Likewise.
13454 * stdio-common/xbug.c: Likewise.
13455 * string/memchr.c: Likewise.
13456 * string/memcmp.c: Likewise.
13457 * string/memrchr.c: Likewise.
13458 * string/rawmemchr.c: Likewise.
13459 * sysdeps/posix/getcwd.c: Likewise.
13460 * time/strftime_l.c: Likewise.
13462 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13464 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13465 * config.make.in (config-cflags-sse2avx): Define.
13466 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13469 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13471 * scripts/config.guess: Update from upstream config git repository.
13472 * scripts/config.sub: Likewise.
13474 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13476 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13478 (R_TILEPRO_*, R_TILEGX_*): New macros.
13480 * scripts/firstversions.awk: Fix bug in version range handling.
13482 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13484 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13486 * include/sys/epoll.h: New file.
13487 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13490 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13492 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13493 Avoid unnecessary __WORDSIZE == 64 test.
13494 (fmaxf): Use VEX format if possible.
13499 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13500 * math/math_private.h: Remove libc_fegetround* and
13502 * sysdeps/i386/configure.in: Check for -msse2avx.
13503 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13504 also if SSE2AVX is defined.
13505 Remove libc_fegetround* and libc_fesetround*.
13506 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13507 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13508 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13516 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13518 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13520 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13524 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13527 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13529 * Makeconfig (libm): Define.
13530 * elf/Makefile: Add rules to build and run tst-relsort1.
13531 * elf/tst-relsort1.c: New file.
13532 * elf/tst-relsort1mod1.c: New file.
13533 * elf/tst-relsort1mod2.c: New file.
13535 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13537 * math/s_ldexp.c: Remove __STDC__ conditionals.
13538 * math/s_ldexpf.c: Likewise.
13539 * math/s_ldexpl.c: Likewise.
13540 * math/s_nextafter.c: Likewise.
13541 * math/s_nexttowardf.c: Likewise.
13542 * math/s_significand.c: Likewise.
13543 * math/s_significandf.c: Likewise.
13544 * math/s_significandl.c: Likewise.
13545 * math/w_jnl.c: Likewise.
13546 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13547 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13548 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13549 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13550 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13565 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13566 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13568 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13570 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13571 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13572 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13574 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13576 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13577 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13580 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13581 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13582 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13586 * sysdeps/ieee754/k_standard.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13648 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13653 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13661 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13666 * sysdeps/ieee754/s_matherr.c: Likewise.
13667 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13668 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13672 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13674 * crypt/md5.h: Remove __STDC__ conditionals.
13675 * libio/libioP.h: Likewise.
13676 * locale/programs/config.h: Likewise.
13677 * sysdeps/generic/sysdep.h: Likewise.
13678 * sysdeps/i386/asm-syntax.h: Likewise.
13679 * sysdeps/s390/asm-syntax.h: Likewise.
13680 * sysdeps/unix/sysdep.h: Likewise.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13684 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13686 * libio/libio.h: Remove __STDC__ conditionals.
13687 * malloc/obstack.h: Likewise.
13688 * math/complex.h: Likewise.
13689 * math/math.h: Likewise.
13690 * sysdeps/generic/_G_config.h: Likewise.
13691 * sysdeps/gnu/_G_config.h: Likewise.
13692 * sysdeps/mach/hurd/_G_config.h: Likewise.
13693 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13694 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13695 * sysdeps/sparc/bits/mathdef.h: Likewise.
13697 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13700 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13701 Clean up HAS_* macros.
13702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13703 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13705 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13713 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13715 * elf/tst-unique3.cc (gets): Remove declaration.
13716 * elf/tst-unique3lib.cc (gets): Likewise.
13717 * elf/tst-unique3lib2.cc (gets): Likewise.
13718 * elf/tst-unique4.cc (gets): Likewise.
13720 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13722 * include/stdio.h: Add C++ protection. Add gets declarations and
13724 * debug/tst-chk1.c: Don't declare gets here.
13725 * stdio-common/tst-gets.c: Likewise.
13727 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13729 * posix/glob: Remove directory.
13731 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13733 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13735 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13737 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13738 of the non-standard EPFNOSUPPORT.
13740 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13742 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13743 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13744 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13746 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13748 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13750 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13752 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13754 * nscd/grpcache.c (cache_addgr): Likewise.
13755 * nscd/hstcache.c (cache_addhst): Likewise.
13756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13757 * nscd/pwdcache.c (cache_addpw): Likewise.
13758 * nscd/servicescache.c (cache_addserv): Likewise.
13760 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13762 * malloc/malloc.c: Various cleanups.
13763 * malloc/hooks.c: Likewise.
13765 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13766 * stdlib/bug-fmtmsg1.c: New file.
13768 * stdlib/fmtmsg.c (init): Add missing unlock.
13769 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13771 2012-01-12 Marek Polacek <polacek@redhat.com>
13773 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13776 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13778 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13779 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13780 macro to ensure uniqueness of label name.
13781 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13782 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13784 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13786 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13788 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13789 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13793 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13795 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13797 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13801 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13803 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13804 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13808 * math/bits/math-finite.h: Add ldexp support.
13810 2012-01-10 Marek Polacek <polacek@redhat.com>
13812 * locale/programs/localedef.h (show_archive_content): Add noreturn
13815 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13817 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13819 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13821 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13823 * io/Makefile (headers): Add bits/poll2.h.
13825 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13828 typo #include statement.
13830 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13832 * include/sys/cdefs.h: Define __attribute_alloc_size.
13833 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13834 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13835 * elf/pldd.c: Likewise.
13836 * iconv/iconv_charmap.c: Likewise.
13837 * iconv/iconvconfig.c: Likewise.
13838 * iconv/strtab.c: Likewise.
13839 * locale/programs/locale.c: Likewise.
13840 * locale/programs/localedef.h: Likewise.
13841 * locale/programs/simple-hash.c: Likewise.
13842 * nscd/nscd.h: Likewise.
13843 * nss/makedb.c: Likewise.
13844 * sysdeps/generic/ldconfig.h: Likewise.
13845 * locale/programs/localedef.c: Remove xmalloc prototype.
13846 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13848 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13850 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13853 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13855 * math/Makefile (tests): Add tst-CMPLX.
13856 * math/tst-CMPLX.c: New file.
13858 * math/complex.h (CMPLXL): Fix typo.
13860 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13861 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13863 * debug/tst-chk1.c: Add poll and ppoll tests.
13864 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13865 * include/sys/poll.h: Add hidden proto for ppoll.
13866 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13867 * sysdeps/mach/hurd/ppoll.c: Likewise.
13868 * io/ppoll.c: Likewise.
13869 * debug/poll_chk.c: New file.
13870 * debug/ppoll_chk.c: New file.
13871 * include/bits/poll2.h: New file.
13872 * io/bits/poll2.h: New file.
13875 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13877 * configure.in: static is always set to yes. Remove.
13878 * config.make.in: Don't set build-static.
13879 * Makeconfig: Remove use of build-static.
13880 * dlfcn/Makefile: Likewise.
13881 * elf/Makefile: Likewise.
13882 * math/Makefile: Likewise.
13883 * misc/Makefile: Likewise.
13884 * nptl/Makefile: Likewise.
13885 * sysdeps/mach/hurd/Makefile: Likewise.
13887 * configure.in: PWD_P is not used anymore.
13888 * config.make.in: Remove PWD_P entry.
13890 * configure.in: Remove last remnants of RANLIB.
13891 No need to check for signed size_t anymore.
13892 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13894 Remove __builtin_expect test because we require at least gcc 3.4.
13895 * aclocal.m4: Likewise.
13897 * wcsmbs/mbrtoc16.c: Implement using towc function.
13898 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13899 * wcsmbs/wcsmbsload.c: Likewise.
13900 * iconv/gconv_simple.c: Likewise.
13901 * iconv/gconv_int.h: Likewise.
13902 * iconv/gconv_builtin.h: Likewise.
13903 * iconv/iconv_prog.c: Remove CHAR16 handling.
13905 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13907 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13909 * configure.in: Remove --with-elf and --enable-bounded options.
13910 Dont set base_machine for ia64. More non-ELF conditions removed.
13911 Remove testing and setting of leading underscore information.
13912 * config.make.in (build-bounded): Set to no.
13913 * config.h.in: Remove NO_UNDERSCORES entry.
13914 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13916 * csu/start.c: Remove !NO_UNDERSCORE code.
13917 * locale/localeinfo.h: Likewise.
13918 * sysdeps/generic/machine-gmon.h: Likewise.
13919 * sysdeps/generic/sysdep.h: Likewise.
13920 * sysdeps/i386/sysdep.h: Likewise.
13921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13922 * sysdeps/mach/sysdep.h: Likewise.
13923 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13924 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13925 * sysdeps/sh/sysdep.h: Likewise.
13926 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13927 * sysdeps/unix/i386/sysdep.S: Likewise.
13928 * sysdeps/unix/sparc/start.c: Likewise.
13929 * sysdeps/unix/sparc/sysdep.S: Likewise.
13930 * sysdeps/unix/sparc/sysdep.h: Likewise.
13931 * sysdeps/unix/start.c: Likewise.
13932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13933 * sysdeps/x86_64/sysdep.h: Likewise.
13935 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13938 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13940 * argp/argp-fmtstream.h: Use const instead __const.
13941 * argp/argp.h: Likewise.
13942 * assert/assert.h: Likewise.
13943 * bits/fenv.h: Likewise.
13944 * bits/sched.h: Likewise.
13945 * bits/sigset.h: Likewise.
13946 * bits/sigthread.h: Likewise.
13947 * catgets/nl_types.h: Likewise.
13948 * conform/data/pthread.h-data: Likewise.
13949 * crypt/crypt-private.h: Likewise.
13950 * crypt/crypt.h: Likewise.
13951 * crypt/crypt_util.c: Likewise.
13952 * ctype/ctype.h: Likewise.
13953 * debug/execinfo.h: Likewise.
13954 * debug/mbsnrtowcs_chk.c: Likewise.
13955 * debug/mbsrtowcs_chk.c: Likewise.
13956 * debug/wcsnrtombs_chk.c: Likewise.
13957 * debug/wcsrtombs_chk.c: Likewise.
13958 * debug/wcstombs_chk.c: Likewise.
13959 * dirent/dirent.h: Likewise.
13960 * dlfcn/dlfcn.h: Likewise.
13961 * elf/neededtest4.c: Likewise.
13962 * grp/grp.h: Likewise.
13963 * gshadow/gshadow.h: Likewise.
13964 * iconv/gconv.h: Likewise.
13965 * iconv/gconv_int.h: Likewise.
13966 * iconv/gconv_simple.c: Likewise.
13967 * iconv/iconv.h: Likewise.
13968 * iconv/loop.c: Likewise.
13969 * iconv/skeleton.c: Likewise.
13970 * include/aio.h: Likewise.
13971 * include/aliases.h: Likewise.
13972 * include/argz.h: Likewise.
13973 * include/arpa/inet.h: Likewise.
13974 * include/assert.h: Likewise.
13975 * include/dirent.h: Likewise.
13976 * include/dlfcn.h: Likewise.
13977 * include/execinfo.h: Likewise.
13978 * include/fcntl.h: Likewise.
13979 * include/fenv.h: Likewise.
13980 * include/glob.h: Likewise.
13981 * include/grp.h: Likewise.
13982 * include/libintl.h: Likewise.
13983 * include/mntent.h: Likewise.
13984 * include/netdb.h: Likewise.
13985 * include/pwd.h: Likewise.
13986 * include/rpc/netdb.h: Likewise.
13987 * include/sched.h: Likewise.
13988 * include/search.h: Likewise.
13989 * include/shadow.h: Likewise.
13990 * include/signal.h: Likewise.
13991 * include/stdio.h: Likewise.
13992 * include/stdlib.h: Likewise.
13993 * include/string.h: Likewise.
13994 * include/sys/socket.h: Likewise.
13995 * include/sys/stat.h: Likewise.
13996 * include/sys/statfs.h: Likewise.
13997 * include/sys/statvfs.h: Likewise.
13998 * include/sys/syslog.h: Likewise.
13999 * include/sys/time.h: Likewise.
14000 * include/sys/uio.h: Likewise.
14001 * include/time.h: Likewise.
14002 * include/unistd.h: Likewise.
14003 * include/utmp.h: Likewise.
14004 * include/wchar.h: Likewise.
14005 * include/wctype.h: Likewise.
14006 * inet/aliases.h: Likewise.
14007 * inet/arpa/inet.h: Likewise.
14008 * inet/netinet/ether.h: Likewise.
14009 * inet/netinet/in.h: Likewise.
14010 * intl/libintl.h: Likewise.
14011 * io/bits/fcntl2.h: Likewise.
14012 * io/fcntl.h: Likewise.
14013 * io/ftw.h: Likewise.
14014 * io/sys/poll.h: Likewise.
14015 * io/sys/stat.h: Likewise.
14016 * io/sys/statfs.h: Likewise.
14017 * io/sys/statvfs.h: Likewise.
14018 * io/utime.h: Likewise.
14019 * libio/bits/stdio.h: Likewise.
14020 * libio/bits/stdio2.h: Likewise.
14021 * libio/libio.h: Likewise.
14022 * libio/libioP.h: Likewise.
14023 * libio/stdio.h: Likewise.
14024 * locale/lc-ctype.c: Likewise.
14025 * locale/locale.h: Likewise.
14026 * login/utmp.h: Likewise.
14027 * malloc/arena.c: Likewise.
14028 * malloc/malloc.c: Likewise.
14029 * malloc/malloc.h: Likewise.
14030 * malloc/mcheck.c: Likewise.
14031 * malloc/mtrace.c: Likewise.
14032 * math/bits/mathcalls.h: Likewise.
14033 * math/fenv.h: Likewise.
14034 * math/math_private.h: Likewise.
14035 * misc/bits/error.h: Likewise.
14036 * misc/bits/syslog.h: Likewise.
14037 * misc/err.h: Likewise.
14038 * misc/error.h: Likewise.
14039 * misc/fstab.h: Likewise.
14040 * misc/mntent.h: Likewise.
14041 * misc/regexp.h: Likewise.
14042 * misc/search.h: Likewise.
14043 * misc/sgtty.h: Likewise.
14044 * misc/sys/mman.h: Likewise.
14045 * misc/sys/syslog.h: Likewise.
14046 * misc/sys/uio.h: Likewise.
14047 * misc/sys/xattr.h: Likewise.
14048 * misc/ttyent.h: Likewise.
14049 * nis/rpcsvc/ypclnt.h: Likewise.
14050 * nss/nss.h: Likewise.
14051 * posix/bits/unistd.h: Likewise.
14052 * posix/fnmatch.h: Likewise.
14053 * posix/glob.h: Likewise.
14054 * posix/sched.h: Likewise.
14055 * posix/spawn.h: Likewise.
14056 * posix/sys/wait.h: Likewise.
14057 * posix/unistd.h: Likewise.
14058 * posix/wordexp.h: Likewise.
14059 * pwd/pwd.h: Likewise.
14060 * resolv/netdb.h: Likewise.
14061 * resource/sys/resource.h: Likewise.
14062 * rt/aio.h: Likewise.
14063 * rt/bits/mqueue2.h: Likewise.
14064 * rt/mqueue.h: Likewise.
14065 * shadow/shadow.h: Likewise.
14066 * signal/signal.h: Likewise.
14067 * socket/send.c: Likewise.
14068 * socket/sendto.c: Likewise.
14069 * socket/sys/socket.h: Likewise.
14070 * stdio-common/printf.h: Likewise.
14071 * stdlib/bits/stdlib.h: Likewise.
14072 * stdlib/fmtmsg.h: Likewise.
14073 * stdlib/monetary.h: Likewise.
14074 * stdlib/stdlib.h: Likewise.
14075 * stdlib/ucontext.h: Likewise.
14076 * streams/stropts.h: Likewise.
14077 * string/argz.h: Likewise.
14078 * string/bits/string2.h: Likewise.
14079 * string/string.h: Likewise.
14080 * string/strings.h: Likewise.
14081 * sunrpc/rpc/auth.h: Likewise.
14082 * sunrpc/rpc/auth_des.h: Likewise.
14083 * sunrpc/rpc/clnt.h: Likewise.
14084 * sunrpc/rpc/netdb.h: Likewise.
14085 * sunrpc/rpc/pmap_clnt.h: Likewise.
14086 * sunrpc/rpc/xdr.h: Likewise.
14087 * sysdeps/generic/inttypes.h: Likewise.
14088 * sysdeps/generic/net/if.h: Likewise.
14089 * sysdeps/generic/sys/swap.h: Likewise.
14090 * sysdeps/gnu/net/if.h: Likewise.
14091 * sysdeps/gnu/utmpx.h: Likewise.
14092 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14093 * sysdeps/i386/i486/bits/string.h: Likewise.
14094 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14095 * sysdeps/s390/bits/string.h: Likewise.
14096 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14097 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14098 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14099 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14100 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14101 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14102 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14103 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14104 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14105 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14106 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14107 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14108 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14109 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14110 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14116 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14118 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14119 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14120 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14121 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14123 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14124 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14125 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14126 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14127 * sysvipc/sys/ipc.h: Likewise.
14128 * sysvipc/sys/msg.h: Likewise.
14129 * sysvipc/sys/sem.h: Likewise.
14130 * sysvipc/sys/shm.h: Likewise.
14131 * termios/termios.h: Likewise.
14132 * time/sys/time.h: Likewise.
14133 * time/time.h: Likewise.
14134 * wcsmbs/bits/wchar2.h: Likewise.
14135 * wcsmbs/uchar.h: Likewise.
14136 * wcsmbs/wchar.h: Likewise.
14137 * wctype/wctype.h: Likewise.
14140 * Makeconfig: Remove all but ELF support including AIX support.
14141 * Makerules: Likewise.
14142 * config.h.in: Likewise.
14143 * config.make.in: Likewise.
14144 * configure: Likewise.
14145 * configure.in: Likewise.
14146 * csu/Makefile: Likewise.
14147 * csu/version.c: Likewise.
14148 * debug/Makefile: Likewise.
14149 * dlfcn/Makefile: Likewise.
14150 * elf/Makefile: Likewise.
14151 * extra-lib.mk: Likewise.
14152 * iconv/Makefile: Likewise.
14153 * include/libc-symbols.h: Likewise.
14154 * include/shlib-compat.h: Likewise.
14155 * resolv/Makefile: Likewise.
14156 * resolv/res_libc.c: Likewise.
14157 * rt/Makefile: Likewise.
14158 * sysdeps/i386/asm-syntax.h: Likewise.
14159 * sysdeps/i386/sysdep.h: Likewise.
14160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14161 * sysdeps/mach/sysdep.h: Likewise.
14162 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14163 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14164 * sysdeps/s390/asm-syntax.h: Likewise.
14165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14167 * sysdeps/sh/sysdep.h: Likewise.
14168 * sysdeps/unix/sparc/sysdep.h: Likewise.
14169 * sysdeps/wordsize-32/divdi3.c: Likewise.
14170 * sysdeps/x86_64/sysdep.h: Likewise.
14172 * argp/Versions: Remove _argp_unlock_xxx.
14175 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14176 * abilist/libBrokenLocale.abilist: Likewise.
14177 * abilist/libanl.abilist: Likewise.
14178 * abilist/libc.abilist: Likewise.
14179 * abilist/libcrypt.abilist: Likewise.
14180 * abilist/libdl.abilist: Likewise.
14181 * abilist/libm.abilist: Likewise.
14182 * abilist/libnsl.abilist: Likewise.
14183 * abilist/libpthread.abilist: Likewise.
14184 * abilist/libresolv.abilist: Likewise.
14185 * abilist/librt.abilist: Likewise.
14186 * abilist/libthread_db.abilist: Likewise.
14187 * abilist/libutil.abilist: Likewise.
14188 * abilist/libnss_db.abilist: New file.
14190 * scripts/abilist.awk: Add support for indirect functions.
14192 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14194 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14196 * shlib-versions: Remove entries for ports architectures.
14198 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14200 * elf/stackguard-macros.h: Remove support for IA-64.
14201 * elf/tst-auditmod1.c: Likewise.
14202 * sysdeps/generic/ldsodefs.h: Likewise.
14204 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14205 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14209 * configure.in: Remove --enable-omitfp support.
14211 * config.make.in: Likewise.
14212 * Makeconfig: Likewise.
14213 * manual/install.texi: Likewise.
14215 In case anyone cares, the IA-64 architecture could move to ports.
14216 * sysdeps/ia64/*: Removed.
14217 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14218 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14221 * configure.in: Remove entries for unsupported architectures.
14224 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14225 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14227 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14228 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14229 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14230 fall back to using wcrtomb.
14231 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14232 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14234 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14235 * wcsmbs/tst-c16c32-1.c: New file.
14237 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14240 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14242 * elf/tst-unique3.cc: Add explicit declaration of gets.
14243 * elf/tst-unique3lib.cc: Likewise.
14244 * elf/tst-unique3lib2.cc: Likewise.
14245 * elf/tst-unique4.cc: Likewise.
14247 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14249 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14252 * assert/assert.h (static_assert): Don't define for C++.
14253 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14254 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14256 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14258 * iconv/loop.c (single loop): Fix assertion in storing of
14261 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14263 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14265 * posix/getconf.c: Update copyright year.
14266 * nss/getent.c: Likewise.
14267 * nss/makedb.c: Likewise.
14268 * iconv/iconvconfig.c: Likewise.
14269 * iconv/iconv_prog.c: Likewise.
14270 * elf/ldconfig.c: Likewise.
14271 * elf/pldd.c: Likewise.
14272 * elf/sotruss.ksh: Likewise.
14273 * catgets/gencat.c: Likewise.
14274 * csu/version.c: Likewise.
14275 * elf/ldd.bash.in: Likewise.
14276 * elf/sprof.c (print_version): Likewise.
14277 * locale/programs/locale.c: Likewise.
14278 * locale/programs/localedef.c: Likewise.
14279 * login/programs/pt_chown.c: Likewise.
14280 * nscd/nscd.c (print_version): Likewise.
14281 * debug/xtrace.sh: Likewise.
14282 * malloc/memusage.sh: Likewise.
14283 * malloc/mtrace.pl: Likewise.
14284 * debug/catchsegv.sh: Likewise.
14286 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14288 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14291 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14294 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14295 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14297 * iconv/gconv_int.h: Likewise.
14298 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14299 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14300 from libc for GLIBC_2.16.
14301 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14302 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14303 * wcsmbs/uchar.h: Really define mbstate_t.
14304 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14305 * wcsmbs/c16rtomb.c: New file.
14306 * wcsmbs/mbrtoc16.c: New file.
14307 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14308 for C/POSIX locale.
14309 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14310 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14312 * wcsmbs/wchar.h: Add missing __restrict.
14314 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14317 * time/Makefile (routines): Add timespec_get.
14318 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14319 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14320 timespec for ISO C11.
14321 * time/timespec_get.c: New file.
14322 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14323 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14326 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14327 * stdlib/stdlib.h: Declare aligned_alloc.
14328 * Versions.def: Add GLIBC_2.16 for libc.
14329 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14332 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14335 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14339 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14342 * assert/assert.h (static_assert): Define.
14344 * version.h: Update for 2.16 development version.
14347 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14350 * version.h (RELEASE): Bump for 2.15 release.
14351 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14353 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14354 Patch by Marek Polacek <mpolacek@redhat.com>.
14356 * bits/byteswap.h: Protect long long constants with __extension__.
14357 * sysdeps/i386/bits/byteswap.h: Likewise.
14358 * sysdeps/ia64/bits/byteswap.h: Likewise.
14359 * sysdeps/s390/bits/byteswap.h: Likewise.
14360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14362 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14366 destination buffer.
14367 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14369 2011-12-23 Marek Polacek <polacek@redhat.com>
14371 * elf/dl-addr.c (determine_info): Add inline keyword.
14372 * elf/tst-auditmod4b.c (check_avx): Likewise.
14373 * elf/tst-auditmod6b.c (check_avx): Likewise.
14374 * elf/tst-auditmod6c.c (check_avx): Likewise.
14375 * elf/tst-auditmod7b.c (check_avx): Likewise.
14377 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14379 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14382 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14385 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14386 processing for last bytes.
14388 2011-08-06 Bruno Haible <bruno@clisp.org>
14391 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14392 U+0385, not to U+1FEE.
14395 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14396 entry for U+00A5 U+0301.
14398 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14401 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14402 buffer for the output is too small.
14404 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14408 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14409 SSE flags if possible.
14411 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14415 processing for last bytes.
14417 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14419 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14420 (syscall-list-default-options, syscall-list-default-condition)
14421 (syscall-list-includes): Define.
14422 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14423 list of ABIs and options and #if conditions for each ABI. Do not
14424 handle common syscalls between ABIs specially.
14425 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14427 (syscall-list-variants, syscall-list-32bit-options)
14428 (syscall-list-32bit-condition, syscall-list-64bit-options)
14429 (syscall-list-64bit-condition): Define.
14430 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14431 (syscall-list-variants, syscall-list-32bit-options)
14432 (syscall-list-32bit-condition, syscall-list-64bit-options)
14433 (syscall-list-64bit-condition): Define.
14434 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14436 (syscall-list-variants, syscall-list-32bit-options)
14437 (syscall-list-32bit-condition, syscall-list-64bit-options)
14438 (syscall-list-64bit-condition): Define.
14439 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14441 (syscall-list-variants, syscall-list-32bit-options)
14442 (syscall-list-32bit-condition, syscall-list-64bit-options)
14443 (syscall-list-64bit-condition): Define.
14445 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14447 * locale/iso-639.def: Add brx entry.
14450 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14451 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14453 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14454 __feraiseexcept_renamed.
14456 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14459 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14460 EPOLLET with unsigned values.
14461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14464 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14465 to large cancellation.
14466 * math/s_cacoshf.c: Likewise.
14467 * math/s_cacoshl.c: Likewise.
14469 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14473 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14474 * math/s_cacoshf.c: Likewise.
14475 * math/s_cacoshl.c: Likewise.
14477 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14480 * iconv/gconv.h: Define __GCONV_SWAP.
14481 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14482 * iconvdata/utf-16.c: Likewise.
14483 * iconvdata/utf-32.c: Likewise.
14485 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14489 numerator after shifting it by one limb.
14491 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14493 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14494 under [__USE_EXTERN_INLINES].
14496 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14499 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14501 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14503 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14504 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14506 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14507 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14508 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14509 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14510 for strncasecmp/strncasecmp_l compilation.
14511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14512 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14514 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14517 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14520 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14523 * time/tzfile.c (__tzfile_read): Check values from file header.
14525 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14527 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14528 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14529 * powerpc/powerpc32/dl-start.S: Likewise.
14530 * powerpc/powerpc32/elf/start.S: Likewise.
14531 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14532 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14533 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14534 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14535 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14536 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14537 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14538 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14539 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14540 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14541 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14542 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14543 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14544 * powerpc/powerpc32/memset.S: Likewise.
14545 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14546 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14547 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14548 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14549 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14550 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14551 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14552 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14553 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14554 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14556 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14557 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14559 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14561 * math/libm-test.inc: Added more nearbyint tests.
14562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14567 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14569 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14572 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14574 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14575 Add wcscpy-ssse3 wcscpy-c.
14576 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14577 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14578 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14579 * sysdeps/x86_64/wcschr.S: New file.
14580 * sysdeps/x86_64/wcsrchr.S: New file.
14581 * string/test-strcmp.c: Remove checking of wcscmp function for
14583 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14584 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14585 wcsrchr-sse2 wcsrchr-c.
14586 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14587 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14588 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14589 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14590 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14591 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14592 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14593 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14594 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14595 * wcsmbc/wcschr.c (WCSCHR): New macro.
14597 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14599 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14600 * wcsmbs/test-wcsrchr.c: New file.
14601 * string/test-strrchr.c: Add wcsrchr support.
14603 * wcsmbs/test-wcscpy.c: New file.
14604 * string/test-strcpy.c: Add wcscpy support.
14607 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14609 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14612 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14615 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14617 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14619 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14620 Minor optimizations.
14622 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14623 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14624 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14626 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14628 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14629 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14630 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14631 for gcc to avoid warnings.
14632 * inet/Makefile (tests): Add tst-checks.
14633 * inet/tst-checks.c: New file.
14635 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14638 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14641 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14642 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14644 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14646 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14648 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14651 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14653 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14655 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14656 conditional on GCC version.
14657 (__arch_compare_and_exchange_val_8_acq)
14658 (__arch_compare_and_exchange_val_16_acq)
14659 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14660 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14661 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14663 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/sh/backtrace.c: New file.
14667 2011-12-02 Andreas Schwab <schwab@redhat.com>
14669 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14672 2011-12-01 Andreas Schwab <schwab@redhat.com>
14674 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14675 falling back to utime.
14677 2011-11-30 Andreas Schwab <schwab@redhat.com>
14679 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14680 expectations for float.
14682 2011-11-29 Andreas Schwab <schwab@redhat.com>
14684 * locale/weight.h (findidx): Add parameter len.
14685 * locale/weightwc.h (findidx): Likewise.
14686 * posix/fnmatch_loop.c (FCT): Adjust caller.
14687 * posix/regcomp.c (build_equiv_class): Likewise.
14688 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14689 * posix/regexec.c (check_node_accept_bytes): Likewise.
14690 * string/strcoll_l.c (STRCOLL): Likewise.
14691 * string/strxfrm_l.c (STRXFRM): Likewise.
14693 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14695 * Makefile.in: Remove CVSOPT handling.
14696 * configure.in: Remove use of AC_REVISION.
14697 * iconvdata/Makefile (distribute): No need to filter out CVS.
14698 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14701 2011-11-16 Andreas Schwab <schwab@redhat.com>
14703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14704 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14705 [USE_AS_STRNCASECMP_L]: Likewise.
14706 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14707 NO_TLS_DIRECT_SEG_REFS.
14708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14709 Fix argument offsets for non-PIC.
14710 [USE_AS_STRNCASECMP_L]: Likewise.
14711 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14712 NO_TLS_DIRECT_SEG_REFS.
14714 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14716 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14718 * locale/loadlocale.c (_nl_load_locale): Likewise.
14720 2011-11-15 Andreas Schwab <schwab@redhat.com>
14722 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14723 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14724 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14725 (SYSCALL_GETTIME): Set errno on error.
14727 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14728 count references to noai6ai_cached.
14730 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14732 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14734 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14735 FD_CLOEXEC for /proc/self/maps.
14737 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14738 FD_CLOEXEC for /proc/meminfo.
14740 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14743 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14744 FD_CLOEXEC for given file.
14746 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14748 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14749 FD_CLOEXEC for /etc/hosts.
14750 (_gethtent): Likewise.
14752 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14754 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14755 cancellation and set FD_CLOEXEC for /etc/netgroup.
14757 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14758 reading /etc/publickey.
14760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14761 allow cancellation when reading /etc/group.
14763 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14765 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14767 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14768 when using data file.
14770 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14772 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14773 (write_nis_obj): Use "c" and "e" in fopen.
14775 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14777 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14779 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14781 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14783 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14786 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14788 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14790 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14792 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14793 file parsing and set FD_CLOEXEC.
14795 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14797 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14799 2011-11-14 Andreas Schwab <schwab@redhat.com>
14801 * malloc/arena.c (arena_get2): Don't call reused_arena when
14802 _int_new_arena failed.
14804 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14806 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14807 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14808 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14809 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14811 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14812 to compile strcasecmp and strncasecmp.
14813 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14814 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14818 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14821 locale-defines.sym to gen-as-const-headers.
14822 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14823 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14825 to compile strcasecmp and strncasecmp.
14826 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14827 strcasecmp_l and strncasecmp_l.
14828 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14829 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14830 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14831 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14832 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14834 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14835 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14836 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14837 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14838 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14840 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14842 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14843 result of SYSDEP_GETTIME_CPU to retval.
14844 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14845 parameter list to macro. Remove trailing semicolon. Adjust users.
14847 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14850 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14854 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14855 from unused variable.
14857 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14859 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14862 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14865 * sunrpc/rpc_prot.c (rejected): Fix case value.
14867 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14868 unsigned long long int to avoid warnings in shift.
14870 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14872 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14875 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14876 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14877 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14879 * nis/nis_table.c (nis_list): Use variable of correct type for
14880 result of __follow_path call.
14882 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14884 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14885 of math functions ceil, trunc, floor, round, and sqrt, when
14886 avaliable on the platform.
14887 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14889 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14890 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14891 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14893 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14895 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14896 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14898 2011-11-11 Roland McGrath <roland@hack.frob.com>
14900 * include/unistd.h: Fix __readlink return type.
14901 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14903 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14905 * stdlib/ucontext.h: Undo last change for makecontext.
14907 2011-11-11 Andreas Schwab <schwab@redhat.com>
14909 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14911 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14912 * setjmp/setjmp.h: Mark functions as non-leaf.
14913 * setjmp/bits/setjmp2.h: Likewise.
14914 * stdlib/ucontext.h: Likewise.
14916 2011-11-10 Andreas Schwab <schwab@redhat.com>
14918 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14919 (reused_arena): Don't check arena limit.
14920 (arena_get2): Atomically check arena limit.
14922 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14924 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14925 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14930 2011-11-07 Andreas Schwab <schwab@redhat.com>
14932 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14933 handler when locking.
14935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14936 Fix size of allocated buffer.
14938 2011-11-04 Andreas Schwab <schwab@redhat.com>
14941 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14942 declarations for long double functions.
14943 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14945 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14947 2011-11-03 Andreas Schwab <schwab@redhat.com>
14949 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14952 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14955 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14957 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14959 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14961 * include/alloca.h (stackinfo_alloca_round): Define.
14962 (extend_alloca): Use it.
14963 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14964 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14967 * scripts/check-local-headers.sh: Ignore libaudit.h.
14969 * nscd/Makefile (extra-objs): Make recursively expanded.
14971 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14973 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14976 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14977 * posix/tst-rfc3484-2.c: Likewise.
14978 * posix/tst-rfc3484-3.c: Likewise.
14980 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14982 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14984 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14985 process_vm_writev from libc using GLIBC_2.15 version.
14987 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14989 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14991 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14994 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14997 * nss/getent.c (initgroups_keys): Show error message in case no group
15000 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15001 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15002 __bump_nl_timestamp.
15003 * nscd/connections (nscd_init): When host database is served open
15004 netlink socket and request notification about configuration changes.
15005 (main_loop_poll): Track netlink file descriptor and bump timestamp
15006 in case data becomes available.
15007 (main_loop_epoll): Likewise.
15008 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15009 (database_pers_head): Add extra_data fileds.
15010 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15011 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15012 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15015 in6ai data, call __free_in6ai.
15016 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15017 Add -DHAVE_NETLINK.
15018 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15019 interface information. Reuse previous data if netlink timestamp
15021 (__bump_nl_timestamp): New function.
15022 (__free_in6ai): New function.
15024 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15026 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15027 close_not_cancel_no_status here.
15028 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15030 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15033 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15036 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15037 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15038 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15040 2011-07-03 Andreas Jaeger <aj@suse.de>
15043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15044 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15045 * math/libm-test.inc (sin_test): Add test case.
15047 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15050 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15051 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15053 * elf/chroot_canon.c (chroot_canon): Cleanups.
15055 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15058 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15059 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15061 * string/test-strchr.c: Make usable for strchrnul testing.
15062 * string/test-strchrnul.c: New file.
15063 * string/Makefile (strop-tests): Add strchrnul.
15065 * po/it.po: Update from translation team.
15066 * po/es.po: Likewise.
15068 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15071 the three constants needed as parameters. Drop the others.
15072 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15073 __m128i_strloadu_tolower.
15074 Create and initialize variable zero and use it in all the places
15075 where _mm_setzero_si128 was used.
15077 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15078 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15079 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15080 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15082 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15083 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15084 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15085 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15086 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15087 __mpranred, __mptan.
15088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15092 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15093 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15096 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15098 2011-10-28 Andreas Schwab <schwab@redhat.com>
15100 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15101 redefine if SHARED.
15102 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15105 wide char related routines to wcsmbs subdir.
15107 2011-10-27 Andreas Schwab <schwab@redhat.com>
15110 * misc/sys/cdefs.h (__THROWNL): Define.
15111 * posix/unistd.h: Use __THREADNL instead of __THREAD
15112 for memory synchronization functions.
15114 2011-10-26 Roland McGrath <roland@hack.frob.com>
15117 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15119 * manual/stdio.texi (Obstack Streams): Node removed.
15121 2011-10-26 Andreas Schwab <schwab@redhat.com>
15123 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15127 * math/math_private.h (math_force_eval): Allow non-addressable
15129 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15131 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15133 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15134 file is not needed.
15136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15143 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15145 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15146 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15147 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15148 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15149 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15150 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15151 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15152 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15153 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15154 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15155 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15156 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15157 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15158 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15159 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15160 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15161 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15162 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15163 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15165 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15166 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15169 place. Use VEX encoding when compiling for AVX.
15171 2011-10-25 Andreas Schwab <schwab@redhat.com>
15173 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15174 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15176 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15178 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15180 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15181 useless if() expression.
15182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15193 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15194 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15196 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15198 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15200 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15202 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15204 2011-10-25 Andreas Schwab <schwab@redhat.com>
15206 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15208 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15210 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15212 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15213 .text section. Avoid duplicate constants.
15214 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15224 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15226 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15231 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15237 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15238 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15239 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15240 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15243 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15244 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15247 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15248 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15249 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15252 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15256 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15258 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15260 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15262 * sysdeps/x86_64/dla.h: Move to ...
15263 * sysdeps/x86_64/fpu/dla.h: ...here.
15264 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15265 situations. Use __builtin_fma only for gcc 4.6 and up.
15267 * config.make.in: Add have-mfma4 entry.
15268 * configure.in: Substitute libc_cv_cc_fma4.
15269 * math/Makefile (dbl-only-routines): Add sincostab.
15270 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15271 Use __sincostab not sincos.
15272 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15279 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15280 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15281 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15282 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15284 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15285 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15287 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15288 define aliases when function name is a macro.
15289 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15290 sysdeps/ieee754/dbl-64/sincos.tbl.
15291 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15292 fma4-enabled routines.
15293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15294 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15295 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15296 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15298 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15302 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15303 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15304 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15305 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15306 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15307 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15308 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15309 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15310 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15311 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15313 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15314 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15316 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15318 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15319 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15320 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15321 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15322 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15324 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15335 2011-10-24 Andreas Schwab <schwab@redhat.com>
15337 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15339 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15343 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15347 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15348 Remove unused variable magic_bits.
15349 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15351 * string/strnlen.c: Define and use STRNLEN macro.
15352 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15353 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15355 * wcsmbs/wcslen.c: Define and use WCSLEN.
15356 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15357 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15358 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15359 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15360 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15361 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15362 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15364 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15367 strnlen-sse2-no-bsf.
15368 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15370 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15371 Add strnlen support.
15372 (USE_AS_STRNLEN): New macro.
15373 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15374 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15375 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15376 * sysdeps/x86_64/wcslen.S: New file.
15378 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15381 XMM-moves are used for copying on small sizes.
15383 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15385 * wcsmbs/Makefile (strop-tests): Add wcschr.
15386 * wcsmbs/test-wcschr.c: New file.
15387 * string/test-strchr.c: Update.
15388 Add wcschr support.
15391 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15393 * wcsmbs/Makefile (strop-tests): Add wcslen.
15394 * wcsmbs/test-wcslen.c: New file.
15395 * string/test-strlen.c: Update.
15396 Add wcslen support.
15399 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15401 * po/it.po: Update from translation team.
15403 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15405 * sysdeps/x86_64/wcscmp.S: Update.
15406 Fix wrong comparison semantics.
15407 wcscmp shall use signed comparison not unsigned.
15408 Don't use substraction to avoid overflow bug.
15409 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15410 * wcsmbc/wcscmp.c: Likewise.
15411 * string/test-strcmp.c: Likewise.
15412 Add new tests to check cases with negative values.
15414 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15416 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15417 * sysdeps/x86_64/dla.h: ...here. New file.
15418 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15428 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15431 __ynl_finite aliases.
15433 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15437 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15439 [DLA_FMA] (EMULV): Use DLA_FMA.
15440 [DLA_FMA] (MUL12): Use EMULV.
15441 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15442 that are not needed.
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/halfulp.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15451 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15453 * math/s_nan.c: Undef __nan.
15454 * math/s_nanf.c: Undef __nanf.
15455 * math/s_nanl.c: Undef __nanl.
15456 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15459 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15461 * math/s_catan.c: Add branch predictions.
15462 * math/s_catanf.c: Likewise.
15463 * math/s_catanh.c: Likewise.
15464 * math/s_catanhf.c: Likewise.
15465 * math/s_catanhl.c: Likewise.
15466 * math/s_catanl.c: Likewise.
15467 * math/s_cexp.c: Likewise.
15468 * math/s_cexpf.c: Likewise.
15469 * math/s_cexpl.c: Likewise.
15470 * math/s_clog.c: Likewise.
15471 * math/s_clog10.c: Likewise.
15472 * math/s_clog10f.c: Likewise.
15473 * math/s_clog10l.c: Likewise.
15474 * math/s_clogf.c: Likewise.
15475 * math/s_clogl.c: Likewise.
15476 * math/s_csqrt.c: Likewise.
15477 * math/s_csqrtf.c: Likewise.
15478 * math/s_csqrtl.c: Likewise.
15479 * math/s_ctanf.c: Likewise.
15480 * math/s_ctanh.c: Likewise.
15481 * math/s_ctanhf.c: Likewise.
15482 * math/s_ctanhl.c: Likewise.
15483 * math/s_ctanl.c: Likewise.
15485 * math/math_private.h: Define __nan, __nanf, __nanl.
15486 * math/s_cacosh.c: Include <math_private.h>.
15487 * math/s_cacoshl.c: Likewise.
15488 * math/s_casinh.c: Likewise.
15489 * math/s_casinhf.c: Likewise.
15490 * math/s_casinhl.c: Likewise.
15491 * math/s_ccos.c: Rely entire on ccosh.
15492 * math/s_ccosf.c: Rely entire on ccoshf.
15493 * math/s_ccosl.c: Rely entirely on ccoshl.
15494 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15495 Remove tests for FE_INVALID.
15496 * math/s_ccoshf.c: Likewise.
15497 * math/s_ccoshl.c: Likewise.
15498 * math/s_csin.c: Likewise.
15499 * math/s_csinf.c: Likewise.
15500 * math/s_csinh.c Likewise.
15501 * math/s_csinhf.c: Likewise.
15502 * math/s_csinhl.c: Likewise.
15503 * math/s_csinl.c: Likewise.
15504 * math/s_ctan.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15506 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15507 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15509 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15512 compilation problems.
15514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15517 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15519 * sysdeps/i386/configure.in: Test for -mfma4 option.
15520 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15521 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15522 COMMON_CPUID_INDEX_80000001.
15523 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15524 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15525 use it if FMA3 is not supported.
15526 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15528 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15529 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15531 2011-10-20 Andreas Schwab <schwab@redhat.com>
15534 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15535 it would create a cycle with a link time dependency.
15537 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15539 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15541 * string/Makefile (strop-tests): Add rawmemchr.
15542 * string/test-rawmemchr.c: New file.
15544 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15546 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15547 when compiling str{,n}casecmp and when AVX is available. Hook up
15548 new optimized code in initializers.
15550 2011-10-19 Andreas Schwab <schwab@redhat.com>
15552 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15553 __feraiseexcept instead of feraiseexcept.
15555 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15557 * math/math_private.h: Define defaults for libc_fetestexcept and
15559 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15560 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15562 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15563 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15564 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15565 libc_fetestexcept and libc_feupdateenv.
15567 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15568 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15569 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15570 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15571 libc_feholdexcept_setround.
15573 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15574 Add s_nearbyint-c and s_nearbyintf-c.
15575 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15576 nearbyintf inlines.
15577 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15578 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15579 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15582 * math/math_private.h: Define defaults for libc_fegetround,
15583 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15584 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15585 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15587 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15588 standard functions.
15589 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15590 Remove comments and hacks for old compiler versions.
15591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15592 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15593 libc_feholdexceptl.
15595 2011-10-18 Andreas Schwab <schwab@redhat.com>
15597 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15598 (__feraiseexcept_renamed): Add __NTH.
15599 (feraiseexcept): Add __NTH. Rename local variables to fix
15600 namespace violations.
15602 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15608 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15609 recently added interfaces.
15610 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15612 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15613 about macro parameter expansion.
15615 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15616 __NO_MATH_INLINES is defined. Cleanups.
15618 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15619 and __floorf is target has SSE4.1.
15620 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15621 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15622 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15623 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15625 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15627 (floorf): Likewise.
15629 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15631 2011-10-17 Andreas Schwab <schwab@redhat.com>
15633 * misc/sys/cdefs.h: Fix last change.
15635 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15638 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15640 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15642 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15643 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15650 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15651 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15652 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15653 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15654 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15655 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15657 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15658 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15659 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15660 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15661 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15662 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15663 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15666 ceil, ceilf, floor, floorf.
15668 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15669 Perform IRELATIVE relocations last.
15671 * elf/do-rel.h: Add another parameter nrelative, replacing the
15672 local variable with the same name. Change name of the function
15673 to end in Rel or Rela (uppercase).
15674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15675 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15676 elf_dynamic_do_##reloc function.
15678 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15680 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15681 is sufficient, at least on modern CPUs.
15683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15685 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15688 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15690 * math/bits/math-finite.h: Add entries for exp.
15691 * math/e_expl.c: Add __*_finite alias.
15692 * sysdeps/i386/fpu/e_exp.S: Likewise.
15693 * sysdeps/i386/fpu/e_expf.S: Likewise.
15694 * sysdeps/i386/fpu/e_expl.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15696 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15700 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15701 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15703 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15704 is sufficient, at least on modern CPUs.
15706 * ctype/ctype-info.c (__ctype_init): Define.
15707 * include/ctype.h (__ctype_init): Declare.
15708 (__ctype_b_loc): The variable is always initialized.
15709 (__ctype_toupper_loc): Likewise.
15710 (__ctype_tolower_loc): Likewise.
15711 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15712 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15714 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15716 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15718 * configure.in: Also look in $cxxmachine/include for C++ system
15721 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15723 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15724 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15725 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15726 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15727 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15728 (USE_AS_WMEMCMP): New macro.
15730 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15731 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15732 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15733 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15735 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15736 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15737 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15738 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15739 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15741 (USE_AS_WMEMCMP): New macro.
15742 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15743 * sysdeps/string/test-memcmp.c: Update.
15744 Fix simple_wmemcmp.
15746 * wcsmbs/wmemcmp.c: Update.
15747 (WMEMCMP): New macro.
15750 2011-10-12 Andreas Jaeger <aj@suse.de>
15753 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15755 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15757 * libio/iofwide.c (do_length): Avoid warning.
15759 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15761 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15763 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15765 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15766 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15767 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15768 * sysdeps/i386/i686/fpu/e_log.S: New file.
15769 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15770 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15772 * ctype/ctype.h: Add support for inlined isXXX functions when
15773 compiling C++ code.
15775 2011-10-14 Andreas Schwab <schwab@redhat.com>
15777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15779 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15781 2011-10-13 Roland McGrath <roland@hack.frob.com>
15784 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15786 2011-10-13 Andreas Schwab <schwab@redhat.com>
15788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15789 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15792 * sysdeps/x86_64/memrchr.S: Check for zero size.
15794 * string/stratcliff.c: Add memrchr tests.
15796 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15799 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15800 rawmemchr-sse2 rawmemchr-sse2-bsf.
15801 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15802 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15803 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15804 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15805 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15806 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15807 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15808 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15809 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15810 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15811 * string/memrchr.c (MEMRCHR): New macro.
15813 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15815 Add integration with gcc's -ffinite-math-only and optimize wrapper
15817 * Versions.def: Define GLIBC_2.15 version for libm.
15818 * math/Makefile (headers): Add bits/math-finite.h.
15819 * math/bits/math-finite.h: New file.
15820 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15821 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15822 * math/e_acoshl.c: Add __*_finite alias.
15823 * math/e_acosl.c: Likewise.
15824 * math/e_asinl.c: Likewise.
15825 * math/e_atan2l.c: Likewise.
15826 * math/e_atanhl.c: Likewise.
15827 * math/e_coshl.c: Likewise.
15828 * math/e_exp10.c: Likewise.
15829 * math/e_exp10f.c: Likewise.
15830 * math/e_exp10l.c: Likewise.
15831 * math/e_exp2l.c: Likewise.
15832 * math/e_fmodl.c: Likewise.
15833 * math/e_gammal_r.c: Likewise.
15834 * math/e_hypotl.c: Likewise.
15835 * math/e_j0l.c: Likewise.
15836 * math/e_j1l.c: Likewise.
15837 * math/e_jnl.c: Likewise.
15838 * math/e_lgammal_r.c: Likewise.
15839 * math/e_log10l.c: Likewise.
15840 * math/e_log2l.c: Likewise.
15841 * math/e_logl.c: Likewise.
15842 * math/e_powl.c: Likewise.
15843 * math/e_sinhl.c: Likewise.
15844 * math/e_sqrtl.c: Likewise.
15845 * math/e_scalb.c: Completely rewritten and optimized.
15846 * math/e_scalbf.c: Likewise.
15847 * math/e_scalbl.c: Likewise.
15848 * math/w_acos.c: Likewise.
15849 * math/w_acosf.c: Likewise.
15850 * math/w_acosl.c: Likewise.
15851 * math/w_acosh.c: Likewise.
15852 * math/w_acoshf.c: Likewise.
15853 * math/w_acoshl.c: Likewise.
15854 * math/w_asin.c: Likewise.
15855 * math/w_asinf.c: Likewise.
15856 * math/w_asinl.c: Likewise.
15857 * math/w_atan2.c: Likewise.
15858 * math/w_atan2f.c: Likewise.
15859 * math/w_atan2l.c: Likewise.
15860 * math/w_atanh.c: Likewise.
15861 * math/w_atanhf.c: Likewise.
15862 * math/w_atanhl.c: Likewise.
15863 * math/w_exp10.c: Likewise.
15864 * math/w_exp10f.c: Likewise.
15865 * math/w_exp10l.c: Likewise.
15866 * math/w_fmod.c: Likewise.
15867 * math/w_fmodf.c: Likewise.
15868 * math/w_fmodl.c: Likewise.
15869 * math/w_j0.c: Likewise.
15870 * math/w_j0f.c: Likewise.
15871 * math/w_j0l.c: Likewise.
15872 * math/w_j1.c: Likewise.
15873 * math/w_j1f.c: Likewise.
15874 * math/w_j1l.c: Likewise.
15875 * math/w_jn.c: Likewise.
15876 * math/w_jnf.c: Likewise.
15877 * math/w_log.c: Likewise.
15878 * math/w_logf.c: Likewise.
15879 * math/w_logl.c: Likewise.
15880 * math/w_log10.c: Likewise.
15881 * math/w_log10f.c: Likewise.
15882 * math/w_log10l.c: Likewise.
15883 * math/w_log2.c: Likewise.
15884 * math/w_log2f.c: Likewise.
15885 * math/w_log2l.c: Likewise.
15886 * math/w_pow.c: Likewise.
15887 * math/w_powf.c: Likewise.
15888 * math/w_powl.c: Likewise.
15889 * math/w_remainder.c: Likewise.
15890 * math/w_remainderf.c: Likewise.
15891 * math/w_remainderl.c: Likewise.
15892 * math/w_scalb.c: Likewise.
15893 * math/w_scalbf.c: Likewise.
15894 * math/w_scalbl.c: Likewise.
15895 * math/w_sqrt.c: Likewise.
15896 * math/w_sqrtf.c: Likewise.
15897 * math/w_sqrtl.c: Likewise.
15898 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15899 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15901 * math/math_private.h: Declare __kernel_standard_f.
15902 * math/w_cosh.c: Remove cruft and optimize a bit.
15903 * math/w_coshf.c: Likewise.
15904 * math/w_coshl.c: Likewise.
15905 * math/w_exp2.c: Likewise.
15906 * math/w_exp2f.c: Likewise.
15907 * math/w_exp2l.c: Likewise.
15908 * math/w_hypot.c: Likewise.
15909 * math/w_hypotf.c: Likewise.
15910 * math/w_hypotl.c: Likewise.
15911 * math/w_lgamma.c: Likewise.
15912 * math/w_lgamma_r.c: Likewise.
15913 * math/w_lgammaf.c: Likewise.
15914 * math/w_lgammaf_r.c: Likewise.
15915 * math/w_lgammal.c: Likewise.
15916 * math/w_lgammal_r.c: Likewise.
15917 * math/w_sinh.c: Likewise.
15918 * math/w_sinhf.c: Likewise.
15919 * math/w_sinhl.c: Likewise.
15920 * math/w_tgamma.c: Likewise.
15921 * math/w_tgammaf.c: Likewise.
15922 * math/w_tgammal.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15924 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15925 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15926 Minor optimizations. Pretty printing. Remove cruft.
15927 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15931 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15932 * sysdeps/i386/fpu/e_asin.S: Likewise.
15933 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15934 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15935 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15936 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15937 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15938 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15939 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15940 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15941 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15942 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15943 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15944 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15945 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15946 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15947 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15948 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15949 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15950 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15951 * sysdeps/i386/fpu/e_log.S: Likewise.
15952 * sysdeps/i386/fpu/e_log10.S: Likewise.
15953 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15954 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15955 * sysdeps/i386/fpu/e_log2.S: Likewise.
15956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15958 * sysdeps/i386/fpu/e_logf.S: Likewise.
15959 * sysdeps/i386/fpu/e_logl.S: Likewise.
15960 * sysdeps/i386/fpu/e_pow.S: Likewise.
15961 * sysdeps/i386/fpu/e_powf.S: Likewise.
15962 * sysdeps/i386/fpu/e_powl.S: Likewise.
15963 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15964 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15965 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15967 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15968 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15969 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15970 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15971 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15997 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15998 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16000 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16001 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16002 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16003 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16004 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16006 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16007 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16008 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16009 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16013 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16065 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16067 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16068 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16069 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16070 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16071 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16072 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16073 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16074 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16075 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16076 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16077 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16078 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16080 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16081 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16082 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16083 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16084 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16085 (__isnanf): Likewise.
16086 (__isinf_ns): Likewise.
16087 (__isinf_nsf): Likewise.
16088 (__finite): Likewise.
16089 (__finitef): Likewise.
16090 (__ieee754_sqrt): Define as macro.
16091 (__ieee754_sqrtf): Define as macro.
16092 (__ieee754_sqrtl): Define as macro.
16093 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16095 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16096 __FINITE_MATH_ONLY__ consistent.
16097 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16099 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16101 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16104 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16106 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16108 * po/ja.po: Update from translation team.
16110 2011-10-08 Roland McGrath <roland@hack.frob.com>
16112 * locale/programs/locarchive.c (prepare_address_space): New function.
16113 (create_archive, enlarge_archive, open_archive): Use it.
16115 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16116 inside [SHARED], where it is used.
16118 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16120 * nss/getent.c (netgroup_keys): Remove unused variable.
16121 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16123 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16125 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16126 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16128 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16129 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16130 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16131 * math/Makefile (libm-calls): Add s_isinf_ns.
16132 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16133 * math/multc3.c: Likewise.
16134 * math/s_casin.c: Likewise.
16135 * math/s_casinf.c: Likewise.
16136 * math/s_casinl.c: Likewise.
16137 * math/s_ccos.c: Likewise.
16138 * math/s_ccosf.c: Likewise.
16139 * math/s_ccosl.c: Likewise.
16140 * math/s_ctan.c: Likewise.
16141 * math/s_ctanf.c: Likewise.
16142 * math/s_ctanh.c: Likewise.
16143 * math/s_ctanhf.c: Likewise.
16144 * math/s_ctanhl.c: Likewise.
16145 * math/s_ctanl.c: Likewise.
16146 * math/w_fmod.c: Likewise.
16147 * math/w_fmodf.c: Likewise.
16148 * math/w_fmodl.c: Likewise.
16149 * math/w_remainder.c: Likewise.
16150 * math/w_remainderf.c: Likewise.
16151 * math/w_remainderl.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16153 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16156 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16157 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16158 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16159 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16161 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16163 * stdio-common/printf_fphex.c: Likewise.
16164 * stdio-common/printf_size.c: Likewise.
16166 * math/e_exp10.c: Include math_private.h using <...> not "...".
16167 * math/e_exp10f.c: Likewise.
16168 * math/e_exp10l.c: Likewise.
16169 * math/e_exp2l.c: Likewise.
16170 * math/e_j0l.c: Likewise.
16171 * math/e_j1l.c: Likewise.
16172 * math/e_jnl.c: Likewise.
16173 * math/e_lgammal_r.c: Likewise.
16174 * math/e_rem_pio2l.c: Likewise.
16175 * math/e_scalb.c: Likewise.
16176 * math/e_scalbf.c: Likewise.
16177 * math/e_scalbl.c: Likewise.
16178 * math/k_cosl.c: Likewise.
16179 * math/k_sinl.c: Likewise.
16180 * math/k_tanl.c: Likewise.
16181 * math/s_cacoshf.c: Likewise.
16182 * math/s_catan.c: Likewise.
16183 * math/s_catanf.c: Likewise.
16184 * math/s_catanh.c: Likewise.
16185 * math/s_catanhf.c: Likewise.
16186 * math/s_catanhl.c: Likewise.
16187 * math/s_catanl.c: Likewise.
16188 * math/s_ccosh.c: Likewise.
16189 * math/s_ccoshf.c: Likewise.
16190 * math/s_ccoshl.c: Likewise.
16191 * math/s_cexp.c: Likewise.
16192 * math/s_cexpf.c: Likewise.
16193 * math/s_cexpl.c: Likewise.
16194 * math/s_clog.c: Likewise.
16195 * math/s_clog10.c: Likewise.
16196 * math/s_clog10f.c: Likewise.
16197 * math/s_clog10l.c: Likewise.
16198 * math/s_clogf.c: Likewise.
16199 * math/s_clogl.c: Likewise.
16200 * math/s_csin.c: Likewise.
16201 * math/s_csinf.c: Likewise.
16202 * math/s_csinh.c: Likewise.
16203 * math/s_csinhf.c: Likewise.
16204 * math/s_csinhl.c: Likewise.
16205 * math/s_csinl.c: Likewise.
16206 * math/s_csqrt.c: Likewise.
16207 * math/s_csqrtf.c: Likewise.
16208 * math/s_csqrtl.c: Likewise.
16209 * math/s_ctan.c: Likewise.
16210 * math/s_ctanf.c: Likewise.
16211 * math/s_ctanh.c: Likewise.
16212 * math/s_ctanhf.c: Likewise.
16213 * math/s_ctanhl.c: Likewise.
16214 * math/s_ctanl.c: Likewise.
16215 * math/s_ldexp.c: Likewise.
16216 * math/s_ldexpf.c: Likewise.
16217 * math/s_ldexpl.c: Likewise.
16218 * math/s_significand.c: Likewise.
16219 * math/s_significandf.c: Likewise.
16220 * math/s_significandl.c: Likewise.
16221 * math/w_acos.c: Likewise.
16222 * math/w_acosf.c: Likewise.
16223 * math/w_acosh.c: Likewise.
16224 * math/w_acoshf.c: Likewise.
16225 * math/w_acoshl.c: Likewise.
16226 * math/w_acosl.c: Likewise.
16227 * math/w_asin.c: Likewise.
16228 * math/w_asinf.c: Likewise.
16229 * math/w_asinl.c: Likewise.
16230 * math/w_atan2.c: Likewise.
16231 * math/w_atan2f.c: Likewise.
16232 * math/w_atan2l.c: Likewise.
16233 * math/w_atanh.c: Likewise.
16234 * math/w_atanhf.c: Likewise.
16235 * math/w_atanhl.c: Likewise.
16236 * math/w_cosh.c: Likewise.
16237 * math/w_coshf.c: Likewise.
16238 * math/w_coshl.c: Likewise.
16239 * math/w_dremf.c: Likewise.
16240 * math/w_exp10.c: Likewise.
16241 * math/w_exp10f.c: Likewise.
16242 * math/w_exp10l.c: Likewise.
16243 * math/w_exp2.c: Likewise.
16244 * math/w_exp2f.c: Likewise.
16245 * math/w_fmod.c: Likewise.
16246 * math/w_fmodf.c: Likewise.
16247 * math/w_fmodl.c: Likewise.
16248 * math/w_hypot.c: Likewise.
16249 * math/w_hypotf.c: Likewise.
16250 * math/w_hypotl.c: Likewise.
16251 * math/w_j0.c: Likewise.
16252 * math/w_j0f.c: Likewise.
16253 * math/w_j0l.c: Likewise.
16254 * math/w_j1.c: Likewise.
16255 * math/w_j1f.c: Likewise.
16256 * math/w_j1l.c: Likewise.
16257 * math/w_jn.c: Likewise.
16258 * math/w_jnf.c: Likewise.
16259 * math/w_jnl.c: Likewise.
16260 * math/w_lgamma.c: Likewise.
16261 * math/w_lgamma_r.c: Likewise.
16262 * math/w_lgammaf.c: Likewise.
16263 * math/w_lgammaf_r.c: Likewise.
16264 * math/w_lgammal.c: Likewise.
16265 * math/w_lgammal_r.c: Likewise.
16266 * math/w_log.c: Likewise.
16267 * math/w_log10.c: Likewise.
16268 * math/w_log10f.c: Likewise.
16269 * math/w_log10l.c: Likewise.
16270 * math/w_log2.c: Likewise.
16271 * math/w_log2f.c: Likewise.
16272 * math/w_log2l.c: Likewise.
16273 * math/w_logf.c: Likewise.
16274 * math/w_logl.c: Likewise.
16275 * math/w_pow.c: Likewise.
16276 * math/w_powf.c: Likewise.
16277 * math/w_powl.c: Likewise.
16278 * math/w_remainder.c: Likewise.
16279 * math/w_remainderf.c: Likewise.
16280 * math/w_remainderl.c: Likewise.
16281 * math/w_scalb.c: Likewise.
16282 * math/w_scalbf.c: Likewise.
16283 * math/w_scalbl.c: Likewise.
16284 * math/w_sinh.c: Likewise.
16285 * math/w_sinhf.c: Likewise.
16286 * math/w_sinhl.c: Likewise.
16287 * math/w_sqrt.c: Likewise.
16288 * math/w_sqrtf.c: Likewise.
16289 * math/w_sqrtl.c: Likewise.
16290 * math/w_tgamma.c: Likewise.
16291 * math/w_tgammaf.c: Likewise.
16292 * math/w_tgammal.c: Likewise.
16294 * po/ja.po: Update from translation team.
16296 2011-09-29 Andreas Jaeger <aj@suse.de>
16299 * sunrpc/netname.c (netname2host): Fix logic.
16303 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16305 * math/w_remainder.c (__remainder): Likewise.
16306 * math/w_remainderf.c (__remainderf): Likewise.
16307 * math/libm-test.inc (remainder_test): Add test cases.
16309 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16311 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16314 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16316 * string/test-memcmp.c: Avoid unncessary #defines.
16317 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16319 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16321 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16322 Use new sse2 version for core i3 - i7 as it's faster
16323 than sse42 version.
16324 (bit_Prefer_PMINUB_for_stringop): New.
16325 * sysdeps/x86_64/rawmemchr.S: Update.
16326 Replace with faster SSE2 version.
16327 * sysdeps/x86_64/memrchr.S: New file.
16328 * sysdeps/x86_64/memchr.S: Update.
16329 Replace with faster SSE2 version.
16331 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16333 * elf/dl-load.c (lose): Add cast to avoid warning.
16335 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16337 * po/ca.po: Update from translation team.
16339 * inet/getnetgrent_r.c: Hook up nscd.
16340 * nscd/Makefile (routines): Add nscd_netgroup.
16341 (nscd-modules): Add netgroupcache.
16342 (CFLAGS-netgroupcache.c): Define.
16343 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16344 (cache_search): Add const to second parameter.
16345 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16347 (dbs): Add netgrdb entry.
16348 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16349 (verify_persistent_db): Handle netgrdb.
16350 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16351 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16353 (netgroup_response_header): Define.
16354 (innetgroup_response_header): Define.
16355 (datahead): Add netgroup_response_header and innetgroup_response_header
16357 * nscd/nscd.conf: Add entries for netgroup cache.
16358 * nscd/nscd.h (dbtype): Add netgrdb.
16359 (_PATH_NSCD_NETGROUP_DB): Define.
16360 (netgroup_iov_disabled): Declare.
16361 (xmalloc, xcalloc, xrealloc): Move declarations here.
16362 (cache_search): Adjust prototype.
16363 Add netgroup-related prototypes.
16364 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16365 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16366 (__nscd_innetgr): Declare.
16367 * nscd/selinux.c (perms): Use access_vector_t as element type and
16368 add netgroup-related initializers.
16369 * nscd/netgroupcache.c: New file.
16370 * nscd/nscd_netgroup.c: New file.
16371 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16372 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16373 For four parameters use innetgr.
16374 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16375 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16376 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16377 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16379 * nscd/connections.c (register_traced_file): Don't register file
16380 for disabled databases.
16382 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16384 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16386 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16387 from tree and freeing node.
16389 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16391 * nss/nsswitch.c (__nss_database_lookup): Handle
16392 nss_parse_service_list out of memory case.
16394 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16396 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16397 out of memory case.
16399 2011-10-04 Andreas Schwab <schwab@redhat.com>
16401 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16402 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16404 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16405 elf_machine_rela, elf_machine_lazy_rel.
16406 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16407 (ELF_DYNAMIC_DO_REL): Likewise.
16408 (ELF_DYNAMIC_DO_RELA): Likewise.
16409 (ELF_DYNAMIC_RELOCATE): Likewise.
16410 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16411 to ELF_DYNAMIC_DO_REL.
16412 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16413 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16414 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16417 skip_ifunc, don't call ifunc function if non-zero.
16418 (elf_machine_rela): Likewise.
16419 (elf_machine_lazy_rel): Likewise.
16420 (elf_machine_lazy_rela): Likewise.
16421 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16422 (elf_machine_lazy_rel): Likewise.
16423 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16425 (elf_machine_lazy_rel): Likewise.
16426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16428 (elf_machine_lazy_rel): Likewise.
16429 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16430 (elf_machine_lazy_rel): Likewise.
16431 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16432 (elf_machine_lazy_rel): Likewise.
16433 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16434 (elf_machine_lazy_rel): Likewise.
16435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16436 (elf_machine_lazy_rel): Likewise.
16437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16438 (elf_machine_lazy_rel): Likewise.
16439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16440 (elf_machine_lazy_rel): Likewise.
16442 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16444 * nss/nss_files/files-init.c (_nss_files_init): Use static
16445 initialization for all the *_traced_file variables.
16447 2011-09-28 Andreas Schwab <schwab@redhat.com>
16449 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16451 2011-09-27 Roland McGrath <roland@hack.frob.com>
16454 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16456 2011-09-27 Andreas Schwab <schwab@redhat.com>
16458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16459 Reread the line before reparsing it.
16461 2011-09-26 Andreas Schwab <schwab@redhat.com>
16463 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16465 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16466 Maxim Kuvyrkov <maxim@codesourcery.com>
16467 Joseph Myers <joseph@codesourcery.com>
16469 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16470 if needed for __stack_chk_guard.
16472 2011-09-19 Roland McGrath <roland@hack.frob.com>
16474 * sysdeps/posix/spawni.c (script_execute): Always define it.
16475 It will be optimized away if unused.
16476 (maybe_script_execute): New function.
16477 (__spawni): Call it.
16479 * Makerules: Don't include tls.make.
16480 (config-tls): Always set to thread.
16481 * tls.make.c: File removed.
16483 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16485 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16486 * config.make.in (CPPFLAGS-config): New substituted variable.
16488 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16493 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16494 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16496 2011-09-15 Roland McGrath <roland@hack.frob.com>
16498 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16499 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16501 (CALL_FAIL): Likewise.
16502 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16503 (CALL_FAIL): Macro removed.
16504 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16506 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16508 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16509 for __FINITE_MATH_ONLY__ == 1.
16511 2011-09-15 Andreas Schwab <schwab@redhat.com>
16513 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16514 __ieee754_sqrt instead of sqrt.
16515 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16516 __ieee754_sqrtf instead of sqrtf.
16517 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16518 __floorf instead of floorf.
16519 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16520 __floorf, __truncf instead of floorf, truncf.
16522 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16524 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16526 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16527 __extern_always_inline.
16528 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16531 2011-09-14 Andreas Schwab <schwab@redhat.com>
16533 * elf/rtld.c (dl_main): Also relocate in dependency order when
16534 doing symbol dependency testing.
16536 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16539 Always define `refsym'.
16541 2011-09-13 Andreas Schwab <schwab@redhat.com>
16543 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16544 (__FD_ELT): Renamed from __FDELT.
16545 * misc/bits/select2.h (__FD_ELT): Likewise.
16546 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16547 __FD_MASK instead of __FDELT, __FDMASK.
16548 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16550 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16553 * elf/Makefile (gen-ldd): Fix pattern.
16555 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16556 (init_tls): Likewise.
16558 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16562 2011-09-12 Andreas Schwab <schwab@redhat.com>
16564 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16565 `struct cmsghdr *' instead of `void *'.
16566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16569 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16571 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16573 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16574 ldd_rewrite_script.
16576 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16578 * configure.in: Remove --with-tls option.
16579 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16580 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16581 out in case it is missing.
16582 * sysdeps/ia64/elf/configure.in: Likewise.
16583 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16584 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16585 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16586 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16587 * sysdeps/sh/elf/configure.in: Likewise.
16588 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16589 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16590 * sysdeps/x86_64/elf/configure.in: Likewise.
16591 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16592 * sysdeps/mach/hurd/tls.h: Likewise.
16595 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16598 * configure.in: Fix use of AC_INIT.
16600 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16602 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16604 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16606 * malloc/hooks.c: Likewise.
16609 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16610 variables statically.
16611 (narenas): Initialize.
16612 (list_lock): Initialize.
16613 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16614 initializtion of main_arena and list_lock. Small cleanups.
16615 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16616 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16617 Add initializers to main_arena and mp_.
16618 (malloc_state): Remove pagesize member. Change all users to use
16621 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16622 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16623 is always initialized.
16625 * malloc/malloc.c: Removed unused configurations and dead code.
16626 * malloc/arena.c: Likewise.
16627 * malloc/hooks.c: Likewise.
16628 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16630 * include/tls.h: Removed. USE___THREAD must always be defined.
16631 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16632 * elf/dl-libc.c: Likewise.
16633 * elf/dl-tsd.c: Likewise.
16634 * include/errno.h: Likewise.
16635 * include/netdb.h: Likewise.
16636 * include/resolv.h: Likewise.
16637 * inet/herrno-loc.c: Likewise.
16638 * inet/herrno.c: Likewise.
16639 * malloc/arena.c: Likewise.
16640 * malloc/hooks.c: Likewise.
16641 * malloc/malloc.c: Likewise.
16642 * resolv/res-state.c: Likewise.
16643 * resolv/res_libc.c: Likewise.
16644 * sysdeps/i386/dl-machine.h: Likewise.
16645 * sysdeps/ia64/dl-machine.h: Likewise.
16646 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16647 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16648 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16649 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16650 * sysdeps/sh/dl-machine.h: Likewise.
16651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16653 * sysdeps/unix/i386/sysdep.S: Likewise.
16654 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16655 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16660 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16664 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16665 * sysdeps/x86_64/dl-machine.h: Likewise.
16666 * tls.make.c: Likewise.
16668 * configure.in: Remove --with-__thread option. Make tests for
16669 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16670 tls_model attribute fail if no support is available. Remove
16672 * Makeconfig: Adjust for dropped configure option. All features are
16674 * Makerules: Likewise.
16675 * Versions.def: Likewise.
16676 * argp/argp-fmtstream.c: Likewise.
16677 * argp/argp-fmtstream.h: Likewise.
16678 * argp/argp-help.c: Likewise.
16679 * assert/assert.c: Likewise.
16680 * config.h.in: Likewise.
16681 * config.make.in: Likewise.
16682 * configure: Likewise.
16683 * configure.in: Likewise.
16684 * csu/Versions: Likewise.
16685 * csu/init.c: Likewise.
16686 * elf/tst-audit2.c: Likewise.
16687 * elf/tst-tls10.c: Likewise.
16688 * elf/tst-tls10.h: Likewise.
16689 * elf/tst-tls11.c: Likewise.
16690 * elf/tst-tls12.c: Likewise.
16691 * elf/tst-tls14.c: Likewise.
16692 * elf/tst-tlsmod11.c: Likewise.
16693 * elf/tst-tlsmod12.c: Likewise.
16694 * elf/tst-tlsmod13.c: Likewise.
16695 * elf/tst-tlsmod13a.c: Likewise.
16696 * elf/tst-tlsmod14a.c: Likewise.
16697 * elf/tst-tlsmod15b.c: Likewise.
16698 * elf/tst-tlsmod16a.c: Likewise.
16699 * elf/tst-tlsmod16b.c: Likewise.
16700 * elf/tst-tlsmod7.c: Likewise.
16701 * elf/tst-tlsmod8.c: Likewise.
16702 * elf/tst-tlsmod9.c: Likewise.
16703 * gmon/gmon.c: Likewise.
16704 * grp/fgetgrent_r.c: Likewise.
16705 * grp/putgrent.c: Likewise.
16706 * hurd/fopenport.c: Likewise.
16707 * include/libc-symbols.h: Likewise.
16708 * include/tls.h: Likewise.
16709 * intl/gettextP.h: Likewise.
16710 * intl/loadinfo.h: Likewise.
16711 * locale/global-locale.c: Likewise.
16712 * locale/localeinfo.h: Likewise.
16713 * mach/devstream.c: Likewise.
16714 * malloc/arena.c: Likewise.
16715 * malloc/set-freeres.c: Likewise.
16716 * misc/err.c: Likewise.
16717 * misc/getttyent.c: Likewise.
16718 * misc/mntent_r.c: Likewise.
16719 * posix/getopt.c: Likewise.
16720 * posix/wordexp.c: Likewise.
16721 * pwd/fgetpwent_r.c: Likewise.
16722 * resolv/Versions: Likewise.
16723 * resolv/res_hconf.c: Likewise.
16724 * shadow/fgetspent_r.c: Likewise.
16725 * shadow/putspent.c: Likewise.
16726 * stdio-common/printf_fphex.c: Likewise.
16727 * stdio-common/tmpfile.c: Likewise.
16728 * stdlib/abort.c: Likewise.
16729 * stdlib/fmtmsg.c: Likewise.
16730 * sunrpc/auth_unix.c: Likewise.
16731 * sunrpc/clnt_perr.c: Likewise.
16732 * sunrpc/clnt_tcp.c: Likewise.
16733 * sunrpc/clnt_udp.c: Likewise.
16734 * sunrpc/clnt_unix.c: Likewise.
16735 * sunrpc/openchild.c: Likewise.
16736 * sunrpc/svc_simple.c: Likewise.
16737 * sunrpc/svc_tcp.c: Likewise.
16738 * sunrpc/svc_udp.c: Likewise.
16739 * sunrpc/svc_unix.c: Likewise.
16740 * sunrpc/xdr.c: Likewise.
16741 * sunrpc/xdr_array.c: Likewise.
16742 * sunrpc/xdr_rec.c: Likewise.
16743 * sunrpc/xdr_ref.c: Likewise.
16744 * sunrpc/xdr_stdio.c: Likewise.
16746 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16748 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16750 2011-07-03 Andreas Jaeger <aj@suse.de>
16752 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16753 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16754 regenerate with gen-libm-tests.pl.
16756 2010-05-12 Petr Baudis <pasky@suse.cz>
16759 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16760 around j0() zero points by switching to j1().
16761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16766 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16770 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16773 Patch in part by Pavel Roskin <proski@gnu.org>.
16776 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16778 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16779 Free memory block if necessary.
16782 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16783 be NULL. Don't lock in this case.
16785 2011-09-09 Roland McGrath <roland@hack.frob.com>
16787 * elf/elf.h (ELFOSABI_GNU): New macro.
16788 (ELFOSABI_LINUX): Define to that.
16790 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16792 * string/strncat.c (strncat): Undef the symbol in case it has been
16793 defined in bits/string.h.
16795 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16797 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16799 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16802 2011-08-17 Andreas Jaeger <aj@suse.de>
16804 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16806 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16807 Ian Lance Taylor <iant@google.com>
16809 * math/libm-test.inc (lround_test): New testcase.
16810 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16812 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16814 * Makefile: Remove support for automatic cvs check-ins.
16815 * Makerules: Likewise.
16816 * config.make.in: Likewise.
16817 * configure.in: Likewise.
16818 * intl/Makefile: Likewise.
16819 * locale/Makefile: Likewise.
16820 * po/Makefile: Likewise.
16821 * posix/Makefile: Likewise.
16822 * sysdeps/gnu/Makefile: Likewise.
16823 * sysdeps/mach/hurd/Makefile: Likewise.
16824 * sysdeps/sparc/sparc32/Makefile: Likewise.
16827 * posix/Makefile (bug-regex32-ENV): Define.
16828 Patch by John Stanley <jpsinthemix@verizon.net>.
16830 * misc/Makefile (headers): Add bits/select2.h.
16831 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16832 * misc/bits/select2.h: New file.
16833 * include/bits/select2.h: New file.
16834 * debug/Makefile (routines): Add fdelt_chk.
16835 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16836 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16838 * debug/fdelt_chk.c: New file.
16840 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16841 * wcsmbs/test-wmemcmp.c: Likewise.
16842 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16843 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16845 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16847 * string/Makefile (strop-tests): Add memcmp.
16848 * string/test-wmemcmp.c: New file.
16849 * string/test-memcmp.c: Add wmemcmp support.
16851 2011-09-08 Roland McGrath <roland@hack.frob.com>
16854 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16857 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16858 garbage value in a __mach_port_mod_refs call in the cases of the
16859 task-self and thread-self ports.
16861 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16863 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16865 2011-09-08 Andreas Schwab <schwab@redhat.com>
16867 * elf/dl-load.c (lose): Check for non-null L.
16869 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16871 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16873 * elf/dl-libc.c (dlerror_run): Pass back error code from
16877 * elf/dl-load.c (lose): Free l_origin if it is valid.
16879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16881 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16882 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16883 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16884 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16885 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16886 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16888 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16891 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16892 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16893 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16894 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16895 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16896 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16897 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16898 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16899 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16901 2011-08-15 Alan Modra <amodra@gmail.com>
16904 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16905 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16906 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16907 ppc_mcount to static-only-routines.
16908 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16910 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16911 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16913 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16915 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16916 for finite and infinity parameters.
16918 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16921 and add nop instructions for throughput optimization.
16922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16924 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16926 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16927 aligned copy for power7 with vector-scalar instructions.
16928 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16930 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16935 2011-09-07 Andreas Schwab <schwab@redhat.com>
16938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16941 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16943 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16944 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16945 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16946 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16949 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16952 Forgot to demangle the pointer.
16954 * sysdeps/i386/sysdep.h: Define atom_text_section.
16955 * sysdeps/x86_64/sysdep.h: Likewise.
16956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16957 section with atom_text_section.
16958 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16959 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16960 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16964 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16966 already be defined. Change to take two parameters and don't assign
16967 result to variable. Adjust all users.
16968 Define INTERNAL_GETTIME if not already defined.
16969 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16972 HAVE_CLOCK_GETTIME_VSYSCALL.
16973 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16976 gettimeofday vsyscall, just use time.
16978 2011-09-06 Andreas Schwab <schwab@redhat.com>
16980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16983 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16985 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16989 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16991 syscall if possible.
16993 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16995 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16996 e_ident. Don't pass to find_mapsXX.
16997 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16999 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17002 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17003 * sysdeps/x86_64/multiarch/strchr.S: Update.
17004 Check bit_slow_BSF bit.
17005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17006 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17007 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17009 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17012 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17014 (tryshell): Define.
17015 (__spawni): Change last parameter to be flag. Test
17016 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17017 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17018 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17019 * posix/spawni.c: Likewise.
17020 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17021 * posix/spawnp.c: Likewise. Change normal version to use
17022 SPAWN_XFLAGS_USE_PATH.
17023 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17024 SPAWN_XFLAGS_TRY_SHELL.
17027 * posix/glob.h: Remove gcc 1.x support.
17030 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17032 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17035 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17037 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17038 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17039 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17041 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17044 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17046 * sysdeps/x86_64/wcscmp.S: New file.
17048 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17049 wcscmp-c wcscmp-sse2
17050 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17051 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17052 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17053 * wcsmbs/wcscmp.c: Allow renaming.
17055 2011-09-05 David S. Miller <davem@davemloft.net>
17057 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17058 stack slot, rather than the struct return pointer slot.
17059 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17060 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17062 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17064 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17066 * po/ja.po: Update from translation team.
17069 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17070 kernel in 64-bit binaries.
17072 2011-09-01 David S. Miller <davem@davemloft.net>
17074 * elf/elf.h (HWCAP_SPARC_*): Move to..
17075 * sysdeps/sparc/sysdep.h: this new file and add new values.
17076 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17077 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17078 _DL_HWCAP_COUNT to 24.
17079 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17081 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17082 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17083 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17085 instead of magic constants.
17086 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17088 2011-08-31 David S. Miller <davem@davemloft.net>
17090 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17092 Reimplement to do errno handling inline.
17093 (SYSCALL_ERROR_HANDLER): New macro.
17094 (__SYSCALL_STRING): Do not do errno handling in asm.
17095 (__CLONE_SYSCALL_STRING): Delete.
17096 (__INTERNAL_SYSCALL_STRING): Delete.
17097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17098 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17099 (PSEUDO): Reimplement to do errno handling inline.
17100 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17101 (SYSCALL_ERROR_HANDLER): New macro.
17102 (__SYSCALL_STRING): Do not do errno handling in asm.
17103 (__CLONE_SYSCALL_STRING): Delete.
17104 (__INTERNAL_SYSCALL_STRING): Delete.
17105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17106 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17108 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17109 (inline_syscall*): Add 'err' argument.
17110 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17111 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17112 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17113 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17115 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17116 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17118 2011-08-30 Andreas Schwab <schwab@redhat.com>
17120 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17122 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17124 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17127 2011-08-24 David S. Miller <davem@davemloft.net>
17129 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17131 2011-08-24 Andreas Schwab <schwab@redhat.com>
17133 * elf/Makefile: Add rules to build and run unload8 test.
17134 * elf/unload8.c: New file.
17135 * elf/unload8mod1.c: New file.
17136 * elf/unload8mod1x.c: New file.
17137 * elf/unload8mod2.c: New file.
17138 * elf/unload8mod3.c: New file.
17140 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17143 2011-08-23 David S. Miller <davem@davemloft.net>
17145 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17146 subtract stack bias.
17147 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17148 %sp not %fp in calculations.
17149 (_JMPBUF_UNWINDS_ADJ): Likewise.
17151 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17152 (aio_suspend): Call it to force an exception region around the
17153 AIO_MISC_WAIT() invocation.
17155 2011-08-23 Andreas Schwab <schwab@redhat.com>
17157 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17160 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17162 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17164 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17165 and <dl-machine.h>.
17166 (Elf64_FuncDesc): Remove.
17168 2011-08-22 David S. Miller <davem@davemloft.net>
17170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17171 sigaltstack check, add missing cfi directives.
17172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17173 missing cfi directives, and sigaltstack handling.
17175 2011-08-16 Andreas Schwab <schwab@redhat.com>
17178 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17179 object is seen twice.
17180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17182 * elf/Makefile (distribute): Add tst-initorder2.c.
17183 (tests): Add tst-initorder2.
17184 (modules-names): Add tst-initorder2a tst-initorder2b
17185 tst-initorder2c tst-initorder2d. Add rules to build them.
17186 ($(objpfx)tst-initorder2.out): New rule.
17187 * elf/tst-initorder2.c: New file.
17188 * elf/tst-initorder2.exp: New file.
17190 2011-08-22 Andreas Schwab <schwab@redhat.com>
17192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17194 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17195 dependencies back to end of function.
17197 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17198 $(elfobjdir)/ld.so.
17200 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17203 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17205 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17206 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17207 of __vdso_gettimeofday.
17208 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17209 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17211 (_libc_vdso_platform_setup): Remove initialization of
17212 __vdso_gettimeofday and __vdso_time.
17214 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17216 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17217 and fgetc_unlocked.
17218 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17221 * elf/dl-open.c (add_to_global): Report additions to the global scope
17222 for LD_DEBUG=scopes.
17223 (dl_open_worker): Also print scope of newly loaded dependencies.
17224 (_dl_show_scope): Indicate if there is no scope.
17227 * stdio-common/Makefile (tests): Add bug24.
17228 * stdio-common/bug24.c: New file.
17230 2011-08-19 Andreas Jaeger <aj@suse.de>
17233 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17234 non-existant file when using close-on-exec mode.
17236 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17239 the very first instruction.
17241 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17242 the CFI state in the end.
17243 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17244 inclusion of dl-trampoline.h.
17245 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17247 2011-08-19 Andreas Schwab <schwab@redhat.com>
17249 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17250 expectations for long double.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17253 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17255 2011-08-14 David S. Miller <davem@davemloft.net>
17257 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17258 artificual limit depends upon the system page size.
17260 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17262 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17263 * resolv/Makefile: Define CFLAGS-libresolv.
17265 2011-08-17 Andreas Schwab <schwab@redhat.com>
17267 * nss/makedb.c (compute_tables): Make variables used in nested
17270 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17272 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17273 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17274 if buffer was too small.
17276 * elf/pldd.c (main): Attach to all threads in the process.
17277 Rewrite /proc handling to use *at functions.
17279 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17281 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17282 specifies first scope to show.
17283 (dl_open_worker): Update callers. Move printing scope of new
17284 object to before the relocation.
17285 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17286 * sysdeps/generic/ldsodefs.h: Update declaration.
17288 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17289 string for the scope number.
17291 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17293 * nscd/servicescache.c (cache_addserv): Make sure written is always
17296 2011-08-14 Roland McGrath <roland@hack.frob.com>
17298 * sysdeps/i386/i486/bits/atomic.h
17299 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17300 statement expression, so as to suppress "set but not used" warning.
17301 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17303 * string/strncat.c (STRNCAT): Use prototype definition.
17305 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17306 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17308 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17309 (localedef-modules): Add localedef.
17310 (locale-modules): Add locale.
17312 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17313 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17314 to avoid a warning.
17316 2011-08-14 David S. Miller <davem@davemloft.net>
17318 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17319 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17321 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17323 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17324 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17325 * elf/rtld.c (dl_main): Set l_name of vDSO.
17326 Call _dl_show_scope when DL_DEBUG_SCOPES.
17327 (process_dl_debug): Recognize scopes flag and also set it for all.
17328 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17329 Declare _dl_show_scope.
17331 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17332 (do_dlopen): Pass caller_dlopen to dl_open.
17333 (__libc_dlopen_mode): Initialize caller_dlopen.
17335 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17336 of libc. Make tolower call locale-independent. Optimize a bit by
17337 using isdigit instead of isalnum.
17338 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17340 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17342 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17343 was a dependency or dynamically loaded.
17345 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17347 * intl/l10nflist.c: Allow architecture-specific pop function.
17348 * sysdeps/x86_64/l10nflist.c: New file.
17350 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17353 2011-08-10 Andreas Schwab <schwab@redhat.com>
17355 * include/dirent.h: Add libc_hidden_proto for scandirat and
17356 scandirat64. Don't declare __scandirat64.
17357 * dirent/scandirat.c: Add libc_hidden_def.
17358 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17359 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17361 2011-08-10 David S. Miller <davem@davemloft.net>
17363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17369 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17371 * Versions.def [libc]: Add GLIBC_2.15.
17372 * dirent/Makefile (routines): Add scandirat and scandirat64.
17373 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17375 * dirent/dirent.h: Declare scandirat and scandirat64.
17376 * dirent/scandirat.c: New file.
17377 * dirent/scandirat64.c: New file.
17378 * sysdeps/wordsize-64/scandirat.c: New file.
17379 * sysdeps/wordsize-64/scandirat64.c: New file.
17380 * dirent/opendir.c: Define opendirat.
17381 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17383 * dirent/scandir64.c: Adjust for scandir.c change.
17384 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17385 __scandirat64, and __scandir_cancel_handler.
17386 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17387 additional parameter and use openat instead of open (outside of ld.so).
17388 Add new __opendir as wrapper around __opendirat.
17389 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17390 here without requiring old scandirat implementation.
17392 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17394 * dirent/scandir.c (cancel_handler): Renamed to
17395 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17396 defined. Adjust users.
17397 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17398 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17400 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17402 * string/test-string.h (IMPL): Use __STRING to expand name and then
17405 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17408 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17410 * string/Makefile: Update.
17411 (strop-tests): Append strncat.
17412 * string/test-wcscmp.c: New file.
17413 New comprehensive test for wcscmp.
17414 * string/test-strcmp.c: Update.
17415 (WIDE): New define.
17417 2011-07-22 Andreas Schwab <schwab@redhat.com>
17419 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17422 2011-07-26 Andreas Schwab <schwab@redhat.com>
17424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17425 encoding to ACE if AI_IDN.
17427 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17430 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17432 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17435 Fix overflow bug in strncat.
17436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17438 * string/test-strncat.c: Update.
17439 Add new tests for checking overflow bugs.
17441 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17444 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17445 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17446 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17447 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17448 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17449 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17450 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17451 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17454 (USE_AS_STRCAT): Define.
17455 Add strcat and strncat support.
17456 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17458 2011-07-25 Andreas Schwab <schwab@redhat.com>
17460 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17461 __n bigger than INT_MAX+1.
17462 (__strncmp_g): Likewise.
17464 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17466 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17467 * libio/stido.h: Likewise.
17469 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17474 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17481 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17486 (_dl_x86_64_save_sse): Likewise.
17488 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17492 (_dl_x86_64_save_sse): Likewise.
17494 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17496 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17498 2011-07-21 Andreas Schwab <schwab@redhat.com>
17500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17502 (_dl_x86_64_save_sse): Use correct AVX check.
17504 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17507 bug in strncpy/strncat.
17508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17510 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17512 * string/tester.c (test_strcat): Add tests for different alignments
17513 of source and destination.
17514 (test_strncat): Likewise.
17516 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17519 * posix/glob.c (glob): Check passed in values before using them in
17520 expressions to avoid some overflows.
17521 (glob_in_dir): Likewise.
17524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17525 check for AVX enablement so that we don't crash with old kernels and
17527 * elf/tst-audit4.c: Add same checks here.
17528 * elf/tst-audit6.c: Likewise.
17530 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17532 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17534 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17536 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17538 * po/cs.po: Update from translation team.
17539 * po/bg.po: Likewise.
17541 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17543 * misc/sys/cdefs.h: Add support for const attribute.
17544 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17545 to gnu_dev_{major,minor,makedev} functions.
17547 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17549 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17551 2011-07-20 Andreas Schwab <schwab@redhat.com>
17553 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17556 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17559 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17560 register in order to avoid conflicts with the soft frame pointer
17561 being held in r11 when necessary.
17562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17563 (INTERNAL_VSYSCALL_NCS): Likewise.
17565 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17567 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17568 * elf/dl-fini.c (_dl_fini): Adjust caller.
17569 * elf/dl-close.c (_dl_close_worker): Likewise.
17570 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17572 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17574 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17575 "aux_cache->nlibs < 0".
17577 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17578 in the reload-count case.
17580 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17583 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17584 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17585 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17586 * sysdeps/x86_64/multiarch/strcat.S: New file.
17587 * sysdeps/x86_64/multiarch/strncat.S: New file.
17588 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17590 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17591 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17593 (USE_AS_STRCAT): Define.
17594 Add strcat and strncat support.
17595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17597 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17598 * string/strncat.c: Update.
17599 (USE_AS_STRNCAT): Define.
17600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17601 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17603 * sysdeps/x86_64/multiarch/init-arch.h
17604 (bit_Prefer_PMINUB_for_stringop): New.
17605 (index_Prefer_PMINUB_for_stringop): Likewise.
17606 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17607 bit_Prefer_PMINUB_for_stringop.
17609 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17611 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17613 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17614 of casting of buffer.
17615 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17616 buffer32 and buffer64.
17617 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17618 writes instead of casting of buffer.
17619 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17621 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17624 2011-07-19 Andreas Schwab <schwab@redhat.com>
17626 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17628 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17630 * nscd/nscd.c (termination_handler): Don't do anything for a database
17631 if it has not yet been initialized.
17633 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17635 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17637 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17639 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17641 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17643 * po/nl.po: Update from translation team.
17644 * po/sv.po: Likewise.
17646 2011-07-16 Roland McGrath <roland@hack.frob.com>
17648 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17649 now disallowed by GCC.
17651 * configure.in (use-default-link): Default to yes if a test -shared
17652 link meets our qualifications.
17653 * configure: Regenerated.
17655 * config.make.in (output-format): New variable.
17656 * configure.in: Check for ld --print-output-format support.
17657 * configure: Regenerated.
17658 * Makerules ($(common-objpfx)format.lds)
17659 [$(output-format) != unknown]: Just use $(output-format),
17660 instead of the linker-script munging.
17662 2011-07-14 Roland McGrath <roland@hack.frob.com>
17664 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17665 of $(common-objpfx)shlib.lds.
17666 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17668 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17669 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17671 * configure.in (-z relro check): Adjust test code to add a large
17672 writable data section after it.
17673 * configure: Regenerated.
17675 2011-07-11 Roland McGrath <roland@hack.frob.com>
17677 * configure.in (-z relro check): Fix test code to make the variable
17679 * configure: Regenerated.
17681 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17683 * nscd/nscd.h (struct traced_file): Define.
17684 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17685 elements. Add traced_files.
17686 (inotify_fd): Declare.
17687 (register_traced_file): Declare.
17688 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17689 (inotify_fd): Export.
17690 (resolv_conf_descr): Remove.
17691 (nscd_init): Move inotify descriptor creation to main.
17692 Don't register files for notification here.
17693 (register_traced_file): New function.
17694 (invalidate_cache): Don't use reset_res to determine whether to call
17695 res_init, go through the list of registered files.
17696 (main_loop_poll): The inotify descriptors are now stored in the
17697 structures for the traced files.
17698 (main_loop_epoll): Likewise
17699 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17700 to __nss_disable_nscd.
17701 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17702 for a database anymore. Check the records for all the registered
17704 * nss/Makefile (libnss_files-routines): Add files-init.
17705 (libnss_db-routines): Add db-init.
17706 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17707 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17708 * nss/nss_db/db-init.c: New file.
17709 * nss/nss_files/files-init.c: New file.
17710 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17711 __nss_lookup_function.
17712 (__nss_lookup_function): Call nss_load_library.
17713 (nss_load_all_libraries): New function.
17714 (__nss_disable_nscd): Take parameter with callback function for files
17715 to register. Set is_nscd. Load all the DSOs for the NSS modules
17716 used for the cached services.
17717 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17718 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17719 options for features to all the files in nscd.
17721 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17723 2011-07-10 Roland McGrath <roland@hack.frob.com>
17725 * csu/elf-init.c (__libc_csu_init): Comment typo.
17727 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17729 * po/pl.po: Update from translation team.
17730 * po/ja.po: Likewise.
17731 * po/ru.po: Likewise.
17732 * po/ko.po: Likewise.
17733 * po/fr.po: Likewise.
17735 2011-07-09 Roland McGrath <roland@hack.frob.com>
17737 * configure.in (.ctors/.dtors header and trailer check):
17738 Use an empirical test on a built program.
17739 * configure: Regenerated.
17741 * configure.in (-z relro check): Use an empirical test on a built DSO.
17742 Detect, but do not require, on ia64.
17743 * configure: Regenerated.
17745 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17746 Update tests that use readelf to use $READELF instead.
17747 * configure: Regenerated.
17749 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17751 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17752 if the result is not used.
17754 2011-07-05 Andreas Jaeger <aj@suse.de>
17757 * stdlib/tst-strtod.c: Add testcase.
17759 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17761 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17762 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17763 The latter has a higher limit. Take additional parameter to pass to
17765 (__pathconf): Pass file to __statfs_link_max.
17766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17768 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17772 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17775 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17776 (__statfs_filesize_max): Likewise.
17777 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17779 2011-07-05 Andreas Jaeger <aj@suse.de>
17781 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17783 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17785 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17787 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17790 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17792 * Makefile (strop-tests): Add strncat.
17793 * string/test-strncat.c: New file.
17795 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17797 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17799 2011-06-21 Andreas Jaeger <aj@suse.de>
17801 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17802 Copy rule from iconvdata/Makefile.
17804 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17807 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17808 but no long options are defined, just return 'W'.
17810 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17813 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17815 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17817 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17819 (innetgr): Likewise.
17821 2011-07-05 Roland McGrath <roland@hack.frob.com>
17823 * config.make.in (install_root): Default to $(DESTDIR).
17825 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17829 2011-07-02 Roland McGrath <roland@hack.frob.com>
17831 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17833 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17834 containing directory rather than embedding absolute directory names.
17836 * scripts/check-local-headers.sh: Rewritten using awk.
17837 Match by word, not by line. Print error messages for matches.
17838 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17840 * Makerules [shlib-lds-flags empty]:
17841 ($(common-objpfx)libc_pic.opts): New target.
17842 ($(common-objpfx)libc_pic.os.clean): New target.
17843 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17845 * config.make.in (OBJCOPY): New variable.
17846 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17847 * configure: Regenerated.
17849 * config.make.in (use-default-link): New variable.
17850 * configure.in (use_default_link): Grok --with-default-link to set it.
17851 * configure: Regenerated.
17852 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17853 (shlib-lds, shlib-lds-flags): Define to empty.
17855 * Makerules (shlib-lds): New variable.
17856 (shlib-lds-flags): New variable.
17857 (build-shlib, build-moduile, build-module-asneeded): Use it.
17858 ($(common-objpfx)libc.so): Use $(shlib-lds).
17859 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17860 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17862 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17863 DT_FLAGS/DT_FLAGS_1 with zero flags.
17865 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17866 linker script munging.
17868 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17870 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17872 * crypt/sha512.c (sha512_process_block): Perform total addition using
17873 128-bit if possible.
17874 (__sha512_finish_ctx): Likewise.
17875 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17877 * crypt/sha256.c (SWAP64): Define.
17878 (sha256_process_block): Perform total addition using 64-bit if
17880 (__sha256_finish_ctx): Likewise.
17882 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17884 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17885 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17886 * nscd/hstcache.c (cache_addhst): Likewise.
17887 * nscd/grpcache.c (cache_addgr): Likewise.
17888 * nscd/aicache.c (addhstaiX): Likewise
17889 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17891 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17893 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17895 * nscd/hstcache.c (cache_addhst): Likewise.
17896 * nscd/grpcache.c (cache_addgr): Likewise.
17897 * nscd/aicache.c (addhstaiX): Likewise
17899 2011-07-01 Andreas Schwab <schwab@redhat.com>
17901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17902 domain only when needed.
17904 2011-06-30 Andreas Schwab <schwab@redhat.com>
17906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17907 is always restored.
17909 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17911 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17912 are re-adding the entry.
17913 * nscd/servicescache.c (cache_addserv): Likewise.
17915 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17917 * sysdeps/generic/dl-irel.h: fix protection against multiple
17919 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17921 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17924 * malloc/memusage.sh: Fix quoting in message.
17925 * debug/xtrace.sh: Likewise.
17927 * configure.in: Remove support for --experimental-malloc option, make
17929 * config.make.in: Likewise.
17930 * malloc/Makefile: Likewise.
17932 2011-06-27 Andreas Schwab <schwab@redhat.com>
17934 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17935 two-byte characters.
17937 2011-06-27 Roland McGrath <roland@hack.frob.com>
17939 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17940 AC_CACHE_CHECK invocation.
17941 * configure: Regenerated.
17943 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17945 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17948 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17949 bit from old_res_options.
17951 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17953 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17954 value type for setfct.
17956 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17959 __gettimeofday instead of gettimeofday.
17961 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17963 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17965 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17972 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17975 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17976 strcpy-sse2-unaligned strncpy-sse2-unaligned
17977 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17978 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17979 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17980 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17981 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17983 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17984 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17985 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17986 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17987 (STRCPY): Support SSE2 and SSSE3 versions.
17989 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17993 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17994 kernels which artificially limit size of requests.
17996 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17999 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18000 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18001 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18002 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18003 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18004 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18005 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18008 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18009 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18010 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18011 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18012 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18014 Enable unaligned load optimization for Intel Core i3, i5 and i7
18016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18018 (index_Fast_Unaligned_Load): Define.
18019 (HAS_FAST_UNALIGNED_LOAD): Define.
18021 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18023 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18025 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18029 until it is clear that the information is realy needed.
18030 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18032 2011-06-22 Andreas Schwab <schwab@redhat.com>
18034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18036 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18039 /sys/devices/system/cpu/online if it is usable.
18041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18042 reading the information from the /proc filesystem to once a second.
18044 2011-06-21 Andreas Jaeger <aj@suse.de>
18046 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18047 NULL after inclusion of kernel headers.
18049 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18051 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18052 calls to internal_setent.
18055 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18056 addresses using gethostbyname4_r ignore IPv4 addresses.
18058 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18059 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18061 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18063 2011-06-20 David S. Miller <davem@davemloft.net>
18065 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18067 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18069 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18070 (elf_irel): Use it.
18071 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18072 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18073 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18074 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18075 * sysdeps/x86_64/dl-irel.h: Likewise.
18077 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18078 * elf/dl-sym.c: Likewise.
18080 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18082 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18083 need to dereference resplen2.
18085 2011-06-14 Andreas Schwab <schwab@redhat.com>
18087 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18089 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18091 * Makeconfig: Define vardbdir and inst_vardbdir.
18092 * nss/Makefile: Add rules to install db-Makefile.
18094 * nss/nss_db/db-XXX.c: Cleanup.
18096 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18097 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18099 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18100 * nss/makedb.c: Implement -g option to specify that value strings
18101 are generated and should not be added to table iterated over for
18103 * nss/nss_db/db-initgroups.c: New file.
18105 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18108 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18109 (internal_getgrouplist): Adjust to name change.
18110 Update use_initgroups_entry if this is not the first call.
18111 * nss/databases.def: Add initgroups entry.
18113 * nss/makedb.c (compute_tables): Check result of multiple hash table
18114 sizes to minimize maximum chain length.
18116 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18118 * Versions.def: Add entry for libnss_db.
18119 * shlib-versions: Likewise.
18120 * nss/Makefile: Add rules to build libnss_db.
18121 * nss/Versions: Add libnss_db information. Organize libnss_files
18123 * nss/db-Makefile: Add gshadow support. Change rules for the new
18124 makedb progra. Some minor improvements to generate smaller files.
18125 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18127 * nss/makedb.c: ...here.
18128 Improve database format to be smaller and require less memory at
18130 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18132 * nss/nss_db/db-netgrp.c: Likewise.
18133 * nss/nss_db/db-open.c: Likewise.
18134 * nss/nss_files/flies-XXX.x: Adjust comments.
18135 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18136 * nss/nss_files/files-grp.c: Likewise.
18137 * nss/nss_files/files-hosts.c: Likewise.
18138 * nss/nss_files/files-network.c: Likewise.
18139 * nss/nss_files/files-proto.c: Likewise.
18140 * nss/nss_files/files-pwd.c: Likewise.
18141 * nss/nss_files/files-rpc.c: Likewise.
18142 * nss/nss_files/files-service.c: Likewise.
18143 * nss/nss_files/files-sgrp.c: Likewise.
18144 * nss/nss_files/files-spwd.c: Likewise.
18145 * nss/nss_db/db-alias.c: Removed.
18146 * nss/nss_db/dummy-db.h: Removed.
18148 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18150 * nss/makedb.c: Rewritten to not use database library.
18151 * nss/Makefile: Update to build new makedb program.
18153 2011-06-14 Andreas Jaeger <aj@suse.de>
18155 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18156 memset declaration.
18158 2011-06-10 Andreas Schwab <schwab@redhat.com>
18160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18163 2011-06-10 Roland McGrath <roland@hack.frob.com>
18165 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18166 * elf/Makefile ($(objpfx)ld.so): Likewise.
18168 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18169 Don't list ld.so twice in dependencies.
18171 * posix/bug-regex31.c: Include <stdlib.h>.
18173 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18175 * nis/nss_compat/compat-spwd.c
18176 (getspent_next_nss_netgr): Remove unused variable.
18177 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18179 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18180 nonmembers" output to use the right array.
18182 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18184 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18186 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18187 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18188 * catgets/gencat.c (read_input_file): Likewise.
18189 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18191 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18192 variable definition inside #if's controlling its use.
18194 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18196 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18198 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18200 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18203 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18205 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18206 * configure: Regenerated.
18208 * Makerules: Revert last change.
18209 * elf/Makefile: Likewise.
18211 2011-06-09 Roland McGrath <roland@hack.frob.com>
18213 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18214 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18215 (reloc-link): Likewise.
18217 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18219 * elf/Makefile: Add rules to build pldd.
18220 * elf/pldd.c: New file.
18221 * elf/pldd-xx.c: New file.
18223 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18225 * version.h: Update for 2.15 development version.
18227 2011-06-07 David S. Miller <davem@davemloft.net>
18229 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18232 elf_machine_lazy_rel): Likewise.
18233 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18235 elf_machine_lazy_rel): Likewise.
18236 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18237 dl_hwcap via passed in argument.
18238 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18241 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18243 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18245 2011-06-06 Roland McGrath <roland@hack.frob.com>
18248 * manual/fdl-1.1.texi: New file, verbatim from:
18249 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18250 * manual/lgpl-2.1.texi: New file, verbatim from:
18251 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18252 * manual/Makefile (licenses): New variable, list those new file names.
18254 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18256 * manual/fdl.texi: File removed.
18257 * manual/lesser.texi: File removed.
18258 * manual/libc.texinfo (Copying, Documentation License):
18259 Use new @include file names, put @appendix directive before @include.
18261 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18264 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18265 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18266 (mq_open): Add __NTH.
18268 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18271 Assume Intel Core i3/i5/i7 processor if AVX is available.
18273 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18278 2011-05-31 Andreas Schwab <schwab@redhat.com>
18280 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18281 memory. Use alloca_account. Fix memory leak when retrying.
18283 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18285 * version.h (RELEASE): Bump for 2.14 release.
18286 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18288 * config.make.in (RANLIB): Remove entry.
18290 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18292 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18293 (libc.pot): Work around missing support for .ksh extension in xgettext.
18296 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18297 if both request failed.
18298 (send_dg): In case of server errors clear resplen or *resplen2.
18301 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18302 when there are multiple maps.
18303 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18304 (_dl_fini): Remove test here.
18306 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18308 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18311 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18312 bit from old_res_options.
18313 (gaih_inet): Likewise.
18316 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18319 * resolv/res_init.c (res_setoptions): Make the code more compact.
18322 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18326 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18328 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18331 * malloc/malloc.h: Declare malloc hook variables as volatile.
18333 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18337 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18338 raise in the comment.
18339 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18341 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18343 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18346 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18347 grow the buffers more if it already has to be sufficient.
18348 (build_wcs_upper_buffer): Likewise.
18349 * posix/regexec.c (check_matching): Likewise.
18350 (clean_state_log_if_needed): Likewise.
18351 (extend_buffers): Don't enlarge buffers beyond size of the input
18353 Patches mostly by Emil Wojak <emil@wojak.eu>.
18354 * posix/bug-regex32.c: New file.
18355 * posix/Makefile (tests): Add bug-regex32.
18357 * locale/findlocale.c (_nl_find_locale): Return right away if
18358 _nl_explode_name failed.
18359 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18361 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18363 * debug/xtrace.sh: Unify messages.
18364 * malloc/memusage.sh: Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18368 time symbol from vDSO. Substitute with vsyscall if not available.
18369 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18372 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18373 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18374 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18375 Add sendmmsg and internal_sendmmsg.
18376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18377 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18378 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18380 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18381 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18384 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18387 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18388 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18390 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18394 * iconvdata/Makefile (tests): Add bug-iconv9.
18395 * iconvdata/bug-iconv9.c: New file.
18397 2011-05-27 Andreas Schwab <schwab@redhat.com>
18400 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18402 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18404 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18405 (struct user_regs_struct): Change intcs field back to cs.
18407 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18409 * po/ja.po: Update from translation team.
18411 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18414 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18415 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18417 2011-05-20 Andreas Schwab <schwab@redhat.com>
18419 * stdlib/longlong.h: Update from GCC.
18421 2011-05-23 Andreas Schwab <schwab@redhat.com>
18423 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18425 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18426 Add parameter name.
18427 (__sysconf): Pass it down.
18429 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18432 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18434 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18435 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18436 add in in __libc_use_alloca calls. Adjust callers.
18437 (glob): Use malloc in some situations.
18439 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18440 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18443 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18445 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18446 and CLOCK_BOOTTIME_ALARM.
18449 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18452 * string/_strerror.c (__strerror_r): Print negative errors as signed
18456 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18457 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18458 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18460 * configure.in: Fix typo in redirection and correct removal of test
18461 files in two cases.
18464 * locale/setlocale.c (new_composite_name): Fix test to check for
18465 identical name of all categories.
18468 * libio/filedoalloc.c (local_isatty): New function.
18469 (_IO_file_doallocate): Use local_isatty.
18470 * stdio-common/perror.c (perror): In case a new stream is used
18471 forward the stream error.
18472 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18475 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18480 * include/alloca.h (extend_alloca_account): Define.
18483 * posix/regex.h: Fix comments with documentation of user-accessible
18484 fields after compilation and describe correct free'ing of pattern
18485 after re_compile_pattern.
18486 Patch by Reuben Thomas <rrt@sc3d.org>.
18488 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18490 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18491 and -mno-altivec to prevent the compiler from using Altivec and/or
18492 VSX instructions when the corresponding registers are not available.
18494 2011-05-19 Andreas Schwab <schwab@redhat.com>
18496 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18498 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18500 * libio/freopen.c (freopen): Use __dup2, not dup2.
18501 * libio/freopen64.c (freopen64): Likewise.
18503 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18506 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18507 * math/Makefile (tests): Add test-powl.
18508 (CFLAGS-test-powl.c): Define.
18509 * math/test-powl.c: New file.
18511 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18513 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18515 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18518 * iconvdata/gb18030.c: Update to GB18020-2005.
18520 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18522 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18523 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18524 Patch by Aharon Robbins <arnold@skeeve.com>.
18527 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18531 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18532 through underflows.
18535 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18536 point to strings before performing equality test for error_one_per_line
18540 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18544 (struct user_fpregs_struct): Avoid __uint*_t types.
18547 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18548 symbol info. Use it instead of calling _dl_addr locally.
18549 (lock_and_info): New function.
18550 (tr_freehook): Call lock_and_info and pass symbol info as additional
18551 parameter to tr_where.
18552 (tr_mallochook): Likewise.
18553 (tr_reallochook): Likewise.
18554 (tr_memalignhook): Likewise.
18556 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18557 used and couldn't be at all thread-safe.
18559 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18561 * libio/freopen.c (freopen): Don't close old file descriptor
18562 before the new one is opened. Instead dup the new file descriptor
18563 to the old one after the new stream is created.
18564 * libio/freopen64.c (freopen64): Likewise.
18565 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18566 * libio/fileops.c (_IO_new_file_close_it): Handle new
18567 _IO_FLAGS2_NOCLOSE flag.
18568 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18569 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18570 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18571 _IO_FLAGS2_NOCLOSE flag.
18572 * include/unistd.h: Add hidden_proto for dup3.
18573 Define __have_dup3.
18574 * io/dup3.c: Define hidden symbol.
18575 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18578 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18579 when an incomplete long option is used.
18580 * posix/tst-getopt_long1.c: New file.
18581 * posix/Makefile (tests): Add tst-getopt_long1.
18584 * scripts/config.guess: Update from autoconf-2.68.
18585 * scripts/config.sub: Likewise.
18588 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18590 (has_cpuclock): ...this. New function.
18591 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18592 macro here based on has_cpuclock code.
18595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18596 First byte (not low byte) is now always NUL.
18597 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18600 Use non-cancelable interfaces.
18603 * locale/iso-639.def: Add entry for Sorani.
18606 * include/stdlib.h: Move include protection to the right place.
18607 Define abort_msg_s. Declare __abort_msg with it.
18608 * stdlib/abort.c (__abort_msg): Adjust type.
18609 * assert/assert.c (__assert_fail_base): New function. Majority
18610 of code from __assert_fail. Allocate memory for __abort_msg with
18612 (__assert_fail): Now call __assert_fail_base.
18613 * assert/assert-perr.c: Remove bulk of implementation. Use
18614 __assert_fail_base.
18615 * include/assert.hL Declare __assert_fail_base.
18616 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18618 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18620 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18624 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18625 until all modules are registered in the DTV.
18626 * elf/Makefile: Add rules to build and run tst-tls19.
18627 * elf/tst-tls19.c: New file.
18628 * elf/tst-tls19mod1.c: New file.
18629 * elf/tst-tls19mod2.c: New file.
18630 * elf/tst-tls19mod3.c: New file.
18631 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18634 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18638 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18639 two-byte sequence errors.
18640 * iconvdata/Makefile (tests): Add bug-iconv8.
18641 * iconvdata/bug-iconv8.c: New file.
18644 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18647 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18650 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18651 (dummy_getcfa): New function.
18652 (init): Get _Unwind_GetCFA address, use dummy if not found.
18653 (backtrace_helper): In recursion check, also check whether CFA changes.
18654 (__backtrace): Completely initialize arg.
18656 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18657 storing incomplete byte sequence in state object. Avoid testing for
18658 guaranteed too small input if we know there is enough data available.
18660 2011-05-11 Andreas Schwab <schwab@redhat.com>
18662 * Makeconfig (+link-pie): Indent.
18663 * Rules (binaries-pie): Define if $(have-fpie) and
18665 (binaries-shared): Also filter out $(binaries-pie).
18666 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18667 * nscd/Makefile (others-pie): Add nscd.
18668 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18669 ($(objpfx)nscd): Remove command override.
18670 * login/Makefile (others-pie): Add pt_chown.
18671 ($(objpfx)pt_chown): Remove command override.
18672 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18673 remove command overrides.
18675 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18677 * libio/tst_putwc.c: Fix error messages.
18680 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18681 currently writing and seek to current position when not.
18682 * libio/Makefile (tests): Add bug-fclose1.
18683 * libio/bug-fclose1.c: New file.
18685 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18688 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18689 don't set DF_1_NODELETE here.
18690 (do_lookup_x): When entering new entry test for copy relocation
18691 and if necessary set DF_1_NODELETE flag.
18692 * elf/tst-unique4.cc: New file.
18693 * elf/tst-unique4.h: New file.
18694 * elf/tst-unique4lib.cc: New file.
18695 * elf/Makefile: Add rules to build and run tst-unique4.
18696 Patch by Piotr Bury <pbury@goahead.com>.
18698 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18701 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18704 * misc/mntent_r.c (addmntent): Flush the stream after the output
18707 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18708 (is_trusted_path_normalize): Skip initial colon. Append slash
18709 to empty buffer. Duplicate is_trusted_path code but allow
18710 constructed patch to be prefix.
18711 (is_dst): Allow $ORIGIN followed by /.
18712 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18713 Correct testing of result of is_trusted_path_normalize
18714 (decompose_rpath): Fix warning.
18716 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18719 * grp/initgroups.c (internal_getgrouplist): When we found the service
18720 list through the initgroups entry in nsswitch.conf do not always
18721 continue on a successful lookup. Don't always use the
18722 __nss_group_database value if it is set.
18723 * nss/nsswitch.conf (initgroups): Change action for successful db
18724 lookup to continue for compatibility.
18726 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18729 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18731 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18733 * iconvdata/tst-tables.sh: Likewise.
18734 * iconvdata/cp770.c: New file.
18735 * iconvdata/cp771.c: New file.
18736 * iconvdata/cp772.c: New file.
18737 * iconvdata/cp773.c: New file.
18738 * iconvdata/cp774.c: New file.
18739 * iconvdata/testdata/CP770: New file.
18740 * iconvdata/testdata/CP770..UTF8: New file.
18741 * iconvdata/testdata/CP771: New file.
18742 * iconvdata/testdata/CP771..UTF8: New file.
18743 * iconvdata/testdata/CP772: New file.
18744 * iconvdata/testdata/CP772..UTF8: New file.
18745 * iconvdata/testdata/CP773: New file.
18746 * iconvdata/testdata/CP773..UTF8: New file.
18747 * iconvdata/testdata/CP774: New file.
18748 * iconvdata/testdata/CP774..UTF8: New file.
18750 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18752 * iconvdata/gen-8bit-gap.sh: Likewise.
18753 * iconvdata/gen-8bit.sh: Likewise.
18755 * locale/iso-639.def: Add ary entry.
18758 * locale/C-translit.h.in: Add U20A1 transliteration.
18761 * locale/iso-639.def: Add wae entry.
18762 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18765 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18769 * locale/C-translit.h.in: Add entry for U20B9.
18770 Patch by pravin.d.s@gmail.com.
18772 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18775 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18776 ENAMETOOLONG use generic getcwd.
18777 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18778 in rtld. Use *stat64.
18779 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18780 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18781 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18782 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18783 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18784 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18785 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18786 __fstatat64 macros.
18787 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18788 * dirent/rewinddir.c: Add libc_hidden_def.
18789 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18790 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18792 * include/dirent.h (__alloc_dir): Add flags parameter.
18793 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18794 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18796 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18797 from fdopendir if O_CLOEXEC is already set.
18799 2011-03-15 Alan Modra <amodra@gmail.com>
18801 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18802 l_tls_firstbyte_offset non-zero. Save padding offset in
18803 l_tls_firstbyte_offset for later use.
18804 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18805 freeing static tls block.
18807 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18809 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18810 where #ifdef was intended. The intent is to prevent ARG_MAX from
18811 being defined by the kernel headers.
18813 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18816 * resolv/resolv.h: Define RES_NOTLDQUERY.
18817 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18818 no-tld-query and set RES_NOTLDQUERY.
18819 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18820 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18821 modern BIND to search name as TLD unless forbidden.
18823 2011-05-07 Petr Baudis <pasky@suse.cz>
18824 Ulrich Drepper <drepper@gmail.com>
18827 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18828 (is_trusted_path): ...to here.
18829 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18830 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18831 using is_trusted_path_normalize() in setuid scripts.
18833 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18835 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18836 __BEGIN/__END_DECLS.
18838 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18841 NSS_STATUS_NOTFOUND if no record was found.
18843 2011-05-05 Andreas Schwab <schwab@redhat.com>
18845 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18846 (headers-not-in-tirpc): Remove rpc/netdb.h
18847 * resolv/netdb.h: Revert last change.
18849 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18851 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18852 circular dependency between libgcc.a and libc.a.
18854 2011-05-05 Andreas Schwab <schwab@redhat.com>
18856 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18857 * nis/Makefile: Don't install rpcsvc/*.
18858 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18859 instead of <rpc/types.h>.
18860 (MAXHOSTNAMELEN): Define.
18862 2011-05-03 Andreas Schwab <schwab@redhat.com>
18864 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18866 2011-04-28 Maciej Babinski <mbabinski@google.com>
18869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18870 gethostbyname4_r when IPv6 results are possible.
18872 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18875 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18876 _PC_PIPE_BUF handling.
18878 2011-04-30 Bruno Haible <bruno@clisp.org>
18881 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18882 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18884 * inet/getnameinfo.c (getnameinfo): Likewise.
18886 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18888 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18889 to groups setting in database lookup.
18890 * nss/nsswitch.conf: Add initgroups entry.
18892 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18895 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18897 Patch by Eric Blake <eblake@redhat.com>.
18899 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18901 * sunrpc/Makefile (need-export-routines): Add svc_run.
18902 (routines): Remove svc_run.
18903 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18904 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18905 * sunrpc/svc_run.c (svc_run): Likewise.
18906 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18908 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18911 problem in reallocation in last patch.
18913 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18915 * sunrpc/Makefile: Move inclusion of Rules.
18917 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18919 * nss/nss_files/files-initgroups.c: New file.
18920 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18921 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18922 _nss_files_initgroups_dyn.
18924 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18926 * elf/elf.h (R_ARM_IRELATIVE): Define.
18928 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18930 * po/ru.po: Update from translation team.
18932 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18934 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18937 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18940 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18941 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18946 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18948 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18950 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18954 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18957 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18959 * stdlib/bug-getcontext.c: New file.
18960 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18962 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18964 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18965 instructions into .machine "z9-109".
18966 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18967 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18969 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18971 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18972 between environment variables and auxiliary vector.
18974 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18976 * Makefile: Add rules to build linkobj/libc.so.
18977 * include/libc-symbols.h: Define libc_hidden_nolink.
18978 * include/rpc/auth.h: Mark functions which are to be hidden.
18979 * include/rpc/auth_des.h: Likewise.
18980 * include/rpc/auth_unix.h: Likewise.
18981 * include/rpc/clnt.h: Likewise.
18982 * include/rpc/des_crypt.h: Likewise.
18983 * include/rpc/key_prot.h: Likewise.
18984 * include/rpc/pmap_clnt.h: Likewise.
18985 * include/rpc/pmap_prot.h: Likewise.
18986 * include/rpc/pmap_rmt.h: Likewise.
18987 * include/rpc/rpc_msg.h: Likewise.
18988 * include/rpc/svc.h: Likewise.
18989 * include/rpc/svc_auth.h: Likewise.
18990 * include/rpc/xdr.h: Likewise.
18991 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18992 * nss/Makefile: Likewise.
18993 * sunrpc/Makefile: Don't install headers. Build library with normal
18994 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18995 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18996 for the compat linking library. Remove use of INTDEF/INTUSE.
18997 * sunrpc/auth_none.c: Likewise.
18998 * sunrpc/auth_unix.c: Likewise.
18999 * sunrpc/authdes_prot.c: Likewise.
19000 * sunrpc/authuxprot.c: Likewise.
19001 * sunrpc/clnt_gen.c: Likewise.
19002 * sunrpc/clnt_perr.c: Likewise.
19003 * sunrpc/clnt_raw.c: Likewise.
19004 * sunrpc/clnt_simp.c: Likewise.
19005 * sunrpc/clnt_tcp.c: Likewise.
19006 * sunrpc/clnt_udp.c: Likewise.
19007 * sunrpc/clnt_unix.c: Likewise.
19008 * sunrpc/des_crypt.c: Likewise.
19009 * sunrpc/des_soft.c: Likewise.
19010 * sunrpc/get_myaddr.c: Likewise.
19011 * sunrpc/key_call.c: Likewise.
19012 * sunrpc/key_prot.c: Likewise.
19013 * sunrpc/netname.c: Likewise.
19014 * sunrpc/pm_getmaps.c: Likewise.
19015 * sunrpc/pm_getport.c: Likewise.
19016 * sunrpc/pmap_clnt.c: Likewise.
19017 * sunrpc/pmap_prot.c: Likewise.
19018 * sunrpc/pmap_prot2.c: Likewise.
19019 * sunrpc/pmap_rmt.c: Likewise.
19020 * sunrpc/publickey.c: Likewise.
19021 * sunrpc/rpc_cmsg.c: Likewise.
19022 * sunrpc/rpc_common.c: Likewise.
19023 * sunrpc/rpc_dtable.c: Likewise.
19024 * sunrpc/rpc_prot.c: Likewise.
19025 * sunrpc/rpc_thread.c: Likewise.
19026 * sunrpc/rtime.c: Likewise.
19027 * sunrpc/svc.c: Likewise.
19028 * sunrpc/svc_auth.c: Likewise.
19029 * sunrpc/svc_authux.c: Likewise.
19030 * sunrpc/svc_raw.c: Likewise.
19031 * sunrpc/svc_run.c: Likewise.
19032 * sunrpc/svc_simple.c: Likewise.
19033 * sunrpc/svc_tcp.c: Likewise.
19034 * sunrpc/svc_udp.c: Likewise.
19035 * sunrpc/svc_unix.c: Likewise.
19036 * sunrpc/svcauth_des.c: Likewise.
19037 * sunrpc/xcrypt.c: Likewise.
19038 * sunrpc/xdr.c: Likewise.
19039 * sunrpc/xdr_array.c: Likewise.
19040 * sunrpc/xdr_float.c: Likewise.
19041 * sunrpc/xdr_intXX_t.c: Likewise.
19042 * sunrpc/xdr_mem.c: Likewise.
19043 * sunrpc/xdr_rec.c: Likewise.
19044 * sunrpc/xdr_ref.c: Likewise.
19045 * sunrpc/xdr_sizeof.c: Likewise.
19046 * sunrpc/xdr_stdio.c: Likewise.
19048 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19051 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19052 * sysdeps/ia64/dl-tls.h: Likewise.
19053 * sysdeps/powerpc/dl-tls.h: Likewise.
19054 * sysdeps/s390/dl-tls.h: Likewise.
19055 * sysdeps/sh/dl-tls.h: Likewise.
19056 * sysdeps/sparc/dl-tls.h: Likewise.
19057 * sysdeps/x86_64/dl-tls.h: Likewise.
19058 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19060 2011-03-14 Andreas Schwab <schwab@redhat.com>
19062 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19063 rpath element also skip the following colon.
19064 (expand_dynamic_string_token): Add is_path parameter and pass
19065 down to DL_DST_REQUIRED and _dl_dst_substitute.
19066 (decompose_rpath): Call expand_dynamic_string_token with
19067 non-zero is_path. Ignore empty rpaths.
19068 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19071 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19076 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19079 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19080 Patch by Filipe David Manana <fdmanana@apache.org>.
19082 2011-04-07 Andreas Schwab <schwab@redhat.com>
19084 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19085 Maintain aligned stack.
19086 (CHECK_RSP): Remove unused macro.
19088 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19090 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19093 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19095 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19097 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19099 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19102 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19103 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19104 * sysdeps/x86_64/memmove.c: New file.
19105 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19106 (memcpy): Renamed to ...
19107 (__new_memcpy): This.
19108 (memcpy): Provide GLIBC_2_14 memcpy.
19109 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19110 (memcpy): Provide GLIBC_2_2_5 memcpy.
19112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19115 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19117 2011-03-30 Andreas Schwab <schwab@redhat.com>
19119 * misc/syncfs.c: New file.
19120 * misc/Makefile (routines): Add syncfs.
19121 * posix/unistd.h: Declare syncfs.
19122 * sysdeps/unix/syscalls.list: Add syncfs.
19124 2011-04-01 Andreas Schwab <schwab@redhat.com>
19126 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19129 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19133 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19136 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19140 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19146 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19147 sync_file_range.c with -fexceptions.
19148 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19149 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19150 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19151 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19152 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19153 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19155 sync_file_range as cancellation point
19156 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19157 now a wrapper around __call_sync_file_range with cancellation handling.
19158 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19160 function name to __call_sync_file_range.
19161 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19162 Add call_sync_file_range.
19164 2011-04-01 Andreas Schwab <schwab@redhat.com>
19166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19169 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19171 * iconv/iconv.h: Fix typo in comment.
19172 * io/fcntl.h: Likewise.
19173 * libio/stdio.h: Likewise.
19174 * posix/spawn.h: Likewise.
19175 * posix/unistd.h: Likewise.
19176 * stdlib/stdlib.h: Likewise.
19177 * time/time.h: Likewise.
19178 * wcsmbs/wchar.h: Likewise.
19180 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19181 open_by_handle): Add.
19182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19183 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19184 Augment a few comments.
19185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19190 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19193 * io/fcntl.h (AT_EMPTY_PATH): Define.
19195 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19197 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19198 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19199 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19201 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19202 * Versions.def: Add GLIBC_2.14.
19203 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19206 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19210 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19212 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19215 * string/test-strncmp.c (do_page_test): New function.
19216 (check2): Likewise.
19217 (test_main): Call check2.
19218 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19220 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19224 Handle cache information in CPU leaf 4.
19225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19227 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19230 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19231 character representation.
19232 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19234 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19236 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19237 END(__isnan) to END(__isnanf) to match function entry point/label
19238 EALIGN(__isnanf,...).
19240 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19242 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19244 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19247 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19248 copy from the symbol referenced in the relocation to initialize the
19250 Patch by Piotr Bury <pbury@goahead.com>.
19251 * elf/Makefile: Add rules to build and tst-unique3.
19252 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19253 * elf/tst-unique3.cc: New file.
19254 * elf/tst-unique3.h: New file.
19255 * elf/tst-unique3lib.cc: New file.
19256 * elf/tst-unique3lib2.cc: New file.
19258 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19260 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19262 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19263 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19266 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19268 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19269 to-be-loaded object along a path to loader is ld.so.
19271 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19272 Ulrich Drepper <drepper@gmail.com>
19274 * sysdeps/x86_64/memset.S: After aligning destination, code
19275 branches to different locations depending on the value of
19276 misalignment, when multiarch is enabled. Fix this.
19278 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19280 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19281 Set _x86_64_preferred_memory_instruction for AMD processsors.
19282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19283 Set bit_Prefer_SSE_for_memop for AMD processors.
19285 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19287 * libio/fmemopen.c (fmemopen): Optimize a bit.
19289 2011-03-03 Andreas Schwab <schwab@redhat.com>
19291 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19293 2011-03-03 Roland McGrath <roland@redhat.com>
19295 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19297 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19299 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19300 __bzero_ultra1 instead of __memset_ultra1.
19302 2011-02-23 Andreas Schwab <schwab@redhat.com>
19303 Ulrich Drepper <drepper@gmail.com>
19306 * include/link.h (struct link_map): Add l_orig_initfini.
19307 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19308 returning unsuccessfully.
19309 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19310 close of a file loaded at startup, restore the original l_initfini
19312 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19313 list, store the pointer.
19314 * elf/Makefile ($(objpfx)noload-mem): New rule.
19315 (noload-ENV): Define.
19316 (tests): Add $(objpfx)noload-mem.
19317 * elf/noload.c: Include <memcheck.h>.
19318 (main): Call mtrace. Close all opened handles.
19320 2011-02-17 Andreas Schwab <schwab@redhat.com>
19323 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19324 dependencies are missing.
19326 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19328 Fix __if_freereq crash: Unlike the generic version which uses free,
19330 * sysdeps/mach/hurd/ifreq.h: New file.
19332 2011-01-27 Petr Baudis <pasky@suse.cz>
19333 Ulrich Drepper <drepper@gmail.com>
19336 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19337 to extend_alloca().
19338 * stdio-common/bug23.c: New file.
19339 * stdio-common/Makefile (tests): Add bug23.
19341 2010-09-28 Andreas Schwab <schwab@redhat.com>
19342 Ulrich Drepper <drepper@gmail.com>
19345 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19346 before performing relro protection. At old place add assertion
19347 to make sure nothing changed.
19349 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19350 Glauber de Oliveira Costa <glommer@gmail.com>
19352 * elf/elf.h: Add new ARM TLS relocs.
19354 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19357 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19359 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19361 * sysdeps/wordsize-64/tst-writev.c: New file.
19363 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19365 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19366 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19367 insns in _dl_start to prevent a TOC reference before relocs are
19370 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19373 * Makeconfig: Remove RANLIB definition.
19374 * Makerules: Don't use RANLIB.
19375 * aclocal.m4: Remove ranlib test.
19376 * configure.in: No need to check for ranlib.
19377 * elf/rtld-Rules: Don't use RANLIB.
19379 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19381 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19383 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19384 inclusion protection macro.
19386 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19387 SIGRTMIN and SIGRTMAX and print information in that case only when
19388 SIGRTMIN is defined.
19390 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19392 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19393 arginfo fn returning -1.
19395 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19396 and thousands string is zero terminated.
19398 2011-02-03 Andreas Schwab <schwab@redhat.com>
19400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19401 sysdeps/unix/sysv/linux/bits/socket.h.
19403 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19405 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19406 (__CPU_COUNT): Remove old macros.
19407 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19408 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19409 (__CPU_ALLOC, __CPU_FREE): Add macros.
19410 (__sched_cpualloc, __sched_cpufree): Add declarations.
19412 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19414 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19415 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19416 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19417 (readdhstai): Return value of addhstaiX call.
19418 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19419 (addgrbyX): Return value returned by cache_addgr.
19420 (readdgrbyname): Return value returned by addgrbyX.
19421 (readdgrbygid): Likewise.
19422 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19423 (addpwbyX): Return value returned by cache_addpw.
19424 (readdpwbyname): Return value returned by addhstbyX.
19425 (readdpwbyuid): Likewise.
19426 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19427 (addservbyX): Return value returned by cache_addserv.
19428 (readdservbyname): Return value returned by addservbyX:
19429 (readdservbyport): Likewise.
19430 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19431 (addhstbyX): Return value returned by cache_addhst.
19432 (readdhstbyname): Return value returned by addhstbyX.
19433 (readdhstbyaddr): Likewise.
19434 (readdhstbynamev6): Likewise.
19435 (readdhstbyaddrv6): Likewise.
19436 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19437 (readdinitgroups): Return value returned by addinitgroupsX.
19438 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19439 (prune_cache): Keep track of timeout value of re-added entries.
19440 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19441 * nscd/nscd.h: Adjust prototypes of readd* functions.
19443 2011-02-04 Roland McGrath <roland@redhat.com>
19445 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19446 (nis_stats): Likewise.
19447 * nis/nis_modify.c (nis_modify): Likewise.
19448 * nis/nis_remove.c (nis_remove): Likewise.
19449 * nis/nis_add.c (nis_add): Likewise.
19451 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19453 * posix/fnmatch_loop.c: Add some consts.
19455 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19457 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19460 * config.make.in (config-cflags-novzeroupper): Define.
19461 * configure.in: Substitute libc_cv_cc_novzeroupper.
19462 * elf/Makefile (AVX-CFLAGS): Define.
19463 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19464 (CFLAGS-tst-auditmod4a.c): Likewise.
19465 (CFLAGS-tst-auditmod4b.c): Likewise.
19466 (CFLAGS-tst-auditmod6b.c): Likewise.
19467 (CFLAGS-tst-auditmod6c.c): Likewise.
19468 (CFLAGS-tst-auditmod7b.c): Likewise.
19469 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19471 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19473 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19474 function to the callback.
19475 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19477 2011-02-02 Andreas Schwab <schwab@redhat.com>
19479 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19482 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19485 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19487 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19489 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19492 * elf/Makefile: Add rules to build and run new test.
19493 * elf/tst-initorder.c: New file.
19494 * elf/tst-initorder.exp: New file.
19495 * elf/tst-initordera1.c: New file.
19496 * elf/tst-initordera2.c: New file.
19497 * elf/tst-initordera3.c: New file.
19498 * elf/tst-initordera4.c: New file.
19499 * elf/tst-initorderb1.c: New file.
19500 * elf/tst-initorderb2.c: New file.
19501 * elf/tst-order-a1.c: New file.
19502 * elf/tst-order-a2.c: New file.
19503 * elf/tst-order-a3.c: New file.
19504 * elf/tst-order-a4.c: New file.
19505 * elf/tst-order-b1.c: New file.
19506 * elf/tst-order-b2.c: New file.
19507 * elf/tst-order-main.c: New file.
19508 New test case by George Gensure <werkt0@gmail.com>.
19510 2010-10-01 Andreas Schwab <schwab@redhat.com>
19512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19513 decoding ACE if AI_CANONIDN.
19515 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19517 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19519 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19521 * version.h (RELEASE): Bump for 2.13 release.
19522 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19524 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19528 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19530 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19531 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19535 * posix/getconf.c: Update copyright year.
19536 * catgets/gencat.c: Likewise.
19537 * csu/version.c: Likewise.
19538 * debug/catchsegv.sh: Likewise.
19539 * debug/xtrace.sh: Likewise.
19540 * elf/ldconfig.c: Likewise.
19541 * elf/ldd.bash.in: Likewise.
19542 * elf/sprof.c (print_version): Likewise.
19543 * iconv/iconv_prog.c: Likewise.
19544 * iconv/iconvconfig.c: Likewise.
19545 * locale/programs/locale.c: Likewise.
19546 * locale/programs/localedef.c: Likewise.
19547 * malloc/memusage.sh: Likewise.
19548 * malloc/mtrace.pl: Likewise.
19549 * nscd/nscd.c (print_version): Likewise.
19550 * nss/getent.c: Likewise.
19552 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19553 PF_CAIF, and PF_ALG.
19554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19556 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19558 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19559 (modules-names): Use them.
19560 (ifunc-test-modules, ifunc-pie-tests): Define.
19561 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19562 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19563 (test-extras): Likewise.
19564 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19565 $(compile-command.c).
19566 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19567 (all-built-dso): Define.
19568 (check-textrel.out, check-execstack.out): Depend on it.
19570 * configure.in: Don't override --enable-multi-arch.
19572 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19575 * nscd/hstcache.c (tryagain): Define.
19576 (cache_addhst): Return tryagain not notfound for temporary errors.
19577 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19580 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19584 to make the syscall.
19585 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19588 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19589 and fall back to matching as normal character if the string ends before
19590 the matching ']' is found. This is what POSIX requires.
19591 * posix/testfnm.c: Adjust test result.
19592 * posix/globtest.sh: Adjust test result. Add new test.
19593 * posix/tst-fnmatch.input: Likewise.
19594 * posix/tst-fnmatch2.c: Add new test.
19596 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19598 * elf/Makefile (check-execstack): Revert last change. Depend on
19600 (check-execstack.h): New target.
19601 (generated): Add check-execstack.h.
19602 * elf/check-execstack.c: Include "check-execstack.h".
19603 (main): Revert last change.
19604 (handle_file): Return zero if GNU_STACK is absent and
19605 DEFAULT_STACK_PERMS doesn't include PF_X.
19607 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19609 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19610 in child fails because the descriptor is already closed.
19611 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19612 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19613 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19616 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19620 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19621 temporary buffer used to handle multi lookups locally.
19622 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19624 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19626 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19629 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19631 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19632 alignment for SSE2.
19634 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19637 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19638 characters. When rounding increased number of integer digits recompute
19640 * stdio-common/tst-grouping.c: New file.
19641 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19643 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19645 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19646 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19648 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19650 * bits/select.h: Likewise.
19652 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19654 * po/ja.po: Update from translation team.
19656 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19659 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19660 implementation just like for lxstat, fxstatat, et al.
19662 2010-12-27 Jim Meyering <meyering@redhat.com>
19665 * posix/regexec.c (build_trtable): Return failure indication upon
19666 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19668 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19671 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19672 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19673 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19674 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19677 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19680 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19681 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19683 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19685 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19686 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19687 script has SORT_BY_INIT_PRIORITY.
19688 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19689 NO_CTORS_DTORS_SECTIONS is defined.
19690 * elf/soinit.c: Likewise.
19691 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19692 NO_CTORS_DTORS_SECTIONS is defined.
19693 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19694 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19695 * sysdeps/sh/init-first.c: Likewise.
19696 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19698 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19700 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19701 always use the slow path.
19703 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19705 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19706 similar rule which adds the sysdep directories to the header search in
19707 order to pick up the correct platform stackinfo.h.
19708 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19709 perform test if it is, otherwise return successfully without testing.
19710 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19711 DEFAULT_STACK_PERMS define in stackinfo.h.
19712 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19713 defined in stackinfo.h.
19714 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19715 DEFAULT_STACK_PERMS defined in stackinfo.h.
19716 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19717 * sysdeps/ia64/stackinfo.h: Likewise.
19718 * sysdeps/s390/stackinfo.h: Likewise.
19719 * sysdeps/sh/stackinfo.h: Likewise.
19720 * sysdeps/sparc/stackinfo.h: Likewise.
19721 * sysdeps/x86_64/stackinfo.h: Likewise.
19722 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19723 PF_X for powerpc64. Retain PF_X for powerpc32.
19725 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19727 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19729 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19730 GETDENTS_64BIT_ALIGNED.
19732 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19734 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19736 2010-12-10 Andreas Schwab <schwab@redhat.com>
19738 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19741 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19742 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19744 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19745 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19747 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19750 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19753 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19755 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19757 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19759 * po/it.po: Update from translation team.
19761 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19766 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19768 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19770 2010-11-24 Andreas Schwab <schwab@redhat.com>
19772 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19774 (gaih_getanswer_slice): Likewise.
19776 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19780 2010-05-31 Petr Baudis <pasky@suse.cz>
19783 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19784 silently even in the chroot mode.
19786 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19788 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19789 last patch a bit. Pretty printing
19791 2010-05-31 Petr Baudis <pasky@suse.cz>
19794 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19795 initialization of skip_initgroups_dyn.
19797 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19799 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19802 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19804 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19806 2010-11-11 Andreas Schwab <schwab@redhat.com>
19808 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19809 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19810 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19811 ($(objpfx)tst-fnmatch-mem): New rule.
19812 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19813 * posix/tst-fnmatch.c (main): Call mtrace.
19815 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19818 Support Intel processor model 6 and model 0x2c.
19820 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19825 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19828 * string/test-strncasecmp.c (check_result): New function.
19829 (do_one_test): Use it.
19830 (check1): New function.
19831 (test_main): Use it.
19832 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19833 Support strcasecmp and strncasecmp.
19835 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19838 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19841 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19843 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19847 * sysdeps/x86_64/multiarch/bzero.S: New file.
19848 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19849 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19850 * sysdeps/x86_64/multiarch/memset.S: New file.
19851 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19853 Set bit_Prefer_SSE_for_memop for Intel processors.
19854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19856 (index_Prefer_SSE_for_memop): Define.
19857 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19859 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19861 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19862 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19864 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19867 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19868 (__x86_64_raw_data_cache_size_half): Likewise.
19869 (__x86_64_raw_shared_cache_size): Likewise.
19870 (__x86_64_raw_shared_cache_size_half): Likewise.
19872 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19873 (__x86_64_raw_data_cache_size_half): Likewise.
19874 (__x86_64_raw_shared_cache_size): Likewise.
19875 (__x86_64_raw_shared_cache_size_half): Likewise.
19876 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19877 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19878 and __x86_64_raw_shared_cache_size_half. Round
19879 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19880 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19881 to multiple of 256 bytes.
19883 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19886 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19887 of inacessible symlinks. Verify result of symlink before returning it.
19888 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19889 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19891 2010-10-28 Erich Ritz <erichritz@gmail.com>
19893 * math/math.h (isinf): Fix typo in comment.
19895 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19897 * po/da.po: Update from translation team.
19899 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19901 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19902 is added to the list.
19904 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19905 Ulrich Drepper <drepper@gmail.com>
19907 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19908 the global list here. Move code to...
19909 (_dl_add_to_namespace_list): ...here. New function.
19910 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19911 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19912 * elf/dl-load.c (lose): Don't remove the element from the list.
19913 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19914 (_dl_map_object): Likewise.
19916 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19919 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19920 into all bytes of SSE register.
19921 Patch by Richard Li <richardpku@gmail.com>.
19923 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19926 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19929 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19931 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19932 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19933 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19934 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19939 2010-10-22 Andreas Schwab <schwab@redhat.com>
19941 * include/dlfcn.h (__RTLD_SECURE): Define.
19942 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19943 mode & __RTLD_SECURE instead.
19944 (open_path): Rename preloaded parameter to secure.
19945 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19946 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19947 * elf/dl-deps.c (openaux): Likewise.
19948 * elf/rtld.c (struct map_args): Remove is_preloaded.
19949 (map_doit): Don't use it.
19950 (dl_main): Likewise.
19951 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19952 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19954 2010-09-09 Andreas Schwab <schwab@redhat.com>
19956 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19957 (sysd-rules-targets): Remove duplicates.
19958 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19959 rtld-%.$o dependency.
19961 2010-10-18 Andreas Schwab <schwab@redhat.com>
19963 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19964 _dl_map_object do it.
19966 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19968 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19969 fast fma builtins, define the macros in the C99 standard.
19970 (FP_FAST_FMAF): Likewise.
19971 (FP_FAST_FMAL): Likewise.
19972 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19974 * bits/mathdef.h: Update copyright year.
19975 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19977 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19979 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19980 builtins, define the macros in the C99 standard.
19981 (FP_FAST_FMAF): Likewise.
19982 (FP_FAST_FMAL): Likewise.
19983 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19985 (FP_FAST_FMAF): Likewise.
19987 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19990 * math/libm-test.inc (fma_test): Some new testcases.
19991 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19992 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19993 y and infinite z. Do multiplication by C already in long double.
19994 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19996 y and infinite z. Do bitwise or of inexact bit into u.d.
19997 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19998 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19999 * sysdeps/i386/fpu/s_fma.S: Removed.
20000 * sysdeps/i386/fpu/s_fmal.S: Removed.
20002 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20005 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20007 computation is not scheduled after fetestexcept. Fix value
20008 of minimum denormal long double.
20010 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20013 * math/libm-test.inc (fma_test): Add some more tests.
20014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20017 2010-10-15 Andreas Schwab <schwab@redhat.com>
20019 * scripts/data/localplt-s390-linux-gnu.data: New file.
20020 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20022 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20025 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20026 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20028 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20030 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20032 if one of x and y is very large and the other is subnormal.
20033 * sysdeps/s390/fpu/s_fmaf.c: New file.
20034 * sysdeps/s390/fpu/s_fma.c: New file.
20035 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20036 * sysdeps/powerpc/fpu/s_fma.S: New file.
20037 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20038 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20039 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20041 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20044 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20046 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20047 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20048 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20049 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20050 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20051 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20054 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20057 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20058 * posix/bug-regex31.input: Add test case.
20060 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20062 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20063 * posix/bug-regex31.input: New file.
20066 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20067 (parse_sub_exp): Fix last change, use postorder.
20069 * posix/bug-regex31.c: New file.
20070 * posix/Makefile: Add rules to build and run bug-regex31.
20072 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20075 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20078 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20079 to have entries in sys_siglist.
20082 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20085 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20088 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20089 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20090 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20091 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20092 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20093 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20094 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20095 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20096 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20097 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20098 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20099 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20100 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20101 * math/ftestexcept.c (fetestexcept): Likewise.
20102 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20103 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20104 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20105 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20106 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20107 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20108 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20110 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20113 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20116 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20118 * string/bug-strstr1.c: New file.
20119 * string/Makefile: Add rules to build and run bug-strstr1.
20121 2010-10-05 Eric Blake <eblake@redhat.com>
20124 * string/str-two-way.h (two_way_long_needle): Always clear memory
20125 when skipping input due to the shift table.
20127 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20130 * malloc/mcheck.c: Handle large requests.
20133 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20134 for strncmp and strncasecmp.
20135 * string/stratcliff.c: Add tests for strcmp and strncmp.
20136 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20138 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20140 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20143 2010-09-30 Andreas Jaeger <aj@suse.de>
20145 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20146 (CGROUP_SUPER_MAGIC): Define.
20147 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20148 Handle btrfs and cgroup file systems.
20149 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20152 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20154 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20155 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20157 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20160 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20161 trying to locate the ELF header.
20163 2010-09-27 Andreas Schwab <schwab@redhat.com>
20166 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20167 Mask out sign-bit copies when constructing f_fsid.
20169 2010-09-24 Petr Baudis <pasky@suse.cz>
20171 * debug/stack_chk_fail_local.c: Add missing licence exception.
20172 * debug/warning-nop.c: Likewise.
20174 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20176 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20177 implementing getdents64 using getdents syscall, set d_type if
20178 __ASSUME_GETDENTS32_D_TYPE.
20180 2010-09-16 Andreas Schwab <schwab@redhat.com>
20182 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20183 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20185 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20188 * posix/unistd.h: Undo change of feature selection for ftruncate from
20191 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20193 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20196 2010-09-20 Andreas Schwab <schwab@redhat.com>
20198 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20200 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20202 2010-09-14 Andreas Schwab <schwab@redhat.com>
20204 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20205 variables after CHECK_SP call.
20206 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20208 2010-09-13 Andreas Schwab <schwab@redhat.com>
20209 Ulrich Drepper <drepper@redhat.com>
20211 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20212 re-relocationg ld.so.
20213 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20214 _dl_init_paths call.
20215 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20218 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20220 * resolv/res_init.c (__res_vinit): Count the default server we added.
20222 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20223 Ulrich Drepper <drepper@redhat.com>
20226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20227 (____longjmp_chk): Use %ebx for saving value across system call.
20230 2010-09-06 Andreas Schwab <schwab@redhat.com>
20232 * manual/Makefile: Don't mix pattern rules with normal rules.
20234 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20236 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20238 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20239 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20240 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20241 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20245 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20248 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20249 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20251 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20253 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20254 * sysdeps/x86_64/addmul_1.S: Likewise.
20255 * sysdeps/x86_64/lshift.S: Likewise.
20256 * sysdeps/x86_64/mul_1.S: Likewise.
20257 * sysdeps/x86_64/rshift.S: Likewise.
20258 * sysdeps/x86_64/sub_n.S: Likewise.
20259 * sysdeps/x86_64/submul_1.S: Likewise.
20261 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20263 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20264 Define __sched_param instead of SCHED_* and sched_param when
20265 <bits/sched.h> is included with __need_schedparam defined.
20266 * bits/sched.h [__need_schedparam]
20267 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20268 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20269 (__defined_schedparam): Define to 1.
20270 (__sched_param): New structure, identical to sched_param.
20271 (__need_schedparam): Undefine.
20273 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20276 (epoll_create1): Declare.
20278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20280 2010-08-31 Andreas Schwab <schwab@redhat.com>
20283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20284 shifting retval into place.
20286 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20288 * nis/rpcsvc/nis.h: Update copyright notice.
20289 * nis/rpcsvc/nis.x: Likewise.
20290 * nis/rpcsvc/nis_callback.h: Likewise.
20291 * nis/rpcsvc/nis_callback.x: Likewise.
20292 * nis/rpcsvc/nis_object.x: Likewise.
20293 * nis/rpcsvc/nis_tags.h: Likewise.
20294 * nis/rpcsvc/yp.h: Likewise.
20295 * nis/rpcsvc/yp.x: Likewise.
20296 * nis/rpcsvc/ypupd.h: Likewise.
20297 * nis/yp_xdr.c: Likewise.
20298 * nis/ypupdate_xdr.c: Likewise.
20300 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20301 mainly the body of pmap_getport. Add parameters to specify timeouts.
20302 (pmap_getport): Use __libc_rpc_getport.
20303 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20304 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20305 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20307 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20312 2010-08-27 Roland McGrath <roland@redhat.com>
20314 * sysdeps/i386/i686/multiarch/Makefile
20315 (CFLAGS-varshift.c): New variable.
20317 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20319 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20320 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20324 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20326 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20328 * sysdeps/x86_64/strlen.S: Unroll the loop.
20329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20330 strlen-sse2 strlen-sse2-bsf.
20331 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20332 __strlen_no_bsf if bit_Slow_BSF is set.
20333 (__strlen_sse42): Removed.
20334 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20335 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20337 2010-08-25 Roland McGrath <roland@redhat.com>
20339 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20340 * sysdeps/x86_64/multiarch/varshift.c: New file.
20341 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20342 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20343 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20344 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20346 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20349 strlen-sse2 strlen-sse2-bsf.
20350 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20351 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20352 (__strlen_sse2): Removed.
20353 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20356 bit_Slow_BSF for Atom.
20357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20358 (index_Slow_BSF): Define.
20359 (HAS_SLOW_BSF): Define.
20361 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20364 * resolv/res_init.c (__res_vinit): When no server address at all
20365 is given default to loopback.
20367 2010-08-24 Roland McGrath <roland@redhat.com>
20369 * configure.in: Remove config-name.h generation.
20370 * configure: Regenerated.
20371 * config-name.in: File removed.
20372 * scripts/config-uname.sh: New file.
20373 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20374 ($(objdir)config-name.h): New target.
20376 * sunrpc/rpc_parse.h: Avoid nested comment.
20378 2010-08-24 Richard Henderson <rth@redhat.com>
20379 Ulrich Drepper <drepper@redhat.com>
20380 H.J. Lu <hongjiu.lu@intel.com>
20382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20384 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20385 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20386 _mm_alignr_epi8 with _mm_loadu_si128.
20387 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20388 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20389 (__m128i_shift_right): Removed.
20390 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20391 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20392 * sysdeps/x86_64/multiarch/varshift.h: New file.
20393 * sysdeps/x86_64/multiarch/varshift.S: New file.
20395 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20397 * configure.in: Move assembler checks to before sysdep dir checking.
20399 2010-08-20 Petr Baudis <pasky@suse.cz>
20401 * LICENSES: Sync the sunrpc license.
20403 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20405 * sunrpc/auth_des.c: Update copyright notice once again.
20406 * sunrpc/auth_none.c: Likewise.
20407 * sunrpc/auth_unix.c: Likewise.
20408 * sunrpc/authdes_prot.c: Likewise.
20409 * sunrpc/authuxprot.c: Likewise.
20410 * sunrpc/bindrsvprt.c: Likewise.
20411 * sunrpc/clnt_gen.c: Likewise.
20412 * sunrpc/clnt_perr.c: Likewise.
20413 * sunrpc/clnt_raw.c: Likewise.
20414 * sunrpc/clnt_simp.c: Likewise.
20415 * sunrpc/clnt_tcp.c: Likewise.
20416 * sunrpc/clnt_udp.c: Likewise.
20417 * sunrpc/clnt_unix.c: Likewise.
20418 * sunrpc/des_crypt.c: Likewise.
20419 * sunrpc/des_soft.c: Likewise.
20420 * sunrpc/get_myaddr.c: Likewise.
20421 * sunrpc/getrpcport.c: Likewise.
20422 * sunrpc/key_call.c: Likewise.
20423 * sunrpc/key_prot.c: Likewise.
20424 * sunrpc/openchild.c: Likewise.
20425 * sunrpc/pm_getmaps.c: Likewise.
20426 * sunrpc/pm_getport.c: Likewise.
20427 * sunrpc/pmap_clnt.c: Likewise.
20428 * sunrpc/pmap_prot.c: Likewise.
20429 * sunrpc/pmap_prot2.c: Likewise.
20430 * sunrpc/pmap_rmt.c: Likewise.
20431 * sunrpc/rpc/auth.h: Likewise.
20432 * sunrpc/rpc/auth_unix.h: Likewise.
20433 * sunrpc/rpc/clnt.h: Likewise.
20434 * sunrpc/rpc/des_crypt.h: Likewise.
20435 * sunrpc/rpc/key_prot.h: Likewise.
20436 * sunrpc/rpc/netdb.h: Likewise.
20437 * sunrpc/rpc/pmap_clnt.h: Likewise.
20438 * sunrpc/rpc/pmap_prot.h: Likewise.
20439 * sunrpc/rpc/pmap_rmt.h: Likewise.
20440 * sunrpc/rpc/rpc.h: Likewise.
20441 * sunrpc/rpc/rpc_des.h: Likewise.
20442 * sunrpc/rpc/rpc_msg.h: Likewise.
20443 * sunrpc/rpc/svc.h: Likewise.
20444 * sunrpc/rpc/svc_auth.h: Likewise.
20445 * sunrpc/rpc/types.h: Likewise.
20446 * sunrpc/rpc/xdr.h: Likewise.
20447 * sunrpc/rpc_clntout.c: Likewise.
20448 * sunrpc/rpc_cmsg.c: Likewise.
20449 * sunrpc/rpc_common.c: Likewise.
20450 * sunrpc/rpc_cout.c: Likewise.
20451 * sunrpc/rpc_dtable.c: Likewise.
20452 * sunrpc/rpc_hout.c: Likewise.
20453 * sunrpc/rpc_main.c: Likewise.
20454 * sunrpc/rpc_parse.c: Likewise.
20455 * sunrpc/rpc_parse.h: Likewise.
20456 * sunrpc/rpc_prot.c: Likewise.
20457 * sunrpc/rpc_sample.c: Likewise.
20458 * sunrpc/rpc_scan.c: Likewise.
20459 * sunrpc/rpc_scan.h: Likewise.
20460 * sunrpc/rpc_svcout.c: Likewise.
20461 * sunrpc/rpc_tblout.c: Likewise.
20462 * sunrpc/rpc_util.c: Likewise.
20463 * sunrpc/rpc_util.h: Likewise.
20464 * sunrpc/rpcinfo.c: Likewise.
20465 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20466 * sunrpc/rpcsvc/key_prot.x: Likewise.
20467 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20468 * sunrpc/rpcsvc/mount.x: Likewise.
20469 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20470 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20471 * sunrpc/rpcsvc/rex.x: Likewise.
20472 * sunrpc/rpcsvc/rstat.x: Likewise.
20473 * sunrpc/rpcsvc/rusers.x: Likewise.
20474 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20475 * sunrpc/rpcsvc/spray.x: Likewise.
20476 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20477 * sunrpc/rtime.c: Likewise.
20478 * sunrpc/svc.c: Likewise.
20479 * sunrpc/svc_auth.c: Likewise.
20480 * sunrpc/svc_authux.c: Likewise.
20481 * sunrpc/svc_raw.c: Likewise.
20482 * sunrpc/svc_run.c: Likewise.
20483 * sunrpc/svc_simple.c: Likewise.
20484 * sunrpc/svc_tcp.c: Likewise.
20485 * sunrpc/svc_udp.c: Likewise.
20486 * sunrpc/svc_unix.c: Likewise.
20487 * sunrpc/svcauth_des.c: Likewise.
20488 * sunrpc/xcrypt.c: Likewise.
20489 * sunrpc/xdr.c: Likewise.
20490 * sunrpc/xdr_array.c: Likewise.
20491 * sunrpc/xdr_float.c: Likewise.
20492 * sunrpc/xdr_mem.c: Likewise.
20493 * sunrpc/xdr_rec.c: Likewise.
20494 * sunrpc/xdr_ref.c: Likewise.
20495 * sunrpc/xdr_sizeof.c: Likewise.
20496 * sunrpc/xdr_stdio.c: Likewise.
20498 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20501 2010-08-19 Andreas Schwab <schwab@redhat.com>
20503 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20505 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20507 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20509 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20510 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20512 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20513 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20514 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20515 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20516 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20517 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20518 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20519 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20520 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20522 2010-07-26 Anton Blanchard <anton@samba.org>
20524 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20525 * malloc/arena.c (heap_trim): Likewise.
20527 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20529 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20532 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20534 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20536 * sysdeps/i386/elf/Makefile: New file.
20538 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20540 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20541 from fanotify_init.
20542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20545 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20547 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20549 * sysdeps/multiarch/strcmp.S: Likewise.
20551 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20553 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20554 strncase_l-nonascii.
20555 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20556 Add strncase_l-ssse3.
20557 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20558 * sysdeps/x86_64/strcmp.S: Likewise.
20559 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20560 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20561 * sysdeps/x86_64/strncase.S: New file.
20562 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20563 * sysdeps/x86_64/strncase_l.S: New file.
20564 * string/Makefile (strop-tests): Add strncasecmp.
20565 * string/test-strncasecmp.c: New file.
20567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20570 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20571 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20573 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20575 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20577 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20579 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20581 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20583 2010-05-01 Alan Modra <amodra@gmail.com>
20585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20586 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20587 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20588 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20589 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20590 tidying. Don't tail-call __sigjmp_save for static lib.
20591 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20593 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20594 (CALL_MCOUNT): Add eh info, and nop after bl.
20595 (TAIL_CALL_SYSCALL_ERROR): New macro.
20596 (PSEUDO_RET): Use it.
20597 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20598 Correct save location of integer regs and cr.
20599 (_dl_profile_resolve): Correct cr save location. Delete nops
20600 after bl when SHARED. Reduce cfi size a little by better
20601 placement of cfi directives.
20602 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20603 make a stack frame. Instead use parm save area as a temp.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20605 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20607 Don't make a stack frame for parent, use parm save area.
20608 Increase child stack frame to 112 bytes. Don't save unused reg,
20609 and adjust reg usage. Set up cfi on error recovery and
20610 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20612 (__makecontext): Add dummy nop after jump to exit.
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20614 Use correct parm save area and cr save, reduce stack frame.
20615 Correct cfi for possible PSEUDO_RET frame setup.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20617 Branch to local label emitted by PSEUDO_RET rather than
20620 2010-08-12 Andreas Schwab <schwab@redhat.com>
20623 * locale/programs/locale.c (print_assignment): New function.
20624 (show_locale_vars): Use it.
20626 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20628 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20630 (struct statfs64): Likewise.
20631 (_STATFS_F_FLAGS): Define.
20632 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20634 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20635 (ST_VALID): Define locally.
20636 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20637 __statvfs_getflags, use the provided value.
20638 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20639 __ASSUME_STATFS_F_FLAGS.
20641 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20643 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20644 Add sys/fanotify.h.
20645 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20646 fanotify_mask for GLIBC_2.13.
20647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20648 fanotify_init and fanotify_mark.
20649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20650 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20652 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20654 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20655 prlimit64 for GLIBC_2.13.
20656 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20661 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20662 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20663 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20666 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20669 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20670 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20672 * nss/Makefile: Add rules to build and run tst-nss-test1.
20673 * shlib-versions: Add entry for libnss_test1.
20674 * nss/nss_test1.c: New file.
20675 * nss/tst-nss-test1.c: New file.
20677 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20678 (__nss_configure_lookup): Set appropriate entry in
20679 __nss_configure_lookup to true.
20680 * nss/nsswitch.h: Define enum with indeces of databases in
20681 databases and __nss_database_custom arrays. Declare
20682 __nss_database_custom.
20683 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20684 to avoid using nscd when custom rules are installed.
20685 * nss/getXXbyYY_r.c: Likewise.
20686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20688 * nss/nss_files/files-parse.c: Whitespace fixes.
20690 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20693 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20694 * posix/fnmatch_loop.c: Likewise.
20696 2010-07-17 Andi Kleen <ak@linux.intel.com>
20698 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20699 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20700 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20701 * Versions.def [GLIBC_2.13]: Add.
20703 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20706 Also fail if tpwd after pwuid call is NULL.
20708 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20710 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20711 when converting to ms.
20713 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20715 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20716 EOPNOTSUPP errors with ENOTTY.
20717 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20718 EOPNOTSUPP errors with ENOTTY.
20720 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20722 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20723 Add strcasecmp_l-ssse3.
20724 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20726 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20727 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20730 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20732 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20734 * string/Makefile (strop-tests): Add strcasecmp.
20735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20736 strcasecmp_l-nonascii.
20737 (gen-as-const-headers): Add locale-defines.sym.
20738 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20739 * sysdeps/x86_64/strcasecmp.S: New file.
20740 * sysdeps/x86_64/strcasecmp_l.S: New file.
20741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20742 * sysdeps/x86_64/locale-defines.sym: New file.
20743 * string/test-strcasecmp.c: New file.
20745 * string/test-strcasestr.c: Test both ends of the range of characters.
20746 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20748 2010-07-29 Roland McGrath <roland@redhat.com>
20751 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20753 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20755 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20758 2010-07-27 Andreas Schwab <schwab@redhat.com>
20760 * manual/memory.texi (Malloc Tunable Parameters): Document
20763 2010-07-26 Roland McGrath <roland@redhat.com>
20766 * configure.in (-fgnu89-inline check): Set and substitute
20767 gnu89_inline, not libc_cv_gnu89_inline.
20768 * configure: Regenerated.
20769 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20771 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20773 * string/test-strnlen.c: New file.
20774 * string/Makefile (strop-tests): Add strnlen.
20775 * string/tester.c (test_strnlen): Add a few more test cases.
20776 * string/tst-strlen.c: Better error reporting.
20778 * sysdeps/x86_64/strnlen.S: New file.
20780 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20782 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20783 lower-latency instructions.
20785 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20787 * string/test-strcasestr.c: New file.
20788 * string/test-strstr.c: New file.
20789 * string/Makefile (strop-tests): Add strstr and strcasestr.
20790 * string/str-two-way.h: Don't undefine MAX.
20791 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20793 2010-07-21 Andreas Schwab <schwab@redhat.com>
20795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20796 strcasestr-nonascii.
20797 (CFLAGS-strcasestr-nonascii.c): Define.
20798 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20800 Remove unused attribute.
20802 2010-07-20 Roland McGrath <roland@redhat.com>
20804 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20805 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20806 ld.so.cache was broken. With it, there is no way to disable dsocaps
20807 like LD_HWCAP_MASK can disable hwcaps.
20809 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20811 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20813 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20815 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20816 call in strcasestr.
20817 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20818 __strcasestr_sse42_nonascii.
20819 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20820 strcasestr-nonascii.c.
20821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20823 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20828 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20830 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20835 2010-07-06 Andreas Schwab <schwab@redhat.com>
20838 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20841 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20844 _PC_PIPE_BUF using F_GETPIPE_SZ.
20846 2010-07-05 Roland McGrath <roland@redhat.com>
20848 * manual/arith.texi (Rounding Functions): Fix rint description
20849 implicit in round description.
20851 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20853 * elf/Makefile: Fix linking for a few tests to make recent linker
20856 2010-06-30 Andreas Schwab <schwab@redhat.com>
20858 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20859 $(common-objpfx)libc_nonshared.a.
20861 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20863 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20864 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20865 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20866 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20867 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20868 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20869 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20870 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20885 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20886 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20887 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20888 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20889 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20890 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20891 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20892 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20893 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20894 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20895 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20896 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20912 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20914 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20915 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20916 * string/memmove.c (memmove): Renamed to ...
20917 (MEMMOVE): ...this. Default to memmove.
20918 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20919 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20922 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20923 mempcpy-ssse3-back memmove-ssse3-back.
20924 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20926 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20927 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20928 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20929 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20930 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20931 * sysdeps/x86_64/multiarch/memmove.c: New file.
20932 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20933 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20934 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20935 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20936 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20939 (index_Fast_Copy_Backward): Define.
20940 (HAS_ARCH_FEATURE): Define.
20941 (HAS_FAST_REP_STRING): Define.
20942 (HAS_FAST_COPY_BACKWARD): Define.
20944 2010-06-21 Andreas Schwab <schwab@redhat.com>
20946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20947 Restore proper fallback handling.
20949 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20952 * posix/group_member.c (__group_member): Correct checking loop.
20954 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20955 OOM in getpwuid_r correctly. Return error number when the caller
20956 should return, otherwise -1.
20957 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20958 call returning > 0 value.
20959 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20961 2010-06-07 Andreas Schwab <schwab@redhat.com>
20963 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20964 libc_nonshared.a from targets in modules-names.
20966 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20968 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20971 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20974 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20978 2010-06-02 Andreas Schwab <schwab@redhat.com>
20980 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20982 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20986 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20993 2010-06-14 Roland McGrath <roland@redhat.com>
20995 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20997 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20999 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21000 __REDIRECT followed by __THROW.
21001 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21002 * posix/getopt.h (getopt): Likewise.
21004 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21006 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21007 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21008 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21010 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21011 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21013 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21015 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21017 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21021 Properly check family and model.
21023 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21025 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21027 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21029 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21031 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21033 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21036 2010-05-19 Andreas Schwab <schwab@redhat.com>
21038 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21041 2010-05-21 Andreas Schwab <schwab@redhat.com>
21043 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21044 and internal_recvmmsg.
21045 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21046 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21047 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21048 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21050 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21051 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21052 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21054 2010-05-20 Andreas Schwab <schwab@redhat.com>
21056 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21058 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21060 POWER7 optimizations.
21061 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21062 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21064 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21066 * version.h: Update for 2.13 development version.
21068 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21070 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21071 exceptions. Return 0.
21073 2010-05-07 Roland McGrath <roland@redhat.com>
21075 * elf/ldconfig.c (main): Add a const.
21077 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21079 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21080 (args_options): Add no-idn option.
21081 (ahosts_keys_int): Add idn_flags to ai_flags.
21082 (parse_option): Handle 'i' option to clear idn_flags.
21084 * malloc/malloc.c (_int_free): Possible race in the most recently
21085 added check. Only act on the data if no current modification
21088 See ChangeLog.17 for earlier changes.