1 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4 function returns with a NULL context exit with zero.
6 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13 (run_program_cmd): This.
14 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15 (tst_langinfo): New variable. Use it.
17 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20 floating point opcodes.
22 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29 * sysdeps/mach/hurd/powerpc: Remove directory.
30 * sysdeps/mach/powerpc: Likewise.
32 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34 * scripts/check-local-headers.sh: Ignore c++ headers.
36 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39 __libc_cleanup_region_start argument.
41 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
46 x * y using scaling, not as x * y + z.
47 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49 * math/libm-test.inc (fma_test): Add more tests.
50 (fma_test_towardzero): Likewise.
51 (fma_test_downward): Likewise.
52 (fma_test_upward): Likewise.
54 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58 2012-10-31 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
63 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65 * rt/tst-shm.c (worker): Correct checking for mmap failure.
67 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
69 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77 Fix the order of the list for glibc 2.17.
78 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
83 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85 2012-10-31 Joseph Myers <joseph@codesourcery.com>
88 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
89 for low part of x being zero before using __atanl (y).
90 * math/libm-test.inc (atan2_test): Add another test.
92 * manual/install.texi (Configuring and compiling): Document
93 general use of test-wrapper and test-wrapper-env.
94 * INSTALL: Regenerated.
96 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
97 (__fma): Do not extract and scale down low bits on after-rounding
98 systems when result rounded to normal precision would have normal
100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
101 (__fmal): Do not extract and scale down low bits on after-rounding
102 systems when result rounded to normal precision would have normal
104 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
105 (__fmal): Do not extract and scale down low bits on after-rounding
106 systems when result rounded to normal precision would have normal
108 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
110 (fma_test): Add more tests.
111 (fma_test_towardzero): Likewise.
112 (fma_test_downward): Likewise.
113 (fma_test_upward): Likewise.
115 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
117 * sysdeps/i386/tininess.h: Renamed to ...
118 * sysdeps/x86/tininess.h: This.
119 * sysdeps/x86_64/tininess.h: Removed.
121 2012-10-30 Joseph Myers <joseph@codesourcery.com>
123 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
124 input. Use $(build-program-cmd).
125 ($(objpfx)tst-array1-static.out): Likewise.
126 ($(objpfx)tst-array2.out): Likewise.
127 ($(objpfx)tst-array3.out): Likewise.
128 ($(objpfx)tst-array4.out): Likewise.
129 ($(objpfx)tst-array5.out): Likewise.
130 ($(objpfx)tst-array5-static.out): Likewise.
132 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
134 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
137 * nss/nsswitch.h (nss_interface_function): Provide new
138 macro for use with NSS functions.
139 * grp/initgroups.c: Use new macro.
140 * nss/getXXbyYY.c: Likewise.
141 * nss/getXXbyYY_r.c: Likewise.
142 * nss/getXXent.c: Likewise.
143 * nss/getXXent_r.c: Likewise.
144 * sysdeps/posix/getaddrinfo.c: Likewise.
146 2012-10-30 Andreas Jaeger <aj@suse.de>
148 * po/ru.po: Update Russion translation from translation project.
150 2012-10-30 Joseph Myers <joseph@codesourcery.com>
154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
155 result and shift together with sticky bit instead of replicating
156 round-to-nearest rounding.
157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
159 * math/libm-test.inc (fma_test): Add more tests. Do not permit
160 missing underflow exceptions.
161 (fma_test_towardzero): Add more tests.
162 (fma_test_downward): Likewise.
163 (fma_test_upward): Likewise.
166 * sysdeps/generic/tininess.h: New file.
167 * sysdeps/i386/tininess.h: Likewise.
168 * sysdeps/sh/tininess.h: Likewise.
169 * sysdeps/x86_64/tininess.h: Likewise.
170 * stdlib/tst-strtod-underflow.c: Likewise.
171 * stdlib/tst-tininess.c: Likewise.
172 * stdlib/strtod_l.c: Include <tininess.h>.
173 (round_and_return): Do not set errno for exact underflow cases.
174 Force an underflow exception when setting errno for underflow.
175 Determine underflow based on rounding to normal precision if
176 TININESS_AFTER_ROUNDING.
177 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
178 ERANGE for exact underflow cases.
179 * stdlib/Makefile (tests): Add tst-tininess and
180 tst-strtod-underflow.
181 ($(objpfx)tst-tininess): Use $(link-libm).
182 ($(objpfx)tst-strtod-underflow): Likewise.
184 2012-10-30 Andreas Jaeger <aj@suse.de>
187 * elf/Makefile (tests): Remove conditional for have-initfini-array
188 since this is now always required and the variable does not exist
190 (tests-static): Likewise.
191 (modules-names): Likewise.
193 * po/eo.po: Add Esperanto translation from translation project.
195 * elf/tst-array1.c (fini_array): Make writeable so that it can be
196 merged with constructor/destructor.
197 (init_array): Likewise.
198 * elf/tst-array2dep.c (fini_array): Likewise.
199 (init_array): Likewise.
201 2012-10-29 Mike Frysinger <vapier@gentoo.org>
203 * manual/message.texi: Delete @cartouche tags.
205 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
207 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
209 * sysdeps/mach/hurd/fsync.c: Likewise.
211 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
212 [_POSIX_REALTIME_SIGNALS]: Change condition to
213 [_POSIX_REALTIME_SIGNALS > 0].
215 2012-10-27 Andreas Jaeger <aj@suse.de>
217 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
218 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
220 [__WORDSIZE != 64]: Likewise.
222 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
224 * iconvdata/tst-table.sh: Remove ${SHELL}.
225 * iconvdata/tst-tables.sh: Likewise.
227 2012-10-25 David S. Miller <davem@davemloft.net>
229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
230 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
236 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
237 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
240 2012-10-25 Roland McGrath <roland@hack.frob.com>
242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
243 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
246 2012-10-25 Joseph Myers <joseph@codesourcery.com>
247 Jim Blandy <jimb@codesourcery.com>
249 * scripts/cross-test-ssh.sh: New file.
250 * manual/install.texi (Configuring and compiling): Document use of
252 * INSTALL: Regenerated.
254 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
256 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
259 2012-10-25 Joseph Myers <joseph@codesourcery.com>
261 * Makeconfig (run-program-prefix): Fix comment.
263 2012-10-24 Joseph Myers <joseph@codesourcery.com>
264 Jim Blandy <jimb@codesourcery.com>
266 * Makeconfig (test-wrapper): New variable,
267 (test-wrapper-env): Likewise.
268 [$(cross-compiling) = yes && $(test-wrapper) != ""]
269 (run-built-tests): Define to yes.
270 (run-program-prefix): Use $(test-wrapper).
271 (built-program-cmd): Likewise.
272 * Rules (make-test-out): Use $(test-wrapper-env) and
273 $(host-built-program-cmd).
274 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
275 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
277 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
278 $(test-wrapper-env) to tst-rtld-load-self.sh.
279 ($(objpfx)order2.out): Use $(test-wrapper).
280 ($(objpfx)tst-initorder.out): Likewise.
281 ($(objpfx)tst-initorder2.out): Likewise.
282 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
283 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
284 (test_wrapper_env): New variable. Use it to run ld.so.
285 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
287 (test_wrapper_env): Likewise.
288 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
289 $(test-wrapper) to run-iconv-test.sh.
290 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
291 (ICONV): Use $test_wrapper.
292 * posix/Makefile ($(objpfx)globtest.out): Pass
293 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
294 globtest.sh, not $(run-program-prefix).
295 * posix/globtest.sh (run_via_rtld_prefix): New variable.
296 (test_wrapper): Likewise.
297 (test_wrapper_env): Likewise. Use it to run globtest with HOME
298 set together with run_via_rtld_prefix.
299 (run_program_prefix): Define in terms of test_wrapper and
302 2012-10-24 Roland McGrath <roland@hack.frob.com>
304 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
305 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
309 * include/time.h: Remove librt_hidden_proto (clock_gettime).
310 Declare __clock_getres, __clock_gettime, __clock_settime,
311 __clock_nanosleep, and __clock_getcpuclockid.
312 * rt/clock_gettime.c: Define __clock_gettime as an alias.
313 Remove librt_hidden_def (clock_gettime).
314 * sysdeps/unix/clock_gettime.c: Likewise.
315 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
317 * rt/clock_getres.c: Define __clock_getres as an alias.
318 * sysdeps/posix/clock_getres.c: Likewise.
319 * rt/clock_settime.c: Define __clock_settime as an alias.
320 * sysdeps/unix/clock_settime.c: Likewise.
321 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
322 * sysdeps/unix/clock_nanosleep.c: Likewise.
323 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
324 * rt/clock-compat.c: New file.
325 * rt/Makefile (librt-routines): Add clock-compat and move
326 $(clock-routines) to ...
327 (routines): ... here, new variable.
328 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
329 Don't add get_clockfreq here.
330 * rt/Versions (libc: GLIBC_2.17): New version set.
331 Add clock_* symbols here.
332 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
334 (GLIBC_2.17): Add clock_* symbols.
335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
346 * NEWS: Mention the move.
348 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
349 Use __open, __read, __close rather than their public counterparts.
350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
351 (__get_clockfreq_via_cpuinfo): Likewise.
352 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
353 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
355 * config.h.in (HAVE_IFUNC): New #undef.
356 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
358 * configure: Regenerated.
360 2012-10-24 Mike Frysinger <vapier@gentoo.org>
362 * configure.in: Move READELF check to start of file.
363 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
364 libc_cv_asm_gnu_indirect_function in the process.
365 * configure: Regenerated.
367 2012-10-24 Mike Frysinger <vapier@gentoo.org>
369 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
370 send the output to /dev/null.
371 (libc_cv_cc_with_libunwind): Likewise.
372 (libc_cv_as_noexecstack): Likewise.
373 * configure: Regenerate.
375 2012-10-24 Joseph Myers <joseph@codesourcery.com>
377 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
379 * posix/globtest.sh (TMPDIR): Do not set.
380 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
383 2012-10-24 Andreas Jaeger <aj@suse.de>
385 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
386 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
387 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
388 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
389 posix_fadvise64, posix_fallocate64.
391 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
392 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
393 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
395 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
397 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
400 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
401 <bits/fcntl-linux.h>.
402 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
405 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
406 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
407 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
408 [__WORDSIZE != 64]: Likewise.
410 2012-10-23 Joseph Myers <joseph@codesourcery.com>
412 * Makeconfig (run-built-tests): New variable.
413 * Rules [$(cross-compiling) = yes]: Change condition to
414 [$(run-built-tests) = no].
415 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
416 to [$(run-built-tests) = yes].
417 * elf/Makefile [$(cross-compiling) = no]: Likewise
418 * grp/Makefile [$(cross-compiling) = no]: Likewise.
419 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
420 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
421 * intl/Makefile [$(cross-compiling) = no]: Likewise.
422 * io/Makefile [$(cross-compiling) = no]: Likewise.
423 * libio/Makefile [$(cross-compiling) = no]: Likewise.
424 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
425 * misc/Makefile [$(cross-compiling) = no]: Likewise.
426 * posix/Makefile [$(cross-compiling) = no]: Likewise.
427 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
428 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
429 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
430 * string/Makefile [$(cross-compiling) = no]: Likewise.
432 * posix/Makefile ($(objpfx)globtest.out): Pass
433 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
434 $(rtld-installed-name).
435 * posix/globtest.sh (elf_objpfx): Remove variable.
436 (rtld_installed_name): Likewise.
437 (library_path): Likewise.
438 (run_program_prefix): New variable. Use for running globtest
441 2012-10-23 Jim Blandy <jimb@codesourcery.com>
442 Joseph Myers <joseph@codesourcery.com>
444 * Makeconfig (host-built-program-cmd): New variable.
445 * elf/Makefile (tst-stackguard1-ARGS): Use
446 $(host-built-program-cmd).
447 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
448 (tst-spawn-ARGS): Likewise.
449 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
451 2012-10-23 Joseph Myers <joseph@codesourcery.com>
452 Jim Blandy <jimb@codesourcery.com>
454 * Makeconfig (run-via-rtld-prefix): New variable.
455 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
456 (built-program-cmd): Likewise.
458 2012-10-22 Andreas Jaeger <aj@suse.de>
460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
461 __O_RSYNC if it exists, otherwise to O_SYNC.
463 2012-10-22 Jim Blandy <jimb@codesourcery.com>
464 Joseph Myers <joseph@codesourcery.com>
466 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
468 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
470 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
473 2012-10-22 Andreas Jaeger <aj@suse.de>
475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
483 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
490 2012-10-21 Jim Blandy <jimb@codesourcery.com>
491 Joseph Myers <joseph@codesourcery.com>
493 * config.make.in (NM): New variable.
495 2012-10-21 Andreas Jaeger <aj@suse.de>
497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
498 definitions and declarations that are provided by
499 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
501 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
504 * elf/Makefile (tests-static): Add tst-leaks1-static.
505 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
506 ($(objpfx)tst-leaks1-static): New rule.
507 ($(objpfx)tst-leaks1-static-mem): Likewise.
508 (tst-leaks1-static-ENV): New macro.
509 * elf/dl-open.c (dl_open_worker): Check the main application
510 only if SHARED is defined.
511 * elf/tst-leaks1-static.c: New file.
513 2012-10-20 Andreas Jaeger <aj@suse.de>
515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
516 generic values for Linux.
517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
518 and declarations that are provided by <bits/fcntl-linux.h> and
519 include <bits/fcntl-linux.h>.
520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
523 2012-10-20 Roland McGrath <roland@hack.frob.com>
525 * io/fcntl.h: Move include of <bits/types.h> to the top and
526 include it unconditionally.
528 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
530 * wcsmbs/Makefile (tests-ifunc): New variable.
531 (tests): Add $(tests-ifunc).
532 * wcsmbs/test-wcschr-ifunc.c: New file.
533 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
534 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
535 * wcsmbs/test-wcslen-ifunc.c: Likewise.
536 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
537 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
539 * string/Makefile (tests-ifunc): New variable.
540 (tests): Add $(tests-ifunc).
541 * string/test-memccpy.c (TEST_NAME): New macro.
542 * string/test-memchr.c (TEST_NAME): Likewise.
543 * string/test-memcmp.c (TEST_NAME): Likewise.
544 * string/test-memcpy.c (TEST_NAME): Likewise.
545 * string/test-memmem.c (TEST_NAME): Likewise.
546 * string/test-memmove.c (TEST_NAME): Likewise.
547 * string/test-memset.c (TEST_NAME): Likewise.
548 * string/test-rawmemchr.c (TEST_NAME): Likewise.
549 * string/test-stpcpy.c (TEST_NAME): Likewise.
550 * string/test-stpncpy.c (TEST_NAME): Likewise.
551 * string/test-strcasecmp.c (TEST_NAME): Likewise.
552 * string/test-strcasestr.c (TEST_NAME): Likewise.
553 * string/test-strcat.c (TEST_NAME): Likewise.
554 * string/test-strchr.c (TEST_NAME): Likewise.
555 * string/test-strcmp.c(TEST_NAME): Likewise.
556 * string/test-strcpy.c (TEST_NAME): Likewise.
557 * string/test-strcspn.c (TEST_NAME): Likewise.
558 * string/test-strlen.c (TEST_NAME): Likewise.
559 * string/test-strncasecmp.c (TEST_NAME): Likewise.
560 * string/test-strncmp.c (TEST_NAME): Likewise.
561 * string/test-strncpy.c (TEST_NAME): Likewise.
562 * string/test-strnlen.c (TEST_NAME): Likewise.
563 * string/test-strpbrk.c (TEST_NAME): Likewise.
564 * string/test-strrchr.c (TEST_NAME): Likewise.
565 * string/test-strspn.c (TEST_NAME): Likewise.
566 * string/test-strstr.c (TEST_NAME): Likewise.
567 * string/test-bcopy-ifunc.c: New file.
568 * string/test-bzero-ifunc.c: Likewise.
569 * string/test-memccpy-ifunc.c: Likewise.
570 * string/test-memchr-ifunc.c: Likewise.
571 * string/test-memcmp-ifunc.c: Likewise.
572 * string/test-memcpy-ifunc.c: Likewise.
573 * string/test-memmem-ifunc.c: Likewise.
574 * string/test-memmove-ifunc.c: Likewise.
575 * string/test-mempcpy-ifunc.c: Likewise.
576 * string/test-memset-ifunc.c: Likewise.
577 * string/test-rawmemchr-ifunc.c: Likewise.
578 * string/test-stpcpy-ifunc.c: Likewise.
579 * string/test-stpncpy-ifunc.c: Likewise.
580 * string/test-strcasecmp-ifunc.c: Likewise.
581 * string/test-strcasestr-ifunc.c: Likewise.
582 * string/test-strcat-ifunc.c: Likewise.
583 * string/test-strchr-ifunc.c: Likewise.
584 * string/test-strchrnul-ifunc.c: Likewise.
585 * string/test-strcmp-ifunc.c: Likewise.
586 * string/test-strcpy-ifunc.c: Likewise.
587 * string/test-strcspn-ifunc.c: Likewise.
588 * string/test-strlen-ifunc.c: Likewise.
589 * string/test-strncasecmp-ifunc.c: Likewise.
590 * string/test-strncat-ifunc.c: Likewise.
591 * string/test-strncmp-ifunc.c: Likewise.
592 * string/test-strncpy-ifunc.c: Likewise.
593 * string/test-strnlen-ifunc.c: Likewise.
594 * string/test-strpbrk-ifunc.c: Likewise.
595 * string/test-strrchr-ifunc.c: Likewise.
596 * string/test-strspn-ifunc.c: Likewise.
597 * string/test-strstr-ifunc.c: Likewise.
599 * debug/Makefile (tests-ifunc): New variable.
600 (tests): Add $(tests-ifunc).
601 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
602 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
603 * debug/test-stpcpy_chk-ifunc.c: New file.
604 * debug/test-strcpy_chk-ifunc.c: Likewise.
606 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
609 * elf/dl-load.c (open_verify): Retry read if the entire ELF
610 header is not read in.
612 2012-10-19 Joseph Myers <joseph@codesourcery.com>
614 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
615 script to $(SHELL) as $<. Pass $(common-objpfx) to script
616 directly. Pass built executable to script as
617 $(built-program-cmd).
618 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
619 $testprogram without using LD_LIBRARY_PATH and $ldso.
621 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
622 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
623 $(rtld-installed-name).
624 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
625 (rtld_installed_name): Likewise.
626 (library_path): Likewise.
627 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
628 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
629 $(run-program-prefix) to tst-tables.sh.
630 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
631 it to run tst-table-from and tst-table-to.
632 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
633 Pass it to tst-table.sh.
634 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
635 $(run-program-prefix) to tst-gettext.sh.
636 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
638 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
640 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
642 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
644 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
647 $(run-program-prefix) to tst-mtrace.sh.
648 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
650 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
651 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
652 $(rtld-installed-name).
653 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
654 (rtld_installed_name): Likewise.
655 (run_program_prefix): New variable. Use it to run wordexp-test.
657 * Makeconfig (ARCH): Remove all definitions.
659 [ARCH]: Remove conditional code.
660 [!objdir]: Give error.
661 [!objdir] (objpfx): Remove.
662 [!objdir] (common-objpfx): Likewise.
663 [!objdir] (common-objdir): Likewise.
664 * configure.in (config_makefile): Remove. Hardcode Makefile in
665 AC_CONFIG_FILES call.
666 * configure: Regenerated.
669 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
673 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
674 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
675 $(rtld-installed-name).
676 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
677 (rtld_installed_name): Likwise.
678 (runit): Remove function.
679 (run_getconf): New variable, Use it for running getconf binary.
681 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
684 * string/test-memmem.c (check_result): New function.
685 (do_one_test): Use it.
686 (check1): New function.
689 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
691 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
693 2012-10-18 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
696 (_G_LSEEK64): Likewise.
697 (_G_MMAP64): Likewise.
698 (_G_FSTAT64): Likewise.
699 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
700 (_G_LSEEK64): Likewise.
701 (_G_MMAP64): Likewise.
702 (_G_FSTAT64): Likewise.
703 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
704 unconditional. Call __mmap64 directly.
705 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
706 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
708 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
709 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
711 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
712 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
714 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
715 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
717 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
718 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
720 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
721 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
723 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
724 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
726 (freopen64) [!_G_OPEN64]: Remove conditional code.
727 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
729 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
730 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
732 (ftello64) [!_G_LSEEK64]: Remove conditional code.
733 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
735 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
736 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
738 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
739 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
741 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
742 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
744 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
745 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
747 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
749 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
752 * manual/memory.texi (Malloc Tunable Parameters): Add note
753 about free list pointers overwriting some perturb bytes.
754 Wording suggested by Roland McGrath.
756 2012-10-17 Joseph Myers <joseph@codesourcery.com>
758 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
759 (lgamma_test): Likewise.
760 (tgamma_test): Likewise.
762 2012-10-16 Florian Weimer <fweimer@redhat.com>
765 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
766 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
768 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
770 * NEWS: Mention BZ #14716.
771 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
772 when removing AVAILABLE1_USES_J macro.
774 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
776 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
777 (__bswap_64): __uint64_t for unsigned 64-bit int.
779 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
781 * include/string.h (memmem): Declare libc hidden alias.
782 * string/memmem.c (memmem): Define libc hidden alias.
783 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
784 __read, __close instead of open, read, close.
786 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
789 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
791 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
792 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
793 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
795 (__rawmemchr_sse2): Likewise.
796 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
797 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
798 (__strchr_sse2): Likewise.
799 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
800 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
801 (__strcasecmp_sse2): Likewise.
802 (__strncasecmp_sse2): Likewise.
803 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
804 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
805 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
806 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
807 (__strrchr_sse2): Likewise.
808 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
810 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
811 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
812 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
813 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
814 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
815 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
816 * sysdeps/x86_64/multiarch/memset.S: Likewise.
817 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
818 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
819 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
820 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
821 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
822 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
823 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
824 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
825 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
826 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
827 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
828 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
829 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
830 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
831 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
832 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
833 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
834 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
835 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
836 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
837 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
838 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
839 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
841 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
843 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
844 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
845 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
846 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
848 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
850 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
851 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
852 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
853 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
855 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
856 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
857 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
858 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
859 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
860 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
861 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
862 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
863 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
864 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
868 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
869 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
870 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
871 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
872 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
876 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
877 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
879 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
880 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
884 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
889 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
890 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
892 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
893 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
894 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
895 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
897 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
898 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
899 * include/ifunc-impl-list.h: New file.
900 * misc/ifunc-impl-list.c: Likewise.
901 * misc/Makefile (routines): Add ifunc-impl-list.
902 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
903 * string/test-string.h: Include <ifunc-impl-list.h>.
904 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
905 impl_array): New variables.
906 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
908 (test_init): Call __libc_ifunc_impl_list to initialize
909 func_list if TEST_IFUNC and TEST_NAME are defined.
911 * string/Makefile (strop-tests): Add bcopy and bzero.
912 * string/test-bcopy.c: New file.
913 * string/test-bzero.c: Likewise.
914 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
916 * string/test-memset.c: Support bzero test if TEST_BZERO is
918 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
920 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
922 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
925 2012-10-10 Joseph Myers <joseph@codesourcery.com>
927 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
928 * configure: Regenerated.
930 * Makeconfig (+link-static-before-libc): Don't include
933 * libio/libio.h (_IO_pos_t): Remove.
935 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
937 * NEWS: Add note about FIPS mode. Wording suggested by Roland
940 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
942 * crypt/crypt-entry.c: Include fips-private.h.
943 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
944 * crypt/md5c-test.c (main): Tolerate disabled MD5.
945 * sysdeps/unix/sysv/linux/fips-private.h: New file.
946 * sysdeps/generic/fips-private.h: New file, dummy fallback.
948 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
950 * crypt/crypt-private.h: Include stdbool.h.
951 (_ufc_setup_salt_r): Return bool.
952 * crypt/crypt-entry.c: Include errno.h.
953 (__crypt_r): Return NULL with EINVAL for bad salt.
954 * crypt/crypt_util.c (bad_for_salt): New.
955 (_ufc_setup_salt_r): Check that salt is long enough and within
956 the specified alphabet.
957 * crypt/badsalttest.c: New file.
958 * crypt/Makefile (tests): Add it.
959 ($(objpfx)badsalttest): New.
961 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
963 * NEWS: Add entry for BZ #14602.
965 2012-10-09 Joseph Myers <joseph@codesourcery.com>
967 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
969 * math/libm-test.inc: Update comment listing what functions and
971 (isgreater_test): New function.
972 (isgreaterequal_test): Likewise.
973 (isless_test): Likewise.
974 (islessequal_test): Likewise.
975 (islessgreater_test): Likewise.
976 (isunordered_test): Likewise.
977 (main): Call the new functions.
979 2012-10-09 Roland McGrath <roland@hack.frob.com>
981 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
982 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
983 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
984 * sysdeps/i386/configure: Regenerated.
985 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
986 * sysdeps/mach/configure: Regenerated.
987 * sysdeps/mach/hurd/configure: Regenerated.
988 * sysdeps/powerpc/configure: Regenerated.
989 * sysdeps/powerpc/powerpc32/configure: Regenerated.
990 * sysdeps/powerpc/powerpc64/configure: Regenerated.
991 * sysdeps/s390/s390-32/configure: Regenerated.
992 * sysdeps/s390/s390-64/configure: Regenerated.
993 * sysdeps/sh/configure: Regenerated.
994 * sysdeps/sparc/configure: Regenerated.
995 * sysdeps/unix/sysv/linux/configure: Regenerated.
996 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
997 * sysdeps/x86_64/configure: Regenerated.
999 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1000 defined. Don't check if MAP is NULL.
1002 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1004 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1005 (_G_stat64): Likewise.
1006 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1007 (_G_stat64): Likewise.
1008 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1009 instead of struct _G_stat64.
1010 * libio/fileops.c (mmap_remap_check): Likewise.
1011 (decide_maybe_mmap): Likewise.
1012 (_IO_new_file_seekoff): Likewise.
1013 (_IO_file_stat): Likewise.
1014 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1016 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1017 instead of struct _G_stat64.
1018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1020 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1023 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1025 (CHECK_EOL): New macro.
1026 (two_way_short_needle): Check beginning of haystack for EOL. Use
1028 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1029 Replace with CHECK_EOL.
1030 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1031 Replace with CHECK_EOL.
1033 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1035 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1037 * math/libm-test.inc: Update comment listing what functions and
1039 (finite_test): New function.
1040 (isinf_test): Likewise.
1041 (isnan_test): Likewise.
1042 (fpclassify_test): Test subnormal input.
1043 (isfinite_test): Likewise.
1044 (isnormal_test): Likewise.
1045 (main): Call the new functions.
1047 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1050 * Makerules (%.dynsym): Force C locale when running
1051 $(OBJDUMP) --dynamic-syms.
1053 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1055 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1058 2012-10-06 David S. Miller <davem@davemloft.net>
1060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1061 upper 32-bits of the length value in %o2 since we use branch-on-register
1062 tests which consider the entire 64-bit register.
1064 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1066 * string/test-strstr.c (check2): Add a test for page boundary.
1068 2012-10-05 David S. Miller <davem@davemloft.net>
1070 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1071 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1073 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1075 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1076 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1077 and bzero when HWCAP_SPARC_CRYPTO is present.
1079 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1082 * string/test-strstr.c (check2): New function.
1083 (test_main): Call check2.
1085 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1087 * string/bug-strcasestr1.c (do_test): Moved to ...
1088 * string/test-strcasestr.c (check1): Here. New function.
1089 (do_one_test): Break out result checking code into ...
1090 (check_result): This. New function.
1091 (do_one_test): Call check_result.
1092 (test_main): Call check1.
1093 * string/bug-strchr1.c (do_test): Moved to ...
1094 * string/test-strchr.c (check1): Here. New function.
1095 (do_one_test): Break out result checking code into ...
1096 (check_result): This. New function.
1097 (do_one_test): Call check_result.
1098 (test_main): Call check1.
1099 * string/bug-strstr1.c (main): Moved to ...
1100 * string/test-strchr.c (check1): Here. New function.
1101 (do_one_test): Break out result checking code into ...
1102 (check_result): This. New function.
1103 (do_one_test): Call check_result.
1104 (test_main): Call check1.
1105 * string/bug-strcasestr1.c: Removed.
1106 * string/bug-strchr1.c: Likewise.
1107 * string/bug-strstr1.c: Likewise.
1109 * elf/Makefile (dl-routines): Add hwcaps.
1110 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1111 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1112 (_dl_important_hwcaps): Moved to ...
1113 * elf/dl-hwcaps.c: Here. New file.
1114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1117 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1118 if IS_IN_rtld isn't defined.
1120 * elf/dl-support.c (_dl_sysinfo_map): New.
1121 Include "get-dynamic-info.h" and "setup-vdso.h".
1122 (_dl_non_dynamic_init): Call setup_vdso.
1123 * elf/dynamic-link.h: Don't include <assert.h>.
1124 (elf_get_dynamic_info): Moved to ...
1125 * elf/get-dynamic-info.h: Here. New file.
1126 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1127 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1128 * elf/setup-vdso.h: Here. New file.
1129 * elf/rtld.c: Include "setup-vdso.h".
1130 (dl_main): Call setup_vdso.
1132 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1134 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1135 creal in comment listing functions tested. List finite, isinf,
1136 isnan, isless, islessequal, isgreater, isgreaterequal,
1137 islessgreater, isunordered, lgamma_r and pow10 as functions and
1138 macros not tested. Mention which functions not tested are aliases
1139 for other functions. Fix typo. Note that signs of NaNs are not
1142 * scripts/config.guess: Update from config.git.
1143 * scripts/config.sub: Likewise.
1145 2012-10-04 Roland McGrath <roland@hack.frob.com>
1147 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1148 * misc/madvise.c (madvise): Renamed to __madvise.
1149 Make madvise a weak alias.
1150 * include/sys/mman.h: Declare __madvise.
1151 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1152 * sysdeps/unix/syscalls.list
1153 (madvise): Make __madvise the strong name, and madvise a weak alias.
1154 * sysdeps/unix/sysv/linux/syscalls.list
1155 (madvise, mmap): Remove redundant entries.
1156 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1157 * malloc/malloc.c (mtrim): Likewise.
1158 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1160 2012-10-03 Roland McGrath <roland@hack.frob.com>
1162 * sysdeps/mach/hurd/dl-cache.c: File removed.
1163 * config.h.in (USE_LDCONFIG): New #undef.
1164 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1165 * configure: Regenerated.
1166 * elf/Makefile (dl-routines): Add dl-cache only under
1167 [$(use-ldconfig) = yes].
1168 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1169 cache on [USE_LDCONFIG].
1170 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1172 * elf/rtld.c (dl_main): Likewise.
1174 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1176 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1177 _SC_LEVEL4_CACHE_LINESIZE.
1179 2012-10-03 Roland McGrath <roland@hack.frob.com>
1181 * sysdeps/unix/bsd/confstr.h: File removed.
1183 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1185 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1188 2012-10-02 Roland McGrath <roland@hack.frob.com>
1190 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1191 Make 'mapoff' field ElfW(Off) rather than off_t.
1193 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1195 * nscd/Makefile: Remove nscd-cflags and all its users.
1196 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1197 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1200 * malloc.c (malloc_printerr): Clarify error message.
1202 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1206 Set bit_FMA_Usable if FMA is supported.
1207 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1209 (bit_FMA4_Usable): Updated.
1210 (index_FMA_Usable): New macro.
1211 (CPUID_FMA): Likewise
1212 (HAS_FMA): Defined with bit_FMA_Usable.
1214 2012-10-01 Roland McGrath <roland@hack.frob.com>
1216 * bits/types.h (__swblk_t): Type removed.
1217 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1218 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1220 (__SWBLK_T_TYPE): Likewise.
1221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1222 (__SWBLK_T_TYPE): Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1224 (__SWBLK_T_TYPE): Likewise.
1225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1226 (__SWBLK_T_TYPE): Likewise.
1228 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1229 Honza Horak <hhorak@redhat.com>
1231 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1232 (xdr_mapname): Use YPMAXMAP as maxsize.
1233 (xdr_peername): Use YPMAXPEER as maxsize.
1234 (xdr_keydat): Use YPAXRECORD as maxsize.
1235 (xdr_valdat): Use YPMAXRECORD as maxsize.
1237 2012-10-01 Roland McGrath <roland@hack.frob.com>
1239 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1241 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1242 * csu/init-first.c: ... here.
1243 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1244 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1246 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1247 * sysdeps/i386/init-first.c: File removed.
1248 * sysdeps/sh/init-first.c: File removed.
1250 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1254 if x * y might underflow to zero and z is zero.
1255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1257 * math/libm-test.inc (min_subnorm_value): New variable.
1258 (fma_test): Add more tests.
1259 (fma_test_towardzero): Likewise.
1260 (fma_test_downward): Likewise
1261 (fma_test_upward): Likewise.
1262 (initialize): Set min_subnorm_value.
1264 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1270 mode for addition resulting in exact zero.
1271 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1274 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1276 * math/libm-test.inc (fma_test): Add more tests.
1277 (fma_test_towardzero): New function.
1278 (fma_test_downward): Likewise.
1279 (fma_test_upward): Likewise.
1280 (main): Call the new functions.
1282 2012-09-28 David S. Miller <davem@davemloft.net>
1284 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1286 2012-09-28 Roland McGrath <roland@hack.frob.com>
1288 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1291 * sysdeps/gnu/_G_config.h: Moved to ...
1292 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1293 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1294 * sysdeps/generic/_G_config.h: ... here.
1296 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1298 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1300 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1301 Conditionalize target on [libnss_test1.so-version].
1303 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1305 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1306 (elfobjdir): Move out of conditionals.
1308 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1309 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1310 (__nss_lookup_function): Conditionalize label remove_from_tree on
1311 [!DO_STATIC_NSS || SHARED], matching its only use.
1313 2012-09-28 David S. Miller <davem@davemloft.net>
1315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1316 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1318 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1322 when HWCAP_SPARC_CRYPTO is present.
1324 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1326 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1328 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1331 * stdio-common/vfprintf.c (process_string_arg): Revert
1334 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1336 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1338 * stdio-common/tst-sprintf.c: Include <locale.h>
1339 (main): Test sprintf's handling of incomplete multibyte
1342 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1344 * elf/dl-runtime.c (VERSYMIDX): Removed.
1345 * elf/dl-version.c (VERSYMIDX): Likewise.
1346 * elf/do-rel.h (VERSYMIDX): Likewise.
1348 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1349 * elf/rtld.c (VALIDX): Likewise.
1350 (ADDRIDX): Likewise.
1351 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1352 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1353 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1354 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1356 (ADDRIDX): Likewise.
1358 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1360 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1362 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1365 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1367 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1368 addresses are in the same scope as 192.0.2/24.
1369 * posix/gai.conf: Document new scope table defaults.
1371 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1374 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1375 for ftell. Compute offsets from write pointers instead.
1376 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1378 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1381 * libio/Makefile (tests): New test case tst-fseek.
1382 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1383 combination works in wide mode.
1384 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1385 state when the external buffer state changes.
1387 2012-09-27 David S. Miller <davem@davemloft.net>
1390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1391 pass reloc->r_addend in as the 'high' argument to
1392 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1396 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1398 * rt/tst-aio2.c: Include <pthread.h>.
1399 * rt/tst-aio3.c: Likewise.
1401 2012-09-27 Steve Ellcey <sellcey@mips.com>
1403 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1405 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1407 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1408 contents on [SHARED].
1410 2012-09-26 Marek Polacek <polacek@redhat.com>
1414 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1415 for C++ and GCC <4.3 as well as for non GCC compilers.
1417 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1421 2012-09-25 Roland McGrath <roland@hack.frob.com>
1423 * Makefile.in (all, install): Declare with .PHONY.
1424 Reported by Michael Hope <michael.hope@linaro.org>.
1426 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1428 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1429 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1433 (sydep_routines): Add the new and the internal functions.
1434 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1435 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1437 (GLIBC_2.17): Add the new function.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1439 (GLIBC_2.17): Likewise.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1441 (GLIBC_2.17): Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1443 (GLIBC_2.17): Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1446 2012-09-25 Alan Modra <amodra@gmail.com>
1448 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1449 Add release barrier before setting once_control to say
1450 initialisation is done. Add hints on lwarx. Use macro in
1452 (clear_once_control): Add release barrier.
1454 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1457 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1459 * math/s_clog10.c (__clog10): Likewise.
1460 * math/s_clog10f.c (__clog10f): Likewise.
1461 * math/s_clog10l.c (__clog10l): Likewise.
1462 * math/s_clogf.c (__clogf): Likewise.
1463 * math/s_clogl.c (__clogl): Likewise.
1464 * math/Makefile (libm-calls): Add x2y2m1.
1465 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1466 (__x2y2m1): Likewise.
1467 (__x2y2m1l): Likewise.
1468 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1469 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1472 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1473 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1474 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1479 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1480 int as type of variable DEPTH.
1481 (glob): Use size_t instead of int as type of variables NEWCOUNT
1484 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1486 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1490 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1491 macros for using routine as __sincosf_ia32.
1492 Use macro for function declaration and weak_alias.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1495 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1498 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1500 * math/s_cexpf.c (__cexpf): Likewise.
1501 * math/s_csinf.c (__csinf): Likewise.
1502 * math/s_csinhf.c (__csinhf): Likewise.
1503 * math/s_ctanf.c (__ctanf): Likewise.
1504 * math/s_ctanhf.c (__ctanhf): Likewise.
1505 * math/s_ccosh.c (__ccoshf): Likewise.
1506 * math/s_cexp.c (__cexpl): Likewise.
1507 * math/s_csin.c (__csin): Likewise.
1508 * math/s_csinh.c (__csinh): Likewise.
1509 * math/s_ctan.c (__ctan): Likewise.
1510 * math/s_ctanh.c (ctanh): Likewise.
1511 * math/s_ccoshl.c (__ccoshl): Likewise.
1512 * math/s_cexpl.c (__cexpl): Likewise.
1513 * math/s_csinl.c (__csinl): Likewise.
1514 * math/s_csinhl.c (__csinhl): Likewise.
1515 * math/s_ctanl.c (__ctanl): Likewise.
1516 * math/s_ctanhl.c (__ctanhl): Likewise.
1518 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1520 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1521 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1522 (_IO_off_t): Define to __off_t, not _G_off_t.
1523 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1524 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1525 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1526 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1527 type of __dummy and __dummy2 fields.
1528 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1529 (_G_ssize_t): Likewise.
1530 (_G_off_t): Likewise.
1531 (_G_pid_t): Likewise.
1532 (_G_uid_t): Likewise.
1533 (_G_wchar_t): Likewise.
1534 (_G_wint_t): Likewise.
1535 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1536 (_G_ssize_t): Likewise.
1537 (_G_off_t): Likewise.
1538 (_G_pid_t): Likewise.
1539 (_G_uid_t): Likewise.
1540 (_G_wchar_t): Likewise.
1541 (_G_wint_t): Likewise.
1542 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1543 (_G_ssize_t): Likewise.
1544 (_G_off_t): Likewise.
1545 (_G_pid_t): Likewise.
1546 (_G_uid_t): Likewise.
1547 (_G_wchar_t): Likewise.
1548 (_G_wint_t): Likewise.
1550 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 * malloc/arena.c: Include malloc-sysdep.h.
1553 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1554 is sufficient to shrink the heap or an unmap is needed.
1555 * sysdeps/generic/malloc-sysdep.h: New file. Define
1556 new function check_may_shrink_heap.
1557 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1558 new function check_may_shrink_heap.
1560 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1562 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1565 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1567 * catgets/test-gencat.sh: Add "set -e".
1568 * elf/tst-pathopt.sh: Likewise.
1569 * grp/tst_fgetgrent.sh: Likewise.
1570 * iconvdata/run-iconv-test.sh: Likewise.
1571 * intl/tst-gettext.sh: Likewise.
1572 * intl/tst-gettext2.sh: Likewise.
1573 * intl/tst-gettext4.sh: Likewise.
1574 * intl/tst-gettext6.sh: Likewise.
1575 * intl/tst-translit.sh: Likewise.
1576 * io/ftwtest-sh: Likewise.
1577 * libio/test-freopen.sh: Likewise.
1578 * malloc/tst-mtrace.sh: Likewise.
1579 * posix/globtest.sh: Likewise.
1580 * posix/tst-getconf.sh: Likewise.
1581 * posix/wordexp-tst.sh: Likewise.
1582 * stdio-common/tst-printf.sh: Likewise.
1583 * stdio-common/tst-unbputc.sh: Likewise.
1584 * stdlib/tst-fmtmsg.sh: Likewise.
1585 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1586 * catgets/Makefile: Do not specify -e option when running
1587 testsuite shell scripts.
1588 * elf/Makefile: Likewise.
1589 * grp/Makefile: Likewise.
1590 * iconvdata/Makefile: Likewise.
1591 * intl/Makefile: Likewise.
1592 * io/Makefile: Likewise.
1593 * libio/Makefile: Likewise.
1594 * malloc/Makefile: Likewise.
1595 * posix/Makefile: Likewise.
1596 * stdio-common/Makefile: Likewise.
1597 * stdlib/Makefile: Likewise.
1598 * sysdeps/x86_64/Makefile: Likewise.
1600 * io/ftwtest-sh: Add copyright header.
1601 * posix/globtest.sh: Likewise.
1602 * posix/tst-getconf.sh: Likewise.
1603 * posix/wordexp-tst.sh: Likewise.
1604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1606 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1609 * Makeconfig (+link): Defined as $(+link-static) if
1610 $(build-shared) isn't yes.
1611 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1613 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1615 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1618 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1619 new chunk size with MALLOC_ALIGN_MASK.
1621 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1624 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1626 (__printf_fphex): Determine rounding using get_rounding_mode and
1628 * stdio-common/tst-printf-round.c (struct hex_test): New
1630 (hex_tests): New variable.
1631 (test_hex_in_one_mode): New function.
1632 (do_test): Also run tests for hex float output.
1634 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1636 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1637 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1638 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1639 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1640 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1641 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1642 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1643 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1645 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1647 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1648 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1649 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1650 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1652 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1655 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1657 * elf/tst-rtld-load-self.sh: New test.
1658 * elf/Makefile: Run it.
1660 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1662 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1663 (tst-writev-ENV): Remove.
1664 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1666 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1668 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1670 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1672 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1674 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1676 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1677 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1681 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1684 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1685 * config.make.in (have-cpp-asm-debuginfo): Removed.
1686 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1687 * configure: Regenerated.
1689 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1692 * stdio-common/printf_fp.c: Include <stdbool.h> and
1694 (___printf_fp): Determine rounding using get_rounding_mode and
1696 * stdio-common/tst-printf-round.c: New file.
1697 * stdio-common/Makefile (tests): Add tst-printf-round.
1698 (link-libm): New variable.
1699 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1701 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1704 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1705 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1707 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1710 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1712 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1713 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1714 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1717 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1720 * include/rounding-mode.h: New file.
1721 * sysdeps/generic/get-rounding-mode.h: Likewise.
1722 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1723 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1724 (MAX_VALUE): New macro.
1725 (MIN_VALUE): Likewise.
1726 (overflow_value): New function.
1727 (underflow_value): Likewise.
1728 (round_and_return): Use overflow_value and underflow_value to
1729 determine return values in overflow and underflow cases. Use
1730 round_away to determine rounding depending on rounding mode.
1731 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1732 determine return values in overflow and underflow cases.
1733 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1734 (struct test_results): New structure.
1735 (struct test): Use struct test_results to store expected results
1736 for all rounding modes.
1737 (TEST): Include expected results for all rounding modes.
1738 (test_in_one_mode): New function.
1739 (do_test): Use test_in_one_mode to compute and check results.
1740 Check results for all rounding modes.
1741 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1744 2012-12-09 Allan McRae <allan@archlinux.org>
1746 * sysdeps/i386/fpu/libm-test-ulps: Update
1748 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1750 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1751 (_G_int32_t): Likewise.
1752 (_G_uint16_t): Likewise.
1753 (_G_uint32_t): Likewise.
1754 (_G_HAVE_BOOL): Likewise.
1755 (_G_HAVE_ATEXIT): Likewise.
1756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1757 (_G_HAVE_IO_FILE_OPEN): Likewise.
1758 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1759 (_G_int32_t): Likewise.
1760 (_G_uint16_t): Likewise.
1761 (_G_uint32_t): Likewise.
1762 (_G_HAVE_BOOL): Likewise.
1763 (_G_HAVE_ATEXIT): Likewise.
1764 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1765 (_G_HAVE_IO_FILE_OPEN): Likewise.
1766 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1767 (_G_int32_t): Likewise.
1768 (_G_uint16_t): Likewise.
1769 (_G_uint32_t): Likewise.
1770 (_G_HAVE_BOOL): Likewise.
1771 (_G_HAVE_ATEXIT): Likewise.
1772 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1773 (_G_HAVE_IO_FILE_OPEN): Likewise.
1775 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1777 * csu/libc-tls.c: Update copyright years.
1779 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1781 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1782 [!_G_USING_THUNKS]: Remove conditional code.
1783 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1784 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1786 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1787 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1788 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1789 (_G_VTABLE_LABEL_PREFIX): Likewise.
1790 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1791 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1793 (_G_VTABLE_LABEL_PREFIX): Likewise.
1794 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1795 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1797 (_G_VTABLE_LABEL_PREFIX): Likewise.
1798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1800 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1802 * libio/Makefile: Include ../Makeconfig before tests.
1803 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1804 only if $(build-shared) is yes.
1806 * iconv/gconv_db.c: Update copyright years.
1808 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1810 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1811 unwind info if defined PIC. Fix special cases description.
1812 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1814 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1816 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1818 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1820 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1822 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1825 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1826 (LDLIBS-tst-chk4): This.
1827 (LDFLAGS-tst-chk5): Renamed to ...
1828 (LDLIBS-tst-chk5): This.
1829 (LDFLAGS-tst-chk6): Renamed to ...
1830 (LDLIBS-tst-chk6): This.
1831 (LDFLAGS-tst-lfschk4): Renamed to ...
1832 (LDLIBS-tst-lfschk4): This.
1833 (LDFLAGS-tst-lfschk5): Renamed to ...
1834 (LDLIBS-tst-lfschk5): This.
1835 (LDFLAGS-tst-lfschk6): Renamed to ...
1836 (LDLIBS-tst-lfschk6): This.
1838 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1839 on $(common-objpfx)soversions.mk.
1841 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1844 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1847 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1849 * malloc/arena.c (arena_get_retry): New function that gets
1850 another arena for the caller to try its request on.
1851 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1852 current arena cannot fulfill the request.
1853 (__libc_memalign): Likewise.
1854 (__libc_memalign): Likewise.
1855 (__libc_pvalloc): Likewise.
1856 (__libc_calloc): Likewise.
1858 2012-09-05 John Tobey <john.tobey@gmail.com>
1861 * manual/arith.texi (Operations on Complex): Fix description
1864 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1867 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1871 * manual/memory.texi (Memory): Make order of menu items match
1874 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1876 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1877 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1878 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1880 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1882 * csu/libc-tls.c (static_dtv): Renamed to ...
1883 (_dl_static_dtv): This. Make it global.
1884 (_dl_initial_dtv): Removed.
1885 (__libc_setup_tls): Updated.
1886 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1887 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1890 2012-09-06 Petr Machata <pmachata@redhat.com>
1892 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1893 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1894 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1895 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1897 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1900 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1901 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1904 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1907 * Makeconfig (link-static-before-libc): Replace $(+prector)
1909 (link-static-after-libc): Replace $(+postctor) with
1911 (link-bounded): Replace $(+prector)/$(+postctor) with
1912 $(+prectorT)/$(+postctorT).
1913 (+prectorT): New macro.
1914 (+postctorT): Likewise.
1916 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1918 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1919 (round_str): Handle values above the maximum for IBM long double
1921 * stdlib/tst-strtod-round.c (tests): Regenerated.
1923 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1925 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1927 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1928 zarch_nohighgprs around the zarch optimized routines.
1929 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1930 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1934 2012-09-05 David S. Miller <davem@davemloft.net>
1936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1938 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1939 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1940 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1944 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1946 * malloc/arena.c: Fold copyright years.
1947 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1949 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1951 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1955 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1957 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1959 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1960 change internal state upon failure.
1962 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1964 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1965 * malloc/memusage.c (mmap): Likewise.
1966 (mmap64, mremap): Likewise. Adjust name in comment.
1968 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1970 * libio/fileops.c: Fix typos in comments.
1971 * libio/oldfileops.c: Likewise.
1972 * libio/wfileops.c: Likewise.
1974 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1977 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1978 (tst-malloc-usable-ENV): Set environment for test case.
1979 * malloc/hooks.c (malloc_check_get_size): New function to get
1981 * malloc/malloc.c (musable): Use malloc_check_get_size.
1982 * malloc/tst-malloc-usable.c: New test case.
1984 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1986 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1988 2012-09-05 Allan McRae <allan@archlinux.org>
1991 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1992 determine header location.
1993 * configure: Regenerated.
1995 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1997 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1999 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2000 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2004 2012-09-04 David S. Miller <davem@davemloft.net>
2006 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2007 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2010 2012-09-04 Florian Weimer <fweimer@redhat.com>
2012 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2015 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2017 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2020 * libio/iogetdelim.c: Include <limits.h>.
2021 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2022 + len + 1 would overflow.
2024 2012-09-03 Andreas Jaeger <aj@suse.de>
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2027 * sysdeps/i386/fpu/libm-test-ulps: Update.
2029 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2031 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2032 Add s_sinf-sse2, s_conf-sse2.
2034 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2035 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2036 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2037 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2039 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2040 for using routine as __sinf_ia32.
2041 Use macro for function declaration and weak_alias.
2042 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2043 for using routine as __cosf_ia32.
2044 Use macro for function declaration and weak_alias.
2046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2047 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2049 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2050 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2053 * math/libm-test.inc (cos_test): Add more test cases.
2054 (sin_test): Likewise.
2055 (sincos_test): Likewise.
2057 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2059 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2060 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2064 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2067 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2068 first element of the GOT.
2069 (elf_machine_load_address): Return the difference between
2070 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2072 2012-09-01 Allan McRae <allan@archlinux.org>
2075 * configure.in (AWK): Require gawk version 3.0 or later.
2076 * configure: Regenerated.
2078 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2080 * sysdeps/unix/sysv/linux/kernel-features.h
2081 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2083 [__NR_clock_getres]: Make code unconditional.
2084 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2085 (clock_getcpuclockid): Remove code left unreachable by removal of
2087 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2089 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2092 Make code unconditional.
2093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2095 * sysdeps/unix/sysv/linux/clock_settime.c
2096 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2098 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2101 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2104 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2105 scripts/test-installation.pl.
2107 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2108 and $ld_so_version if it is set.
2110 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2114 failure if reading from procfs failed.
2115 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2117 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2119 * sysdeps/unix/sysv/linux/kernel-features.h
2120 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2121 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2122 Remove conditional code.
2123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2124 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2125 Remove conditional code.
2126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2127 * sysdeps/unix/sysv/linux/i386/fxstat.c
2128 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2130 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2133 * sysdeps/unix/sysv/linux/i386/lxstat.c
2134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2136 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2137 Remove conditional code.
2138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2139 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2140 Remove conditional code.
2141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2143 <kernel-features.h>.
2144 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2146 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2147 Remove conditional code.
2148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2149 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2152 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2155 * NEWS: Add fixed bug number.
2157 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2160 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2161 underflowing exponent in case of negative sign.
2162 * stdlib/tst-strtod-round-data: Add more tests.
2163 * stdlib/tst-strtod-round.c (tests): Regenerated.
2166 * stdlib/strtod_l.c (NDIG): Remove.
2167 (HEXNDIG): Likewise.
2168 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2169 smallest representable value.
2170 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2171 lie within an exact representation of 1/2 ulp of the result.
2172 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2174 (TENS_P9_IDX): Define unconditionally.
2175 (TENS_P9_SIZE): Likewise.
2176 (TENS_P10_IDX): Likewise.
2177 (TENS_P10_SIZE): Likewise.
2178 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2179 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2180 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2181 entries for 10^2^13 and 10^2^14.
2182 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2183 (TENS_P13_IDX): Define.
2184 (TENS_P13_SIZE): Likewise.
2185 (TENS_P14_IDX): Likewise.
2186 (TENS_P14_SIZE): Likewise.
2187 (_fpioconst_pow10): Change array size to
2188 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2190 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2191 1024]: Add entries for 10^2^13 and 10^2^14.
2192 [LAST_POW10 > _LAST_POW10]: Remove #error.
2193 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2194 (_fpioconst_pow10): Change array size to
2195 FPIOCONST_POW10_ARRAY_SIZE.
2196 * stdlib/gen-fpioconst.c: New file.
2197 * stdlib/gen-tst-strtod-round.c: Likewise.
2198 * stdlib/tst-strtod-round-data: Likewise.
2199 * stdlib/tst-strtod-round.c: Likewise.
2200 * stdlib/Makefile (tests): Add tst-strtod-round.
2203 * stdlib/strtod_l.c: Include <stdint.h>.
2204 (NDEBUG): Do not define.
2205 (round_and_return): Change EXPONENT parameter to type intmax_t.
2206 Rearrange calculations to avoid internal overflow possibilities.
2207 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2208 Rearrange calculations to avoid internal overflow possibilities.
2209 Assert that number fits inside MPNSIZE limbs.
2210 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2211 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2212 calculations and add assertions to avoid internal overflow
2213 possibilities. Add casts to avoid signed/unsigned operations.
2214 * stdlib/tst-strtod-overflow.c: New file.
2215 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2217 2012-08-25 Marek Polacek <polacek@redhat.com>
2219 * time/time.h: Fix some typos in comments.
2221 2012-08-23 Roland McGrath <roland@hack.frob.com>
2223 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2224 * posix/tst-rfc3484-2.c: Likewise.
2225 * posix/tst-rfc3484-3.c: Likewise.
2227 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2229 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2230 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2232 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2235 #include of fxstatat64.c.
2237 2012-08-22 Roland McGrath <roland@hack.frob.com>
2239 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2240 * shadow/getspent_r.c: Likewise.
2241 * shadow/getspnam.c: Likewise.
2242 * shadow/getspnam_r.c: Likewise.
2243 * gshadow/getsgent.c: Likewise.
2244 * gshadow/getsgent_r.c: Likewise.
2245 * gshadow/getsgnam.c: Likewise.
2246 * gshadow/getsgnam_r.c: Likewise.
2247 * inet/getnetbyad.c: Likewise.
2248 * inet/getnetbyad_r.c: Likewise.
2249 * inet/getnetbynm.c: Likewise.
2250 * inet/getnetbynm_r.c: Likewise.
2251 * inet/getnetent.c: Likewise.
2252 * inet/getnetent_r.c: Likewise.
2253 * inet/getproto.c: Likewise.
2254 * inet/getproto_r.c: Likewise.
2255 * inet/getprtent.c: Likewise.
2256 * inet/getprtent_r.c: Likewise.
2257 * inet/getprtname.c: Likewise.
2258 * inet/getprtname_r.c: Likewise.
2259 * inet/getrpcbyname.c: Likewise.
2260 * inet/getrpcbyname_r.c: Likewise.
2261 * inet/getrpcbynumber.c: Likewise.
2262 * inet/getrpcbynumber_r.c: Likewise.
2263 * inet/getrpcent.c: Likewise.
2264 * inet/getrpcent_r.c: Likewise.
2265 * inet/getaliasent.c: Likewise.
2266 * inet/getaliasent_r.c: Likewise.
2267 * inet/getaliasname.c: Likewise.
2268 * inet/getaliasname_r.c: Likewise.
2269 * nscd/getgrgid_r.c: Likewise.
2270 * nscd/getgrnam_r.c: Likewise.
2271 * nscd/gethstbyad_r.c: Likewise.
2272 * nscd/gethstbynm3_r.c: Likewise.
2273 * nscd/getpwnam_r.c: Likewise.
2274 * nscd/getpwuid_r.c: Likewise.
2275 * nscd/getsrvbynm_r.c: Likewise.
2276 * nscd/getsrvbypt_r.c: Likewise.
2277 * nscd/gai.c: Likewise.
2279 * configure.in (build_nscd): New substituted variable, set
2280 by --disable-build-nscd and defaults to $use_nscd.
2281 * configure: Regenerated.
2282 * config.make.in (build-nscd): New substituted variable.
2283 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2284 Change conditional to require [$(build-nscd) = yes] as well.
2285 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2288 * configure.in (use_nscd): New substituted variable, set by
2289 --disable-nscd. If enabled, define USE_NSCD.
2290 * configure: Regenerated.
2291 * config.h.in: Add USE_NSCD.
2292 * config.make.in (use-nscd): New substituted variable.
2293 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2294 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2295 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2296 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2297 (CFLAGS-getgrnam_r.c): Likewise.
2298 (CFLAGS-initgroups.c): Likewise.
2299 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2300 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2302 * inet/getnetgrent_r.c
2303 (nscd_setnetgrent): New function, broken out of ...
2304 (setnetgrent): ... here. Call it.
2305 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2306 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2307 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2308 * nscd/Makefile (routines, aux): Move definitions after include of
2309 Makeconfig. Conditionalize on [$(use-nscd) != no].
2310 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2311 Conditionalize on [USE_NSCD].
2312 (is_nscd, nscd_init_cb): Likewise.
2313 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2314 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2315 * nss/nss_db/db-init.c: Likewise.
2316 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2318 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2319 (make_request): Use it.
2320 (cache_valid_p): New function.
2321 (__check_pf): Use it.
2322 * NEWS: Add item for --disable-nscd.
2324 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2326 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2327 to support sed >= 4.2.1-20-ga9bf076.
2328 * configure: Regenerated.
2330 2012-08-22 Roland McGrath <roland@hack.frob.com>
2332 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2333 Conditionalize whole body on [IREL].
2335 2012-08-22 Jeff Law <law@redhat.com>
2338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2339 if the family is PF_UNSPEC.
2341 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2343 * Makerules (lib-version): Rename from V.
2344 (install-lib-nosubdir): Change V to lib-version.
2346 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2349 * powerpc32/power6/wcschr.c: New file.
2350 * powerpc32/power6/wcscpy.c: New file.
2351 * powerpc32/power6/wcsrchr.c: New file.
2352 * powerpc64/power6/wcschr.c: New file.
2353 * powerpc64/power6/wcscpy.c: New file.
2354 * powerpc64/power6/wcsrchr.c: New file.
2356 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2358 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2359 (two_way_short_needle): Use it.
2360 * string/strstr.c (AVAILABLE1_USES_J): Define.
2361 * string/strcasestr.c: Likewise.
2363 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2365 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2368 * NEWS: Add an entry.
2369 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2370 define their defaults.
2371 (two_way_short_needle): Detect end-of-string on-the-fly.
2372 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2373 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2374 * string/bug-strcasestr1.c: New test.
2375 * string/Makefile: Run it.
2377 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2380 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2381 the first character.
2383 2012-08-21 Roland McGrath <roland@hack.frob.com>
2385 * csu/elf-init.c (__libc_csu_irel): Function removed.
2386 * csu/libc-start.c (apply_irel): New function.
2387 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2389 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2391 * sysdeps/unix/sysv/linux/kernel-features.h
2392 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2393 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2394 <kernel-features.h>.
2395 [__NR_fadvise64_64]: Make code unconditional.
2396 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2397 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2398 !__NR_fadvise64_64)]: Likewise.
2399 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2400 !__NR_fadvise64_64))]: Likewise.
2401 [__NR_fadvise64]: Make code unconditional.
2402 [!__NR_fadvise64]: Remove conditional code.
2403 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2404 <kernel-features.h>.
2405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2410 not include <kernel-features.h>.
2411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2415 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2416 include <kernel-features.h>.
2417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2422 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2424 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2425 slight instruction rearrangements per scrollpipe analysis.
2426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2428 2012-08-20 Roland McGrath <roland@hack.frob.com>
2430 * manual/syslog.texi (syslog; vsyslog, closelog):
2431 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2432 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2434 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2435 DSOCAPS to match condition on defining it.
2437 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2439 * sysdeps/unix/sysv/linux/kernel-features.h
2440 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2442 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2443 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2451 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2452 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2454 * sysdeps/unix/sysv/linux/kernel-features.h
2455 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2456 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2458 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2460 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2461 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2462 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2463 Make code unconditional.
2464 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2465 (__mmap64) [!__NR_mmap2]: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2467 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2468 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2470 [__NR_mmap2]: Make code unconditional.
2471 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2472 (__mmap64) [!__NR_mmap2]: Likewise.
2474 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2476 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2478 2012-08-18 Andreas Jaeger <aj@suse.de>
2480 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2482 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2484 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2485 * include/unistd.h (__have_sock_cloexec): Likewise.
2486 (__have_pipe2): Likewise.
2487 (__have_dup3): Likewise.
2489 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2492 * include/unistd.h (__have_pipe2): Change define into an extern int.
2493 (__have_dup3): Likewise.
2494 * socket/have_sock_cloexec.c: Include fcntl.h.
2495 (__have_pipe2): New variable.
2496 (__have_dup3): Likewise.
2498 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2500 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2502 2012-08-17 Marek Polacek <polacek@redhat.com>
2504 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2505 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2507 2012-08-17 Roland McGrath <roland@hack.frob.com>
2509 * configure.in: Add AC_SUBST for sysheaders.
2510 * configure: Regenerated.
2511 * config.make.in (sysheaders): New substituted variable.
2513 * sysdeps/unix/mkfifo.c: Moved ...
2514 * sysdeps/posix/mkfifo.c: ... here.
2515 * sysdeps/unix/mkfifoat.c: Moved ...
2516 * sysdeps/posix/mkfifoat.c: ... here.
2518 * sysdeps/unix/utime.c: Moved ...
2519 * sysdeps/posix/utime.c: ... here.
2521 * sysdeps/unix/time.c: Moved ...
2522 * sysdeps/posix/time.c: ... here.
2523 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2526 * sysdeps/unix/nice.c: Moved ...
2527 * sysdeps/posix/nice.c: ... here.
2529 * sysdeps/unix/alarm.c: Moved ...
2530 * sysdeps/posix/alarm.c: ... here.
2532 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2534 2012-08-17 Jeff Law <law@redhat.com>
2536 * intl/Makefile (codeset_mo): New variable.
2537 ($(codeset_mo)): New target.
2538 (tst-codeset.out): Depend on that. Remove explicit rule.
2539 (tst-gettext3.out, tst-gettext5.out): Likewise.
2540 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2541 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2542 * intl/tst-codeset.sh: Remove.
2543 * intl/tst-gettext3.sh: Likewise.
2544 * intl/tst-gettext5.sh: Likewise.
2546 2012-08-17 Roland McGrath <roland@hack.frob.com>
2548 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2549 * sysdeps/unix/syscalls.list: ... here.
2551 * sysdeps/posix/getaddrinfo.c
2552 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2553 (gaiconf_init, gaiconf_reload): Use them.
2555 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2556 Define using time_t rather than struct timespec.
2558 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2559 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2561 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2563 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2564 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2567 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2568 __libc_cleanup_push argument.
2570 * bits/param.h: New file.
2571 * misc/sys/param.h: New file.
2572 * include/sys/param.h: New file.
2573 * misc/Makefile (headers): Add bits/param.h.
2574 * sysdeps/generic/sys/param.h: File removed.
2575 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2576 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2577 * sysdeps/mach/hurd/bits/param.h: New file.
2578 * sysdeps/mach/hurd/sys/param.h: File removed.
2580 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2583 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2585 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2586 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2589 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2590 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2591 rather than -D_IO_MTSAFE_IO conditionally.
2592 * stdio-common/Makefile (CPPFLAGS): Likewise.
2593 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2594 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2595 Use $(libio-mtsafe).
2596 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2598 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2599 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2600 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2601 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2602 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2603 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2604 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2605 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2606 (CFLAGS-fread_u_chk.c): Likewise.
2607 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2608 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2609 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2610 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2611 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2612 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2613 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2614 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2615 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2617 * libio/Makefile: Test [$(libc-reentrant) = yes]
2618 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2621 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2622 * sysdeps/pthread/configure: File removed.
2623 * sysdeps/pthread/Makeconfig: New file.
2624 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2625 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2627 2012-08-16 Gary Benson <gbenson@redhat.com>
2629 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2630 unmapping the first object in a namespace.
2632 2012-08-16 Roland McGrath <roland@hack.frob.com>
2634 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2635 (__internal_setnetgrent): ... this. Add internal_function to
2636 definition. Add libc_hidden_def.
2637 (setnetgrent): Update caller.
2638 (internal_endnetgrent): Renamed to ...
2639 (__internal_endnetgrent): ... this. Add internal_function to
2640 definition. Add libc_hidden_def.
2641 (endnetgrent): Update caller.
2642 (internal_getnetgrent_r): Renamed to ...
2643 (__internal_getnetgrent_r): ... this. Add internal_function to
2644 definition. Add libc_hidden_def.
2645 (__getnetgrent_r): Update caller.
2646 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2648 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2650 * stdlib/longlong.h: Update from GCC.
2652 2012-08-16 Roland McGrath <roland@hack.frob.com>
2654 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2655 on _QL, which is set by umul_ppmm but never used.
2656 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2657 variables, which are set by GMP macros but never used.
2658 * stdio-common/_itowa.c (_itowa): Likewise.
2659 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2660 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2662 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2664 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2665 struct La_sh_regs is not constant.
2666 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2667 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2668 and struct La_sparc64_regs are not constant.
2670 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2672 * sysdeps/unix/sysv/linux/kernel-features.h
2673 (__ASSUME_POSIX_TIMERS): Remove.
2674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2676 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2677 Make code unconditional.
2678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2679 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2680 Make code unconditional.
2681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2682 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2683 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2685 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2686 Make code unconditional.
2687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2688 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2689 (__libc_missing_posix_timers): Remove.
2691 2012-08-15 Roland McGrath <roland@hack.frob.com>
2693 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2694 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2696 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2698 * elf/dl-sym.c: Include <stdlib.h>.
2700 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2701 constants, which avoids warnings in 32-bit builds.
2703 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2704 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2706 * misc/lseek.c: File moved to ...
2707 * io/lseek.c: ... here.
2709 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2711 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2712 shifting LEN more than 31 bits at once.
2714 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2717 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2718 segmentation fault for a case of two empty input strings.
2719 * string/test-strncasecmp.c (check1): Renamed to...
2721 (bz14195): Add new testcase for two empty input strings and N > 0.
2722 (test_main): Call new testcase, adapt for renamed function.
2724 2012-08-15 Andreas Jaeger <aj@suse.de>
2727 * crypt/md5test2.c: New test, based on test supplied by Serge
2728 Belyshev <belyshev@depni.sinp.msu.ru>.
2729 * crypt/Makefile (xtests): Add md5test-giant..
2730 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2732 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2735 * crypt/md5.c (md5_process_block): Don't assume the buffer
2736 length is less than 2**32.
2737 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2738 length is less than 2**64.
2740 2012-08-15 Roland McGrath <roland@hack.frob.com>
2742 * string/str-two-way.h: Include <sys/param.h>.
2743 (MAX): Macro removed.
2745 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2746 Move #define and #undef of memmove to just before and after
2747 including <string.h>.
2749 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2750 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2751 and after including <string.h>. Move declarations of
2752 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2753 to before #include "string/memmove.c".
2755 * include/dirent.h: Declare __getdirentries.
2757 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2758 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2760 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2762 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2763 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2764 * sysdeps/i386/configure: Regenerated.
2765 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2766 STABS_CURRENT_FILE, and STABS_FUN.
2767 (END): Remove call to STABS_FUN_END.
2768 (STABS_CURRENT_FILE1): Delete.
2769 (STABS_CURRENT_FILE): Likewise.
2770 (STABS_FUN): Likewise.
2771 (STABS_FUN_END): Likewise.
2772 (STABS_FUN2): Likewise.
2773 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2774 * sysdeps/x86_64/configure: Regenerated.
2776 2012-08-14 Roland McGrath <roland@hack.frob.com>
2778 * elf/dl-open.c: Include <atomic.h>.
2779 * elf/dl-lookup.c: Likewise.
2781 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2783 * sysdeps/unix/sysv/linux/kernel-features.h
2784 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2785 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2787 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2789 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2790 condition on __ASSUME_CLONE_THREAD_FLAGS.
2792 2012-08-14 Andreas Jaeger <aj@suse.de>
2794 * sysdeps/i386/fpu/libm-test-ulps: Update.
2796 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2798 * include/atomic.h (atomic_exchange_and_add): Split into ...
2799 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2802 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2806 2012-08-13 Jeff Law <law@redhat.com>
2808 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2809 null byte in the output string.
2811 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2813 * sysdeps/unix/sysv/linux/kernel-features.h
2814 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2815 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2816 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2817 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2818 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2819 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2820 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2822 2012-08-09 Jeff Law <law@redhat.com>
2825 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2826 When avoid_arena is set, don't retry in the that arena. Pick the
2827 next one, whatever it might be.
2828 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2829 (arena_lock): Pass in new parameter to arena_get2.
2830 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2832 (__libc_malloc): Unify retrying after main arena failure with
2833 __libc_memalign version.
2834 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2836 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2840 to __redirect_strstr.
2841 (__strstr_sse42): Use typeof __redirect_strstr.
2842 (__strstr_ia32): Likewise.
2843 (__libc_strstr): New prototype.
2844 (strstr): Renamed to ...
2845 (__libc_strstr): This.
2846 (strstr): New strong alias of __libc_strstr.
2847 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2851 (__libc_time): New prototype.
2852 (time_ifunc): Replace time with __libc_time.
2853 (time): New strong alias and hidden definition of __libc_time.
2854 (__GI_time): Remove strong alias.
2855 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2857 (memmove): Redefined to __redirect_memmove.
2858 (__memmove_sse2): Use typeof __redirect_memmove.
2859 (__memmove_ssse3): Likewise.
2860 (__memmove_ssse3_back): Likewise.
2861 (__libc_memmove): New prototype.
2862 (memmove): Renamed to ...
2863 (__libc_memmove): This.
2864 (memmove): New strong alias of __libc_memmove.
2866 2012-08-08 Mark Salter <msalter@redhat.com>
2869 (R_MN10300_TLS_GD): Define.
2870 (R_MN10300_TLS_LD): Likewise.
2871 (R_MN10300_TLS_LDO): Likewise.
2872 (R_MN10300_TLS_GOTIE): Likewise.
2873 (R_MN10300_TLS_IE): Likewise.
2874 (R_MN10300_TLS_LE): Likewise.
2875 (R_MN10300_TLS_DTPMOD): Likewise.
2876 (R_MN10300_TLS_DTPOFF): Likewise.
2877 (R_MN10300_TLS_TPOFF): Likewise.
2878 (R_MN10300_SYM_DIFF): Likewise.
2879 (R_MN10300_ALIGN): Likewise.
2880 (R_MN10300_NUM): Update.
2882 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2887 2012-08-08 Roland McGrath <roland@hack.frob.com>
2889 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2891 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2892 sysdeps/unix -> sysdeps/posix move.
2893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2895 2012-08-07 Allan McRae <allan@archlinux.org>
2898 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2899 (SUNOS_CPP): Likewise.
2900 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2902 (open_input): Call CPP using execvp.
2904 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/unix/sysv/linux/kernel-features.h
2907 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2908 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2909 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2910 (__ASSUME_WAITID_SYSCALL): Likewise.
2911 * sysdeps/unix/sysv/linux/dl-execstack.c
2912 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2914 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2917 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2918 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2920 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2922 [__ASSUME_WAITID_SYSCALL]: Likewise.
2923 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2925 2012-08-07 Roland McGrath <roland@hack.frob.com>
2927 * sysdeps/unix/closedir.c: Renamed to ...
2928 * sysdeps/posix/closedir.c: ... here.
2929 * sysdeps/unix/dirfd.c: Renamed to ...
2930 * sysdeps/posix/dirfd.c: ... here.
2931 * sysdeps/unix/dirstream.h: Renamed to ...
2932 * sysdeps/posix/dirstream.h: ... here.
2933 * sysdeps/unix/fdopendir.c: Renamed to ...
2934 * sysdeps/posix/fdopendir.c: ... here.
2935 * sysdeps/unix/opendir.c: Renamed to ...
2936 * sysdeps/posix/opendir.c: ... here.
2937 * sysdeps/unix/readdir.c: Renamed to ...
2938 * sysdeps/posix/readdir.c: ... here.
2939 * sysdeps/unix/readdir_r.c: Renamed to ...
2940 * sysdeps/posix/readdir_r.c: ... here.
2941 * sysdeps/unix/rewinddir.c: Renamed to ...
2942 * sysdeps/posix/rewinddir.c: ... here.
2943 * sysdeps/unix/seekdir.c: Renamed to ...
2944 * sysdeps/posix/seekdir.c: ... here.
2945 * sysdeps/unix/telldir.c: Renamed to ...
2946 * sysdeps/posix/telldir.c: ... here.
2947 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2948 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2950 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2952 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2953 * bits/fcntl.h: ... here.
2955 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2957 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2958 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2959 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2960 (struct flock): Move l_start, l_len to the beginning.
2961 Use __pid_t for l_pid.
2962 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2963 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2964 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2965 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2966 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2967 [__USE_LARGEFILE64] (struct flock64): New type.
2968 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2970 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2971 * bits/dirent.h: ... here.
2973 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2974 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2976 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2979 Change from 2.6.0 to 2.6.16.
2980 * sysdeps/unix/sysv/linux/configure: Regenerated.
2981 * sysdeps/unix/sysv/linux/kernel-features.h
2982 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2983 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2985 (__ASSUME_UTIMES): Likewise.
2986 (__ASSUME_CLONE_STOPPED): Remove.
2987 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2988 architectures, not kernel version.
2989 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2990 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2991 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2992 (__ASSUME_WAITID_SYSCALL): Likewise.
2993 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2994 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2995 * README: State 2.6.16 as minimum Linux kernel version. Do not
2996 refer to older versions.
2998 2012-08-06 Roland McGrath <roland@hack.frob.com>
3000 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3001 Define alphasort64 as an alias.
3002 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3003 Define versionsort64 as an alias.
3004 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3005 Define scandir64 as an alias.
3006 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3007 Define scandirat64 as an alias.
3008 * dirent/alphasort64.c (alphasort64):
3009 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3010 * dirent/versionsort64.c: Likewise.
3011 * dirent/scandir64.c: Likewise.
3012 * dirent/scandirat64.c: Likewise.
3013 * sysdeps/wordsize-64/alphasort.c: File removed.
3014 * sysdeps/wordsize-64/alphasort64.c: File removed.
3015 * sysdeps/wordsize-64/scandir.c: File removed.
3016 * sysdeps/wordsize-64/scandir64.c: File removed.
3017 * sysdeps/wordsize-64/scandirat.c: File removed.
3018 * sysdeps/wordsize-64/scandirat64.c: File removed.
3019 * sysdeps/wordsize-64/versionsort.c: File removed.
3020 * sysdeps/wordsize-64/versionsort64.c: File removed.
3021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3030 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3032 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3034 [defined __arch64__ || defined __sparcv9]
3035 (__INO_T_MATCHES_INO64_T): New macro.
3036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3037 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3038 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3039 * sysdeps/unix/sysv/linux/bits/dirent.h
3040 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3041 (_DIRENT_MATCHES_DIRENT64): New macro.
3043 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3044 Define lockf64 as an alias.
3045 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3046 Define fseeko64 as an alias.
3047 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3048 Define ftello64 as an alias.
3049 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3050 Define _IO_fgetpos64 and fgetpos64 as aliases.
3051 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3052 Define _IO_fsetpos64 and fsetpos64 as aliases.
3053 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3054 Conditionalize body on this.
3055 * libio/fseeko64.c: Likewise.
3056 * libio/ftello64.c: Likewise.
3057 * libio/iofgetpos64.c: Likewise.
3058 * libio/iofsetpos64.c: Likewise.
3059 * sysdeps/wordsize-64/lockf.c: File removed.
3060 * sysdeps/wordsize-64/lockf64.c: File removed.
3061 * sysdeps/wordsize-64/fseeko.c: File removed.
3062 * sysdeps/wordsize-64/fseeko64.c: File removed.
3063 * sysdeps/wordsize-64/ftello.c: File removed.
3064 * sysdeps/wordsize-64/ftello64.c: File removed.
3065 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3066 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3067 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3068 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3080 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3082 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3084 [defined __arch64__ || defined __sparcv9]
3085 (__OFF_T_MATCHES_OFF64_T): New macro.
3086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3087 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3089 (__OFF_T_MATCHES_OFF64_T): New macro.
3091 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3093 * stdlib/secure-getenv.c (__secure_getenv): Replace
3094 GLIBC_2_16 with GLIBC_2_17.
3096 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3101 2012-08-03 David S. Miller <davem@davemloft.net>
3103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3105 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3109 (__ASSUME_CORRECT_SI_PID): Likewise.
3110 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3111 (__ASSUME_TMPFS_NAME): Likewise.
3112 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3113 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3114 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3115 (HAVE_AUX_SECURE): Make definition unconditional.
3116 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3117 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3119 2012-08-03 Roland McGrath <roland@hack.frob.com>
3121 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3122 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3123 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3124 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3125 __eloop_threshold instead of SYMLOOP_MAX.
3127 * sysdeps/generic/eloop-threshold.h: New file.
3128 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3130 * elf/chroot_canon.c (chroot_canon): Likewise.
3132 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3136 Change to 2.6.0 everywhere.
3137 * sysdeps/unix/sysv/linux/configure: Regenerated.
3138 * sysdeps/unix/sysv/linux/kernel-features.h
3139 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3140 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3142 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3143 (__ASSUME_FUTEX_REQUEUE): Remove.
3144 (__ASSUME_STATFS64): Define unconditionally.
3145 (__ASSUME_AT_SECURE): Likewise.
3146 (__ASSUME_CORRECT_SI_PID): Likewise.
3147 (__ASSUME_TGKILL): Define without depending on kernel version for
3149 (__ASSUME_UTIMES): Likewise.
3150 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3152 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3153 (__ASSUME_TMPFS_NAME): Likewise.
3154 * README: Update reference to Linux kernel versions.
3156 2012-08-02 Marek Polacek <polacek@redhat.com>
3159 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3160 libc_cv_asm_type_prefix with %.
3161 * configure: Regenerated.
3162 * include/libc-symbols.h: Remove comment about
3163 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3164 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3165 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3166 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3167 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3168 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3169 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3171 * elf/tst-unique2mod1.c: Likewise.
3172 * elf/tst-unique1mod2.c: Likewise.
3173 * elf/tst-unique1mod1.c: Likewise.
3174 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3175 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3176 Replace ASM_TYPE_DIRECTIVE with .type.
3177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3178 * sysdeps/i386/sysdep.h: Likewise.
3179 * sysdeps/x86_64/sysdep.h: Likewise.
3180 * sysdeps/sh/sysdep.h: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3182 Do not define ASM_TYPE_DIRECTIVE.
3183 * sysdeps/powerpc/sysdep.h: Likewise.
3184 * sysdeps/powerpc/powerpc32/sysdep.h:
3185 Replace ASM_TYPE_DIRECTIVE with .type.
3186 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3187 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3188 * sysdeps/i386/fpu/e_powf.S: Likewise.
3189 * sysdeps/i386/fpu/e_expl.S: Likewise.
3190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3192 * sysdeps/i386/fpu/e_pow.S: Likewise.
3193 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3195 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3197 * sysdeps/i386/fpu/e_log2.S: Likewise.
3198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3200 * sysdeps/i386/fpu/e_powl.S: Likewise.
3201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3202 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3203 * sysdeps/i386/fpu/e_logl.S: Likewise.
3204 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3205 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3206 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3209 * sysdeps/i386/fpu/e_log.S: Likewise.
3210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3211 * sysdeps/i386/fpu/e_logf.S: Likewise.
3212 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3213 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3214 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3215 * sysdeps/i386/fpu/e_log10.S: Likewise.
3216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3221 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3222 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3223 * sysdeps/i386/i686/strtok.S: Likewise.
3224 * sysdeps/i386/i386-mcount.S: Likewise.
3225 * sysdeps/i386/strtok.S: Likewise.
3226 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3227 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3229 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3230 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3232 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3233 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3235 * sysdeps/x86_64/_mcount.S: Likewise.
3236 * sysdeps/x86_64/strtok.S: Likewise.
3237 * sysdeps/sh/_mcount.S: Likewise.
3239 2012-08-01 Roland McGrath <roland@hack.frob.com>
3241 * libio/iofopen.c: Include <fcntl.h>.
3242 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3243 (_IO_fopen64, fopen64): Define as aliases.
3244 * libio/iofopen64.c: Include <fcntl.h>.
3245 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3246 Conditionalize body on this.
3247 * sysdeps/wordsize-64/iofopen.c: File removed.
3248 * sysdeps/wordsize-64/iofopen64.c: File removed.
3250 2012-08-01 Marek Polacek <polacek@redhat.com>
3252 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3253 Use dlfcn directly instead of a variable.
3254 (binfmt-subdir): Do not define.
3257 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3260 Remove all definitions.
3261 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3262 <kernel-features.h>.
3263 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3264 (miss_F_GETOWN_EX): Remove all definitions.
3265 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3267 [!__ASSUME_FCNTL64]: Remove conditional code.
3268 [__ASSUME_FCNTL64]: Make code unconditional.
3269 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3270 <kernel-features.h>.
3271 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3272 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3273 (lockf64) [__NR_fcntl64]: Make code unconditional.
3274 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3276 * sysdeps/unix/sysv/linux/kernel-features.h
3277 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3278 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3279 Make code unconditional.
3280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3283 [__NR_vfork]: Make code unconditional.
3284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3287 [__NR_vfork]: Make code unconditional.
3288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3291 2012-08-01 Roland McGrath <roland@hack.frob.com>
3293 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3294 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3296 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3297 Define mkstemp64 as an alias.
3298 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3299 Define mkstemps64 as an alias.
3300 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3301 Define mkostemp64 as an alias.
3302 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3303 Define mkostemps64 as an alias.
3304 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3305 Conditionalize body on this.
3306 * misc/mkostemp64.c: Likewise.
3307 * misc/mkostemps64.c: Likewise.
3308 * misc/mkstemps64.c: Likewise.
3309 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3310 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3311 * sysdeps/wordsize-64/mkostemp.c: File removed.
3312 * sysdeps/wordsize-64/mkstemp.c: File removed.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3319 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3320 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3321 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3322 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3324 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3325 compat_symbol macros from <shlib-compat.h> rather than the underlying
3326 default_symbol_version and symbol_version macros, so that DEFAULT
3327 lines in shlib-versions are respected.
3328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3330 2012-08-01 Florian Weimer <fweimer@redhat.com>
3332 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3333 Declare with warn_unused_result.
3334 (setgid, setregid, setegid, setresgid): Likewise.
3335 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3337 * WUR-REPORT: Remove set*id functions.
3339 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3341 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3343 2012-07-31 Roland McGrath <roland@hack.frob.com>
3345 * include/sys/socket.h (__libc_accept, __libc_accept4):
3346 Add attribute_hidden.
3347 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3349 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3351 * inet/getnetgrent_r.c (setup): Likewise.
3353 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3355 2012-07-31 David S. Miller <davem@davemloft.net>
3357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3359 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3362 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3363 value between 1.0 and 2.0 and smaller part has absolute value less
3365 * math/s_clog10.c (__clog10): Likewise.
3366 * math/s_clog10f.c (__clog10f): Likewise.
3367 * math/s_clog10l.c (__clog10l): Likewise.
3368 * math/s_clogf.c (__clogf): Likewise.
3369 * math/s_clogl.c (__clogl): Likewise.
3370 * math/libm-test.inc (clog_test): Add more tests.
3371 (clog10_test): Likewise.
3372 * sysdeps/i386/fpu/libm-test-ulps: Update.
3373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3375 2012-07-31 Florian Weimer <fweimer@redhat.com>
3377 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3378 Exit with zero in case no suitable GID is found, and write a
3379 message to standard error.
3381 2012-07-30 Roland McGrath <roland@hack.frob.com>
3383 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3385 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3386 (MAXPATHLEN): Removed.
3387 (NOGROUP, NODEV): New macros.
3388 (setbit, clrbit, isset, isclr): New macros.
3389 (howmany, roundup, powerof2): New macros.
3390 (DEV_BSIZE): New macro.
3392 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3393 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3395 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3396 definition on [!__NO_LONG_DOUBLE_MATH].
3398 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3399 PTR_MANGLE and PTR_DEMANGLE.
3401 * socket/accept4.c (accept4): Rename to __libc_accept4.
3402 Define accept4 as a weak alias.
3404 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3405 on [_DIRENT_HAVE_D_TYPE].
3406 * io/ftw.c (ftw_dir): Likewise.
3408 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3410 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3412 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3413 Use the BSD numbers rather than the arbitrary ones we had.
3414 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3415 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3416 (SIGXCPU, SIGXFSZ): New macros.
3419 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3420 initializer on [_LIBC_REENTRANT].
3422 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3423 definitions inside [_POSIX_MAPPED_FILES].
3425 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3427 * dirent/opendir.c: Include <fcntl.h>.
3429 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3430 (__libc_getspecific): Likewise.
3431 (__libc_key_create): Likewise.
3433 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3434 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3435 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3436 (tmpfile64): Define as alias.
3437 * sysdeps/wordsize-64/tmpfile.c: File removed.
3438 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3442 * stdio-common/vfscanf.c: Include <stdbool.h>.
3443 * nss/makedb.c: Likewise.
3444 * stdio-common/_i18n_number.h: Likewise.
3445 * argp/argp-help.c: Likewise.
3446 * posix/wordexp.c: Likewise.
3447 * sysdeps/posix/spawni.c: Likewise.
3448 * nss/nss_files/files-initgroups.c: Likewise.
3449 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3450 * nss/nss_files/files-initgroups.c: Likewise.
3451 * nss/nss_db/db-netgrp.c: Likewise.
3452 * nss/nss_db/db-initgroups.c: Likewise.
3453 * io/fchmodat.c: Include <sys/stat.h>.
3455 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3456 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3458 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3461 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3462 Add multiple inclusion protection.
3464 2012-07-27 David S. Miller <davem@davemloft.net>
3466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3468 2012-07-27 Gary Benson <gbenson@redhat.com>
3471 * elf/rtld.c: Include <stap-probe.h>.
3472 (dl_main): Added static probes "init_start" and "init_complete".
3473 * elf/dl-load.c: Include <stap-probe.h>.
3474 (lose): Take new parameter "nsid".
3475 Added static probe "map_failed".
3476 (_dl_map_object_from_fd): Pass namespace id to lose.
3477 Added static probe "map_start".
3478 (open_verify): Pass namespace id to lose.
3479 * elf/dl-open.c: Include <stap-probe.h>.
3480 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3481 and "reloc_complete".
3482 * elf/dl-close.c: Include <stap-probe.h>.
3483 (_dl_close_worker): Added static probes "unmap_start" and
3485 * elf/rtld-debugger-interface.txt: New file documenting the above.
3487 2012-07-26 Roland McGrath <roland@hack.frob.com>
3489 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3490 rather than a string variable.
3491 * sunrpc/rpc_main.c (h_output): Likewise.
3492 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3494 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3496 * inet/check_native.c: New file.
3498 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3501 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3502 if larger part has absolute value 1.0.
3503 * math/s_clog10.c (__clog10): Likewise.
3504 * math/s_clog10f.c (__clog10f): Likewise.
3505 * math/s_clog10l.c (__clog10l): Likewise.
3506 * math/s_clogf.c (__clogf): Likewise.
3507 * math/s_clogl.c (__clogl): Likewise.
3508 * math/libm-test.inc (clog_test): Add more tests.
3509 (clog10_test): Likewise.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3513 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3514 (pltexit): Likewise.
3515 (La_regs): Likewise.
3516 (La_retval): Likewise.
3517 (int_retval): Likewise.
3518 Update #error for removed macros to refer only to definitions in
3520 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3522 (pltexit): Likewise.
3523 (La_regs): Likewise.
3524 (La_retval): Likewise.
3525 (int_retval): Likewise.
3526 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3528 (pltexit): Likewise.
3529 (La_regs): Likewise.
3530 (La_retval): Likewise.
3531 (int_retval): Likewise.
3532 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3534 (pltexit): Likewise.
3535 (La_regs): Likewise.
3536 (La_retval): Likewise.
3537 (int_retval): Likewise.
3538 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3540 (pltexit): Likewise.
3541 (La_regs): Likewise.
3542 (La_retval): Likewise.
3543 (int_retval): Likewise.
3544 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3546 (pltexit): Likewise.
3547 (La_regs): Likewise.
3548 (La_retval): Likewise.
3549 (int_retval): Likewise.
3550 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3552 (pltexit): Likewise.
3553 (La_regs): Likewise.
3554 (La_retval): Likewise.
3555 (int_retval): Likewise.
3556 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3557 macro definitions in tst-audit.h.
3558 * sysdeps/i386/tst-audit.h: New file.
3559 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3560 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3561 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3562 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3563 * sysdeps/sh/tst-audit.h: Likewise.
3564 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3565 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3566 * sysdeps/x86_64/tst-audit.h: Likewise.
3568 2012-07-26 Andreas Jaeger <aj@suse.de>
3570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3573 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3574 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3575 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3577 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3581 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3584 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3586 (si_call_addr, si_syscall, si_arch): Define new macro.
3587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3589 (si_call_addr, si_syscall, si_arch): Define new marcro.
3590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3592 (si_call_addr, si_syscall, si_arch): Define new macro.
3593 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3595 (si_call_addr, si_syscall, si_arch): Define new macro.
3597 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3601 Change to 2.4.21 where previously 2.4.1.
3602 * sysdeps/unix/sysv/linux/configure: Regenerated.
3603 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3604 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3605 Linux kernel version.
3606 (__ASSUME_STD_AUXV): Remove.
3607 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3609 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3610 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3611 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3612 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3613 (__ASSUME_NETLINK_SUPPORT): Likewise.
3614 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3615 (__no_netlink_support): Remove conditional definition.
3616 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3618 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3619 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3621 (if_nameindex_ioctl): Remove.
3622 (if_nameindex_netlink): Do not handle __no_netlink_support.
3623 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3625 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3626 Remove conditional code.
3627 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3629 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3631 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3632 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3633 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3635 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3636 [!__ASSUME_STD_AUXV]: Remove conditional code.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3638 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3639 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3641 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3642 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3644 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3646 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3647 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3649 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3651 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3654 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3657 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3659 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3661 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3663 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3666 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3668 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3671 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3673 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3675 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3677 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3680 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3682 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3684 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3686 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3689 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3691 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3692 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3693 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3694 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3695 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3696 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3697 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3699 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3702 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3704 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3705 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3706 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3707 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3708 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3709 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3711 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3715 2012-07-25 Florian Weimer <fweimer@redhat.com>
3717 * Versions.def: Add GLIBC_2.17.
3718 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3719 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3720 Introduce __libc_secure_getenv.
3721 * stdlib/Versions (2.17): Add secure_getenv
3722 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3723 * stdlib/secure-getenv.c: Rename __secure_getenv to
3724 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3725 symbol __secure_getenv for GLIBC_2.0.
3726 * stdlib/tst-secure-getenv.c: New.
3727 * stdlib/Makefile (tests): Add testcase.
3728 * manual/startup.texi (Environment Access): Document
3730 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3731 __libc_secure_getenv.
3732 * inet/ruserpass.c (ruserpass): Likewise.
3733 * malloc/mtrace.c (mtrace): Likewise.
3734 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3735 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3736 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3737 * sysdeps/posix/tempname.c: Likewise. Evaluate
3739 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3740 __secure_getenv to __libc_secure_getenv.
3741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3754 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3756 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3757 (struct La_i86_retval): Likewise.
3758 (struct La_x86_64_regs): Likewise.
3759 (struct La_x86_64_retval): Likewise.
3760 (struct La_x32_regs): Likewise.
3761 (struct La_x32_retval): Likewise.
3762 (struct La_ppc32_regs): Likewise.
3763 (struct La_ppc32_retval): Likewise.
3764 (struct La_ppc64_regs): Likewise.
3765 (struct La_ppc64_retval): Likewise.
3766 (struct La_sh_regs): Likewise.
3767 (struct La_sh_retval): Likewise.
3768 (struct La_s390_32_regs): Likewise.
3769 (struct La_s390_32_retval): Likewise.
3770 (struct La_s390_64_regs): Likewise.
3771 (struct La_s390_64_retval): Likewise.
3772 (struct La_sparc32_regs): Likewise.
3773 (struct La_sparc32_retval): Likewise.
3774 (struct La_sparc64_regs): Likewise.
3775 (struct La_sparc64_retval): Likewise.
3776 (struct audit_ifaces): Remove architecture-specific pltenter and
3778 * sysdeps/i386/ldsodefs.h: New file.
3779 * sysdeps/powerpc/ldsodefs.h: Likewise.
3780 * sysdeps/s390/ldsodefs.h: Likewise.
3781 * sysdeps/sh/ldsodefs.h: Likewise.
3782 * sysdeps/sparc/ldsodefs.h: Likewise.
3783 * sysdeps/x86_64/ldsodefs.h: Likewise.
3785 2012-07-25 Marek Polacek <polacek@redhat.com>
3788 * math/libm-test.inc (yn_test): Add another test.
3789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3790 to ERANGE when the result is +-Inf.
3791 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3793 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3794 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3796 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3798 * conform/data/time.h-data (NULL): Use macro-constant. Require
3800 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3802 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3804 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3806 * configure.in <sysdeps resolving>: Correct printing
3808 * configure: Regenerate.
3810 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3812 * math/w_ilogb.c: Include <limits.h>.
3813 * math/w_ilogbl.c: Likewise.
3815 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3817 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3818 va_copy. Document allowing for unavailable va_copy only as
3819 pre-C99 compatibility.
3820 * manual/string.texi (Copying and Concatenation): Use va_copy
3821 instead of __va_copy in concat example.
3823 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3825 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3826 (__sendto): Use create_address_port. Initialize APORT and deallocate
3829 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3830 with O_NOLINK passed to __file_name_lookup.
3832 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3833 with O_NOLINK passed to __file_name_lookup.
3835 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3836 negative N or less than NGIDS.
3838 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3839 type to string_t. Set ERANGE as errno and return it if NAME is not big
3840 enough. Use memcpy instead of strncpy.
3842 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3844 * elf/Makefile (check-data): Remove.
3845 (localplt.data): New vpath directive.
3846 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3847 instead of $(check-data).
3848 * scripts/data/localplt-generic.data: Move to ...
3849 * sysdeps/generic/localplt.data: ... here.
3850 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3851 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3852 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3855 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3858 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3861 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3864 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3867 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3871 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3873 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3874 PPC32 and PPC64 files.
3875 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3876 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3878 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3880 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3881 __makecontext_ret to ...
3882 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3883 ... here and call exit if uc_link is NULL. New file.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3885 __makecontext_ret.S.
3886 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3887 __makecontext_ret to ...
3888 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3889 ... here and call exit if uc_link is NULL. New file.
3890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3891 __makecontext_ret.S.
3893 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3895 * elf/elf.h (R_390_IRELATIVE): New definition.
3896 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3897 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3898 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3899 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3900 (elf_machine_lazy_rel): Likewise.
3901 * sysdeps/s390/dl-irel.h: New file.
3902 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3903 * sysdeps/s390/s390-64/memset.S: New asm code.
3904 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3905 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3907 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3908 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3909 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3911 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3912 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3913 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3914 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3915 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3916 * sysdeps/s390/s390-32/memset.S: New asm code.
3917 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3919 2012-07-17 Marek Polacek <polacek@redhat.com>
3922 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3923 * sysdeps/s390/s390-64/configure.in: Likewise.
3924 * sysdeps/sparc/configure.in: Likewise.
3925 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3926 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3927 * sysdeps/i386/configure.in: Likewise.
3928 * sysdeps/x86_64/configure.in: Likewise.
3929 * sysdeps/sh/configure.in: Likewise.
3930 * sysdeps/s390/s390-32/configure: Regenerated.
3931 * sysdeps/s390/s390-64/configure: Likewise.
3932 * sysdeps/x86_64/configure: Likewise.
3933 * sysdeps/sh/configure: Likewise.
3934 * sysdeps/powerpc/powerpc64/configure: Likewise.
3935 * sysdeps/powerpc/powerpc32/configure: Likewise.
3936 * sysdeps/sparc/configure: Likwise.
3937 * sysdeps/i386/configure: Likewise.
3939 * elf/dl-open.c: Comment fixes.
3941 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3943 * Makefile [CXX] (check-data): Remove.
3944 [CXX] (c++-types.data): New vpath directive.
3945 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3946 vpath. Do not allow for C++ type data being missing.
3947 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3948 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3949 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3950 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3951 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3952 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3953 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3956 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3959 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3962 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3965 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3968 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3971 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3974 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3977 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3978 definitions to architecture-specific files.
3982 * sysdeps/i386/tls-macros.h: New file.
3983 * sysdeps/powerpc/tls-macros.h: Likewise.
3984 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3985 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3986 * sysdeps/sh/tls-macros.h: Likewise.
3987 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3988 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3989 * sysdeps/x86_64/tls-macros.h: Likewise.
3991 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3994 zero value for regular exit case.
3996 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3997 (__start_context): Preserve zero value for regular exit case.
3999 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4000 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4002 * manual/setjmp.texi (setcontext): Clarify normal process
4003 termination when uc_link is the null pointer.
4004 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4007 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4009 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4010 preprocessor. Test for each exception mask separately.
4012 2012-07-16 Andreas Jaeger <aj@suse.de>
4014 * po/ru.po: Update from translation team.
4016 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4018 * conform/data/string.h-data (NULL): Use macro-constant. Require
4020 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4021 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4022 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4023 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4026 2012-07-13 Andreas Jaeger <aj@suse.de>
4028 * po/fr.po: Update from translation team.
4030 2012-07-12 Marek Polacek <polacek@redhat.com>
4033 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4037 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4040 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4041 Change to 2.4.1 where previously 2.4.0.
4042 * sysdeps/unix/sysv/linux/configure: Regenerated.
4043 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4044 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4046 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4047 (__ASSUME_AT_CLKTCK): Remove.
4048 (__ASSUME_AT_PAGESIZE): Likewise.
4049 (__ASSUME_AT_XID): Likewise.
4050 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4051 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4052 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4054 (HAVE_AUX_PAGESIZE): Likewise.
4055 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4056 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4057 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4059 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4063 the temporary buffer used to invoke __gethostbyname2_r,
4064 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4065 host_data / struct gaih_addrtuple.
4066 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4067 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4068 header file nss/nsswitch.h.
4069 * nss/nsswitch.h (global scope): Add definition of implementation
4070 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4071 resolv/nss_dns/dns-host.c).
4073 2012-07-11 Andreas Jaeger <aj@suse.de>
4075 * po/fr.po: Update from translation team.
4077 * po/sv.po: Update from translation team
4078 * po/fr.po: Another update from translation team.
4080 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4083 for subnormals or multiply small sinh result by itself.
4084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4087 2012-07-11 David S. Miller <davem@davemloft.net>
4089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4091 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4094 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4095 (INTERNAL_MARK): Shift it here.
4097 2012-07-10 Marek Polacek <polacek@redhat.com>
4100 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4101 libc_cv_asm_global_directive with .globl.
4102 * configure: Regenerated.
4103 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4105 * sysdeps/i386/configure: Regenerated.
4106 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4108 * sysdeps/x86_64/configure: Regenerated.
4109 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4110 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4111 * elf/tst-unique2mod2.c: Likewise.
4112 * elf/tst-unique2mod1.c: Likewise.
4113 * elf/tst-unique1mod2.c: Likewise.
4114 * elf/tst-unique1mod1.c: Likewise.
4115 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4116 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4118 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4119 * sysdeps/mach/sysdep.h: Likewise.
4120 * sysdeps/i386/sysdep.h: Likewise.
4121 * sysdeps/i386/i386-mcount.S: Likewise.
4122 * sysdeps/x86_64/_mcount.S: Likewise.
4123 * sysdeps/x86_64/sysdep.h: Likewise.
4124 * sysdeps/sh/_mcount.S: Likewise.
4125 * sysdeps/sh/sysdep.h: Likewise.
4126 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4127 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4128 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4130 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4131 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4133 * locale/localeinfo.h: Likewise.
4134 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4135 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4137 2012-07-09 Roland McGrath <roland@hack.frob.com>
4140 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4142 * manual/message.texi (The Uniforum approach): Likewise.
4143 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4144 (glibc iconv Implementation): Likewise.
4146 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4149 * math/s_clog.c (__clog): Avoid scaling a value down where that
4150 could result in underflow.
4151 * math/s_clog10.c (__clog10): Likewise.
4152 * math/s_clog10f.c (__clog10f): Likewise.
4153 * math/s_clog10l.c (__clog10l): Likewise.
4154 * math/s_clogf.c (__clogf): Likewise.
4155 * math/s_clogl.c (__clogl): Likewise.
4156 * math/libm-test.inc (clog_test): Add more tests.
4157 (clog10_test): Likewise.
4158 * sysdeps/i386/fpu/libm-test-ulps: Update.
4159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4161 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4165 by 7 not 8 to examine high bit of fractional part.
4168 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4169 for call to __mcount_internal.
4170 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4171 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4172 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4174 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4177 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4178 approximation for values within 0x1p-13f of an odd multiple of
4180 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4181 exception. Add more tests.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4186 inputs and return -1 for them. Do not check for +Inf in case not
4188 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4189 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4190 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4191 and return -1 for them. Do not check for +Inf in case not
4193 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4196 and return -1 for them. Do not check for +Inf in case not
4198 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4200 * sysdeps/i386/fpu/libm-test-ulps: Update.
4201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4203 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4205 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4207 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4211 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4212 could result in spurious underflow. Scale down values above
4213 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4214 * math/s_csqrtf.c (__csqrtf): Likewise.
4215 * math/s_csqrtl.c (__csqrtl): Likewise.
4216 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4218 * sysdeps/i386/fpu/libm-test-ulps: Update.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4223 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4225 * catgets/xopen-msg.awk: New file.
4226 * catgets/xopen-msg.sed: Removed.
4228 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4230 * intl/po2test.awk: New file.
4231 * intl/po2test.sed: Removed.
4233 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4236 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4237 or multiply small sinh result by itself.
4238 * math/s_ctanf.c (__ctanf): Likewise.
4239 * math/s_ctanh.c (__ctanh): Likewise.
4240 * math/s_ctanhf.c (__ctanhf): Likewise.
4241 * math/s_ctanhl.c (__ctanhl): Likewise.
4242 * math/s_ctanl.c (__ctanl): Likewise.
4243 * math/libm-test.inc (ctan_test_tonearest): New function.
4244 (ctan_test_towardzero): Likewise.
4245 (ctan_test_downward): Likewise.
4246 (ctan_test_upward): Likewise.
4247 (ctanh_test_tonearest): Likewise.
4248 (ctanh_test_towardzero): Likewise.
4249 (ctanh_test_downward): Likewise.
4250 (ctanh_test_upward): Likewise.
4251 (main): Call these new functions.
4252 * sysdeps/i386/fpu/libm-test-ulps: Update.
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4255 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4257 * .gitignore: Delete /ports entry.
4259 2012-07-03 Andreas Jaeger <aj@suse.de>
4261 * po/bg.po: Update from translation team.
4262 * po/cs.po: Likewise.
4263 * po/de.po: Likewise.
4264 * po/hr.po: Likewise.
4265 * po/nl.pl: Likewise.
4266 * po/pl.po: Likewise.
4267 * po/vi.po: Likewise.
4269 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4271 * Makeconfig [!+link] (+link-before-libc): New variable.
4272 [!+link] (+link-after-libc): Likewise.
4273 [!+link] (+link-tests): Likewise.
4274 [!+link] (+link): Define in terms of $(+link-before-libc) and
4275 $(+link-after-libc).
4276 [!+link-static] (+link-static-before-libc): New variable.
4277 [!+link-static] (+link-static-after-libc): Likewise.
4278 [!+link-static] (+link-static-tests): Likewise.
4279 [!+link-static] (+link-static): Define in terms of
4280 $(+link-static-before-libc) and $(+link-static-after-libc).
4281 [build-shared] (link-libc-before-gnulib): New variable.
4282 [build-shared] (link-libc-tests): Likewise.
4283 [build-shared] (link-libc): Define in terms of
4284 $(link-libc-before-gnulib).
4285 [!build-shared] (link-libc-tests): New variable.
4286 (link-libc-static-tests): New variable.
4287 [!gnulib] (gnulib-arch): New variable.
4288 [!gnulib] (gnulib-tests): Likewise.
4289 [!gnulib] (static-gnulib-arch): Likewise.
4290 [!gnulib] (static-gnulib-tests): Likewise.
4291 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4292 Define with "=" instead of ":=".
4293 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4294 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4295 * Rules (binaries-all-notests): New variable.
4296 (binaries-all-tests): Likewise.
4297 (binaries-static-notests): Likewise.
4298 (binaries-static-tests): Likewise.
4299 (binaries-all): Define using $(binaries-all-notests) and
4300 $(binaries-all-tests).
4301 (binaries-static): Define using $(binaries-static-notests) and
4302 $(binaries-static-tests).
4303 (binaries-shared-tests): New variable.
4304 (binaries-shared-notests): Likewise.
4305 (binaries-shared): Remove variable.
4306 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4307 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4308 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4309 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4310 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4311 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4312 * elf/Makefile (sln-modules): New variable.
4313 (extra-objs): Add $(sln-modules:=.o).
4314 (ldconfig-modules): Add static-stubs.
4315 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4316 * elf/static-stubs.c: New file.
4319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4320 by 7 not 8 to examine high bit of fractional part. Use volatile
4321 variables when splitting into final array of floats if
4322 __FLT_EVAL_METHOD__ != 0.
4323 * math/libm-test.inc (cos_test): Add another test.
4324 (sin_test): Likewise.
4325 * sysdeps/i386/fpu/libm-test-ulps: Update.
4328 * math/libm-test.inc (cosh_test): Add more tests.
4330 * version.h (RELEASE): Set to "development".
4331 (VERSION): Set to "2.16.90".
4333 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4335 * NEWS: Update copyright. Remove last-updated date.
4336 Mention math library bug fixes and timezone data changes.
4337 * README: Mention GNU/Hurd, x32, and HPPA support status.
4339 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4341 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4343 2012-06-27 Andreas Jaeger <aj@suse.de>
4345 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4347 2012-06-25 Andreas Jaeger <aj@suse.de>
4349 * sysdeps/s390/fpu/libm-test-ulps: Update.
4351 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4352 Thomas Schwinge <thomas@codesourcery.com>
4354 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4355 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4359 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4361 * sysdeps/mach/start.c: Remove file.
4362 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4363 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4364 * sysdeps/sh/init-first.c: Likewise.
4366 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4367 registers for frame unwinding purposes, add CFI directives.
4368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4370 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4373 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4374 __fortify_fail returning.
4375 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4378 sysdeps/sh/____longjmp_chk.S.
4379 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4380 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4381 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4382 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4384 * sysdeps/sh/abort-instr.h: New file.
4385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4386 process in case exit returns.
4388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4389 initialize the GOT register before use.
4391 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4392 calculation of ARGC > 4.
4394 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4395 meaningful names to some local labels.
4397 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4398 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4400 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4401 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4402 (__arch_compare_and_exchange_val_16_acq): Likewise.
4403 (__arch_compare_and_exchange_val_32_acq): Likewise.
4404 (atomic_exchange_and_add): Fix gUSA sequence.
4405 (atomic_add): Likewise.
4406 (atomic_add_negative): Likewise.
4407 (atomic_add_zero): Likewise.
4408 (atomic_bit_test_set): Likewise.
4410 2012-06-22 Andreas Schwab <schwab@redhat.com>
4413 * include/link.h (struct link_map): Add l_free_initfini.
4414 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4416 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4417 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4418 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4421 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4423 * configure.in: Use AC_LANG_SOURCE.
4424 * configure: Regenerate.
4426 2012-06-22 Roland McGrath <roland@hack.frob.com>
4428 * configure.in (libc_cv_localstatedir): New substituted variable.
4429 * configure: Regenerated.
4430 * config.make.in (localstatedir): New variable, substituted from
4431 libc_cv_localstatedir.
4432 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4433 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4434 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4435 * sysdeps/gnu/configure: Regenerated.
4437 2012-06-21 Jeff Law <law@redhat.com>
4440 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4441 free. Simplify list management for _LIBC case.
4443 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4446 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4447 Clear sign bit of 64-bit integer value before comparing against
4450 * sysdeps/mach/configure: Regenerated.
4452 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4455 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4457 2012-06-21 Jeff Law <law@redhat.com>
4460 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4461 uint16_t for elements in the "seen" array to avoid char overflows.
4462 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4463 * elf/dl-open.c (dl_open_worker): Likewise.
4465 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4467 * scripts/list-sources.sh: Scan PORTS for translations.
4468 * po/libc.pot: Regenerated.
4470 2012-06-21 Andreas Jaeger <aj@suse.de>
4473 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4475 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4476 * bits/byteswap-16.h (__bswap_16): Likewise.
4477 * bits/byteswap.h (__bswap_constant_16): Likewise.
4479 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4482 * sysdeps/i386/fpu_control.h: Removed.
4483 * sysdeps/x86_64/fpu_control.h: Moved to ...
4484 * sysdeps/x86/fpu_control.h: Here.
4486 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4487 (_FPU_SETCW): Likewise.
4489 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4492 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4493 * sysdeps/x86/fpu/bits/mathinline.h: This.
4494 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4498 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4499 functions if __x86_64__ is defined.
4501 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4503 * string/endian.h: Add !__ASSEMBLER__ condition for including
4504 conversion interfaces.
4506 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4510 of ABS(x) in calculating zero to negative powers other than odd
4512 * math/libm-test.inc (pow_test): Add more tests.
4514 2012-06-15 Andreas Jaeger <aj@suse.de>
4516 * manual/contrib.texi (Contributors): Update entry of Liubov
4517 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4520 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4522 * string/string.h: Add __wur to GNU version of strerror_r.
4524 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4527 * string/Makefile (tests): Add tst-strtok_r.
4528 * string/tst-strtok_r.c: New file.
4529 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4530 RAX_LP/RDX_LP on SAVE_PTR.
4532 2012-06-14 Roland McGrath <roland@hack.frob.com>
4534 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4536 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4538 * libm_test.inc (csqrt_test): Allow more spurious underflow
4540 (j0_test): Likewise.
4541 (j1_test): Likewise.
4542 (y0_test): Likewise.
4543 (y1_test): Likewise.
4545 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4547 * po/Makefile (libc.pot): Use UTF-8 charset.
4549 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4552 Suppress sign-conversion warning from FD_SET.
4553 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4554 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4555 not unsigned long int.
4556 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4558 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4562 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4563 __extern_always_inline instead of __extern_inline.
4564 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4565 (__signbit): Likewise.
4566 (__signbitl): Support C++ namespace.
4567 (lrintf): New inline function.
4569 (llrintf): Likewise.
4581 (nearbyint): Likewise.
4582 (nearbyintf): Likewise.
4584 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4587 non-default versions.
4589 2012-06-11 Roland McGrath <roland@hack.frob.com>
4592 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4594 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4596 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4597 (FE_UPWARD, FE_DOWNWARD): Don't define.
4598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4599 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4603 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4606 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4611 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4613 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4616 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4617 * sysdeps/i386/fpu/Implies: New file.
4618 * sysdeps/x86_64/fpu/Implies: Likewise.
4619 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4620 * sysdeps/x86/fpu/bits/fenv.h: This.
4622 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4625 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4628 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4629 character 0xffff that matches the last element of the
4632 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4637 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4640 values higher than 25.6283.
4642 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4645 subnormal exponent extraction and add some __builtin_expect.
4646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4647 Fix for subnormal mantissa calculation.
4649 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4651 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4652 cpu2 is -1 and errno is not ENOSYS.
4654 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4657 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4658 * sysdeps/x86/bits/string.h: This.
4659 * sysdeps/x86_64/bits/string.h: Removed.
4661 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4662 if not compiling for x86-64, but compiling for >= i486.
4664 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4665 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4667 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4668 New macro from Linux kernel 3.4.0.
4669 (FP_XSTATE_MAGIC2): Likewise.
4670 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4671 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4672 (struct _fpx_sw_bytes): New struct.
4673 (struct _xsave_hdr): Likewise.
4674 (struct _ymmh_state): Likewise.
4675 (struct _xstate): Likewise.
4677 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4678 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4679 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4680 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4681 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4682 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4684 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4686 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4687 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4688 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4689 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4691 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4694 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4695 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4696 (sysdep_headers): Include sys/platform/ppc.h.
4697 * sysdeps/powerpc/test-gettimebase.c: Test for
4698 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4699 * manual/Makefile (appendices): Include platform.texi.
4700 * manual/contrib.texi (Contributors): Update @node pointers.
4701 * manual/maint.texi (Maintenance): Likewise.
4702 (Platform): New node.
4703 * manual/platform.texi: New file. Document the new features.
4705 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4706 Jakub Jelinek <jakub@redhat.com>
4709 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4710 where __builtin_expect is unavailable.
4712 2012-06-03 David S. Miller <davem@davemloft.net>
4714 * stdlib/longlong.h: Updated from GCC.
4716 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4719 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4720 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4723 (GLIBC_2.16): Likewise.
4725 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4727 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4729 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4732 (default-abi): New variable.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4736 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4743 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4744 definition. Document in comment.
4746 2012-06-01 David S. Miller <davem@davemloft.net>
4748 * stdlib/longlong.h: Updated from GCC.
4750 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4753 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4754 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4755 sys/debugreg.h sys/io.h here.
4756 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4757 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4759 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4760 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4761 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4762 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4763 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4764 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4767 Define only if __x86_64__ is defined.
4769 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4773 Use int64_t for variable i.
4774 * math/libm-test.inc (fmod_test): Add more tests.
4776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4777 z computation is not scheduled after fetestexcept.
4778 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4779 Use math_force_eval instead of asm to ensure calculation scheduled
4780 before exception test.
4781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4782 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4784 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4787 computation is not scheduled after fetestexcept.
4789 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4793 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4795 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4797 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4798 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4800 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4803 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4805 (__WCHAR_MIN): Support __WORDSIZE == 64.
4806 (__WCHAR_MAX): Likewise.
4808 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4809 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4813 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4816 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4819 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4820 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4823 Defined to 1 if __x86_64__ isn't defined.
4824 (_STAT_VER_LINUX_OLD): New.
4825 (st_atime): Remove duplicate.
4826 (st_mtime): Likewise.
4827 (st_ctime): Likewise.
4829 2012-05-31 David S. Miller <davem@davemloft.net>
4831 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4834 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4836 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4840 * elf/dl-reloc.c: Include <_itoa.h>.
4841 (_dl_reloc_bad_type): Remove use of INTUSE.
4842 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4843 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4844 * stdio-common/psiginfo.c (psiginfo): Likewise.
4845 * stdio-common/psignal.c (psignal): Likewise.
4846 * string/strsignal.c (strsignal): Likewise.
4847 * include/signal.h (_sys_siglist): Declare hidden proto.
4848 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4849 INTVARDEF with libc_hidden_data_def.
4850 * stdio-common/itoa-udigits.c: Likewise.
4851 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4852 (_itoa_lower_digits_internal): Remove declaration.
4853 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4854 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4855 (_sys_sigabbrev_internal): Remove aliases.
4856 (_sys_siglist): Define hidden alias.
4858 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4863 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4866 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4867 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4869 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4870 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4871 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4872 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4874 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4876 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4877 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4880 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4888 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4890 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4892 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4893 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4895 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4896 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4897 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4899 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4900 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4902 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4903 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4909 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4910 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4912 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4914 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4915 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4916 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4922 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4924 * math/math.h (M_El): Use two more decimal places.
4925 (M_LOG2El): Likewise.
4926 (M_LOG10El): Likewise.
4928 (M_LN10l): Likewise.
4930 (M_PI_2l): Likewise.
4931 (M_PI_4l): Likewise.
4932 (M_1_PIl): Likewise.
4933 (M_2_PIl): Likewise.
4934 (M_2_SQRTPIl): Likewise.
4935 (M_SQRT2l): Likewise.
4936 (M_SQRT1_2l): Likewise.
4938 2012-05-31 David S. Miller <davem@davemloft.net>
4940 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4941 values between float registers.
4942 * sysdeps/sparc/sparc64/memset.S: Likewise.
4943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4945 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4947 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4948 -D_FORTIFY_SOURCE=1.
4949 (CPPFLAGS-tst-longjmp_chk.c): Define.
4950 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4951 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4952 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4953 CFLAGS-tst-wchar-h.c.
4955 2012-05-31 Marek Polacek <polacek@redhat.com>
4958 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4959 __endmntent_internal): Remove declaration.
4960 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4961 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4962 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4964 2012-05-30 David S. Miller <davem@davemloft.net>
4966 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4967 (___Q_simulate_exceptions): Use real FP ops rather than writing
4969 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4972 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4976 * sysdeps/x86/bits/xtitypes.h: This.
4978 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4979 * sysdeps/x86/bits/wordsize.h: This.
4981 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4982 * sysdeps/x86/bits/huge_vall.h: This.
4984 * sysdeps/i386/bits/select.h: Removed.
4985 * sysdeps/x86_64/bits/select.h: Renamed to ...
4986 * sysdeps/x86/bits/select.h: This.
4988 * sysdeps/i386/bits/setjmp.h: Removed.
4989 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4990 * sysdeps/x86/bits/setjmp.h: This.
4992 * sysdeps/i386/bits/mathdef.h: Removed.
4993 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4994 * sysdeps/x86/bits/mathdef.h: This.
4996 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4999 * include/sys/socket.h (__connect_internal)
5000 (__libc_sa_len_internal): Remove declaration.
5001 (__connect, __libc_sa_len): Declare hidden_proto.
5002 (SA_LEN): Remove use of INTUSE.
5003 * socket/connect.c: Add libc_hidden_def.
5004 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5005 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5006 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5008 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5010 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5011 of adding _internal alias.
5013 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5016 * sysdeps/i386/bits/link.h: Removed.
5017 * sysdeps/i386/bits/linkmap.h: Likewise.
5018 * sysdeps/x86_64/bits/link.h: Renamed to ...
5019 * sysdeps/x86/bits/link.h: This.
5020 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5021 * sysdeps/x86/bits/linkmap.h: This.
5023 * sysdeps/i386/bits/endian.h: Removed.
5024 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5025 * sysdeps/x86/bits/endian.h: This.
5027 * sysdeps/i386/bits/byteswap.h: Removed.
5028 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5029 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5030 * sysdeps/x86/bits/byteswap.h: This.
5031 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5032 * sysdeps/x86/bits/byteswap-16.h: This.
5033 * sysdeps/i386/Implies: Add x86.
5034 * sysdeps/x86_64/Implies: Likewise.
5036 2012-05-30 David S. Miller <davem@davemloft.net>
5038 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5039 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5041 (FP_TRAPPING_EXCEPTIONS): Define.
5042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5043 (FP_TRAPPING_EXCEPTIONS): Define.
5044 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5045 subnormals only when inexact has been signalled or underflow
5046 exceptions are enabled.
5047 (_FP_PACK_CANONICAL): Likewise.
5049 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5053 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5055 2012-05-30 Richard Henderson <rth@twiddle.net>
5057 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5058 with #ifndef NOT_IN_libc.
5060 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5061 marked to avoid plt entry.
5063 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5066 * Makeconfig (default-abi): New macro.
5067 (abi-includes): Likewise.
5068 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5069 $(abi-$(default-abi)-lib-soname) for soname if defined.
5070 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5072 * Makefile (installed-stubs): Likewise.
5073 * include/stubs-biarch.h: Removed.
5074 * scripts/lib-names.awk: Only handle one library at a time.
5075 * scripts/soversions.awk: Remove WORDSIZE support.
5076 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5078 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5080 (syscall-list-default-condition): Likewise.
5081 (syscall-list-default-condition): Likewise.
5082 (syscall-list-includes): Likewise.
5083 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5084 syscall-list-* with abi-*. Handle undefined abi-variants.
5085 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5086 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5087 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5090 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5092 (syscall-list-32-options): Likewise.
5093 (syscall-list-32-condition): Likewise.
5094 (syscall-list-64-options): Likewise.
5095 (syscall-list-64-condition): Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5098 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5101 (abi-64-ld-soname): New macro.
5102 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5103 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5106 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5107 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5109 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5111 * sysdeps/unix/sysv/linux/kernel-features.h
5112 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5113 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5114 include <kernel-features.h>.
5115 [!__NR_ftruncate64]: Remove conditional code.
5116 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5117 [__NR_ftruncate64]: Make code unconditional.
5118 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5119 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5120 include <kernel-features.h>.
5121 [!__NR_ftruncate64]: Remove conditional code.
5122 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5123 [__NR_ftruncate64]: Make code unconditional.
5124 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5126 include <kernel-features.h>.
5127 [!__NR_ftruncate64]: Remove conditional code.
5128 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5129 [__NR_ftruncate64]: Make code unconditional.
5130 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5132 include <kernel-features.h>.
5133 [!__NR_ftruncate64]: Remove conditional code.
5134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5135 [__NR_ftruncate64]: Make code unconditional.
5136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5138 * configure.in (libc_cv_fpie): Weaken to a compile test using
5140 * configure: Regenerated.
5142 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5157 2012-05-27 David S. Miller <davem@davemloft.net>
5159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5161 (__Q_simulate_exceptions): Return void. Change to simulate
5162 exceptions by writing into the %fsr.
5163 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5164 (__Qp_handle_exceptions): Likewise.
5166 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5167 __Qp_handle_exceptions.
5168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5169 __Qp_handle_exceptions.
5170 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5171 as unused and give dummy FP_RND_NEAREST initializer.
5172 (FP_INHIBIT_RESULTS): Define.
5173 (___Q_simulate_exceptions): Update declaration.
5174 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5177 as unused and give dummy FP_RND_NEAREST initializer.
5178 (__Qp_handle_exceptions): Update declaration.
5179 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5182 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5184 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5185 the temporary FPU control word.
5186 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5187 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5189 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5192 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5194 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5195 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5198 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5200 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5203 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5205 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5206 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5207 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5208 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5210 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5211 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5214 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5216 * po/h.po: Update from translation team.
5218 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5220 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5222 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5223 handling of denormals.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5225 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5233 2012-05-26 Marek Polacek <polacek@redhat.com>
5236 * math/libm-test.inc (fma_test): Don't always expect underflow
5239 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5242 * elf/tst-execstack.c: Include stackinfo.h.
5243 (do_test): Adjust test case to ensure that pthread_getattr_np
5244 behaviour remains the same after marking stack executable.
5246 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5248 * sysdeps/unix/sysv/linux/kernel-features.h
5249 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5250 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5252 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5253 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5254 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5259 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5261 * configure.in: Define the default includes to being none.
5262 * configure: Regenerated.
5264 2012-05-25 Roland McGrath <roland@hack.frob.com>
5266 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5267 * sysdeps/x86_64/setjmp.S: Likewise.
5268 * sysdeps/i386/bsd-setjmp.S: Likewise.
5269 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5270 * sysdeps/i386/setjmp.S: Likewise.
5271 * sysdeps/i386/__longjmp.S: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5273 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5275 * include/stap-probe.h: New file.
5276 * configure.in: Handle --enable-systemtap.
5277 * configure: Regenerated.
5278 * config.h.in (USE_STAP_PROBE): New #undef.
5279 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5280 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5281 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5283 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5287 to 2.4.0 where earlier.
5288 * sysdeps/unix/sysv/linux/configure: Regenerated.
5289 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5290 <kernel-features.h>.
5291 [__ASSUME_32BITUIDS]: Make code unconditional.
5292 [!__ASSUME_32BITUIDS]: Remove conditional code.
5293 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5294 <kernel-features.h>.
5295 [__ASSUME_32BITUIDS]: Make code unconditional.
5296 [!__ASSUME_32BITUIDS]: Remove conditional code.
5297 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5298 [__ASSUME_32BITUIDS]: Make code unconditional.
5299 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5301 <kernel-features.h>.
5302 [__ASSUME_32BITUIDS]: Make code unconditional.
5303 [!__ASSUME_32BITUIDS]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5305 <kernel-features.h>.
5306 [__ASSUME_32BITUIDS]: Make code unconditional.
5307 [!__ASSUME_32BITUIDS]: Remove conditional code.
5308 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5309 <kernel-features.h>.
5310 [__ASSUME_32BITUIDS]: Make code unconditional.
5311 [!__ASSUME_32BITUIDS]: Remove conditional code.
5312 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5313 <kernel-features.h>.
5314 [__ASSUME_32BITUIDS]: Make code unconditional.
5315 [!__ASSUME_32BITUIDS]: Remove conditional code.
5316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5317 <kernel-features.h>.
5318 [__ASSUME_32BITUIDS]: Make code unconditional.
5319 [!__ASSUME_32BITUIDS]: Remove conditional code.
5320 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5321 <kernel-features.h>.
5322 [__ASSUME_32BITUIDS]: Make code unconditional.
5323 [!__ASSUME_32BITUIDS]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5325 <kernel-features.h>.
5326 [__ASSUME_32BITUIDS]: Make code unconditional.
5327 [!__ASSUME_32BITUIDS]: Remove conditional code.
5328 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5329 <kernel-features.h>.
5330 [__ASSUME_32BITUIDS]: Make code unconditional.
5331 [!__ASSUME_32BITUIDS]: Remove conditional code.
5332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5333 <kernel-features.h>.
5334 [__ASSUME_32BITUIDS]: Make code unconditional.
5335 [!__ASSUME_32BITUIDS]: Remove conditional code.
5336 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5337 <kernel-features.h>.
5338 [__ASSUME_32BITUIDS]: Make code unconditional.
5339 [!__ASSUME_32BITUIDS]: Remove conditional code.
5340 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5341 <kernel-features.h>.
5342 [__NR_setresgid] (__setresgid): Do not declare.
5343 [__ASSUME_32BITUIDS]: Make code unconditional.
5344 [!__ASSUME_32BITUIDS]: Remove conditional code.
5345 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5346 <kernel-features.h>.
5347 [__NR_setresuid] (__setresuid): Do not declare.
5348 [__ASSUME_32BITUIDS]: Make code unconditional.
5349 [!__ASSUME_32BITUIDS]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5351 <kernel-features.h>.
5352 [__ASSUME_32BITUIDS]: Make code unconditional.
5353 [!__ASSUME_32BITUIDS]: Remove conditional code.
5354 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5355 <kernel-features.h>.
5356 [__ASSUME_32BITUIDS]: Make code unconditional.
5357 [!__ASSUME_32BITUIDS]: Remove conditional code.
5358 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5359 <kernel-features.h>.
5360 [__ASSUME_32BITUIDS]: Make code unconditional.
5361 [!__ASSUME_32BITUIDS]: Remove conditional code.
5362 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5363 <kernel-features.h>.
5364 [__ASSUME_32BITUIDS]: Make code unconditional.
5365 [!__ASSUME_32BITUIDS]: Remove conditional code.
5366 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5367 <kernel-features.h>.
5368 [__ASSUME_32BITUIDS]: Make code unconditional.
5369 [!__ASSUME_32BITUIDS]: Remove conditional code.
5370 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5371 <kernel-features.h>.
5372 [__ASSUME_32BITUIDS]: Make code unconditional.
5373 [!__ASSUME_32BITUIDS]: Remove conditional code.
5374 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5375 <kernel-features.h>.
5376 [__ASSUME_32BITUIDS]: Make code unconditional.
5377 [!__ASSUME_32BITUIDS]: Remove conditional code.
5378 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5379 <kernel-features.h>.
5380 [__ASSUME_32BITUIDS]: Make code unconditional.
5381 [!__ASSUME_32BITUIDS]: Remove conditional code.
5382 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5383 <kernel-features.h>.
5384 [__ASSUME_32BITUIDS]: Make code unconditional.
5385 [!__ASSUME_32BITUIDS]: Remove conditional code.
5386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5387 <kernel-features.h>.
5388 [__ASSUME_32BITUIDS]: Make code unconditional.
5389 [!__ASSUME_32BITUIDS]: Remove conditional code.
5390 * sysdeps/unix/sysv/linux/kernel-features.h
5391 (__ASSUME_SETRESUID_SYSCALL): Remove.
5392 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5393 (__ASSUME_32BITUIDS): Likewise.
5394 (__ASSUME_LDT_WORKS): Likewise.
5395 (__ASSUME_O_DIRECTORY): Likewise.
5396 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5397 architecture but not kernel version.
5398 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5399 (__ASSUME_MMAP2_SYSCALL): Likewise.
5400 (__ASSUME_STAT64_SYSCALL): Likewise.
5401 (__ASSUME_IPC64): Likewise.
5402 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5403 <kernel-features.h>.
5404 [__ASSUME_32BITUIDS]: Make code unconditional.
5405 [!__ASSUME_32BITUIDS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5407 <kernel-features.h>.
5408 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5409 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5410 132096]: Remove conditional code.
5411 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5412 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5413 <kernel-features.h>.
5414 [__ASSUME_32BITUIDS]: Make code unconditional.
5415 [!__ASSUME_32BITUIDS]: Remove conditional code.
5416 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5417 <kernel-features.h>.
5418 [__ASSUME_32BITUIDS]: Make code unconditional.
5419 [!__ASSUME_32BITUIDS]: Remove conditional code.
5420 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5421 <kernel-features.h>.
5422 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5424 (__setresgid): Do not declare.
5425 [__ASSUME_32BITUIDS]: Make code unconditional.
5426 [!__ASSUME_32BITUIDS]: Remove conditional code.
5427 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5428 <kernel-features.h>.
5429 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5431 (__setresuid): Do not declare.
5432 [__ASSUME_32BITUIDS]: Make code unconditional.
5433 [!__ASSUME_32BITUIDS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
5439 <kernel-features.h>.
5440 [__ASSUME_32BITUIDS]: Make code unconditional.
5441 [!__ASSUME_32BITUIDS]: Remove conditional code.
5443 2012-05-25 Richard Henderson <rth@twiddle.net>
5445 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5446 dl_hwcap to ifunc resolver.
5447 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5449 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5450 dl_hwcap to ifunc resolver.
5451 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5453 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5457 for |x| <= 2**-26, not 2**-57.
5458 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5461 2012-05-24 Jeff Law <law@redhat.com>
5463 * stdio-common/Makefile (tests): Add bug25.
5464 * stdio-common/bug25.c: New test.
5466 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5469 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5470 multiple of MALLOC_ALIGNMENT in size.
5471 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5473 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5475 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5477 (FILENAME_MAX): Use macro-int-constant.
5478 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5479 (_IOFBF): Use macro-int-constant.
5482 (SEEK_CUR): Likewise.
5483 (SEEK_END): Likewise.
5484 (SEEK_SET): Likewise.
5485 (TMP_MAX): Likewise.
5486 (EOF): Use macro-int-constant. Require < 0.
5487 (NULL): Use macro-constant. Require == 0.
5488 (stdin): Require type to be FILE *.
5491 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5493 (EXIT_SUCCESS): Likewise.
5494 (NULL): Use macro-constant. Require == 0.
5495 (RAND_MAX): Use macro-int-constant.
5496 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5497 [C99-based standards] (strtof): Require function.
5498 [C99-based standards] (strtold): Likewise.
5499 [C99-based standards] (strtoll): Likewise.
5500 [C99-based standards] (strtoull): Likewise.
5501 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5502 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5503 [ISO || ISO99 || ISO11] (math.h): Likewise.
5504 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5505 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5508 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5511 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5512 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5513 * intl/dgettext.c (DCGETTEXT): Likewise.
5514 * intl/gettext.c (DCGETTEXT): Likewise.
5515 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5516 * posix/regex_internal.h (gettext): Likewise.
5517 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5519 * include/argz.h (__argz_count_internal)
5520 (__argz_stringify_internal): Remove declaration.
5521 (__argz_count, __argz_stringify): Declare hidden proto.
5522 * intl/dcgettext.c: Remove use of INTDEF.
5523 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5524 * string/argz-stringify.c: Likewise.
5525 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5526 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5527 Declare hidden proto.
5528 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5529 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5530 Declare hidden proto.
5531 * include/stdio.h (__asprintf_internal): Don't declare.
5532 (__asprintf): Don't define as macro. Declare hidden proto.
5533 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5534 (__fsetlocking): Declare hidden proto.
5535 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5536 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5538 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5539 (_IO_setlinebuf): Remove use of INTUSE.
5540 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5541 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5542 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5544 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5545 (_IO_do_flush): Remove use of INTUSE.
5546 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5547 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5548 (_IO_adjust_column, _IO_least_wmarker)
5549 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5550 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5551 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5552 (_IO_default_doallocate, _IO_wdefault_doallocate)
5553 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5554 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5555 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5556 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5557 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5558 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5559 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5560 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5561 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5562 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5563 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5564 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5565 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5567 (_IO_flush_all_internal, _IO_adjust_column_internal)
5568 (_IO_default_uflow_internal, _IO_default_finish_internal)
5569 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5570 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5571 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5572 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5573 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5574 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5575 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5576 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5577 (_IO_file_close_internal, _IO_file_close_it_internal)
5578 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5579 (_IO_file_init_internal, _IO_file_attach_internal)
5580 (_IO_file_fopen_internal, _IO_file_read_internal)
5581 (_IO_file_sync_internal, _IO_file_seek_internal)
5582 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5583 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5584 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5585 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5586 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5587 (_IO_list_all_internal, _IO_link_in_internal)
5588 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5589 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5590 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5591 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5592 (_IO_do_write_internal, _IO_padn_internal)
5593 (_IO_getline_info_internal, _IO_getline_internal)
5594 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5595 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5596 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5597 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5598 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5599 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5600 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5601 with libc_hidden_ver, remove use of INTUSE.
5602 * libio/genops.c: Likewise.
5603 * libio/freopen.c: Likewise.
5604 * libio/freopen64.c: Likewise.
5605 * libio/iofclose.c: Likewise.
5606 * libio/iofdopen.c: Likewise.
5607 * libio/iofflush.c: Likewise.
5608 * libio/iofflush_u.c: Likewise.
5609 * libio/iofgets.c: Likewise.
5610 * libio/iofgets_u.c: Likewise.
5611 * libio/iofopen.c: Likewise.
5612 * libio/iofopncook.c: Likewise.
5613 * libio/iofread.c: Likewise.
5614 * libio/iofread_u.c: Likewise.
5615 * libio/ioftell.c: Likewise.
5616 * libio/iofwrite.c: Likewise.
5617 * libio/iogetline.c: Likewise.
5618 * libio/iogets.c: Likewise.
5619 * libio/iogetwline.c: Likewise.
5620 * libio/iopadn.c: Likewise.
5621 * libio/iopopen.c: Likewise.
5622 * libio/ioseekoff.c: Likewise.
5623 * libio/ioseekpos.c: Likewise.
5624 * libio/iosetbuffer.c: Likewise.
5625 * libio/iosetvbuf.c: Likewise.
5626 * libio/ioungetc.c: Likewise.
5627 * libio/ioungetwc.c: Likewise.
5628 * libio/iovdprintf.c: Likewise.
5629 * libio/iovsprintf.c: Likewise.
5630 * libio/iovsscanf.c: Likewise.
5631 * libio/memstream.c: Likewise.
5632 * libio/obprintf.c: Likewise.
5633 * libio/oldfileops.c: Likewise.
5634 * libio/oldiofclose.c: Likewise.
5635 * libio/oldiofdopen.c: Likewise.
5636 * libio/oldiofopen.c: Likewise.
5637 * libio/oldiopopen.c: Likewise.
5638 * libio/oldstdfiles.c: Likewise.
5639 * libio/putc.c: Likewise.
5640 * libio/setbuf.c: Likewise.
5641 * libio/setlinebuf.c: Likewise.
5642 * libio/stdfiles.c: Likewise.
5643 * libio/strops.c: Likewise.
5644 * libio/vasprintf.c: Likewise.
5645 * libio/vscanf.c: Likewise.
5646 * libio/vsnprintf.c: Likewise.
5647 * libio/vswprintf.c: Likewise.
5648 * libio/wfiledoalloc.c: Likewise.
5649 * libio/wfileops.c: Likewise.
5650 * libio/wgenops.c: Likewise.
5651 * libio/wmemstream.c: Likewise.
5652 * libio/wstrops.c: Likewise.
5653 * libio/__fpurge.c: Likewise.
5654 * libio/__fsetlocking.c: Likewise.
5655 * assert/assert.c: Likewise.
5656 * debug/fgets_chk.c: Likewise.
5657 * debug/fgets_u_chk.c: Likewise.
5658 * debug/fread_chk.c: Likewise.
5659 * debug/fread_u_chk.c: Likewise.
5660 * debug/gets_chk.c: Likewise.
5661 * debug/obprintf_chk.c: Likewise.
5662 * debug/vasprintf_chk.c: Likewise.
5663 * debug/vdprintf_chk.c: Likewise.
5664 * debug/vsnprintf_chk.c: Likewise.
5665 * debug/vsprintf_chk.c: Likewise.
5666 * malloc/mtrace.c: Likewise.
5667 * misc/error.c: Likewise.
5668 * misc/syslog.c: Likewise.
5669 * stdio-common/asprintf.c: Likewise.
5670 * stdio-common/fxprintf.c: Likewise.
5671 * stdio-common/getw.c: Likewise.
5672 * stdio-common/isoc99_fscanf.c: Likewise.
5673 * stdio-common/isoc99_scanf.c: Likewise.
5674 * stdio-common/isoc99_vfscanf.c: Likewise.
5675 * stdio-common/isoc99_vscanf.c: Likewise.
5676 * stdio-common/isoc99_vsscanf.c: Likewise.
5677 * stdio-common/printf-prs.c: Likewise.
5678 * stdio-common/printf_fp.c: Likewise.
5679 * stdio-common/printf_fphex.c: Likewise.
5680 * stdio-common/printf_size.c: Likewise.
5681 * stdio-common/putw.c: Likewise.
5682 * stdio-common/scanf.c: Likewise.
5683 * stdio-common/sprintf.c: Likewise.
5684 * stdio-common/tmpfile.c: Likewise.
5685 * stdio-common/vfprintf.c: Likewise.
5686 * stdio-common/vfscanf.c: Likewise.
5687 * stdlib/strfmon_l.c: Likewise.
5688 * sunrpc/openchild.c: Likewise.
5689 * sunrpc/xdr_stdio.c: Likewise.
5690 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5691 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5693 2012-05-24 Roland McGrath <roland@hack.frob.com>
5695 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5697 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5698 in the third column, to generate for the shared library an IFUNC
5699 that uses _dl_vdso_vsym.
5700 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5701 * Makeconfig (object-suffixes-noshared): New variable.
5703 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5704 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5705 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5706 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5709 * include/sys/time.h (__gettimeofday): Remove macro.
5710 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5711 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5713 (__gettimeofday): Add libc_hidden_def.
5714 (gettimeofday): Add libc_hidden_weak.
5715 * sysdeps/mach/gettimeofday.c: Likewise.
5716 * sysdeps/posix/gettimeofday.c: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5720 (__gettimeofday_internal): Remove strong_alias.
5721 (__gettimeofday): Add libc_hidden_def.
5722 (gettimeofday): Add libc_hidden_weak.
5723 * sysdeps/unix/syscalls.list (gettimeofday):
5724 Remove __gettimeofday_internal alias.
5726 2012-05-24 Daniel Jacobowitz <drow@false.org>
5727 H.J. Lu <hongjiu.lu@intel.com>
5730 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5731 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5732 (largebin_index_32_big): New.
5733 (largebin_index): Use it for 16-byte alignment.
5734 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5735 correction with front_misalign.
5737 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5765 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5766 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5768 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5772 * math/libm-test.inc (exp_test): Add test from bug 14036.
5773 (pow_test): Add test from bug 10846.
5775 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5777 (special_function): Do not include flags in test name.
5778 (parse_args): Likewise.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5781 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5782 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5787 * math/libm-test.inc ("Philosophy"): Update comment about
5789 (UNDERFLOW_EXCEPTION): New macro.
5790 (UNDERFLOW_EXCEPTION_OK): Likewise.
5791 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5792 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5793 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5794 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5795 (INVALID_EXCEPTION_OK): Update value.
5796 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5797 (OVERFLOW_EXCEPTION_OK): Likewise.
5798 (IGNORE_ZERO_INF_SIGN): Likewise.
5799 (test_exceptions): Handle underflow exceptions.
5800 (acos_test): Update for underflow exception expectations.
5801 (cexp_test): Likewise.
5802 (clog_test): Likewise.
5803 (clog10_test): Likewise.
5804 (csqrt_test): Likewise.
5805 (ctan_test): Likewise.
5806 (ctanh_test): Likewise.
5807 (exp_test): Likewise.
5808 (exp10_test): Likewise.
5809 (exp2_test): Likewise.
5810 (expm1_test): Likewise.
5811 (fma_test): Likewise.
5812 (j0_test): Likewise.
5813 (jn_test): Likewise.
5814 (nexttoward_test): Likewise.
5815 (pow_test): Likewise.
5816 (scalbn_test): Likewise.
5817 (scalbln_test): Likewise.
5818 (tan_test): Likewise.
5819 (y1_test): Likewise.
5820 * sysdeps/i386/fpu/libm-test-ulps: Update.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5823 2012-05-23 David S. Miller <davem@davemloft.net>
5825 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5826 (__libc_sigaction): Remove unused local variables.
5828 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5830 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5832 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5834 mktime: avoid signed integer overflow
5835 * time/mktime.c (__mktime_internal): Do not mishandle the case
5836 where diff == INT_MIN.
5838 mktime: simplify computation of average
5839 * time/mktime.c (ranged_convert): Use new time_t_avg function
5840 instead of rolling our own (probably-slower) code.
5842 mktime: do not assume signed right shift propagates sign bit
5843 * time/mktime.c (isdst_differ): New static function.
5844 (__mktime_internal): No need to normalize tm_isdst now.
5845 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5848 mktime: merge another wrapv change from gnulib
5849 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5850 from some compilers.
5852 mktime: remove incorrect attempt at unusual arithmetics
5853 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5854 The code didn't really work on such machines anyway.
5855 (TYPE_MINIMUM): Assume two's complement.
5856 (twos_complement_arithmetic): Verify that long_int and time_t
5857 are two's complement (or unsigned, in the latter case).
5859 mktime: check signed shifts on long_int and time_t, too
5860 * time/mktime.c (SHR): Check that shifts work as desired
5861 on the types long_int and time_t too, as SHR is used on
5864 mktime: do not assume 'long' is wide enough
5865 * time/mktime.c (verify): Move decl up.
5866 (long_int): New type.
5867 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5868 to remove assumption in the code that 'long' is wide enough to
5869 store year values. This assumption is not true on x32 and on
5870 some non-glibc platforms.
5872 mktime: merge wrapv change from gnulib
5873 * time/mktime.c (WRAPV): New macro.
5874 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5875 (guess_time_tm, __mktime_internal): Do not assume that signed
5876 integer overflow wraps around; modern compilers generate code
5877 where this assumption is no longer valid.
5879 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5881 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5882 Replace "jmp L(pseudo_end)" with "ret".
5883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5886 2012-05-23 Andreas Jaeger <aj@suse.de>
5888 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5889 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5891 2012-05-23 Andreas Jaeger <aj@suse.de>
5892 Maximilian Attems <max@stro.at>
5894 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5897 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5899 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5900 code so that pseudo_end is just ret and the stack pointer is
5901 correct also for static library in error case.
5903 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5905 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5906 move to syscalls.list.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5912 * manual/install.texi (Running make install): Do not mention Linux
5913 kernel version for which pt_chown is not needed.
5914 (Linux): Do not mention problems with nscd with 2.0 kernels.
5915 * INSTALL: Regenerated.
5917 2012-05-23 Andreas Jaeger <aj@suse.de>
5919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5920 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5922 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5923 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5924 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5926 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5932 * sysdeps/unix/sysv/linux/bits/in.h
5933 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5935 2012-05-22 Roland McGrath <roland@hack.frob.com>
5937 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5938 (PREPARE_VERSION): Just use assert instead, it will be elided
5939 under [NDEBUG] anyway.
5941 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5943 * sysdeps/unix/sysv/linux/Makefile: Include
5944 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5945 (sysdep_routines): Remove sysctl.
5946 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5947 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5950 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5952 2012-05-22 Andreas Jaeger <aj@suse.de>
5954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5955 that pseudo_end is just ret and the stack pointer is correct also
5956 for static library in error case.
5958 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5961 * nss/nsswitch.c (defconfig_entries): New variable.
5962 (__nss_database_lookup): Don't leak defconfig entries.
5963 (nss_parse_service_list): Don't leak on error paths.
5964 (free_database_entries): New function.
5965 (free_defconfig): New function.
5966 (free_mem): Move common code to free_database_entries.
5968 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5972 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5974 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5975 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5978 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5979 (INTERNAL_SYSCALL_TYPES): Likewise.
5980 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5981 (LOAD_REGS_TYPES_[1-6]): Likewise.
5982 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5983 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5985 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5988 copysignl for GLIBC_2_0.
5989 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5990 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5992 logbl for GLIBC_2_0.
5993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5994 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5996 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6001 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6004 * time/mktime.c: Update copyright years.
6006 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6008 mktime: merge comment-quoting-style change from gnulib
6009 * time/mktime.c: Quote 'like this' in comments.
6010 The GNU coding standards suggest that we no longer quote `like this',
6011 as "`" and "'" are typically rendered asymmetrically nowadays.
6012 The typical gnulib style is to quote 'like this' when quoting
6013 code, and "like this" when quoting English.
6015 * time/mktime.c (compile-command): Add "-I.".
6017 mktime: merge mktime-internal.h change from gnulib
6018 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6020 mktime: merge time_r change from gnulib
6021 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6023 mktime: merge DEBUG change from gnulib
6024 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6025 case system <time.h> has a #define.
6027 mktime: merge <sys/types.h> change from gnulib
6028 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6029 since <time.t> is now guaranteed to define time_t.
6031 mktime: merge HAVE_CONFIG_H change from gnulib
6032 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6041 (struct rusage): Use anonymous union to pad each field to
6044 2012-05-21 David S. Miller <davem@davemloft.net>
6046 * Makefules (o-iterator): Remove .s cases.
6047 (compile-command.s): Delete.
6048 (COMPILE.s): Delete.
6049 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6051 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6053 * configure.in (libc_cv_predef_stack_protector): Only consider
6054 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6055 * configure: Regenerated.
6057 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6060 New macro. Use R*LP on int and pointer.
6061 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6062 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6064 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6066 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6067 [__WORDSIZE_TIME64_COMPAT32] instead of
6068 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6069 (struct utmp): Likewise.
6070 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6071 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6073 (__WORDSIZE_TIME64_COMPAT32): This.
6074 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6075 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6076 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6078 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6079 (__WORDSIZE_TIME64_COMPAT32): New macro.
6081 2012-05-21 Andreas Jaeger <aj@suse.de>
6083 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6084 only if [SHARED]. Add prototype for __wcschr_ia32.
6086 2012-05-21 Roland McGrath <roland@hack.frob.com>
6088 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6089 of %rbp unmolested in the jmp_buf while mangling the low bits.
6090 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6091 unmolested high bits of %rbp while demangling the low bits.
6092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6094 2012-05-21 Andreas Jaeger <aj@suse.de>
6096 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6097 * sunrpc/svc_simple.c: Use it for registerrpc.
6098 * sunrpc/xcrypt.c: Use it for passwd2des.
6100 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6102 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6104 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6105 Don't define if [__SYSCALL_WORDSIZE != 32].
6106 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6109 2012-05-21 Bruno Haible <bruno@clisp.org>
6110 Andreas Jaeger <aj@suse.de>
6112 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6113 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6114 inptr and inend for must_buffer_ch.
6115 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6116 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6117 * stdio-common/Makefile (tests): Remove bug15.
6118 (bug15-ENV): Remove macro.
6119 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6122 2012-05-19 Andreas Jaeger <aj@suse.de>
6123 Roland McGrath <roland@hack.frob.com>
6125 * manual/contrib.texi: Completely rewritten. It contains now an
6126 alphabetical list of contributors and their contributions.
6128 2012-05-21 Richard Henderson <rth@twiddle.net>
6130 * misc/getauxval.c (__getauxval): Use unsigned long int.
6131 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6132 (getauxval): Use unsigned long int.
6134 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6136 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6138 2012-05-21 Roland McGrath <roland@hack.frob.com>
6140 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6141 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6142 __alignof__ (long double).
6144 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6148 2012-05-20 Richard Henderson <rth@twiddle.net>
6150 * misc/getauxval.c: New file.
6151 * misc/sys/auxv.h: New file.
6152 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6153 (routines): Add getauxval.
6154 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6155 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6156 * elf/dl-sysdep.c (_dl_auxv): Remove.
6157 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6158 * elf/dl-support.c (_dl_auxv): New variable.
6159 (_dl_aux_init): Initialize it.
6160 * manual/startup.texi (Auxiliary Vector): New node.
6161 * sysdeps/generic/bits/hwcap.h: New file.
6162 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6163 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6164 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6165 * sysdeps/sparc/sysdep.h: ... here. Include it.
6166 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6179 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6183 2012-05-19 David S. Miller <davem@davemloft.net>
6185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6187 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6190 * math/s_ccosh.c: Include <float.h>
6191 (__ccosh): Avoid internal overflow calculating sinh and cosh
6192 values before multiplying by sin and cos values.
6193 * math/s_ccoshf.c: Likewise.
6194 * math/s_ccoshl.c: Likewise.
6195 * math/s_csin.c: Likewise.
6196 * math/s_csinf.c: Likewise.
6197 * math/s_csinl.c: Likewise.
6198 * math/s_csinh.c: Likewise.
6199 * math/s_csinhf.c: Likewise.
6200 * math/s_csinhl.c: Likewise.
6201 * math/libm-test.inc (ccos_test): Add more tests.
6202 (ccosh_test): Likewise.
6203 (csin_test): Likewise.
6204 (csinh_test): Likewise.
6205 * sysdeps/i386/fpu/libm-test-ulps: Update.
6206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6210 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6211 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6213 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6215 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6217 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6218 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6219 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6220 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6221 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6222 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6223 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6224 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6225 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6226 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6227 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6228 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6229 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6230 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6231 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6232 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6233 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6234 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6235 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6236 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6237 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6238 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6239 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6240 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6241 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6242 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6243 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6249 2012-05-18 Andreas Jaeger <aj@suse.de>
6251 * csu/.gitignore: Delete.
6253 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6255 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6256 (timex): Use __syscall_slong_t.
6258 2012-05-18 Andreas Jaeger <aj@suse.de>
6259 Carlos O'Donell <carlos_odonell@mentor.com>
6261 * manual/install.texi (Configuring and compiling): Update
6262 description about files modified in the source directory.
6263 * INSTALL: Regenerated.
6265 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6267 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6268 value. Use "or" to set return value to -1.
6269 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6270 negate return value.
6272 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6274 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6275 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6276 failure if the compiler has Graphite support disabled.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6279 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6280 CFLAGS-memmove.c): Likewise.
6281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6284 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6286 * sysdeps/x86_64/x32/_itoa.h: New file.
6288 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6289 getdents system call only if kernel and user dirents have the
6290 same d_ino and d_off.
6292 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6293 LLONG_MAX != LONG_MAX.
6294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6295 (_fitoa_word): Likewise.
6297 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6300 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6304 include <bits/wordsize.h>. Check __x86_64__ instead of
6306 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6307 if __x86_64__ is defined. Use anonymous union on fpstate.
6309 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6312 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6314 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6315 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6316 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6317 Refer to _rtld_local_ro instead of _rtld_global_ro.
6318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6320 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6322 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6324 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6325 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6326 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6328 * sysdeps/powerpc/powerpc32/dl-machine.c
6329 (__elf_machine_runtime_setup) [PROF]: Don't reference
6332 2012-05-18 Andreas Jaeger <aj@suse.de>
6334 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6335 function only available for GCCs before 3.4 since GCC 3.4
6336 introduced a builtin.
6338 (llrintf): Likewise.
6346 (nearbyint): Likewise.
6347 (nearbyintf): Likewise.
6353 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6355 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6356 on both fields and cast pointer to __syscall_ulong_t.
6358 * bits/types.h (__fsword_t): New type.
6359 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6360 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6362 (__FSWORD_T_TYPE): Likewise.
6363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6364 (__FSWORD_T_TYPE): Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6366 (__FSWORD_T_TYPE): Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6368 (__FSWORD_T_TYPE): Likewise.
6369 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6370 __SWORD_TYPE with __fsword_t.
6371 (statfs64): Likewise.
6373 2012-05-17 David S. Miller <davem@davemloft.net>
6375 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6377 2012-05-17 Andreas Jaeger <aj@suse.de>
6379 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6382 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6384 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6386 2012-05-17 Andreas Jaeger <aj@suse.de>
6388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6391 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6393 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6395 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6397 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6398 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6400 2012-05-17 Andreas Jaeger <aj@suse.de>
6401 Carlos O'Donell <carlos_odonell@mentor.com>
6404 * sysdeps/x86_64/multiarch/init-arch.h
6405 (bit_YMM_Usable): Rename to...
6406 (bit_AVX_Usable): ... this.
6407 (bit_FMA4_Usable): New macro.
6408 (bit_XMM_state): New macro.
6409 (bit_YMM_state): New macro.
6410 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6411 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6412 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6413 (CPUID_OSXSAVE): New macro.
6414 (CPUID_AVX): New macro.
6415 (CPUID_FMA4): New macro.
6416 (index_YMM_Usable): Rename to...
6417 (index_AVX_Usable): ... this.
6418 (HAS_AVX): Use HAS_ARCH_FEATURE.
6419 (HAS_FMA4): Likewise.
6420 (HAS_YMM_USABLE): Remove.
6421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6422 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6424 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6425 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6426 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6427 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6428 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6430 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6432 * math/libm-test.c: Support platforms without multiple rounding modes.
6433 * math/bug-nextafter.c: Support platforms without FP exceptions.
6434 * math/bug-nexttoward.c: Likewise.
6435 * math/test-fenv.c: Likewise.
6436 * math/test-misc.c: Likewise.
6437 * stdlib/bug-getcontext.c: Likewise.
6439 2012-05-17 Andreas Jaeger <aj@suse.de>
6441 * manual/examples/search.c (critter_cmp): Change signature to
6443 * manual/string.texi (Collation Functions): Likewise.
6445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6447 * bits/types.h: Fold copyright years.
6448 * bits/typesizes.h: Likewise.
6449 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6453 * time/time.h: Likewise.
6455 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6458 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6459 in instead of returning them. Return void.
6460 (__libc_mallinfo): Accumulate over all arenas.
6461 (__malloc_stats): Adjust for change in int_mallinfo interface.
6463 2012-05-16 Roland McGrath <roland@hack.frob.com>
6466 * configure.in (NM): Add AC_CHECK_TOOL for it.
6467 (libc_extra_cflags): New substituted variable.
6468 Check for -fstack-protector being used implicitly.
6469 * configure: Regenerated.
6470 * config.make.in (config-extra-cflags): New variable,
6471 gets @libc_extra_cflags@.
6472 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6475 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6476 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6477 * configure: Regenerated.
6478 * config.make.in (CPPUNDEFS): New substituted variable.
6479 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6480 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6481 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6483 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6485 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6486 (mq_attr): Use __syscall_slong_t.
6488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6491 Check __x86_64__ instead of __WORDSIZE.
6492 (_STAT_VER_LINUX): Likewise.
6493 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6494 __syscall_ulong_t and __syscall_slong_t.
6497 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6503 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6507 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6510 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6511 include <bits/wordsize.h>. Check __x86_64__ instead of
6513 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6515 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6518 include <bits/wordsize.h>. Check __x86_64__ instead of
6520 (user_regs_struct): Use "__extension__ unsigned long long"
6521 instead of "unsigned long" if __x86_64__ is defined.
6522 (user): Likewise. Pad after pointer field if __ILP32__ is
6525 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6527 * configure.in (makeinfo): Require version 4.5 or later. Allow
6529 * configure: Regenerated.
6530 * manual/install.texi (texinfo): Increase version requirement to
6532 * INSTALL: Regenerated.
6534 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6536 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6538 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6540 * sysdeps/x86_64/x32/ffs.c: New file.
6542 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6544 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6545 defined. Use __syscall_ulong_t.
6546 (shminfo): Use __syscall_ulong_t.
6547 (shm_info): Likewise.
6549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6552 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6554 (msgqnum_t): Use __syscall_ulong_t.
6555 (msglen_t): Likewise.
6556 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6559 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6562 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6564 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6565 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6567 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6570 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6571 include <bits/wordsize.h>. Check __x86_64__ instead of
6574 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6575 "unsigned long long int" if __x86_64__ is defined.
6576 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6579 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6580 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6584 (GET_PC): Cast to uintptr_t first.
6585 (GET_FRAME): Likewise.
6586 (GET_STACK): Likewise.
6588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6618 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6620 * Makerules (+depfiles): Also collect depfiles from .oS in
6622 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6623 .oS, $(libnldbl-routines)).
6625 * Makerules (native-compile-mkdep-flags): Define.
6626 * sunrpc/Makefile (extra-objs): Add $(addprefix
6627 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6628 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6629 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6630 calling $(make-target-directory).
6632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6634 * bits/types.h (__snseconds_t): Removed.
6635 * time/time.h (struct timespec): Replace __snseconds_t with
6637 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6638 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6641 (__SNSECONDS_T_TYPE): Likewise.
6642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6643 (__SNSECONDS_T_TYPE): Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6645 (__SNSECONDS_T_TYPE): Likewise.
6647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6649 * sysdeps/mach/hurd/bits/typesizes.h
6650 (__SYSCALL_SLONG_TYPE): New macro.
6651 (__SYSCALL_ULONG_TYPE): Likewise.
6653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6655 * bits/types.h (__syscall_slong_t): New type.
6656 (__syscall_ulong_t): Likewise.
6658 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6659 (__SYSCALL_ULONG_TYPE): Likewise.
6660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6661 (__SYSCALL_SLONG_TYPE): Likewise.
6662 (__SYSCALL_ULONG_TYPE): Likewise.
6663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6664 (__SYSCALL_SLONG_TYPE): Likewise.
6665 (__SYSCALL_ULONG_TYPE): Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6667 (__SYSCALL_SLONG_TYPE): Likewise.
6668 (__SYSCALL_ULONG_TYPE): Likewise.
6670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6672 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6673 Add sigaltstack-offsets.sym.
6674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6675 <sigaltstack-offsets.h>.
6676 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6677 longjmp_msg pointer.
6678 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6679 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6681 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6683 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6685 * elf/stackguard-macros.h: Remove file.
6686 * sysdeps/generic/stackguard-macros.h: New file.
6687 * sysdeps/i386/stackguard-macros.h: Likewise.
6688 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6689 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6690 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6691 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6692 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6693 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6694 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6695 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6696 <elf/stackguard-macros.h>.
6699 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6700 __aligned__ in attribute.
6701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6702 (gregset_t): Likewise.
6704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6706 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6707 * sysdeps/x86_64/64/Implies-after: Here. New file.
6708 * sysdeps/x86_64/x32/Implies-after: New file.
6710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6712 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6713 and access return value for _dl_profile_fixup. Use R10_LP to
6716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6718 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6722 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6723 * sysdeps/x86_64/x32/sysdep.h: New file.
6725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6727 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6728 * sysdeps/x86_64/setjmp.S: Likewise.
6730 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6734 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6736 remove unused global constant.
6738 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6740 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6741 include of <not-cancel.h>.
6743 2012-05-15 Roland McGrath <roland@hack.frob.com>
6745 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6747 2012-05-15 Jeff Law <law@redhat.com>
6748 Andreas Jaeger <aj@suse.de>
6751 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6753 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6754 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6755 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6756 code changing __hst_map_handle.map.
6758 2012-05-15 Roland McGrath <roland@hack.frob.com>
6760 * configure.in (sysnames): Look for Implies-before and Implies-after
6762 * configure: Regenerated.
6764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6767 8-byte data alignment with LP_SIZE alignment.
6769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6776 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6780 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6788 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6789 (stackinfo_sub_sp): Likewise.
6791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6808 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6812 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6813 into R11_LP and load __x86_64_shared_cache_size_half into
6816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6821 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6829 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6830 powerpc32/power7/fpu/s_logb.c via #include.
6831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6832 powerpc32/power7/fpu/s_logbf.c via #include.
6833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6834 powerpc32/power7/fpu/s_logbl.c via #include.
6836 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6838 * README.libm: Remove file.
6840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6842 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6843 count for x32. Use R*_LP and omit operand-size suffix.
6845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6847 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6848 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6849 * sysdeps/x86_64/x32/shlib-versions: New file.
6851 2012-05-14 Roland McGrath <roland@hack.frob.com>
6853 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6854 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6855 Use _dl_fatal_printf instead.
6857 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6859 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6860 set if not set by the user. Do not allow for being unset.
6861 * sysdeps/unix/sysv/linux/configure: Regenerated.
6863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6865 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6866 the `q' suffix from lea and replace .quad with ASM_ADDR.
6868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6871 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6873 (PTR_DEMANGLE): Likewise.
6875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6877 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6879 (ASM_ADDR): Likewise.
6897 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6899 * sysdeps/x86_64/x32/dl-machine.h: New file.
6901 2012-05-14 Andreas Jaeger <aj@suse.de>
6903 * manual/Makefile (subdir): Remove export of subdir.
6904 (all): Remove target.
6905 (.PHONY): Remove all from list.
6906 (mkinstalldirs): Remove.
6907 (.PHONY): Remove installdirs from list.
6908 ($(inst_infodir)/libc.info): Use make-target-directory.
6909 (installdirs): Remove.
6911 (glibc-targets): Remove.
6914 ($(objpfx)stubs ../po/manual.pot): Remove.
6915 ($(objpfx)stamp%): Remove.
6916 (make-target-directory): Remove.
6917 (subdir_install): Remove.
6925 * manual/.gitignore: Remove, it's not needed anymore.
6926 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6928 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6930 (texis): Renamed to $(objpfx)texis.
6931 (texis-path): New, contains path to generated files.
6932 (chapters.%): Use texis-path for complete path, add extra argument
6934 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6935 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6936 (summary,texi, stamp-summary): Use complete path of
6937 files. Generate files in build dir.
6938 (dir-add.texi): Build in build dir.
6939 (libm-err.texi,stamp-libm-err): Likewise.
6940 (version.texi, stamp-version): Likewise.
6941 (.%c.texi): Likewise.
6942 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6943 (mostlyclean): Remove target.
6944 (realclean): Remove target.
6945 (generated): Add new variable with contents from mostlyclean and
6946 realclean, remove entries duplicated in common-mostlyclean, add
6947 stamp-libm-err and stamp-version.
6948 (generated-dirs): Add libc directory.
6949 ($(inst_infodir)/libc.info): Install files from build dir.
6951 * manual/install.texi (Configuring and compiling): Adjust since
6952 the info files are not part of the tar ball anymore.
6954 2012-05-14 Andreas Jaeger <aj@suse.de>
6956 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6959 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6963 to 2.2.0 where earlier.
6964 * sysdeps/unix/sysv/linux/configure: Regenerated.
6965 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6966 Remove conditional code.
6967 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6968 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6969 Remove conditional code.
6970 [!__NR_lchown]: Likewise.
6971 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6972 [__NR_lchown]: Likewise.
6973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6974 comment referencing __ASSUME_LCHOWN_SYSCALL.
6975 * sysdeps/unix/sysv/linux/i386/sigaction.c
6976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6978 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6979 Remove conditional code.
6980 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6981 (__protocol_available): Remove #if 0 code.
6982 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6984 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6985 * sysdeps/unix/sysv/linux/kernel-features.h
6986 (__ASSUME_GETCWD_SYSCALL): Don't define.
6987 (__ASSUME_REALTIME_SIGNALS): Likewise.
6988 (__ASSUME_PREAD_SYSCALL): Likewise.
6989 (__ASSUME_PWRITE_SYSCALL): Likewise.
6990 (__ASSUME_POLL_SYSCALL): Likewise.
6991 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6992 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6994 (__ASSUME_SIOCGIFNAME): Don't define.
6995 (__ASSUME_MSG_NOSIGNAL): Likewise.
6996 (__ASSUME_SENDFILE): Define unconditionally.
6997 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6998 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7000 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7001 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7002 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7003 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7004 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7005 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7006 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7023 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7031 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7032 Remove conditional code.
7033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7034 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7035 Remove conditional code.
7036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7037 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7038 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7039 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7040 Remove conditional code.
7041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7042 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7043 Remove conditional code.
7044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7045 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7046 Remove conditional code.
7047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7048 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7049 Remove conditional code.
7050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7051 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7052 Remove conditional code.
7053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7054 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7057 * sysdeps/unix/sysv/linux/sigaction.c
7058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7060 * sysdeps/unix/sysv/linux/sigpending.c
7061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7063 * sysdeps/unix/sysv/linux/sigprocmask.c
7064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7066 * sysdeps/unix/sysv/linux/sigsuspend.c
7067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7070 (__libc_missing_rt_sigs): Remove.
7071 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7072 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7073 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7074 Remove conditional code.
7075 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7076 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7079 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7080 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7081 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7083 2012-05-14 Andreas Jaeger <aj@suse.de>
7085 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7086 it's not used in glibc.
7087 (__coshm1): Likewise.
7088 (__acosh1p): Likewise.
7091 * manual/string.texi (Copying and Concatenation): Add missing
7092 variable in concat example.
7093 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7099 __builtin_clzl with __builtin_clzll.
7101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7104 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7107 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7109 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7110 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7111 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7112 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7114 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7116 * NEWS: Update ia64 info.
7118 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7120 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7123 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7125 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7126 * sysdeps/unix/syscalls.list (dup3): Likewise.
7127 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7128 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7130 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7132 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7133 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7135 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7137 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7139 (TLS_IE): Use mov/add instead of movq/addq to load thread
7141 (TLS_GD_PREFIX): New.
7144 2012-05-11 David S. Miller <davem@davemloft.net>
7146 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7147 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7148 (_FPU_SETCW): Likewise.
7150 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7152 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7155 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7158 * iconvdata/gb18030.c: Update tables.
7159 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7160 characters specially.
7161 (BODY for TO_LOOP): Add encoding of missing ranges.
7163 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7166 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7167 * sysdeps/mach/hurd/dup3.c: Likewise.
7168 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7169 * sysdeps/powerpc/memmove.c:: Likewise.
7171 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7174 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7176 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7178 * elf/elf.h (R_X86_64_RELATIVE64): New.
7179 (R_X86_64_NUM): Updated.
7180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7181 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7182 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7183 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7184 tst-quad1pie tst-quad2pie
7185 (modules-names): Add tst-quadmod1 tst-quadmod2.
7186 ($(objpfx)tst-quad1): New dependency.
7187 ($(objpfx)tst-quad2): Likewise.
7188 ($(objpfx)tst-quad1pie): Likewise.
7189 ($(objpfx)tst-quad2pie): Likewise.
7190 * sysdeps/x86_64/tst-quad1.c: New file.
7191 * sysdeps/x86_64/tst-quad1pie.c: New file.
7192 * sysdeps/x86_64/tst-quad2.c: Likewise.
7193 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7194 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7195 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7196 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7197 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7199 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7201 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7202 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7203 * streams/stropts.h (t_scalar_t): Define type.
7205 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7206 (_PATH_PRESERVE): Set to "/var/lib".
7207 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7209 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7212 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7213 if __dir_mkfile succeeded.
7215 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7216 checking for _hurd_dtablesize. Unlock it right after having
7217 finished _hurd_dtable allocation.
7219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7221 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7222 * sysdeps/mach/hurd/configure: Regenerated.
7223 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7224 special-casing to...
7225 * sysdeps/gnu/configure.in: ... this new file.
7226 * sysdeps/unix/sysv/linux/configure: Regenerated.
7227 * sysdeps/gnu/configure: New generated file.
7229 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7230 for Linux: use nsec instead of usec, as well as:
7231 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7232 members of type struct timespec.
7233 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7235 (struct stat64): Likewise.
7236 (_STATBUF_ST_NSEC): New macro.
7237 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7239 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7240 __strtoul_internal rather than strtoul.
7242 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7244 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7249 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7250 which preserves existing values.
7251 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7253 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7255 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7256 TIMEOUT values. Return EINVAL for NFDS values either negative or
7257 greater than FD_SETSIZE.
7259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7261 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7262 allocated, call __vm_protect to finish enabling the existing space, and
7263 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7264 allocate the remainder.
7266 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7268 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7269 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7273 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7274 sysdeps/mach/hurd/readlink.c.
7276 * posix/tst-sysconf.c (posix_options): Only use
7277 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7278 _POSIX_SYNCHRONIZED_IO when they are defined
7279 * sysdeps/mach/hurd/bits/posix_opt.h:
7280 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7281 (_XOPEN_REALTIME): Undefine macro.
7282 (_XOPEN_REALTIME_THREADS): Undefine macro.
7283 (_XOPEN_SHM): Undefine macro.
7284 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7286 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7288 (_POSIX_ASYNC_IO): Undefine macro.
7289 (_POSIX_PRIORITIZED_IO): Undefine macro.
7290 (_POSIX_SPIN_LOCKS): Define macro to -1.
7292 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7293 SA_NODEFER, SA_RESETHAND.
7294 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7295 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7300 * elf/Makefile (pldd-modules): Define unconditionally.
7302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7304 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7306 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7308 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7309 Return ENOENT when name is empty.
7310 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7314 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7316 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7320 Fix mlock in all cases except non-readable pages.
7321 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7322 instead of VM_PROT_ALL as parameter to __vm_wire function.
7324 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7325 (__mkdir): When path is `/', just fail with EEXIST.
7326 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7330 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7331 <sys/uio.h> (for writev).
7332 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7333 and <sys/param.h> (for MIN).
7335 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7337 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7338 REQUESTED_TIME. Properly set the remaining time and return EINTR
7341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7343 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7344 Depend on against $(link-rpcuserlibs).
7346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7348 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7349 (__libc_stack_end): Do not use attribute_relro.
7350 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7351 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7352 to libthread-provided value.
7353 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7356 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7359 * bits/libc-lock.h (__libc_once_get): New macro.
7360 * sysdeps/mach/bits/libc-lock.h: Likewise.
7361 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7363 instead of using implementation details.
7365 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7366 * libio/freopen.c: Likewise.
7367 * libio/freopen64.c: Likewise.
7368 * misc/syslog.c: Likewise.
7369 * nscd/connections.c: Likewise.
7370 * nscd/netgroupcache.c: Likewise.
7371 * sysdeps/posix/getcwd.c: Likewise.
7373 2012-05-10 Roland McGrath <roland@hack.frob.com>
7375 * math/w_ilogbf.c: Add #include <limits.h>.
7377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7379 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7380 path instead of returning without unlocking.
7382 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7383 immediate-write ioctls.
7384 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7388 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7389 __builtin_frame_address instead of making assumptions about the
7390 location of the return address relative to DATA. Force early load of
7392 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7393 __builtin_frame_address.
7396 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7397 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7398 implement dup3 and do some further code clean-ups.
7399 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7400 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7404 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7406 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7407 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7408 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7409 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7410 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7413 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7414 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7415 when handler == SIG_ERR, not when handler != SIG_ERR.
7417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7419 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7420 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7423 accept4 for GNU Hurd.
7424 * include/sys/socket.h (__libc_accept4): New prototype.
7425 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7426 to implement __libc_accept4.
7427 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7429 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7431 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7432 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7433 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7438 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7442 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7443 assertion on O_CLOEXEC flag.
7444 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7445 * hurd/intern-fd.c: Likewise.
7446 * hurd/port2fd.c: Likewise.
7448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7451 * bits/in.h (IPV6_PKTINFO): Define new macro.
7452 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7454 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7459 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7461 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7465 * math/libm-test.inc (logb_test) : Additional logb tests.
7467 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7468 Andreas Jaeger <aj@suse.de>
7470 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7471 * configure: Regenerated.
7472 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7473 * config.make.in (link-obsolete-rpc): New substituted variable.
7474 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7475 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7476 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7477 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7478 so that libc.a contains the symbols.
7479 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7480 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7481 * sunrpc/auth_none.c: Likewise.
7482 * sunrpc/auth_unix.c: Likewise.
7483 * sunrpc/authdes_prot.c: Likewise.
7484 * sunrpc/authuxprot.c: Likewise.
7485 * sunrpc/clnt_gen.c: Likewise.
7486 * sunrpc/clnt_perr.c: Likewise.
7487 * sunrpc/clnt_raw.c: Likewise.
7488 * sunrpc/clnt_simp.c: Likewise.
7489 * sunrpc/clnt_tcp.c: Likewise.
7490 * sunrpc/clnt_udp.c: Likewise.
7491 * sunrpc/clnt_unix.c: Likewise.
7492 * sunrpc/des_crypt.c: Likewise.
7493 * sunrpc/des_soft.c: Likewise.
7494 * sunrpc/get_myaddr.c: Likewise.
7495 * sunrpc/key_call.c: Likewise.
7496 * sunrpc/key_prot.c: Likewise.
7497 * sunrpc/netname.c: Likewise.
7498 * sunrpc/pm_getmaps.c: Likewise.
7499 * sunrpc/pm_getport.c: Likewise.
7500 * sunrpc/pmap_clnt.c: Likewise.
7501 * sunrpc/pmap_prot.c: Likewise.
7502 * sunrpc/pmap_prot2.c: Likewise.
7503 * sunrpc/pmap_rmt.c: Likewise.
7504 * sunrpc/publickey.c: Likewise.
7505 * sunrpc/rpc_cmsg.c: Likewise.
7506 * sunrpc/rpc_common.c: Likewise.
7507 * sunrpc/rpc_dtable.c: Likewise.
7508 * sunrpc/rpc_prot.c: Likewise.
7509 * sunrpc/rpc_thread.c: Likewise.
7510 * sunrpc/rtime.c: Likewise.
7511 * sunrpc/svc.c: Likewise.
7512 * sunrpc/svc_auth.c: Likewise.
7513 * sunrpc/svc_raw.c: Likewise.
7514 * sunrpc/svc_run.c: Likewise.
7515 * sunrpc/svc_tcp.c: Likewise.
7516 * sunrpc/svc_udp.c: Likewise.
7517 * sunrpc/svc_unix.c: Likewise.
7518 * sunrpc/svcauth_des.c: Likewise.
7519 * sunrpc/xcrypt.c: Likewise.
7520 * sunrpc/xdr.c: Likewise.
7521 * sunrpc/xdr_array.c: Likewise.
7522 * sunrpc/xdr_float.c: Likewise.
7523 * sunrpc/xdr_intXX_t.c: Likewise.
7524 * sunrpc/xdr_mem.c: Likewise.
7525 * sunrpc/xdr_rec.c: Likewise.
7526 * sunrpc/xdr_ref.c: Likewise.
7527 * sunrpc/xdr_sizeof.c: Likewise.
7528 * sunrpc/xdr_stdio.c: Likewise.
7530 2012-05-10 Roland McGrath <roland@hack.frob.com>
7532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7533 change. Update copyright years.
7535 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7537 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7539 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7540 Joseph Myers <joseph@codesourcery.com>
7541 Paul Pluzhnikov <ppluzhnikov@google.com>
7544 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7546 [cross-compiling] (extra-libs): Likewise.
7547 [cross-compiling] (extra-libs-others): Likewise.
7548 [cross-compiling] (librpcsvc-routines): Likewise.
7549 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7550 [cross-compiling] (omit-deps): Likewise.
7551 (sunrpc-CPPFLAGS): New variable.
7552 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7553 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7554 (cross-rpcgen-objs): New variable.
7555 (extra-objs): Append $(cross-rpcgen-objs).
7556 ($(cross-rpcgen-objs)): New rule.
7557 ($(objpfx)cross-rpcgen): Likewise.
7558 (rpcgen-cmd): Define to use $(built-program-file). Expand
7560 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7561 ($(objpfx)x%.stmp): Likewise.
7562 * sunrpc/proto.h [IS_IN_build] (_): Define.
7563 [IS_IN_build] (_libc_intl_domainname): Likewise.
7565 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7567 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7568 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7569 and R_X86_64_TPOFF64.
7571 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7573 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7574 sysdeps/unix/sysv/syscalls.list.
7577 * sysdeps/unix/sysv/syscalls.list: Remove file.
7579 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7582 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7583 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7584 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7585 (__LC_IDENTIFICATION): Make these macros useful in #if
7586 expressions, as required by C99.
7588 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7590 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7591 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7594 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7596 * stdlib/longlong.h: Updated from GCC.
7598 2012-05-09 Andreas Jaeger <aj@suse.de>
7600 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7601 default is first entry.
7602 (run_mode): Set type.
7603 (main): Remove informal message about syslog.
7604 (options): Fix typo.
7607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7610 (llrintf): Likewise.
7614 (nearbyint): Likewise.
7615 (nearbyintf): Likewise.
7617 2012-05-09 Andreas Jaeger <aj@suse.de>
7618 Pedro Alves <palves@redhat.com>
7620 * nscd/nscd.c (run_mode): Use enum.
7621 (main): Cleanup coding style issue.
7623 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7624 Andreas Jaeger <aj@suse.de>
7626 * nscd/nscd.c (go_background): Replaced with...
7627 (run_mode): ... this.
7628 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7629 (options): Add -F --foreground.
7630 (main): Implement it.
7631 (parse_opt): Parse it.
7633 2012-05-09 Andreas Jaeger <aj@suse.de>
7636 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7637 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7638 -Wconversion warning.
7639 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7642 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7644 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7646 (LC_ALL): Use macro-int-constant.
7647 (LC_COLLATE): Likewise.
7648 (LC_CTYPE): Likewise.
7649 (LC_MESSAGES): Likewise.
7650 (LC_MONETARY): Likewise.
7651 (LC_NUMERIC): Likewise.
7652 (LC_TIME): Likewise.
7653 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7654 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7656 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7658 [C99-based standards] (float_t): Expect type.
7659 [C99-based standards] (double_t): Expect type.
7660 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7662 [C99-based standards] (HUGE_VALL): Likewise.
7663 [C99-based standards] (INFINITY): Likewise.
7664 [C99-based standards] (NAN): Likewise.
7665 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7666 [C99-based standards] (FP_NAN): Likewise.
7667 [C99-based standards] (FP_NORMAL): Likewise.
7668 [C99-based standards] (FP_SUBNORMAL): Likewise.
7669 [C99-based standards] (FP_ZERO): Likewise.
7670 [C99-based standards] (FP_FAST_FMA): Use
7671 optional-macro-int-constant. Specify type. Require == 1.
7672 [C99-based standards] (FP_FAST_FMAF): Likewise.
7673 [C99-based standards] (FP_FAST_FMAL): Likewise.
7674 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7675 [C99-based standards] (FP_ILOGBNAN): Likewise.
7676 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7678 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7679 [C99-based standards] (math_errhandling): Specify type.
7680 [ISO99 || ISO11] (signgam): Do not allow.
7681 [non-C99-based standards] (copysignf): Do not allow.
7682 [non-C99-based standards] (exp2f): Likewise.
7683 [non-C99-based standards] (log2f): Likewise.
7684 [non-C99-based standards] (modff): Allow.
7685 [non-C99-based standards] (erff): Do not allow.
7686 [non-C99-based standards] (erfcf): Likewise.
7687 [non-C99-based standards] (gammaf): Likewise.
7688 [non-C99-based standards] (hypotf): Likewise.
7689 [non-C99-based standards] (j0f): Likewise.
7690 [non-C99-based standards] (j1f): Likewise.
7691 [non-C99-based standards] (jnf): Likewise.
7692 [non-C99-based standards] (lgammaf): Likewise.
7693 [non-C99-based standards] (tgammaf): Likewise.
7694 [non-C99-based standards] (y0f): Likewise.
7695 [non-C99-based standards] (y1f): Likewise.
7696 [non-C99-based standards] (ynf): Likewise.
7697 [non-C99-based standards] (isnanf): Likewise.
7698 [non-C99-based standards] (acoshf): Likewise.
7699 [non-C99-based standards] (asinhf): Likewise.
7700 [non-C99-based standards] (atanhf): Likewise.
7701 [non-C99-based standards] (cbrtf): Likewise.
7702 [non-C99-based standards] (expm1f): Likewise.
7703 [non-C99-based standards] (ilogbf): Likewise.
7704 [non-C99-based standards] (log1pf): Likewise.
7705 [non-C99-based standards] (logbf): Likewise.
7706 [non-C99-based standards] (nextafterf): Likewise.
7707 [non-C99-based standards] (remainderf): Likewise.
7708 [non-C99-based standards] (rintf): Likewise.
7709 [non-C99-based standards] (scalbf): Likewise.
7710 [non-C99-based standards] (copysignl): Likewise.
7711 [non-C99-based standards] (exp2l): Likewise.
7712 [non-C99-based standards] (log2l): Likewise.
7713 [non-C99-based standards] (modfl): Allow.
7714 [non-C99-based standards] (erfl): Do not allow.
7715 [non-C99-based standards] (erfcl): Likewise.
7716 [non-C99-based standards] (gammal): Likewise.
7717 [non-C99-based standards] (hypotl): Likewise.
7718 [non-C99-based standards] (j0l): Likewise.
7719 [non-C99-based standards] (j1l): Likewise.
7720 [non-C99-based standards] (jnl): Likewise.
7721 [non-C99-based standards] (lgammal): Likewise.
7722 [non-C99-based standards] (tgammal): Likewise.
7723 [non-C99-based standards] (y0l): Likewise.
7724 [non-C99-based standards] (y1l): Likewise.
7725 [non-C99-based standards] (ynl): Likewise.
7726 [non-C99-based standards] (isnanl): Likewise.
7727 [non-C99-based standards] (acoshl): Likewise.
7728 [non-C99-based standards] (asinhl): Likewise.
7729 [non-C99-based standards] (atanhl): Likewise.
7730 [non-C99-based standards] (cbrtl): Likewise.
7731 [non-C99-based standards] (expm1l): Likewise.
7732 [non-C99-based standards] (ilogbl): Likewise.
7733 [non-C99-based standards] (log1pl): Likewise.
7734 [non-C99-based standards] (logbl): Likewise.
7735 [non-C99-based standards] (nextafterl): Likewise.
7736 [non-C99-based standards] (remainderl): Likewise.
7737 [non-C99-based standards] (rintl): Likewise.
7738 [non-C99-based standards] (scalbl): Likewise.
7739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7740 [non-C99-based standards] (FP_*): Do not allow.
7741 [C99-based standards] (FP_*): Change to
7742 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7743 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7745 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7746 (SIG_ERR): Likewise.
7747 [X/Open-based standards] (SIG_HOLD): Likewise.
7748 (SIG_IGN): Likewise.
7749 (SIGABRT): Use macro-int-constant. Specify type. Require
7754 (SIGSEGV): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7757 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7758 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7774 [X/Open-based standards] (SIGTRAP): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7779 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7782 2012-05-08 Ian Wienand <ianw@vmware.com>
7785 * time/tzset.c (__tzset_parse_tz): Update default rules for
7786 daylight time changes in the Energy Policy Act of 2005.
7788 2012-05-09 Andreas Jaeger <aj@suse.de>
7791 * elf/ldconfig.c (parse_conf): Change string to make clear that
7792 ldconfig only issued a warning if ld.so.conf does not exist.
7794 2012-05-08 David S. Miller <davem@davemloft.net>
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7797 movxtod instead of popping the value on the stack.
7799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7801 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7803 * config.h.in: Add HAVE_ARM_PCS_VFP.
7805 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7808 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7809 checking but the checks are disabled for any reason.
7811 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7813 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7814 and ELF64_R_TYPE with ELFW(R_TYPE).
7816 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7818 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7821 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7822 (settimeofday): Likewise.
7824 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7826 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7827 a struct th_u2 inside the union, and move tu_block/tu_code into
7828 a new th_u3 union of tu_block/tu_code inside of that. Move
7829 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7830 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7831 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7832 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7833 (th_stuff): Change to th_u1.tu_stuff.
7835 (th_msg): Change to th_u1.th_u2.tu_data.
7837 2012-05-07 David S. Miller <davem@davemloft.net>
7839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7842 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7843 (SETUP_PIC_REG): Use it.
7844 (SETUP_PIC_REG_LEAF): Use it.
7846 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7852 (EXPL_FINITE): Likewise.
7854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7855 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7859 (EXPL_FINITE): Likewise.
7861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7862 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7864 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7865 test of -max_value argument for long double.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869 2012-05-06 David S. Miller <davem@davemloft.net>
7871 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7872 quad soft-float symbols whose references which are compiler
7874 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7876 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7882 (EXPL_FINITE): Likewise.
7886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7887 Adjust comments for base varying.
7888 (__expl_finite): Change alias to EXPL_FINITE.
7889 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7891 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7892 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7894 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7897 (EXPL_FINITE): Likewise.
7901 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7902 Adjust comments for base varying.
7903 (__expl_finite): Change alias to EXPL_FINITE.
7904 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7909 * math/libm-test.inc (check_float_internal): Correct ulp
7910 calculation for subnormal expected results.
7912 2012-05-06 Andreas Jaeger <aj@suse.de>
7914 * Makeconfig (+math-flags): New, set to -frounding-math.
7915 (+cflags): Add +math-flags so that all of glibc gets compiled with
7918 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7920 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7922 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7928 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7929 (__ieee754_expl): Allow for and saturate large arguments.
7930 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7931 (u_threshold): Likewise.
7932 (__exp): Call __ieee754_exp before checking for overflow and
7934 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7935 (u_threshold): Likewise.
7936 (__expf): Call __ieee754_expf before checking for overflow and
7938 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7939 (u_threshold): Likewise.
7940 (__expl): Call __ieee754_expl before checking for overflow and
7942 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7943 (__ieee754_expl): Allow for and saturate large arguments.
7944 * math/libm-test.inc (exp_test): Add another test. Do not allow
7945 missing overflow exception on overflow.
7946 (expm1_test): Do not allow missing overflow exception on overflow.
7948 * sysdeps/i386/fpu/e_expl.c: Move to ...
7949 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7950 rather than using inline asm.
7951 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7952 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7953 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7955 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7962 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7964 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7965 sysdeps/unix/common/syscalls.list.
7968 (ftruncate): Likewise.
7969 (getrusage): Likewise.
7970 (gettimeofday): Likewise.
7971 (setpgid): Likewise.
7972 (setregid): Likewise.
7973 (setreuid): Likewise.
7974 (sigaction): Likewise.
7975 (truncate): Likewise.
7976 (vhangup): Likewise.
7977 * sysdeps/unix/common/syscalls.list: Remove file.
7978 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7979 * sysdeps/unix/sysv/linux/Implies: Likewise.
7981 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7983 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7985 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7995 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7998 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8001 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8004 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8015 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8018 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8026 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8028 * sysdeps/unix/common/bits/dirent.h: Remove file.
8029 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8031 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8032 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8033 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8034 * sysdeps/unix/bsd/isatty.c: Likewise.
8035 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8036 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8037 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8039 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8043 long double comparison inaccuracies.
8044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8047 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8049 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8052 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8056 nonzero digits before rounding a hex value.
8057 * stdlib/tst-strtod.c (tests): Add another test.
8059 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8061 * sysdeps/s390/fpu/libm-test-ulps: Update.
8063 2012-05-03 Andreas Jaeger <aj@suse.de>
8065 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8066 does not get optimized out.
8067 (malloc_opt_barrier): New.
8069 2012-05-03 Andreas Jaeger <aj@suse.de>
8070 Roland McGrath <roland@hack.frob.com>
8072 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8073 intermediate file deletion.
8074 (generated): Add .symlist files.
8076 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8079 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8080 Redirect under this condition.
8081 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8082 [__USE_GNU] (__dprintf_chk): Not under this condition.
8083 [__USE_GNU] (__vdprintf_chk): Likewise.
8084 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8085 under this condition.
8086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8087 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8088 [__USE_XOPEN2K8] (vdprintf): Likewise.
8089 [__USE_GNU] (__dprintf_chk): Not under this condition.
8090 [__USE_GNU] (__vdprintf_chk): Likewise.
8091 [__USE_GNU] (dprintf): Likewise.
8092 [__USE_GNU] (vdprintf): Likewise.
8094 2012-05-03 Roland McGrath <roland@hack.frob.com>
8096 * elf/Makefile (common-generated): Set this instead of generated for
8097 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8098 $(all-built-dso)-derived lists.
8100 2012-05-03 Andreas Jaeger <aj@suse.de>
8102 * sysdeps/i386/fpu/libm-test-ulps: Update.
8106 * scripts/gen-FAQ.pl: Likewise.
8107 * manual/install.texi (Installation): Point to online location of
8109 * Makefile (files-for-dist): Remove FAQ.
8112 2012-05-02 Allan McRae <allan@archlinux.org>
8114 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8115 (LDFLAGS-reldepmod5.so): Likewise.
8116 (LDFLAGS-reldep6mod1.so): Likewise.
8117 (LDFLAGS-reldep6mod4.so): Likewise.
8118 (LDFLAGS-reldep8mod3.so): Likewise.
8119 (LDFLAGS-unload4mod1.so): Likewise.
8120 (LDFLAGS-unload4mod2.so): Likewise.
8121 (LDFLAGS-tst-initorder): Likewise.
8122 (LDFLAGS-tst-initordera2.so): Likewise.
8123 (LDFLAGS-tst-initordera3.so): Likewise.
8124 (LDFLAGS-tst-initordera4.so): Likewise.
8125 (LDFLAGS-tst-initorderb2.so): Likewise.
8126 (LDFLAGS-noload): Likewise.
8127 (LDFLAGS-next): Likewise.
8128 (LDFLAGS-order2mod1.so): Likewise.
8129 (LDFLAGS-order2mod2.so): Likewise.
8130 (LDFLAGS-tst-initorder2): Likewise.
8131 (LDFLAGS-tst-initorder2a.so): Likewise.
8132 (LDFLAGS-tst-initorder2b.so): Likewise.
8133 (LDFLAGS-tst-initorder2c.so): Likewise.
8134 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8136 2012-05-02 David S. Miller <davem@davemloft.net>
8138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8140 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8143 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8145 2012-05-02 Andreas Jaeger <aj@suse.de>
8147 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8148 since we manipulate rounding mode.
8149 (CPPFLAGS-test-idouble.c): Likewise.
8150 (CPPFLAGS-test-ifloat.c): Likewise.
8151 (CFLAGS-test-ldouble.c): Likewise.
8152 (CFLAGS-test-double.c): Likewise.
8153 (CFLAGS-test-float.c): Likewise.
8154 (CFLAGS-test-misc.c): Likewise.
8155 (CFLAGS-test-test-fenv.c): Likewise.
8157 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8161 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8162 comparisons to determine direction to adjust input.
8164 2012-05-01 Roland McGrath <roland@hack.frob.com>
8166 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8167 output to the target.
8169 * scripts/localplt.awk: New file.
8170 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8171 (check-localplt-CFLAGS): Variable removed.
8172 ($(all-built-dso:=.jmprel)): New static pattern rule.
8173 (generated): Add those targets.
8174 (localplt-built-dso): New variable.
8175 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8177 * elf/check-localplt.c: File removed.
8179 * scripts/check-execstack.awk: New file.
8180 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8181 (check-execstack-CFLAGS): Variable removed.
8182 ($(objpfx)check-execstack.h): Target removed.
8183 ($(objpfx)execstack-default): New target.
8184 (generated): Add that instead of check-execstack.h.
8185 ($(all-built-dso:=.phdr)): New static pattern rule.
8186 (generated): Add those targets.
8187 * elf/check-execstack.c: File removed.
8189 * scripts/check-textrel.awk: New file.
8190 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8191 (check-textrel-CFLAGS): Variable removed.
8192 (all-built-dso): Use := to define.o
8193 ($(all-built-dso:=.dyn)): New static pattern rule.
8194 (generated): Add those targets.
8195 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8196 * config.make.in (READELF): New substituted variable.
8197 * elf/check-textrel.c: File removed.
8199 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8201 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8203 * conform/data/ctype.h-data [C99-based standards] (isblank):
8205 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8206 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8208 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8209 Specify type. Require positive value.
8212 [ISO || POSIX] (EILSEQ): Do not expect.
8213 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8214 Specify type. Require positive value.
8215 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8216 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8217 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8218 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8219 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8220 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8232 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8233 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8289 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8290 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8291 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8293 (FLT_ROUNDS): Expect as macro, not constant.
8294 (FLT_MANT_DIG): Use macro-int-constant.
8295 (DBL_MANT_DIG): Likewise.
8296 (LDBL_MANT_DIG): Likewise.
8297 (FLT_DIG): Likewise.
8298 (DBL_DIG): Likewise.
8299 (LDBL_DIG): Likewise.
8300 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8301 (DBL_MIN_EXP): Likewise.
8302 (LDBL_MIN_EXP): Likewise.
8303 (FLT_MAX_EXP): Use macro-int-constant.
8304 (DBL_MAX_EXP): Likewise.
8305 (LDBL_MAX_EXP): Likewise.
8306 (FLT_MAX_10_EXP): Likewise.
8307 (DBL_MAX_10_EXP): Likewise.
8308 (LDBL_MAX_10_EXP): Likewise.
8309 (FLT_MAX): Use macro-constant.
8310 (DBL_MAX): Likewise.
8311 (LDBL_MAX): Likewise.
8312 (FLT_EPSILON): Use macro-constant. Give upper bound.
8313 (DBL_EPSILON): Likewise.
8314 (LDBL_EPSILON): Likewise.
8315 (FLT_MIN): Likewise.
8316 (DBL_MIN): Likewise.
8317 (LDBL_MIN): Likewise.
8318 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8319 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8320 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8321 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8322 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8323 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8324 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8325 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8326 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8327 [ISO11] (FLT_TRUE_MIN): Likewise.
8328 [ISO11] (LDBL_TRUE_MIN): Likewise.
8329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8330 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8331 (SCHAR_MIN): Use macro-int-constant. Specify type.
8332 (SCHAR_MAX): Likewise.
8333 (UCHAR_MAX): Likewise.
8334 (CHAR_MIN): Likewise.
8335 (CHAR_MAX): Likewise.
8336 (MB_LEN_MAX): Use macro-int-constant.
8337 (SHRT_MIN): Use macro-int-constant. Specify type.
8338 (SHRT_MAX): Likewise.
8339 (USHRT_MAX): Likewise.
8340 (INT_MAX): Likewise.
8341 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8343 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8345 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8347 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8348 bound negative. Suffix upper bound with "L".
8349 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8351 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8353 [C99-based standards] (LLONG_MAX): Likewise.
8354 [C99-based standards] (ULLONG_MAX): Likewise.
8355 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8357 [ISO11] (max_align_t): Require type.
8358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8360 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8361 from $CFLAGS, without defining away __attribute__ calls.
8362 (checknamespace): Use $CFLAGS_namespace.
8364 * conform/conformtest.pl (@keywords): Only include C99 keywords
8365 for standards based on C99 or C11.
8367 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8369 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8372 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8373 usability of symbols in #if.
8375 * conform/conformtest.pl: If macro or constant types start
8376 "promoted:", expect the symbol to be of the following type
8377 promoted by the integer promotions.
8379 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8380 in one place. Also handle "macro-constant".
8382 * conform/conformtest.pl: Only accept expected macro values with
8383 "==". Parse all "macro" lines in one place.
8384 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8386 * conform/conformtest.pl: Handle braced types on "constant" lines
8387 instead of handling "typed-constant".
8388 * conform/data/signal.h-data: Use "constant" instead of
8391 * conform/conformtest.pl: Handle "optional-" at start of lines in
8392 one place rather than duplicating several cases. Handle each
8393 format of "macro" line with initial "optional-".
8395 * conform/conformtest.pl: Only accept expected constant or
8396 optional-constant values with "==". Parse all "constant" lines in
8397 one place. Parse all "optional-constant" lines in one place.
8398 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8399 * conform/data/fmtmsg.h-data: Likewise.
8400 * conform/data/netinet/in.h-data: Likewise.
8401 * conform/data/tar.h-data: Likewise.
8402 * conform/data/limits.h-data: Use "==" form on "constant" and
8403 "optional-constant" lines.
8405 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8406 Use -std=c99 for XOPEN2K.
8407 (@knownproblems): Remove.
8408 (newtoken): Don't check %isknown.
8410 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8411 Do not expect macro.
8412 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8413 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8414 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8424 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8425 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8442 [XPG3] (acosh): Likewise.
8443 [XPG3] (asinh): Likewise.
8444 [XPG3] (atanh): Likewise.
8445 [XPG3] (cbrt): Likewise.
8446 [XPG3] (expm1): Likewise.
8447 [XPG3] (ilogb): Likewise.
8448 [XPG3] (log1p): Likewise.
8449 [XPG3] (logb): Likewise.
8450 [XPG3] (nextafter): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8453 [XPG3] (remainder): Likewise.
8454 [XPG3] (rint): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8462 [UNIX98 || XOPEN2K] (scalb): Expect.
8463 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8464 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8601 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8602 _XOPEN_SOURCE_EXTENDED for XPG4.
8604 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8606 * Makeconfig (localtime): Remove variable.
8607 (inst_localtime-file): Likewise.
8609 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8630 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8634 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8635 comparisons to determine direction to adjust input.
8636 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8637 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8640 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8644 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8645 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8647 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8649 * math/libm-test.inc (nexttoward_test): Add more tests.
8651 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8655 in version GLIBC_2.1, not GLIBC_2.0.
8656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8659 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8665 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8666 * math/libm-test.inc (acos_test): Add more tests.
8667 (asin_test): Likewise.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8674 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8675 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8676 * math/libm-test.inc (acos_test_tonearest): New function.
8677 (acos_test_towardzero): Likewise.
8678 (acos_test_downward): Likewise.
8679 (acos_test_upward): Likewise.
8680 (asin_test_tonearest): Likewise.
8681 (asin_test_towardzero): Likewise.
8682 (asin_test_downward): Likewise.
8683 (asin_test_upward): Likewise.
8684 (main): Call the new functions.
8685 * sysdeps/i386/fpu/libm-test-ulps: Update.
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8690 * math/e_exp10.c: Include <float.h>.
8691 (__ieee754_exp10): Handle underflow here rather than multiplying
8692 large negative argument by M_LN10.
8693 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8695 * math/e_exp10l.c: Include <float.h>.
8696 (__ieee754_exp10l): Handle underflow here rather than multiplying
8697 large negative argument by M_LN10l.
8698 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8699 spurious overflow exception on underflow.
8701 2012-04-29 Marek Polacek <polacek@redhat.com>
8703 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8704 (__fortify_function): New macro.
8705 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8706 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8707 __extern_always_inline.
8708 * libio/bits/stdio2.h: Likewise.
8709 * libio/bits/stdio.h: Likewise.
8710 * string/string.h: Likewise.
8711 * string/bits/string3.h: Likewise.
8712 * include/stdio.h: Likewise.
8713 * stdlib/bits/stdlib.h: Likewise.
8714 * stdlib/stdlib.h: Likewise.
8715 * rt/bits/mqueue2.h: Likewise.
8716 * rt/mqueue.h: Likewise.
8717 * posix/bits/unistd.h: Likewise.
8718 * posix/unistd.h: Likewise.
8719 * io/bits/poll2.h: Likewise.
8720 * io/bits/fcntl2.h: Likewise.
8721 * io/fcntl.h: Likewise.
8722 * io/sys/poll.h: Likewise.
8723 * misc/bits/syslog.h: Likewise.
8724 * misc/bits/syslog-ldbl.h: Likewise.
8725 * misc/sys/syslog.h: Likewise.
8726 * socket/bits/socket2.h: Likewise.
8727 * socket/sys/socket.h: Likewise.
8728 * debug/tst-chk1.c: Likewise.
8729 * wcsmbs/bits/wchar2.h: Likewise.
8730 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8731 * wcsmbs/wchar.h: Likewise.
8733 2012-04-29 Andreas Jaeger <aj@suse.de>
8735 * Makerules (tests): Remove enable-check-abi protection.
8736 (check-abi-warn): Remove.
8737 (check-abi-%): Remove check-abi-warn usage.
8739 * configure.in: Remove check-abi configure option.
8740 * configure: Regenerated.
8741 * config.make.in (enable-check-abi): Remove.
8743 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8746 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8747 double functions to double *_finite functions.
8750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8751 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8753 * stdio-common/Makefile (tests): Add tst-sprintf3.
8754 * stdio-common/tst-sprintf3.c: New file.
8756 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8757 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8759 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8761 * conform/conformtest.pl: Remove duplicate typed-constant
8764 2012-04-28 David S. Miller <davem@davemloft.net>
8766 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8767 (check-abi-%): Remove AWK script prerequisite and explicit
8769 (check-abi): Rewrite to just diff the symlist with the abilist.
8770 (config-tls, config-abi-config): Delete, no longer used.
8771 (update-abi-%): Remove AWK script and explicit abilist directory.
8772 (update-abi): Rewrite to simply compare and conditionally copy the
8773 symlist and the sysdep abilist file. Remove update-abi-config
8775 * abilist/ld.abilist: Remove.
8776 * abilist/libBrokenLocale.abilist: Remove.
8777 * abilist/libanl.abilist: Remove.
8778 * abilist/libcrypt.abilist: Remove.
8779 * abilist/libdl.abilist: Remove.
8780 * abilist/librt.abilist: Remove.
8781 * abilist/libthread_db.abilist: Remove.
8782 * abilist/libutil.abilist: Remove.
8783 * scripts/extract-abilist.awk: Remove.
8784 * scripts/merge-abilist.awk: Remove.
8785 * sysdeps/generic/libcidn.abilist: New file.
8786 * sysdeps/generic/libnss_compat.abilist: New file.
8787 * sysdeps/generic/libnss_db.abilist: New file.
8788 * sysdeps/generic/libnss_dns.abilist: New file.
8789 * sysdeps/generic/libnss_files.abilist: New file.
8790 * sysdeps/generic/libnss_hesiod.abilist: New file.
8791 * sysdeps/generic/libnss_nis.abilist: New file.
8792 * sysdeps/generic/libnss_nisplus.abilist: New file.
8793 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8794 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8795 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8798 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8799 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8800 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8801 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8802 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8803 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8804 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8805 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8807 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8809 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8812 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8814 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8815 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8816 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8817 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8819 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8820 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8823 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8926 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8927 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8928 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8931 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8932 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8933 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8934 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8935 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8936 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8937 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8938 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8939 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8991 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8993 * conform/conformtest.pl: Fix typo in handling typed-constant from
8996 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8998 * README: Cut down references to pre-2.6 Linux kernels and
8999 Linuxthreads. Update lists of configurations in libc and ports
9000 and sort alphabetically. Say "or newer" with Linux kernel version
9003 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9005 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9008 * math/libm-test.inc (logb_test_downward): New test to expose
9009 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9012 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9015 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9017 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9018 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9020 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9022 * sysdeps/unix/i386/brk.S: Remove file.
9023 * sysdeps/unix/i386/dl-brk.S: Likewise.
9024 * sysdeps/unix/i386/pipe.S: Likewise.
9025 * sysdeps/unix/i386/sigreturn.S: Likewise.
9026 * sysdeps/unix/i386/syscall.S: Likewise.
9027 * sysdeps/unix/i386/vfork.S: Likewise.
9028 * sysdeps/unix/i386/wait.S: Likewise.
9030 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9031 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9033 * configure.in (arm*-none*): Do not allow without
9034 --enable-hacker-mode.
9035 (netbsd*): Remove case setting base_os.
9036 (386bsd*): Likewise.
9037 (freebsd*): Likewise.
9041 (ultrix*): Likewise.
9042 (newsos*): Likewise.
9052 (solaris[2-9]*): Likewise.
9054 * configure: Regenerated.
9056 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9060 overflow or cancellation in calculating denominator.
9061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9063 down expression to avoid unexpected rounding in newer GCCs.
9064 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9066 2012-04-26 David S. Miller <davem@davemloft.net>
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9069 long-double compat symbols.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9084 2012-04-25 David S. Miller <davem@davemloft.net>
9086 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9087 HWCAP_* values only after the memory barriers have been defined.
9088 (atomic_full_barrier): Define.
9089 (atomic_read_barrier): Define.
9090 (atomic_write_barrier): Define.
9092 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9094 * shlib-versions: Add libgcc_s version information.
9095 * sysdeps/generic/libgcc_s.h: Remove.
9096 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9098 * sysdeps/gnu/unwind-resume.c: Likewise.
9099 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9101 2012-04-25 David S. Miller <davem@davemloft.net>
9103 * sysdeps/unix/sparc/brk.S: Delete.
9104 * sysdeps/unix/sparc/dl-brk.S: Delete.
9105 * sysdeps/unix/sparc/pipe.S: Delete.
9106 * sysdeps/unix/sparc/sysdep.S: Delete.
9107 * sysdeps/unix/sparc/sysdep.h: Delete.
9108 * sysdeps/unix/sparc/vfork.S: Delete.
9109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9110 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9112 ret_ERRVAL, r0, r1, MOVE): Define.
9113 (JUMPTARGET): Remove.
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9115 sysdeps/unix/sparc/sysdep.h
9116 (ENTRY, END): Remove.
9117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9119 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9121 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9122 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9125 * timezone/README: Update upstream location and email address for
9127 * timezone/zdump.c: Update from tzcode 2012b.
9128 * timezone/zic.c: Likewise.
9130 * configure.in (libc_cv_as_needed): Remove test.
9131 * configure: Regenerated.
9132 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9133 conditional definition.
9134 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9135 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9136 * config.make.in (have-as-needed): Remove variable.
9138 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9139 Paul Pluzhnikov <ppluzhnikov@google.com>
9141 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9144 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9146 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9147 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9148 * sysdeps/sh/strlen.S: Likewise.
9150 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9152 * sysdeps/unix/fork.S: Remove file.
9153 * sysdeps/unix/i386/fork.S: Likewise.
9154 * sysdeps/unix/sparc/fork.S: Likewise.
9156 * sysdeps/unix/system.c: Remove file.
9157 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9159 * sysdeps/unix/getegid.S: Remove file.
9160 * sysdeps/unix/geteuid.S: Likewise.
9162 2012-04-24 Roland McGrath <roland@hack.frob.com>
9164 * scripts/check-localplt.awk: New file.
9165 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9167 * scripts/data/localplt-generic.data: Add a comment.
9169 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9170 NODE when __dir_mkfile failed.
9171 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9172 Reported by Ludovic Courtès <ludo@gnu.org>.
9174 2012-04-24 Andreas Jaeger <aj@suse.de>
9176 * Makerules (common-clean): Also remove gen-as-const-headers
9179 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9181 * Makerules (native-compile): Do not change working directory for
9182 build. Use $(OUTPUT_OPTION) in command.
9183 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9185 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9188 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9189 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9190 * math/libm-test.inc (floor_test): Add more tests.
9191 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9193 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9195 * sysdeps/unix/getdents.c: Remove file.
9196 * sysdeps/unix/sysv/getdents.c: Likewise.
9197 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9199 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9200 sysdeps/unix/mman/syscalls.list.
9202 (mprotect): Likewise.
9205 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9206 * sysdeps/unix/mman/syscalls.list: Remove.
9207 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9209 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9210 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9211 * configure: Regenerated.
9212 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9214 * config.make.in (libgcc_s_suffix): Remove variable.
9216 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9218 * sysdeps/unix/sysv/gethostname.c: Move to ...
9219 * sysdeps/posix/gethostname.c: ... here.
9221 * sysdeps/unix/execve.S: Remove file.
9223 * sysdeps/unix/_exit.S: Remove file.
9225 2012-04-23 Andreas Jaeger <aj@suse.de>
9228 * manual/Makefile: Remove make dist support, there's no
9229 need for a stand-alone documentation tar ball.
9230 (TEXI2DVI): Define always, it's not in Makeconfig.
9234 (glibc-doc-$(edition).tar): Removed
9238 (ETAGS): Remove, it's in Makeconfig.
9239 (move-if-change): Remove, it's in Makeconfig.
9241 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9244 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9245 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9246 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9247 (strtod_l, strtof_l, strtold_l): Remove __wur.
9248 It is not necessarily an error to ignore strtol's return value.
9249 One can reliably look at the stored endptr to decide whether
9250 the number had valid syntax.
9252 2012-04-21 Andreas Jaeger <aj@suse.de>
9255 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9257 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9259 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9260 * sysdeps/unix/sysv/Versions: Remove file.
9262 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9267 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9271 version from __vm86.
9273 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9275 * sysdeps/unix/common/lxstat.c: Remove file.
9276 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9278 * sysdeps/unix/sysv/Makefile: Remove file.
9280 * sysdeps/unix/sysv/direct.h: Remove file.
9282 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9283 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9284 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9285 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9286 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9287 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9288 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9290 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9292 * sysdeps/unix/xmknod.c: Remove file.
9293 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9295 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9297 * sysdeps/unix/sysv/i386/time.S: Remove file.
9299 * sysdeps/unix/fxstat.c: Remove file.
9300 * sysdeps/unix/xstat.c: Likewise.
9301 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9303 * sysdeps/unix/sysv/sigaction.c: Remove file.
9305 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9306 (sysdep_headers): Remove variable.
9307 [termio.h not in sysdep_headers] (generated): Likewise.
9308 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9309 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9310 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9311 * sysdeps/unix/sysv/tcflow.c: Likewise.
9312 * sysdeps/unix/sysv/tcflush.c: Likewise.
9313 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9314 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9315 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9316 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9317 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9319 * sysdeps/unix/siglist.c: Remove file.
9321 * sysdeps/unix/getppid.S: Remove file.
9323 * sysdeps/unix/mkdir.c: Remove file.
9324 * sysdeps/unix/rmdir.c: Likewise.
9326 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9328 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9330 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9331 errlist-compat value.
9333 2012-04-18 David S. Miller <davem@davemloft.net>
9335 * sysdeps/generic/memcopy.h (reg_char): Delete.
9336 * debug/strcat_chk.c: Use char, not reg_char.
9337 * debug/strcpy_chk.c: Likewise.
9338 * debug/strncat_chk.c: Likewise.
9339 * debug/strncpy_chk.c: Likewise.
9340 * string/memchr.c: Likewise.
9341 * string/memrchr.c: Likewise.
9342 * string/rawmemchr.c: Likewise.
9343 * string/strcat.c: Likewise.
9344 * string/strchr.c: Likewise.
9345 * string/strchrnul.c: Likewise.
9346 * string/strcmp.c: Likewise.
9347 * string/strcpy.c: Likewise.
9348 * string/strncat.c: Likewise.
9349 * string/strncmp.c: Likewise.
9350 * string/strncpy.c: Likewise.
9352 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9354 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9355 __builtin_memcopy is called when src and dest ranges are known to not
9358 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9361 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9362 fwd_align_merge macro call.
9363 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9364 bwd_align_merge macro call.
9365 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9367 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9370 bwd_align_merge macros.
9371 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9372 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9373 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9375 2012-04-18 David S. Miller <davem@davemloft.net>
9377 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9379 2012-04-18 Andreas Jaeger <aj@suse.de>
9382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9383 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9384 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9387 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9390 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9391 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9392 Adjust for changed ldbl-128 files.
9394 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9395 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9396 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9398 2012-04-17 David S. Miller <davem@davemloft.net>
9400 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9402 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9404 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9405 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9406 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9407 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9409 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9411 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9414 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9415 * math/libm-test.inc: Add ilogb errno and exception tests.
9416 * math/w_ilogb.c: New file: ilogb wrapper.
9417 * math/w_ilogbf.c: New file: ilogbf wrapper.
9418 * math/w_ilogbl.c: New file: ilogbl wrapper.
9419 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9420 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9421 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9422 exception being thrown with 0.0 as argument.
9423 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9424 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9425 exception being thrown with 0.0 as argument.
9426 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9427 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9428 exception being thrown with 0.0 as argument.
9429 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9430 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9431 exception being thrown with 0.0 as argument.
9432 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9433 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9434 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9435 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9437 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9438 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9439 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9440 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9442 2012-04-17 Petr Baudis <pasky@ucw.cz>
9444 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9447 2012-04-16 Marek Polacek <polacek@redhat.com>
9449 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9451 2012-04-16 Marek Polacek <polacek@redhat.com>
9453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9454 operands of fdivp instruction.
9456 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9458 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9459 * elf/tst-auditmod3b.c: Likewise.
9460 * elf/tst-auditmod4b.c: Likewise.
9461 * elf/tst-auditmod5b.c: Likewise.
9462 * elf/tst-auditmod6b.c: Likewise.
9463 * elf/tst-auditmod6c.c: Likewise.
9464 * elf/tst-auditmod7b.c: Likewise.
9465 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9466 * sysdeps/x86_64/preconfigure.in: Likewise.
9467 * sysdeps/x86_64/preconfigure: Regenerated.
9469 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9471 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9474 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9477 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9479 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9482 * locale/iso-639.def: Fix gl language name. Spotted by
9485 2012-04-12 Roland McGrath <roland@hack.frob.com>
9488 * libio/libio.h (__io_write_fn): Update comment.
9490 2012-04-12 Petr Baudis <pasky@ucw.cz>
9493 * stdio.texi (Hook Functions): The user provided writer function
9494 is not allowed to return -1.
9496 2012-04-11 David S. Miller <davem@davemloft.net>
9498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9500 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9502 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9503 Add a leading slash to rtkaio.
9505 2012-04-11 Jim Meyering <meyering@redhat.com>
9508 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9509 It is not necessarily an error to ignore fwrite's return
9510 value. One can reliably use ferror to test for errors after
9513 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9515 * bits/types.h (__snseconds_t): New type.
9516 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9518 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9520 (__SNSECONDS_T_TYPE): Likewise.
9521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9522 (__SNSECONDS_T_TYPE): Likewise.
9523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9524 (__SNSECONDS_T_TYPE): Likewise.
9526 2012-04-10 Andreas Jaeger <aj@suse.de>
9529 * manual/time.texi (Processor Time): Return type of times is
9530 elapsed real time since an arbitrary point in the past.
9531 (CPU Time): Move CLK_TCK from here...
9532 (Processor Time): ...to here. Correct description.
9533 * manual/conf.texi (Constants for Sysconf): Correct description of
9536 2012-04-10 David S. Miller <davem@davemloft.net>
9539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9540 where the is a gap between DT_REL(A) and DT_JMPREL.
9542 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9544 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9545 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9546 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9548 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9550 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9551 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9552 (dl_main): Handle --inhibit-cache.
9553 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9555 * elf/dl-load.c (_dl_map_object): Use it.
9556 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9558 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9561 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9562 (__ieee754_powl): Saturate large exponents rather than testing for
9563 overflow of y*log2(x).
9564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9565 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9569 * math/s_ctan.c: Include <float.h>.
9570 (__ctan): Avoid internal overflow or cancellation in calculating
9572 * math/s_ctanf.c: Likewise.
9573 * math/s_ctanl.c: Likewise.
9574 * math/s_ctanh.c: Likewise.
9575 * math/s_ctanhf.c: Likewise.
9576 * math/s_ctanhl.c: Likewise.
9577 * math/libm-test.inc (ctan_test): Add more tests.
9578 (ctanh_test): Likewise.
9579 * sysdeps/i386/fpu/libm-test-ulps: Update.
9580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9582 2012-04-09 Andreas Jaeger <aj@suse.de>
9585 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9586 is an optional BSD extension.
9589 * manual/stdio.texi (Opening Streams): Document additional fopen
9592 2012-04-09 Roland McGrath <roland@hack.frob.com>
9594 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9595 %eax without telling the compiler.
9597 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9600 * manual/install.texi: Use sourceware.org.
9602 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9605 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9606 (__ieee754_pow): Generate overflow and underflow using huge*huge
9607 and tiny*tiny rather than just returning constant infinity or zero
9608 for large exponents.
9609 * math/libm-test.inc (pow_test): Require overflow exceptions for
9610 applicable cases of large exponents.
9613 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9614 (__ieee754_pow): Use iterative multiplication algorithm only for
9615 integer exponents with absolute value below 1024. Check for odd
9616 integer exponents when using algorithm for real exponents.
9617 * math/libm-test.inc (pow_test): Add more tests.
9618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9620 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9623 * math/libm-test.inc (exp_test): Do not allow overflow exception
9626 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9629 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9630 instead of __kernel_standard_f.
9632 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9634 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9635 * sysdeps/x86_64/memset_chk.S: Likewise.
9637 2012-04-08 Andreas Jaeger <aj@suse.de>
9640 * manual/startup.texi (Environment Access): Describe return value
9641 for putenv and setenv.
9644 * manual/filesys.texi (Directory Entries): Add description for
9648 * manual/filesys.texi (Directory Entries): Clarify that it's file
9649 system not operating system in the description of DT_UNKNOWN.
9652 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9654 2012-04-08 Stephen Compall <s11@member.fsf.org>
9657 * manual/llio.texi (Opening and Closing Files): Add cross
9658 reference to explain mode argument.
9660 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9662 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9663 * sysdeps/x86_64/memset_chk.S: Likewise.
9665 2012-04-07 David S. Miller <davem@davemloft.net>
9667 * elf/elf.h (R_SPARC_WDISP10): Define.
9668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9671 R_SPARC_SIZE64 and R_SPARC_H34.
9673 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9676 conditions and remove no longer applicable assertion.
9678 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9680 * bits/byteswap.h: Include <features.h>.
9681 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9682 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9684 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9686 * bits/byteswap.h (__bswap_16): Removed.
9687 Include <bits/byteswap-16.h> to get __bswap_16.
9688 * sysdeps/i386/bits/byteswap.h: Likewise.
9689 * sysdeps/s390/bits/byteswap.h: Likewise.
9690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9691 * bits/byteswap-16.h: New file.
9692 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9693 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9694 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9695 * string/Makefile (headers): Add bits/byteswap-16.h.
9697 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9700 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9702 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9703 * nss/tst-nss-static.c: New.
9705 2012-04-06 Robert Millan <rmh@gnu.org>
9708 * manual/llio.texi (File Position Primitive): lseek
9709 refers to WHENCE when it really means OFFSET.
9711 2012-04-06 Andreas Jaeger <aj@suse.de>
9713 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9714 strncmp declarations.
9716 * abilist/libc.abilist: Add __poll and __ppoll.
9718 2012-04-05 David S. Miller <davem@davemloft.net>
9720 * scripts/check-local-headers.sh: Accept a host triplet in the
9721 path matched by the exclude regexp.
9723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9725 * sysdeps/powerpc/powerpc32/dl-machine.h
9726 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9727 * sysdeps/s390/s390-32/dl-machine.h
9728 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9729 * sysdeps/sparc/sparc32/dl-machine.h
9730 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9731 * sysdeps/sparc/sparc64/dl-machine.h
9732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9734 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9736 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9737 undefined symbol errors.
9739 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9742 2012-04-05 Michael Matz <matz@suse.de>
9745 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9747 2012-04-05 Andreas Jaeger <aj@suse.de>
9750 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9753 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9755 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9756 which ROUND is no valid rounding mode.
9758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9760 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9762 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9764 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9766 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9767 an exception using FPU order intentionally.
9769 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9771 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9772 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9773 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9774 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9776 2012-04-05 Simon Josefsson <simon@josefsson.org>
9779 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9780 EINVAL when BUFLEN is too smal.
9782 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9785 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9786 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9788 2012-04-03 Andreas Jaeger <aj@suse.de>
9791 * manual/setjmp.texi (System V contexts): Fix sentence.
9794 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9795 New macro for this case.
9796 [!__GNUC__] (__bswap_64): New inline function for this case.
9797 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9798 * bits/byteswap.h: Likewise.
9799 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9800 ull, guard with __GLIBC_HAVE_LONG_LONG.
9802 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9803 __GLIBC_HAVE_LONG_LONG.
9805 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9806 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9808 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9811 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9812 inptr and inend, rather than using last_ch.
9814 2012-04-02 David S. Miller <davem@davemloft.net>
9816 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9817 * stdio-common/printf-parse.h (read_int): Change return type to
9818 'int', return -1 on INT_MAX overflow.
9819 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9820 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9821 overflows INT_MAX. Check for overflow of in-format-string precision
9822 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9823 SIZE_MAX not INT_MAX for integer overflow test.
9824 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9825 skip the construct in the format string but do not record anything.
9826 * stdio-common/bug22.c: Adjust to test both width/prevision
9827 INT_MAX overflow as well as total length INT_MAX overflow. Check
9828 explicitly for proper errno values.
9830 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9832 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9834 * string/test-strcmp.c [! WIDE]: Likewise.
9835 * time/tst-mktime2.c: Likewise for INT_MAX.
9836 * string/test-string.h: #include <sys/param.h> for MIN.
9838 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9839 * sysdeps/i386/init-first.c (init): Likewise.
9840 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9841 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9842 * sysdeps/sh/init-first.c (init): Likewise.
9844 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9846 * po/ru.po: Update from translation team.
9847 * po/vi.po: Likewise.
9849 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9851 * resolv/nss_dns/dns-host.c: Merge copyright years.
9853 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9856 Optimize memcpy with prefetch if
9857 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9858 src, dst pointers have unequal 16 byte alignments.
9860 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9864 from a CNAME entry and return the minimum ttl for the query.
9865 (gaih_getanswer_slice): Likewise.
9867 2012-03-30 Jeff Law <law@redhat.com>
9869 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9871 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9872 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9874 * resolv/nss_dns/dns-host.c: Update copyright year.
9876 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9878 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9879 requests to save a system call. Fix check that all bytes are sent.
9881 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9882 comments for sendmmsg.
9884 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9888 with only 1 character between 0x0041 and 0x01b0.
9889 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9890 * wcsmbs/tst-mbsnrtowcs.c: New file.
9892 2012-03-29 David S. Miller <davem@davemloft.net>
9894 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9895 small copies by hand.
9897 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9900 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9901 _nss_compat_initgroups_dyn): Fall back to malloc/free
9902 for large group memberships.
9904 2012-03-28 David S. Miller <davem@davemloft.net>
9906 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9907 that branches into memcpy.
9908 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9911 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9914 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9916 * sysdeps/sparc/mempcpy.S: New file.
9918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9919 the IFUNC routine in the libc case.
9920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9923 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9924 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9925 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9926 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9927 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9928 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9929 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9931 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9932 loop to 256 bytes instead of 64 bytes and fix test signedness.
9934 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9935 * sysdeps/sparc/sparc32/Makefile: rather than here...
9936 * sysdeps/sparc/sparc64/Makefile: and here.
9938 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9940 * malloc/mallocbug.c: Avoid warnings about unused variables.
9942 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9945 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9946 in the right place. Discard and retry query if response is
9947 larger than input buffer size.
9949 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9955 x for large integer exponent.
9956 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9957 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9958 sign of result as needed afterwards.
9959 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9960 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9961 result for underflowing pow the same as for overflow.
9962 (__kernel_standard_l): Handle powl overflow and underflow here
9963 rather than calling __kernel_standard.
9964 * math/libm-test.inc (pow_test): Add more tests.
9979 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9980 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9981 (__kernel_standard_l): New function.
9982 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9984 * math/w_acosl.c (__acosl): Likewise.
9985 * math/w_asinl.c (__asinl): Likewise.
9986 * math/w_atan2l.c (__atan2l): Likewise.
9987 * math/w_atanhl.c (__atanhl): Likewise.
9988 * math/w_coshl.c (__coshl): Likewise.
9989 * math/w_exp10l.c (__exp10l): Likewise.
9990 * math/w_exp2l.c (__exp2l): Likewise.
9991 * math/w_fmodl.c (__fmodl): Likewise.
9992 * math/w_hypotl.c (__hypotl): Likewise.
9993 * math/w_j0l.c (__j0l, __y0l): Likewise.
9994 * math/w_j1l.c (__j1l, __y1l): Likewise.
9995 * math/w_jnl.c (__jnl, __ynl): Likewise.
9996 * math/w_lgammal.c (__lgammal): Likewise.
9997 * math/w_log10l.c (__log10l): Likewise.
9998 * math/w_log2l.c (__log2l): Likewise.
9999 * math/w_logl.c (__logl): Likewise.
10000 * math/w_powl.c (__powl): Likewise.
10001 * math/w_remainderl.c (__remainderl): Likewise.
10002 * math/w_scalbl.c (sysv_scalbl): Likewise.
10003 * math/w_sinhl.c (__sinhl): Likewise.
10004 * math/w_sqrtl.c (__sqrtl): Likewise.
10005 * math/w_tgammal.c (__tgammal): Likewise.
10006 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10007 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10008 * math/libm-test.inc (acos_test): Add more tests.
10009 (acosh_test): Likewise.
10010 (asin_test): Likewise.
10011 (atanh_test): Likewise.
10012 (exp_test): Likewise.
10013 (exp10_test): Likewise.
10014 (exp2_test): Likewise.
10015 (expm1_test): Likewise.
10016 (lgamma_test): Likewise.
10017 (log_test): Likewise.
10018 (log10_test): Likewise.
10019 (log1p_test): Likewise.
10020 (log2_test): Likewise.
10021 (pow_test): Do not allow some spurious overflow exceptions.
10022 (sqrt_test): Add more tests.
10023 (tgamma_test): Likewise.
10024 (y0_test): Likewise.
10025 (y1_test): Likewise.
10026 (yn_test): Likewise.
10028 2012-03-27 Anton Blanchard <anton@samba.org>
10030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10033 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10036 2012-03-27 David S. Miller <davem@davemloft.net>
10038 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10040 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10041 have-as-vis3 check.
10043 2012-03-27 Andreas Jaeger <aj@suse.de>
10045 * sysdeps/x86_64/elf/configure.in: Moved to ...
10046 * sysdeps/x86_64/configure.in: ... here.
10047 * sysdeps/x86_64/elf/start.S: Moved to ...
10048 * sysdeps/x86_64/start.S: ... here.
10049 * sysdeps/x86_64/elf/configure: Delete.
10051 * sysdeps/x86_64/configure.in: Merge contents from
10052 sysdeps/i386/configure.in (without i686 check).
10054 * sysdeps/i386/elf/Versions: Merge into ...
10055 * sysdeps/i386/Versions: ... this.
10056 * sysdeps/i386/elf/Versions: Delete file.
10057 * sysdeps/i386/elf/start.S: Moved to ...
10058 * sysdeps/i386/start.S: ...here.
10059 * sysdeps/i386/elf/configure.in: Merge into...
10060 * sysdeps/i386/configure.in: ...here.
10061 * sysdeps/i386/elf/configure.in: Delete file.
10062 * sysdeps/i386/elf/configure: Delete file.
10064 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10065 * debug/backtracesyms.c: ... here.
10066 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10067 * debug/backtracesymsfd.c: ... here.
10068 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10069 * sysdeps/generic/ifunc-sel.h: ... here.
10071 * sysdeps/unix/i386/start.c: Delete file.
10072 * sysdeps/unix/sparc/start.c: Delete file.
10073 * sysdeps/unix/start.c: Delete file.
10075 * sysdeps/sh/elf/configure.in: Moved to ...
10076 * sysdeps/sh/configure.in: ... here.
10077 * sysdeps/sh/elf/start.S: Moved to ...
10078 * sysdeps/sh/start.S: ... here.
10079 * sysdeps/sh/elf/configure: Delete file.
10081 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10082 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10083 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10084 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10085 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10086 * sysdeps/powerpc/powerpc64/start.S: here.
10087 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10088 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10089 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10090 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10091 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10093 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10094 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10095 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10096 * sysdeps/powerpc/powerpc32/start.S: ... here.
10097 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10098 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10099 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10101 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10102 * sysdeps/powerpc/ifunc-sel.h: ... here.
10103 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10104 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10106 * sysdeps/sparc/elf/configure.in: Moved to ...
10107 * sysdeps/sparc/configure.in: ... here.
10108 * sysdeps/sparc/elf/configure: Delete file.
10109 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10110 * sysdeps/sparc/sparc32/start.S: ... here.
10111 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10112 * sysdeps/sparc/sparc64/start.S: ... here.
10113 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10114 * sysdeps/sparc/sparc32/Makefile: ... this.
10115 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10116 * sysdeps/sparc/sparc64/Makefile: ... this.
10118 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10119 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10120 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10121 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10122 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10123 * sysdeps/s390/s390-32/setjmp.S: ... here.
10124 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10125 * sysdeps/s390/s390-32/configure.in: ... here.
10126 * sysdeps/s390/s390-32/elf/configure: Delete file.
10127 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10128 * sysdeps/s390/s390-32/start.S: ... here.
10130 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10131 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10132 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10133 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10134 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10135 * sysdeps/s390/s390-64/setjmp.S: ... here.
10136 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10137 * sysdeps/s390/s390-64/configure.in: ... here
10138 * sysdeps/s390/s390-64/elf/configure: Delete file.
10139 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10140 * sysdeps/s390/s390-64/start.S: ... here.
10141 * sysdeps/s390/s390-64/elf/configure: Delete.
10143 * configure.in: Remove support for elf directories in sysdeps.
10145 * configure: Regenerated.
10146 * sysdeps/i386/configure: Regenerated.
10147 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10148 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10149 * sysdeps/s390/s390-32/configure: Regenerated.
10150 * sysdeps/s390/s390-64/configure: Regenerated.
10151 * sysdeps/sh/configure: Regenerated.
10152 * sysdeps/sparc/configure: Regenerated.
10153 * sysdeps/x86_64/configure: Regenerated.
10155 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10160 denormal result into account.
10162 2012-03-25 Roland McGrath <roland@hack.frob.com>
10164 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10165 Reported by Allan McRae <allan@archlinux.org>.
10167 2012-03-23 Jeff Law <law@redhat.com>
10169 * nss/getnssent.c (__nss_getent): Fix typo.
10171 2012-03-23 David S. Miller <davem@davemloft.net>
10173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10175 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10177 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10178 to pad to uint64_t for each field.
10179 (dl_tls_index): Replace unsigned long with uint64_t.
10181 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10182 Paul Pluzhnikov <ppluzhnikov@google.com>
10185 * grp/Makefile (otherlibs): Don't set it.
10186 * inet/Makefile (otherlibs): Likewise.
10187 * login/Makefile (otherlibs): Likewise.
10188 * nscd/Makefile (otherlibs): Likewise.
10189 * posix/Makefile (otherlibs): Likewise.
10190 * pwd/Makefile (otherlibs): Likewise.
10191 * rt/Makefile (otherlibs): Likewise.
10192 * sunrpc/Makefile (otherlibs): Likewise.
10193 * nss/Makefile (otherlibs): Likewise.
10194 Add libnss_files to routines and static-only-routines.
10195 ($(objpfx)getent): Remove rule.
10196 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10197 static-only-routines.
10199 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10202 * math/s_cexp.c: Include <float.h>.
10203 (__cexp): Handle exp result overflowing not necessarily
10204 overflowing both real and imaginary parts of result.
10205 * math/s_cexpf.c: Likewise.
10206 * math/s_cexpl.c: Likewise.
10207 * math/libm-test.inc (cexp_test): Add more tests.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10213 * include/link.h (ELFW): New macro.
10214 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10215 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10217 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10219 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10222 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10224 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10226 (struct La_x32_retval): Likewise.
10228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10230 * sysdeps/x86_64/preconfigure.in: New file.
10231 * sysdeps/x86_64/preconfigure: New generated file.
10233 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10236 * math/e_exp2l.c: Include <float.h>.
10237 (__ieee754_exp2l): Handle overflow and underflow cases
10238 separately. Only pass fractional part of argument to
10240 * math/libm-test.inc (exp2_test): Add more tests.
10242 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10243 negating x to take absolute value.
10244 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10249 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10250 computing low part if x was negated.
10251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10253 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10255 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10256 la_x32_gnu_pltexit.
10257 (pltexit): Cast int_retval to ptrdiff_t.
10258 * elf/tst-auditmod3b.c: Likewise.
10259 * elf/tst-auditmod4b.c: Likewise.
10260 * elf/tst-auditmod5b.c: Likewise.
10261 * elf/tst-auditmod6b.c: Likewise.
10262 * elf/tst-auditmod6c.c: Likewise.
10263 * elf/tst-auditmod7b.c: Likewise.
10265 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10266 and x32_gnu_pltexit.
10268 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10269 __ELF_NATIVE_CLASS.
10270 (La_x32_regs): New macro.
10271 (La_x32_retval): Likewise.
10272 (la_x32_gnu_pltenter): New function prototype.
10273 (la_x32_gnu_pltexit): Likewise.
10275 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10282 * configure.in (libc_cv_cc_nofma): Check for option to disable
10283 generation of FMA instructions.
10284 * configure: Regenerate.
10285 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10286 * sysdeps/ieee754/dbl-64/Makefile: New file.
10287 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10288 Remove brandred-fma4.
10289 (CFLAGS-brandred-fma4.c): Remove.
10290 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10296 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10298 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10299 LLONG_MAX != LONG_MAX.
10300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10301 (_fitoa_word): Likewise.
10302 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10303 LLONG_MAX != LONG_MAX.
10304 * stdio-common/_itowa.h: Include <_itoa.h>.
10305 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10306 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10307 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10308 only if not defined.
10309 (_ITOA_WORD_TYPE): Likewise.
10310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10311 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10313 2012-03-21 David S. Miller <davem@davemloft.net>
10315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10317 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10319 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10320 of x86_64 when setting libc_cv_slibdir, libdir and
10322 * sysdeps/unix/sysv/linux/configure: Regenerated.
10324 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10326 * manual/lang.texi (Old Varargs): Remove section.
10327 (How Variadic): Update menu.
10328 (va_start): Do not mention varargs.h.
10330 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10331 Joseph Myers <joseph@codesourcery.com>
10333 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10335 * configure: Regenerated.
10337 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10339 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10340 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10343 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10346 * Makefile (files-for-dist): Remove NOTES.
10347 (NOTES): Remove rule.
10348 * README: Don't refer to NOTES.
10349 * manual/creature.texi: Don't include macros.texi.
10350 * manual/intro.texi (creature.texi): Remove comment referring to
10353 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10354 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10355 * configure: Regenerated.
10356 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10357 LIBC_TRY_CC_OPTION.
10358 (libc_cv_as_i686): Likewise.
10359 (libc_cv_cc_avx): Likewise.
10360 (libc_cv_cc_sse2avx): Likewise.
10361 (libc_cv_cc_fma4): Likewise.
10362 (libc_cv_cc_novzeroupper): Likewise.
10363 * sysdeps/i386/configure: Regenerated.
10366 * sysdeps/i386/fpu/s_cexp.S: Remove.
10367 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10368 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10369 * math/libm-test.inc (cexp_test): Add more tests.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373 2012-03-21 Allan McRae <allan@archlinux.org>
10375 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10377 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10380 * math/w_exp2.c: Do not include <float.h>.
10381 (o_threshold, u_threshold): Remove.
10382 (__exp2): Calculate result before checking finiteness and calling
10384 * math/w_exp2f.c: Likewise.
10385 * math/w_exp2l.c: Likewise.
10386 * math/libm-test.inc (exp2_test): Require overflow exception for
10390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10391 range of signed 64-bit integers before using fistpll. Remove
10392 checks for whether integers fit in mantissa bits.
10393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10394 the range of signed 32-bit integers before using fistpl. Remove
10395 checks for whether integers fit in mantissa bits.
10396 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10397 (__ieee754_powl): Test for y outside the range of signed 64-bit
10398 integers before using fistpll. Reduce 64-bit values to 63-bit
10400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10401 divide-by-zero is raised for zero to large negative powers.
10402 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10403 (__ieee754_powl): Test for y outside the range of signed 64-bit
10404 integers before using fistpll. Reduce 64-bit values to 63-bit
10406 * math/libm-test.inc (pow_test): Add more tests.
10408 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10410 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10411 <stdio-common/_itoa.h>.
10412 * debug/segfault.c: Likewise.
10413 * elf/dl-cache.c: Likewise.
10414 * elf/dl-minimal.c: Likewise.
10415 * elf/dl-misc.c: Likewise.
10416 * elf/dl-sysdep.c: Likewise.
10417 * elf/dl-version.c: Likewise.
10418 * elf/rtld.c: Likewise.
10419 * hurd/hurdsock.c: Likewise.
10420 * hurd/lookup-retry.c: Likewise.
10421 * malloc/malloc.c: Likewise.
10422 * malloc/mtrace.c: Likewise.
10423 * nscd/nscd_getgr_r.c: Likewise.
10424 * nscd/nscd_getpw_r.c: Likewise.
10425 * nscd/nscd_getserv_r.c: Likewise.
10426 * posix/getopt_init.c: Likewise.
10427 * posix/wordexp.c: Likewise.
10428 * stdio-common/_itoa.c: Likewise.
10429 * stdio-common/printf_fphex.c: Likewise.
10430 * stdio-common/vfprintf.c: Likewise.
10431 * string/_strerror.c: Likewise.
10432 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10433 * sysdeps/i386/i686/hp-timing.h: Likewise.
10434 * sysdeps/mach/_strerror.c: Likewise.
10435 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10436 * sysdeps/mach/hurd/sethostid.c: Likewise.
10437 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10438 * sysdeps/mach/xpg-strerror.c: Likewise.
10439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10441 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10442 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10444 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10446 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10447 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10448 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10449 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10450 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10451 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10453 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10455 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10456 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10457 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10458 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10459 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10461 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10463 * stdio-common/_itoa.h: Moved to ...
10464 * sysdeps/generic/_itoa.h: Here.
10466 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10468 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10469 instead of "_itoa.h" and "_itowa.h".
10470 * stdio-common/vfprintf.: Likewise.
10472 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10476 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10477 (__signbit): Likwise.
10478 (llrintf): Likwise.
10481 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10483 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10486 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10488 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10489 OVERFLOW_EXCEPTION_OK.
10490 * math/libm-test.inc ("Philosophy"): Update comment about
10492 (OVERFLOW_EXCEPTION): Define.
10493 (OVERFLOW_EXCEPTION_OK): Likewise.
10494 (INVALID_EXCEPTION_OK): Renumber.
10495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10496 (IGNORE_ZERO_INF_SIGN): Likewise.
10497 (test_exceptions): Handle FE_OVERFLOW.
10498 (exp10_test): Expect overflow exceptions.
10499 (exp2_test): Likewise.
10500 (expm1_test): Likewise.
10501 (nextafter_test): Likewise.
10502 (pow_test): Likewise.
10503 (scalbn_test): Likewise.
10504 (scalbln_test): Likewise.
10506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10508 * sysdeps/x86_64/bits/atomic.h
10509 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10511 (atomic_exchange_acq): Likewise.
10512 (__arch_exchange_and_add_body): Likewise.
10513 (__arch_add_body): Likewise.
10514 (atomic_add_negative): Likewise.
10515 (atomic_add_zero): Likewise.
10517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10519 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10520 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10524 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10525 Check __x86_64__ instead of __WORDSIZE.
10527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10529 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10531 2012-03-19 David S. Miller <davem@davemloft.net>
10533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10535 * sysdeps/sparc/fpu/fenv_private.h: New file.
10536 * sysdeps/sparc/fpu/math_private.h: Use it.
10537 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10539 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10540 (libc_feholdexcept_setroundl): Remove.
10541 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10543 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10544 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10549 int64_t instead of long int.
10550 (INSERT_WORDS64): Likwise.
10552 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10554 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10555 _Unwind_GetCFA return to _Unwind_Ptr first.
10557 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10560 * math/s_clog.c: Include <float.h>.
10561 (__clog): Scale large or subnormal inputs.
10562 * math/s_clogf.c: Likewise.
10563 * math/s_clogl.c: Likewise.
10564 * math/s_clog10.c: Include <float.h>.
10565 (M_LOG10_2): Define.
10566 (__clog10): Scale large or subnormal inputs.
10567 * math/s_clog10f.c: Likewise.
10568 * math/s_clog10l.c: Likewise.
10569 * math/libm-test.inc (clog_test): Add more tests.
10570 (clog10_test): Likewise.
10571 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10575 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10577 * math/libm-test.inc (atan2_test): Add another test.
10579 * Makerules (common-objdir-compile): Remove.
10580 * sysdeps/unix/Makefile (config-generated): Do not add
10581 $(unix-generated) to variable.
10582 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10583 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10585 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10587 [generic bits/local_lim.h] (before-compile): Do not append to
10589 [generic bits/local_lim.h] (common-generated): Likewise.
10590 [generic sys/param.h] (before-compile): Do not append to variable.
10591 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10592 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10594 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10596 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10597 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10598 [generic sys/param.h] ($(addprefix
10599 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10600 [generic sys/param.h] (common-generated): Do not append to
10602 [generic sys/param.h] (sysdep_headers): Likewise.
10603 [generic bits/errno.h] (before-compile): Do not append to
10605 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10607 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10608 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10609 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10610 [generic bits/errno.h] (common-generated): Do not append to
10612 [generic bits/ioctls.h] (before-compile): Do not append to
10614 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10616 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10617 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10618 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10620 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10621 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10622 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10623 [generic bits/ioctls.h] (common-generated): Do not append to
10625 [generic sys/syscall.h] (syscall.h): Remove variable.
10626 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10628 [generic sys/syscall.h] (before-compile): Do not append to
10630 [generic sys/syscall.h] (common-generated): Likewise.
10631 * sysdeps/unix/errnos-tmpl.c: Remove file.
10632 * sysdeps/unix/errnos.awk: Likewise.
10633 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10634 * sysdeps/unix/ioctls.awk: Likewise.
10635 * sysdeps/unix/mk-local_lim.c: Likewise.
10636 * sysdeps/unix/snarf-ioctls: Likewise.
10638 2012-03-19 Richard Henderson <rth@twiddle.net>
10640 * sysdeps/i386/fpu/fenv_private.h: New file.
10641 * sysdeps/i386/fpu/math_private.h: Use it.
10642 (math_opt_barrier, math_force_eval): Remove.
10643 (libc_feholdexcept_setround_53bit): Remove.
10644 (libc_feupdateenv_53bit): Remove.
10645 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10646 (math_opt_barrier, math_force_eval): Remove.
10647 (libc_feholdexcept): Remove.
10648 (libc_feholdexcept_setround): Remove.
10649 (libc_fetestexcept, libc_fesetenv): Remove.
10650 (libc_feupdateenv_test): Remove.
10651 (libc_feupdateenv, libc_feholdsetround): Remove.
10652 (libc_feresetround): Remove.
10654 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10655 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10657 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10658 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10659 (libc_feupdateenv_testl): New.
10660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10661 (libc_feupdateenv_testf): New.
10662 (libc_feupdateenv): Use libc_feupdateenv_test.
10663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10664 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10666 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10667 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10668 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10669 (libc_feresetround_noex): New.
10670 (libc_feresetround_noexf): New.
10671 (libc_feresetround_noexl): New.
10672 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10673 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10674 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10675 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10680 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10682 SET_RESTORE_ROUND_NOEX.
10683 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10684 SET_RESTORE_ROUND_NOEXF.
10685 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10686 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10687 (libc_feholdsetroundf): New.
10688 (libc_feresetround, libc_feresetroundf): New.
10690 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10691 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10692 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10694 * sysdeps/generic/math_private.h: Include <fenv.h>.
10695 (default_libc_feholdexcept): New.
10696 (default_libc_feholdexcept_setround): New.
10697 (default_libc_fesetenv, default_libc_feupdateenv): New.
10698 (libc_feholdexcept): Only define if undefined.
10699 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10700 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10701 (libc_feholdexcept_setroundl): Likewise.
10702 (libc_feholdexcept_setround_53bit): Likewise.
10703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10704 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10705 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10706 (libc_feupdateenv_53bit): Likewise.
10707 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10708 (libc_feholdexcept): Convert from macro to inline function.
10709 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10710 (libc_fesetenv, libc_feupdateenv): Likewise.
10712 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10713 not previously defined.
10714 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10715 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10716 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10717 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10718 * sysdeps/ieee754/flt-32/math_private.h: New file.
10719 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10720 math_private.h below SET_FLOAT_WORD.
10721 (__isnan, __isinf_ns, __finite): Remove.
10722 (__isnanf, __isinf_nsf, __finitef): Remove.
10724 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10728 2012-03-17 David S. Miller <davem@davemloft.net>
10731 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10734 2012-03-16 David S. Miller <davem@davemloft.net>
10736 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10742 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10743 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10744 sysdep_routines when subdir is sysvipc.
10745 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10746 __getshmlba helper.
10748 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10750 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10752 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10758 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10759 (__lround): Renamed to ...
10760 (__llround): This. Replace long int with long long int.
10761 Define lround functions as aliases of llround functions.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10764 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10766 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10767 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10768 adresses to uintptr_t. Replace "long int" and "unsigned long
10769 int" with "greg_t" on va_arg.
10771 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10773 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10774 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10776 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10777 Move e_machine check before EI_CLASS check. Handle x32
10778 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10779 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10780 SKIP_EM_IA_64 and include
10781 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10783 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10784 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10785 (add_system_dir): New macro.
10787 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10788 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10790 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10801 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10803 * math/w_j0f.c (j0f): Likewise.
10805 * math/w_j0l.c (__j0l): Likewise.
10807 * math/w_j1.c (j1): Likewise.
10809 * math/w_j1f.c (j1f): Likewise.
10811 * math/w_j1l.c (__j1l): Likewise.
10813 * math/w_jn.c (jn): Likewise.
10815 * math/w_jnf.c (jnf): Likewise.
10817 * math/w_jnl.c (__jnl): Likewise.
10819 * math/libm-test.inc (j0_test): Add more tests.
10820 (j1_test): Likewise.
10821 (jn_test): Likewise. Add trailing semicolon to existing test.
10822 (y0_test): Likewise.
10823 (y1_test): Likewise.
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10830 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10831 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10833 (__tanl): Set errno for infinite argument.
10834 * sysdeps/i386/fpu/mptan.c: Remove.
10835 * sysdeps/i386/fpu/s_tan.S: Likewise.
10836 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10837 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10838 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10839 * math/libm-test.inc (tan_test): Add more tests and enable more
10840 tests for double and long double.
10841 * sysdeps/i386/fpu/libm-test-ulps: Update.
10842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10844 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10846 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10847 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10849 2012-03-16 Roland McGrath <roland@hack.frob.com>
10851 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10852 * configure.in: Use it for both main tree and add-ons.
10853 * configure: Regenerated.
10855 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10857 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10859 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10865 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10866 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10871 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10873 != 0 for prec == 2.
10874 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10875 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10876 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10877 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10878 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10879 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10880 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10881 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10882 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10883 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10884 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10885 * math/libm-test.inc (cos_test): Add more tests and enable more
10886 tests for long double.
10887 (sin_test): Likewise.
10888 (sincos_test): Likewise.
10889 * sysdeps/i386/fpu/libm-test-ulps: Update.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10892 2012-03-16 David S. Miller <davem@davemloft.net>
10894 * sysdeps/sparc/fpu/math_private.h: New file.
10896 2012-03-15 David S. Miller <davem@davemloft.net>
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10912 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10913 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10915 * sysdeps/sparc/sparc-ifunc.h: New file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10961 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10963 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10967 2012-03-15 Andreas Jaeger <aj@suse.de>
10970 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10971 ieee754/flt-32 implementation for sin, cos and sincos.
10972 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10973 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10974 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10975 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10976 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10977 ieee754/flt-32 implementation for tan.
10979 * math/libm-test.inc (cos_test): Enable some large input tests for
10981 (sin_test): Likewise.
10982 (sincos_test): Likewise.
10983 (tan_test): Add tests for large input.
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10987 2012-03-15 Andreas Jaeger <aj@suse.de>
10990 * math/libm-test.inc (cos_test): Add more test cases.
10991 (sin_test): Likewise.
10992 (sincos_test): Likewise.
10994 2012-03-15 Andreas Jaeger <aj@suse.de>
10997 * math/libm-test.inc (cos_test): Add a test case for large input
10999 (sin_test): Likewise.
11000 (sincos_test): Likewise.
11002 2012-03-15 Andreas Jaeger <aj@suse.de>,
11003 Joseph Myers <joseph@codesourcery.com>
11006 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11007 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11008 * sysdeps/i386/fpu/branred.c: Likewise.
11009 * sysdeps/i386/fpu/dosincos.c: Likewise.
11010 * sysdeps/i386/fpu/mpa.c: Likewise.
11011 * sysdeps/i386/fpu/s_cos.S: Likewise.
11012 * sysdeps/i386/fpu/s_sin.S: Likewise.
11013 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11014 * sysdeps/i386/fpu/sincos32.c: Likewise.
11016 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11018 (libc_feupdateenv_53bit): Define.
11019 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11021 (libc_feupdateenv_53bit): Define.
11023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11024 53 bit (without extend i386 double precision).
11026 * math/libm-test.inc (sincos_test): Add tests for large input.
11030 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11032 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11036 2012-03-15 David S. Miller <davem@davemloft.net>
11038 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11041 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11066 fmin/fmax sysdep routines.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11069 2012-03-14 David S. Miller <davem@davemloft.net>
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11143 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11148 * sysdeps/sparc/configure.in: New file.
11149 * sysdeps/sparc/configure: Generate.
11150 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11151 * configure: Regenerate.
11152 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11153 * config.make.in (have-as-vis3): New.
11154 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11155 available use -Av9d instead of -Av9a.
11156 * sysdeps/sparc/sparc64/Makefile: Likewise.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11172 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11173 fzeros/fnegs to load 0x80000000 into a float register instead of
11175 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11177 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11181 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11182 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11183 ($(inst_includedir)/bits/syscall.h): Remove rule.
11184 ($(objpfx)bits/syscall.d): Include instead of
11185 $(objpfx)syscall-list.d.
11186 (generated): Change syscall-list.h and syscall-list.d to
11187 bits/syscall.h and bits/syscall.d.
11189 2012-03-14 Roland McGrath <roland@hack.frob.com>
11192 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11194 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11197 * math/s_csqrt.c: Include <float.h>.
11198 (__csqrt): Scale large or subnormal inputs.
11199 * math/s_csqrtf.c: Likewise.
11200 * math/s_csqrtl.c: Likewise.
11201 * math/libm-test.inc (csqrt_test): Add more tests.
11202 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206 * math/libm-test.inc (hypot_test): Add more tests.
11208 2012-03-13 David S. Miller <davem@davemloft.net>
11211 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11212 double-precision for the calculation instead of scaling.
11214 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11217 manipulate bits before adding and subtracting TWO52[sx].
11218 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11221 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11223 2012-03-13 David S. Miller <davem@davemloft.net>
11225 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11226 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11228 rtld-global-offsets.h
11229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11231 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11234 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11236 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11237 'err' in the ifdef scope in which it is actually used.
11239 * nss/nss_db/db-init.c: Include string.h
11241 2012-03-12 David S. Miller <davem@davemloft.net>
11243 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11244 masking out of the most significant byte of random value used.
11245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11246 Fix coding style in previous change.
11248 * sysdeps/unix/sysv/linux/kernel-features.h
11249 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11250 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11252 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11255 2012-03-11 David S. Miller <davem@davemloft.net>
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11258 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11260 for 'resultvar' otherwise things get truncated on 64-bit.
11262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11263 Fix masking out of the most significant byte of random value used.
11265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11267 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11271 2012-03-09 David S. Miller <davem@davemloft.net>
11273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11274 variables with appropriate CPP guards.
11275 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11276 frame pointer, not the stack pointer. Correct layout comments. Fix test
11277 on resulting framesize and the management of the outregs buffer for pltexit.
11278 Preserve floating point return values across _dl_call_pltexit call.
11279 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11280 framesize and the management of the outregs buffer for pltexit.
11281 Preserve floating point return values across _dl_call_pltexit
11283 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11284 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11285 (print_exit): Fix format string for return register value.
11287 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11289 * sunrpc/Makefile (others): Add rpcgen.
11290 ($(objpfx)rpcgen): Remove special build rule and dependency on
11292 * sunrpc/rpcgen.c: New file.
11294 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11297 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11298 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11299 * sysdeps/i386/crti.S: Likewise.
11300 * sysdeps/i386/crtn.S: Likewise.
11301 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11302 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11303 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11304 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11305 * sysdeps/sh/crti.S: Likewise.
11306 * sysdeps/sh/crtn.S: Likewise.
11307 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11310 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11312 * locale/programs/locfile-kw.gperf: Likewise.
11313 * locale/programs/charmap-kw.h: Regenerated.
11314 * locale/programs/locfile-kw.h: Likewise.
11317 * intl/plural.y: Replace FSF snail mail address with URL.
11318 * intl/plural.c: Regenerated.
11320 2012-03-09 Richard Henderson <rth@twiddle.net>
11322 * include/math_private.h: Remove file.
11323 * math/math_private.h: Move file ...
11324 * sysdeps/generic/math_private.h: ... here.
11326 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11327 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11328 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11330 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11331 and <math_private.h>.
11332 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11333 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11334 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11335 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11336 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11420 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11421 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11423 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11451 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11452 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11453 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11454 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11481 * sysdeps/ieee754/k_standard.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11601 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11602 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11604 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11609 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11642 * sysdeps/ieee754/s_lib_version.c: Likewise.
11643 * sysdeps/ieee754/s_matherr.c: Likewise.
11644 * sysdeps/ieee754/s_signgam.c: Likewise.
11645 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11647 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11648 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11649 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11650 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11651 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11652 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11653 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11654 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11655 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11656 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11657 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11658 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11659 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11662 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11663 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11667 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11669 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11670 * sunrpc/rpc_main.c: Likewise.
11671 * sunrpc/rpc_svcout.c: Likewise.
11673 2012-03-09 David S. Miller <davem@davemloft.net>
11675 * include/math_private.h: New file.
11677 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11679 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11680 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11681 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11682 from <bits/socket_type.h>.
11683 (enum __socket_type): Don't define here.
11684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11686 bits/socket_type.h.
11689 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11690 checking __USE_GNU.
11692 * Makerules ($(inst_includedir)/%.h): New rule.
11693 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11694 (install-others): Remove variable setting.
11695 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11697 2012-03-08 Richard Henderson <rth@twiddle.net>
11699 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11700 from macro to inline function; merge with the
11701 !__LIBC_INTERNAL_MATH_INLINES version.
11702 (__ieee754_sqrtf): Likewise.
11704 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11705 to inline function.
11706 (__rintf, __floor, __floorf): Likewise.
11708 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11709 macro to inline function.
11710 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11712 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11713 not <math/math_private.h>.
11715 2012-03-08 David S. Miller <davem@davemloft.net>
11717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11719 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11721 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11723 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11725 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11726 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11728 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11730 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11731 be defined individually, they must be defined as a block. Define
11732 S for printing a string instead of hidint the different by using a
11733 macro for adding the 'l'.
11734 * stdio-common/tst-fphex-wide.c: Adjust.
11736 2012-03-07 Marek Polacek <polacek@redhat.com>
11738 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11740 2012-03-08 Marek Polacek <polacek@redhat.com>
11743 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11744 * stdio-common/tst-fphex.c: Define a few macros to make the
11745 test reusable. Use them.
11746 * stdio-common/tst-fphex-wide.c: New file.
11748 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11751 * manual/macros.texi (gnusystems): New macro.
11752 (nongnusystems): Likewise.
11753 (gnulinuxhurdsystems): Likewise.
11754 (gnuhurdsystems): Likewise..
11755 (gnulinuxsystems): Likewise.
11756 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11757 variants of the GNU system, not "GNU system".
11758 * manual/conf.texi: Likewise.
11759 * manual/errno.texi: Likewise. Update example of errno macro
11761 * manual/filesys.texi: Likewise.
11762 (getumask): Document as specific to GNU/Hurd.
11763 * manual/install.texi: Likewise. Reword some references to
11765 * manual/intro.texi: Likewise.
11766 * manual/io.texi: Likewise.
11767 (File Name Portability): Detail which constraints are inapplicable
11768 to all GNU systems and which are only inapplicable to GNU/Hurd.
11769 * manual/job.texi: Likewise.
11770 * manual/llio.texi: Likewise.
11771 (O_NOCTTY): Document as present on GNU/Linux.
11772 * manual/maint.texi: Likewise.
11773 * manual/memory.texi: Likewise.
11774 * manual/pattern.texi: Likewise.
11775 * manual/pipe.texi: Likewise.
11776 * manual/process.texi: Likewise.
11777 * manual/resource.texi: Likewise.
11778 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11780 * manual/setjmp.texi: Likewise.
11781 * manual/signal.texi: Likewise.
11782 * manual/startup.texi: Likewise.
11783 * manual/stdio.texi: Likewise.
11784 * manual/terminal.texi: Likewise.
11785 (ONLCR): Document as POSIX.
11786 (OXTABS): Document availability on GNU/Linux as XTABS.
11787 (ONOEOT): Document availability separately from other bits.
11788 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11789 * manual/time.texi: Likewise.
11790 * manual/users.texi: Likewise.
11791 * INSTALL: Regenerated.
11792 * sysdeps/gnu/errlist.c: Regenerated.
11794 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11795 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11796 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11798 * configure: Regenerated.
11800 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11802 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11803 default includes instead of AC_HEADER_CHECK.
11804 * sysdeps/i386/configure: Regenerated.
11807 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11808 * math/s_cacoshf.c (__cacoshf): Likewise.
11809 * math/s_cacoshl.c (__cacoshl): Likewise.
11810 * math/s_casinh.c (__casinh): Set signs of result from argument.
11811 * math/s_casinhf.c (__casinhf): Likewise.
11812 * math/s_casinhl.c (__casinhl): Likewise.
11813 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11814 (casinh_test): Add more tests.
11815 * sysdeps/i386/fpu/libm-test-ulps: Update.
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11818 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11820 * po/zh_TW.po: Update from translation team.
11822 * login/Makefile (distribute): Remove variable.
11823 * catgets/Makefile: Likewise.
11824 * mach/Makefile: Likewise.
11825 * malloc/Makefile: Likewise.
11826 * misc/Makefile: Likewise.
11827 * iconv/Makefile: Likewise.
11828 * nscd/Makefile: Likewise.
11829 * hurd/Makefile: Likewise.
11830 * manual/Makefile: Likewise.
11831 * locale/Makefile: Likewise.
11832 * intl/Makefile: Likewise.
11833 * conform/Makefile: Likewise.
11834 * nss/Makefile: Likewise.
11835 * time/Makefile: Likewise.
11836 * soft-fp/Makefile: Likewise.
11837 * dirent/Makefile: Likewise.
11838 * gmon/Makefile: Likewise.
11839 * po/Makefile: Likewise.
11840 * rt/Makefile: Likewise.
11841 * socket/Makefile: Likewise.
11842 * math/Makefile: Likewise.
11843 * signal/Makefile: Likewise.
11844 * debug/Makefile: Likewise.
11845 * elf/Makefile: Likewise.
11846 * timezone/Makefile: Likewise.
11847 * stdlib/Makefile: Likewise.
11848 * iconvdata/Makefile: Likewise.
11849 * sunrpc/Makefile: Likewise.
11850 * io/Makefile: Likewise.
11851 * argp/Makefile: Likewise.
11852 * inet/Makefile: Likewise.
11853 * hesiod/Makefile: Likewise.
11854 * grp/Makefile: Likewise.
11855 * csu/Makefile: Likewise.
11856 * wctype/Makefile: Likewise.
11857 * crypt/Makefile: Likewise.
11858 * libio/Makefile: Likewise.
11859 * string/Makefile: Likewise.
11860 * nis/Makefile: Likewise.
11861 * resolv/Makefile: Likewise.
11862 * stdio-common/Makefile: Likewise.
11863 * wcsmbs/Makefile: Likewise.
11864 * dlfcn/Makefile: Likewise.
11865 * posix/Makefile: Likewise.
11868 * timezone/Makefile: Don't install timezone files, just the programs
11871 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11873 * nss/databases.def: Add missing gshadow entry.
11875 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11877 2012-03-06 Marek Polacek <polacek@redhat.com>
11880 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11881 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11882 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11883 * stdio-common/tst-long-dbl-fphex.c: New file.
11885 2012-03-06 David S. Miller <davem@davemloft.net>
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11888 (set_obp_int): New function.
11889 (get_obp_int): New function.
11890 (__get_clockfreq_via_dev_openprom): Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11892 Avoid unused variable warnings on 'val' and use builtin_expect.
11893 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11895 (INLINE_CLONE_SYSCALL): Likewise.
11897 2012-03-05 David S. Miller <davem@davemloft.net>
11899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11901 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11906 only for |x| >= 40.
11907 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11909 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11912 Replace gettimeofday with __vdso_gettimeofday.
11914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11915 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11916 __vdso_clock_gettime and __vdso_getcpu.
11918 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11919 time with __vdso_time.
11921 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11923 * manual/lang.texi (size_t): Note types to which size_t may be
11924 equivalent with the GNU C Library, but do not describe when
11925 differences between them are significant.
11927 2012-03-05 Andreas Jaeger <aj@suse.de>
11929 * sysdeps/i386/fpu/libm-test-ulps: Update.
11931 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11934 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11935 (__ieee754_pow): Save and restore rounding mode and use
11936 round-to-nearest for main computations.
11937 * math/libm-test.inc (pow_test_tonearest): New function.
11938 (pow_test_towardzero): Likewise.
11939 (pow_test_downward): Likewise.
11940 (pow_test_upward): Likewise.
11941 (main): Call the new functions.
11942 * sysdeps/i386/fpu/libm-test-ulps: Update.
11943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11946 * math/libm-test.inc (cosh_test_tonearest): New function.
11947 (cosh_test_towardzero): Likewise.
11948 (cosh_test_downward): Likewise.
11949 (cosh_test_upward): Likewise.
11950 (sinh_test_tonearest): Likewise.
11951 (sinh_test_towardzero): Likewise.
11952 (sinh_test_downward): Likewise.
11953 (sinh_test_upward): Likewise.
11954 (main): Call the new functions.
11955 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11958 2012-03-05 Tom de Vries <tom@codesourcery.com>
11960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11961 default stack guard is set in last bytes.
11962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11964 2012-03-05 Kees Cook <keescook@chromium.org>
11966 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11969 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11970 possibly allocate from heap instead of stack.
11971 * stdio-common/bug-vfprintf-nargs.c: New file.
11972 * stdio-common/Makefile (tests): Add nargs overflow test.
11974 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11978 2012-03-03 Marek Polacek <polacek@redhat.com>
11980 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11981 * math/math_private.h: Likewise.
11982 * stdlib/tst-strtod.c: Likewise.
11983 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11984 * sysdeps/x86_64/bits/atomic.h: Likewise.
11986 2012-03-02 David S. Miller <davem@davemloft.net>
11988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11992 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11993 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11994 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11995 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11997 2012-03-02 Roland McGrath <roland@hack.frob.com>
12000 * manual/examples/README: New file, says the example source files
12001 can be used under GPL>=2.
12002 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12003 line containing just "*/".
12004 * manual/examples/add.c: Add copyright header (GPL>=2).
12005 * manual/examples/argp-ex1.c: Likewise.
12006 * manual/examples/argp-ex2.c: Likewise.
12007 * manual/examples/argp-ex3.c: Likewise.
12008 * manual/examples/argp-ex4.c: Likewise.
12009 * manual/examples/atexit.c: Likewise.
12010 * manual/examples/db.c: Likewise.
12011 * manual/examples/dir.c: Likewise.
12012 * manual/examples/dir2.c: Likewise.
12013 * manual/examples/execinfo.c: Likewise.
12014 * manual/examples/filecli.c: Likewise.
12015 * manual/examples/filesrv.c: Likewise.
12016 * manual/examples/fmtmsgexpl.c: Likewise.
12017 * manual/examples/genpass.c: Likewise.
12018 * manual/examples/inetcli.c: Likewise.
12019 * manual/examples/inetsrv.c: Likewise.
12020 * manual/examples/isockad.c: Likewise.
12021 * manual/examples/longopt.c: Likewise.
12022 * manual/examples/memopen.c: Likewise.
12023 * manual/examples/memstrm.c: Likewise.
12024 * manual/examples/mkfsock.c: Likewise.
12025 * manual/examples/mkisock.c: Likewise.
12026 * manual/examples/mygetpass.c: Likewise.
12027 * manual/examples/pipe.c: Likewise.
12028 * manual/examples/popen.c: Likewise.
12029 * manual/examples/rprintf.c: Likewise.
12030 * manual/examples/search.c: Likewise.
12031 * manual/examples/select.c: Likewise.
12032 * manual/examples/setjmp.c: Likewise.
12033 * manual/examples/sigh1.c: Likewise.
12034 * manual/examples/sigusr.c: Likewise.
12035 * manual/examples/stpcpy.c: Likewise.
12036 * manual/examples/strdupa.c: Likewise.
12037 * manual/examples/strftim.c: Likewise.
12038 * manual/examples/strncat.c: Likewise.
12039 * manual/examples/subopt.c: Likewise.
12040 * manual/examples/swapcontext.c: Likewise.
12041 * manual/examples/termios.c: Likewise.
12042 * manual/examples/testopt.c: Likewise.
12043 * manual/examples/testpass.c: Likewise.
12044 * manual/examples/timeval_subtract.c: Likewise.
12047 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12049 * manual/timeval_subtract.c.texi: ... here, new file.
12051 2012-03-02 David S. Miller <davem@davemloft.net>
12053 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12055 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12058 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12059 (__sin): Save and restore rounding mode and use round-to-nearest
12060 for all computations.
12061 (__cos): Save and restore rounding mode and use round-to-nearest
12062 for all computations.
12063 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12065 (tan): Save and restore rounding mode and use round-to-nearest for
12067 * math/libm-test.inc (cos_test_tonearest): New function.
12068 (cos_test_towardzero): Likewise.
12069 (cos_test_downward): Likewise.
12070 (cos_test_upward): Likewise.
12071 (sin_test_tonearest): Likewise.
12072 (sin_test_towardzero): Likewise.
12073 (sin_test_downward): Likewise.
12074 (sin_test_upward): Likewise.
12075 (tan_test_tonearest): Likewise.
12076 (tan_test_towardzero): Likewise.
12077 (tan_test_downward): Likewise.
12078 (tan_test_upward): Likewise.
12079 (main): Call the new functions.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12084 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12085 small n, then large n, before computing and testing k+n.
12086 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12091 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12092 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12094 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12097 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12099 * math/libm-test.inc (scalbn_test): Add more tests.
12100 (scalbln_test): Likewise.
12102 * manual/filesys.texi (mode_t): Describe constraints on size and
12103 signedness, not exact equivalence to a particular type.
12105 (ino64_t): Likewise.
12107 (nlink_t): Likewise.
12108 (blkcnt_t): Likewise.
12109 (blkcnt64_t): Likewise.
12110 * manual/llio.texi (off_t): Likewise.
12113 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12114 (__ieee754_exp): Save and restore rounding mode and use
12115 round-to-nearest for all computations.
12116 * math/libm-test.inc (exp_test_tonearest): New function.
12117 (exp_test_towardzero): Likewise.
12118 (exp_test_downward): Likewise.
12119 (exp_test_upward): Likewise.
12120 (main): Call the new functions.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124 2012-03-01 Chris Demetriou <cgd@google.com>
12126 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12127 have predictable order.
12129 2012-03-01 David S. Miller <davem@davemloft.net>
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12133 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12134 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12135 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12136 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12138 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12139 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12140 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12142 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12143 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12144 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12150 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12151 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12154 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12155 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12156 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12157 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12158 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12161 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12162 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12163 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12164 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12165 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12170 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12171 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12172 * sysdeps/sparc/elf/configure: Regenerated.
12174 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12176 * configure.in (AS, LD): Require binutils 2.20 or later.
12177 * configure: Regenerated.
12178 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12179 as required minimum version.
12180 * INSTALL: Regenerated.
12184 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12185 before squaring exponent.
12186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12187 bottom long double and 27 bits of top long double before squaring
12189 * math/libm-test.inc (erfc_test): Add more tests.
12190 * sysdeps/i386/fpu/libm-test-ulps: Update.
12191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12194 2012-03-01 Kai Tietz <ktietz@redhat.com>
12196 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12197 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12198 containing bit-fields.
12199 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12200 * soft-fp/single.h (_FP_UNION_S): Likewise.
12201 * soft-fp/double.h (_FP_UNION_D): Likewise.
12203 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12206 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12207 not include ../strcmp.S.
12208 [USE_AS_STRNCASECMP_L]: Likewise.
12209 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12210 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12211 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12212 (__strncasecmp_l_ia32): Define as alias to
12213 __strncasecmp_l_nonascii.
12216 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12217 * sysdeps/i386/fpu/libm-test-ulps: Update.
12218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12220 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12223 2012-02-29 Jeff Law <law@redhat.com>
12225 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12226 out of bounds read.
12228 2012-02-29 Marek Polacek <polacek@redhat.com>
12231 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12232 * elf/Makefile: Add rules to run tst-unused-dep.out.
12234 2012-02-28 David S. Miller <davem@davemloft.net>
12236 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12237 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12240 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12241 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12243 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12245 * math/libm-test.inc (llround_test): Move one test from
12246 lround_test. Use TEST_f_L in moved test.
12247 (lround_test): Move misplaced test to llround_test. Add testcase
12250 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12252 * sysdeps/x86_64/fpu/e_expf.S: New file.
12253 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12255 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12258 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12259 of remain_len that may cause incomplete multi-byte character and
12261 * posix/bug-regex33.c: New file.
12262 * posix/Makefile (tests): Add bug-regex33.
12264 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12266 * manual/macros.texi: New file.
12267 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12268 * manual/libc.texinfo: Include macros.texi.
12269 * manual/creatute.texi: Likewise.
12270 * manual/install.texi: Likewise.
12271 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12272 @glibcadj{} in references to the GNU C Library.
12273 * manual/charset.texi: Likewise.
12274 * manual/conf.texi: Likewise.
12275 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12276 when not using those macros.
12277 * manual/creature.texi: Likewise.
12278 * manual/crypt.texi: Likewise.
12279 * manual/errno.texi: Likewise.
12280 * manual/filesys.texi: Likewise.
12281 * manual/header.texi: Likewise.
12282 * manual/install.texi: Likewise.
12283 * manual/intro.texi: Likewise.
12284 * manual/io.texi: Likewise.
12285 * manual/job.texi: Likewise.
12286 * manual/lang.texi: Likewise.
12287 * manual/libc.texiinfo: Likewise.
12288 * manual/llio.texi: Likewise.
12289 * manual/locale.texi: Likewise.
12290 * manual/maint.texi: Likewise.
12291 * manual/math.texi: Likewise.
12292 * manual/memory.texi: Likewise.
12293 * manual/message.texi: Likewise.
12294 * manual/nss.texi: Likewise.
12295 * manual/pattern.texi: Likewise.
12296 * manual/process.texi: Likewise.
12297 * manual/resource.texi: Likewise.
12298 * manual/search.texi: Likewise.
12299 * manual/setjmp.texi: Likewise.
12300 * manual/signal.texi: Likewise.
12301 * manual/socket.texi: Likewise.
12302 * manual/startup.texi: Likewise.
12303 * manual/stdio.texi: Likewise.
12304 * manual/string.texi: Likewise.
12305 * manual/sysinfo.texi: Likewise.
12306 * manual/syslog.texi: Likewise.
12307 * manual/terminal.texi: Likewise.
12308 * manual/time.texi: Likewise.
12309 * manual/users.texi: Likewise.
12310 * INSTALL: Regenerated.
12311 * NOTES: Regenerated.
12312 * sysdeps/gnu/errlist.c: Regenerated.
12314 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12316 * include/dirent.h: Include <dirstream.h> before
12319 2012-02-28 David S. Miller <davem@davemloft.net>
12321 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12322 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12326 2012-02-27 David S. Miller <davem@davemloft.net>
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12330 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12334 frame pointer instead of stack pointer relative arg slot.
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12336 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12339 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12342 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12344 2012-02-27 David S. Miller <davem@davemloft.net>
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12350 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12351 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12352 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12353 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12355 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12357 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12358 later. Allow versions 5-9.
12359 * configure: Regenerated.
12360 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12361 required minimum version and 4.6 as recommended version. Do not
12362 mention bugs in GCC 2.7 and 2.8.
12363 * INSTALL: Regenerated.
12365 2012-02-27 David S. Miller <davem@davemloft.net>
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12373 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12374 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12377 manipulate bits before adding and subtracting TWO112[sx].
12378 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12380 2012-02-27 Roland McGrath <roland@hack.frob.com>
12383 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12384 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12385 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12386 being in POSIX, because they are in 1003.1-2008.
12388 * rt/tst-aio.c: Include <fcntl.h>.
12389 * rt/tst-aio7.c: Likewise.
12390 * rt/tst-aio64.c: Likewise.
12392 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12394 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12396 * manual/install.texi (--with-headers): Describe headers as
12397 interface headers, not private headers.
12398 (Specific advice for GNU/Linux systems): Describe use of headers
12399 from "make headers_install", not private headers from older
12401 * INSTALL: Regenerated.
12402 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12404 * sysdeps/unix/sysv/linux/configure: Regenerated.
12406 * manual/llio.texi (fclean): Remove documentation.
12408 * manual/Makefile (libc-texi-generated): New variable. Include
12410 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12411 $(libc-texi-generated), not duplicated list of files.
12412 (version.texi, stamp-version): New rules.
12413 (realclean): Remove $(libc-texi-generated), not individual files
12414 from that list. Do not remove dir-add.texinfo.
12415 * manual/libc.texinfo: Comment out uses of edition numbers and
12416 references to printed manual. Remove last-updated dates.
12417 (EDITION): Comment out.
12419 (VERSION, UPDATED): Remove.
12420 (version.texi): Include.
12422 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12424 * sysdeps/posix/spawni.c: Include <signal.h>.
12425 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12426 * sysdeps/pthread/aio_fsync.c: Likewise.
12428 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12430 * conform/Makefile (tests): Run only when not cross-compiling and
12431 when fast-check is not defined.
12433 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12434 * conform/data/limits.h-data: Fixes for POSIX2008.
12435 * conform/run-conformtest.sh: Run all tests.
12436 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12438 * include/bits/dlfcn.h: Likewise.
12439 * include/langinfo.h: Likewise.
12440 * include/monetary.h: Likewise.
12441 * include/sys/poll.h: Likewise.
12443 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12445 * posix/spawn.h: Define __need_sigset_t.
12446 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12447 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12448 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12449 to get sigevent_t only.
12450 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12451 only for __USE_GNU.
12452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12453 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12454 process_vm_writev only for __USE_GNU.
12455 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12457 * conform/Makefile: For now ignore errors from run-conformtest.
12458 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12459 POSIX to avoid namespace pollution. Don't prepend headers.
12460 * conform/data/aio.h-data: Fixes for POSIX testing.
12461 * conform/data/fcntl.h-data: Likewise.
12462 * conform/data/glob.h-data: Likewise.
12463 * conform/data/grp.h-data: Likewise.
12464 * conform/data/pthread.h-data: Likewise.
12465 * conform/data/pwd.h-data: Likewise.
12466 * conform/data/signal.h-data: Likewise.
12467 * conform/data/spawn.h-data: Likewise.
12468 * conform/data/stdio.h-data: Likewise.
12469 * conform/data/stdlib.h-data: Likewise.
12470 * conform/data/stropts.h-data: Likewise.
12471 * conform/data/sys/mman.h-data: Likewise.
12472 * conform/data/sys/stat.h-data: Likewise.
12473 * conform/data/sys/types.h-data: Likewise.
12474 * conform/data/sys/wait.h-data: Likewise.
12475 * conform/data/time.h-data: Likewise.
12476 * conform/data/unistd.h-data: Likewise.
12477 * conform/data/utime.h-data: Likewise.
12479 * io/sys/stat.h: fchmod was always in POSIX.
12480 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12481 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12482 * rt/aio.h: Define __need_timespec before including <time.h>.
12483 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12484 struct. Add forward declaration of pthread_attr_t and use it in
12486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12488 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12489 always remove CLK_TCK definition.
12491 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12493 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12495 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12497 * conform/run-conformtest.sh: New file.
12498 * conform/Makefile: Run run-conformtest for tests.
12499 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12502 * conform/data/uchar.h-data: New file.
12503 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12504 * conform/data/arpa/inet.h-data: Likewise.
12505 * conform/data/assert.h-data: Likewise.
12506 * conform/data/complex.h-data: Likewise.
12507 * conform/data/cpio.h-data: Likewise.
12508 * conform/data/ctype.h-data: Likewise.
12509 * conform/data/dirent.h-data: Likewise.
12510 * conform/data/dlfcn.h-data: Likewise.
12511 * conform/data/errno.h-data: Likewise.
12512 * conform/data/fcntl.h-data: Likewise.
12513 * conform/data/float.h-data: Likewise.
12514 * conform/data/fmtmsg.h-data: Likewise.
12515 * conform/data/fnmatch.h-data: Likewise.
12516 * conform/data/ftw.h-data: Likewise.
12517 * conform/data/glob.h-data: Likewise.
12518 * conform/data/grp.h-data: Likewise.
12519 * conform/data/iconv.h-data: Likewise.
12520 * conform/data/inttypes.h-data: Likewise.
12521 * conform/data/langinfo.h-data: Likewise.
12522 * conform/data/libgen.h-data: Likewise.
12523 * conform/data/limits.h-data: Likewise.
12524 * conform/data/locale.h-data: Likewise.
12525 * conform/data/math.h-data: Likewise.
12526 * conform/data/monetary.h-data: Likewise.
12527 * conform/data/mqueue.h-data: Likewise.
12528 * conform/data/ndbm.h-data: Likewise.
12529 * conform/data/net/if.h-data: Likewise.
12530 * conform/data/netdb.h-data: Likewise.
12531 * conform/data/netinet/in.h-data: Likewise.
12532 * conform/data/nl_types.h-data: Likewise.
12533 * conform/data/poll.h-data: Likewise.
12534 * conform/data/pthread.h-data: Likewise.
12535 * conform/data/pwd.h-data: Likewise.
12536 * conform/data/regex.h-data: Likewise.
12537 * conform/data/sched.h-data: Likewise.
12538 * conform/data/search.h-data: Likewise.
12539 * conform/data/semaphore.h-data: Likewise.
12540 * conform/data/setjmp.h-data: Likewise.
12541 * conform/data/signal.h-data: Likewise.
12542 * conform/data/spawn.h-data: Likewise.
12543 * conform/data/stdarg.h-data: Likewise.
12544 * conform/data/stdio.h-data: Likewise.
12545 * conform/data/stdlib.h-data: Likewise.
12546 * conform/data/string.h-data: Likewise.
12547 * conform/data/strings.h-data: Likewise.
12548 * conform/data/stropts.h-data: Likewise.
12549 * conform/data/sys/ipc.h-data: Likewise.
12550 * conform/data/sys/mman.h-data: Likewise.
12551 * conform/data/sys/msg.h-data: Likewise.
12552 * conform/data/sys/resource.h-data: Likewise.
12553 * conform/data/sys/select.h-data: Likewise.
12554 * conform/data/sys/sem.h-data: Likewise.
12555 * conform/data/sys/shm.h-data: Likewise.
12556 * conform/data/sys/socket.h-data: Likewise.
12557 * conform/data/sys/stat.h-data: Likewise.
12558 * conform/data/sys/statvfs.h-data: Likewise.
12559 * conform/data/sys/time.h-data: Likewise.
12560 * conform/data/sys/timeb.h-data: Likewise.
12561 * conform/data/sys/times.h-data: Likewise.
12562 * conform/data/sys/types.h-data: Likewise.
12563 * conform/data/sys/uio.h-data: Likewise.
12564 * conform/data/sys/un.h-data: Likewise.
12565 * conform/data/sys/utsname.h-data: Likewise.
12566 * conform/data/sys/wait.h-data: Likewise.
12567 * conform/data/syslog.h-data: Likewise.
12568 * conform/data/tar.h-data: Likewise.
12569 * conform/data/termios.h-data: Likewise.
12570 * conform/data/utime.h-data: Likewise.
12571 * conform/data/utmpx.h-data: Likewise.
12572 * conform/data/varargs.h-data: Likewise.
12573 * conform/data/wchar.h-data: Likewise.
12574 * conform/data/wctype.h-data: Likewise.
12575 * conform/data/wordexp.h-data: Likewise.
12577 * include/stropts.h: New file.
12578 * include/uchar.h: New file.
12579 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12580 * include/assert.h: Likewise.
12581 * include/ctype.h: Likewise.
12582 * include/dirent.h: Likewise.
12583 * include/dlfcn.h: Likewise.
12584 * include/fcntl.h: Likewise.
12585 * include/fnmatch.h: Likewise.
12586 * include/glob.h: Likewise.
12587 * include/grp.h: Likewise.
12588 * include/libio.h: Likewise.
12589 * include/locale.h: Likewise.
12590 * include/math.h: Likewise.
12591 * include/net/if.h: Likewise.
12592 * include/netdb.h: Likewise.
12593 * include/netinet/in.h: Likewise.
12594 * include/pthread.h: Likewise.
12595 * include/pwd.h: Likewise.
12596 * include/regex.h: Likewise.
12597 * include/sched.h: Likewise.
12598 * include/search.h: Likewise.
12599 * include/setjmp.h: Likewise.
12600 * include/signal.h: Likewise.
12601 * include/stdio.h: Likewise.
12602 * include/stdlib.h: Likewise.
12603 * include/string.h: Likewise.
12604 * include/sys/cdefs.h: Likewise.
12605 * include/sys/mman.h: Likewise.
12606 * include/sys/msg.h: Likewise.
12607 * include/sys/resource.h: Likewise.
12608 * include/sys/select.h: Likewise.
12609 * include/sys/socket.h: Likewise.
12610 * include/sys/stat.h: Likewise.
12611 * include/sys/statvfs.h: Likewise.
12612 * include/sys/time.h: Likewise.
12613 * include/sys/times.h: Likewise.
12614 * include/sys/uio.h: Likewise.
12615 * include/sys/utsname.h: Likewise.
12616 * include/sys/wait.h: Likewise.
12617 * include/termios.h: Likewise.
12618 * include/time.h: Likewise.
12619 * include/ulimit.h: Likewise.
12620 * include/unistd.h: Likewise.
12621 * include/utime.h: Likewise.
12622 * include/wchar.h: Likewise.
12623 * include/wctype.h: Likewise.
12624 * include/wordexp.h: Likewise.
12626 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12628 * time/time.h: TIME_UTC must be a macro.
12629 Make timespec_get available for ISO C11 only as well.
12631 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12633 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12634 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12636 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12638 * configure.in: Use -o not -a in test for unsupported multi-arch.
12640 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12642 * manual/texinfo.tex: Update to version 2012-01-19.16.
12644 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12646 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12648 2012-02-24 Roland McGrath <roland@hack.frob.com>
12651 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12652 * manual/fdl-1.3.texi: New file.
12653 * manual/fdl-1.1.texi: File removed.
12656 * manual/libc.texinfo (FDL_VERSION): New @set.
12657 Use it for mention of FDL in cover text.
12658 (Documentation License): Use it in @include file name.
12660 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12661 Roland McGrath <roland@hack.frob.com>
12664 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12665 not LONG_LONG_MAX and LONG_LONG_MIN.
12666 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12667 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12669 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12671 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12675 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12676 manipulate bits before adding and subtracting TWO23[sx].
12677 * math/libm-test.inc (nearbyint_test): Add more tests.
12679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12682 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12683 bits before adding and subtracting TWO23[sx].
12684 * math/libm-test.inc (rint_test): Add more tests.
12685 (rint_test_tonearest): Likewise.
12686 (rint_test_towardzero): Likewise.
12687 (rint_test_downward): Likewise.
12688 (rint_test_upward: Likewise.
12690 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12693 * include/stdc-predef.h: New file. Extracted from features.h.
12694 * include/features.h: Include stdc-predef.h.
12695 * Makefile (headers): Add stdc-predef.h.
12696 * CONFORMANCE (Compiler limitations): Update.
12698 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12700 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12702 2012-02-21 David S. Miller <davem@davemloft.net>
12704 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12707 2012-02-20 David S. Miller <davem@davemloft.net>
12709 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12710 using a normal save/restore sequence, rather than allocating a
12711 dummy stack frame just to store a frame pointer and restore.
12712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12714 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12716 * manual/install.texi: Fix stray word in line-wrapped comment.
12718 2012-02-20 David S. Miller <davem@davemloft.net>
12720 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12721 both binutils and gcc support GOTDATA.
12723 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12724 "rd %pc" in the PIC register setup sequences.
12726 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12727 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12728 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12729 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12730 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12735 (SYSCALL_ERROR_HANDLER): Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12739 (SYSCALL_ERROR_HANDLER): Likewise.
12741 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12742 (HAVE_GCC_GOTDATA): New.
12743 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12744 relocation support in both binutils and gcc.
12745 * sysdeps/sparc/elf/configure: Regenerate.
12747 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12748 * sysdeps/sparc/sparc32/elf/configure: Delete.
12749 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12750 * sysdeps/sparc/sparc64/elf/configure: Delete.
12751 * sysdeps/sparc/elf/configure.in: New file.
12752 * sysdeps/sparc/elf/configure: Generate.
12754 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12755 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12756 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12757 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12758 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12760 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12762 * manual/install.texi: Do not mention specific glibc version
12764 * manual/libc.texinfo (VERSION, UPDATED): Update.
12765 (@copying): Use @copyright{} and range of years.
12767 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12770 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12771 [crti.S not in sysdirs] (generated): Do not append.
12772 [crti.S not in sysdirs] (omit-deps): Likewise.
12773 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12774 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12775 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12776 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12777 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12779 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12780 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12781 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12782 * csu/defs.awk: Remove file.
12783 * sysdeps/generic/initfini.c: Likewise.
12784 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12786 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12789 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12791 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12792 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12794 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12796 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12798 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12799 (__EPOLL_PACKED): Define to empty if not defined by
12801 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12805 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12807 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12808 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12810 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12812 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12816 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12818 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12821 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12830 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12832 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12833 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12835 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12837 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12840 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12842 * math/w_acos.c: Use non-signaling floating-point comparisons.
12843 * math/w_acosf.c: Likewise.
12844 * math/w_acosh.c: Likewise.
12845 * math/w_acoshf.c: Likewise.
12846 * math/w_acoshl.c: Likewise.
12847 * math/w_acosl.c: Likewise.
12848 * math/w_asin.c: Likewise.
12849 * math/w_asinf.c: Likewise.
12850 * math/w_asinl.c: Likewise.
12851 * math/w_atanh.c: Likewise.
12852 * math/w_atanhf.c: Likewise.
12853 * math/w_atanhl.c: Likewise.
12854 * math/w_exp2.c: Likewise.
12855 * math/w_exp2f.c: Likewise.
12856 * math/w_exp2l.c: Likewise.
12857 * math/w_j0.c: Likewise.
12858 * math/w_j0f.c: Likewise.
12859 * math/w_j0l.c: Likewise.
12860 * math/w_j1.c: Likewise.
12861 * math/w_j1f.c: Likewise.
12862 * math/w_j1l.c: Likewise.
12863 * math/w_jn.c: Likewise.
12864 * math/w_jnf.c: Likewise.
12865 * math/w_log.c: Likewise.
12866 * math/w_log10.c: Likewise.
12867 * math/w_log10f.c: Likewise.
12868 * math/w_log10l.c: Likewise.
12869 * math/w_log2.c: Likewise.
12870 * math/w_log2f.c: Likewise.
12871 * math/w_log2l.c: Likewise.
12872 * math/w_logf.c: Likewise.
12873 * math/w_logl.c: Likewise.
12874 * math/w_sqrt.c: Likewise.
12875 * math/w_sqrtf.c: Likewise.
12876 * math/w_sqrtl.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12883 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12886 * manual/string.texi (strnlen): Use correct parameter name in
12887 equivalent expression.
12889 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12892 * manual/users.texi (seteuid): Consistently use neweuid for
12895 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12898 * manual/nss.texi (Services in the NSS configuration): Correct
12899 list of services in example configuration file.
12901 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12904 * manual/arith.texi: Remove statements about negative zero
12905 behaving identically to zero.
12907 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12910 * manual/install.texi: Do not document upgrading from libc5.
12912 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12915 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12917 2012-02-18 David S. Miller <davem@davemloft.net>
12919 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12920 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12921 %o7 across the call.
12922 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12925 SETUP_PIC_REG_LEAF.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12927 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12928 * sysdeps/sparc/crtn.S: Likewise.
12930 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12932 * aout/Makefile: Remove.
12934 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12937 * manual/examples/argp-ex1.c (main): Format definition in GNU
12939 * manual/examples/argp-ex2.c (main): Likewise.
12940 * manual/examples/argp-ex3.c (main): Likewise.
12941 * manual/examples/argp-ex4.c (main): Likewise.
12942 * manual/examples/longopt.c (main): Use new-style prototype
12944 * manual/examples/strncat.c (main): Specify return type and use
12945 (void) for arguments.
12946 * manual/examples/subopt.c (main): Use char **argv argument.
12948 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12951 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12954 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12957 * manual/string.texi (strchr): Change when strchrnul is
12960 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12963 * manual/locale.texi (setlocale): Document LOCPATH.
12965 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12968 * manual/process.texi (execle): Move @dots{} before last argument.
12970 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12973 * manual/charset.texi (Generic Charset Conversion): Fix typo
12974 (LC_TYPE -> LC_CTYPE).
12976 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12979 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12980 (scalbnf): Likewise.
12981 (scalbnl): Likewise.
12982 (scalbln): Likewise.
12983 (scalblnf): Likewise.
12984 (scalblnl): Likewise.
12985 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12986 (vwarnx): Likewise.
12989 * manual/filesys.texi (telldir): Use braces around return type.
12990 * manual/llio.texi (mmap): Add space after comma.
12991 (mmap64): Likewise.
12992 * manual/math.texi (jn): Use @var{} on parameter names.
12998 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13000 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13002 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13003 (sched_get_priority_max): Likewise.
13004 * manual/signal.texi (sigvec): Add space after comma.
13005 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13007 (if_indextoname): Likewise.
13008 (if_freenameindex): Likewise.
13009 (sendto): Use ',' instead of '.' in prototype.
13010 * manual/startup.texi (syscall): Use @dots{} instead of literal
13012 * manual/stdio.texi (__fpending): Separate initial words of
13013 paragraph from @deftypefun line.
13014 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13016 (vsyslog): Use @var{} on parameter names.
13017 * manual/terminal.texi (stty): Use @var{} on parameter names.
13018 * manual/users.texi (getutmp): Use @var{} on parameter names.
13019 (getutmpx): Likewise.
13021 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13024 * manual/stdio.texi (fopen): Fix typos in description of
13027 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13030 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13031 get clock_id definition.
13033 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13036 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13037 (madvise): Cast every argument to void on its own.
13039 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13042 * manual/startup.texi (Exit Status): Fix typo.
13044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13047 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13048 * manual/examples/argp-ex2.c: Likewise.
13049 * manual/examples/argp-ex3.c: Likewise.
13051 2012-02-16 Richard Henderson <rth@redhat.com>
13053 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13054 * sysdeps/s390/s390-32/initfini.c: Remove.
13055 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13056 * sysdeps/s390/s390-64/initfini.c: Remove.
13058 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13060 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13061 compiler output for sysdeps/generic/initfini.c.
13062 * sysdeps/sh/elf/initfini.c: Remove file.
13064 2012-02-16 David S. Miller <davem@davemloft.net>
13067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13069 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13070 * sysdeps/sparc/crti.S: New file.
13071 * sysdeps/sparc/crtn.S: New file.
13072 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13073 * sysdeps/sparc/sparc64/Makefile: Likewise.
13075 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13078 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13080 2012-02-15 Roland McGrath <roland@hack.frob.com>
13083 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13085 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13086 (write, read, close): Likewise.
13087 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13089 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13091 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13092 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13094 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13096 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13100 2012-02-14 Marek Polacek <polacek@redhat.com>
13102 * sysdeps/x86_64/crti.S: New file.
13103 * sysdeps/x86_64/crtn.S: New file.
13104 * sysdeps/x86_64/elf/initfini.c: Remove file.
13106 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13108 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13109 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13110 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13111 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13113 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13117 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13119 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13120 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13121 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13122 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13124 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13128 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13130 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13131 __feraiseexcept instead of feraiseexcept.
13133 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13134 nanosleep invocations.
13135 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13136 strings, and add error checking for a nanosleep invocations.
13138 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13140 Replace FSF snail mail address with URLs, as per GNU coding standards.
13141 Most of the snail mail addresses were wrong anyway, and omitting
13142 them makes the source code easier to maintain. Almost all of the
13143 changes are to license notices and to locale LC_IDENTIFICATION
13144 addresses, except for this one:
13145 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13146 not its snail mail address.
13148 2012-02-09 Richard Henderson <rth@twiddle.net>
13150 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13151 of kernel-features.h.
13153 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13155 2012-02-08 Marek Polacek <polacek@redhat.com>
13157 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13158 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13159 * sysdeps/gnu/_G_config.h: Likewise.
13160 * sysdeps/generic/_G_config.h: Likewise.
13162 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13164 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13168 * sysdeps/powerpc/powerpc32/crti.S: New file.
13169 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13170 * sysdeps/powerpc/powerpc64/crti.S: New file.
13171 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13173 * Makeconfig (have-initfini): Don't set.
13174 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13175 * configure.in (nopic_initfini): Don't substitute.
13176 * config.h.in (HAVE_INITFINI): Don't #undef.
13177 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13178 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13180 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13182 Support crti.S and crtn.S provided directly by architectures.
13183 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13184 [crti.S in sysdirs] (omit-deps): Likewise.
13185 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13186 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13187 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13188 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13189 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13190 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13191 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13192 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13193 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13194 compiler output for sysdeps/generic/initfini.c.
13195 * sysdeps/i386/elf/Makefile: Remove file.
13196 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13198 2012-02-07 Marek Polacek <polacek@redhat.com>
13200 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13201 * sysdeps/gnu/_G_config.h: Likewise.
13202 * sysdeps/mach/hurd/_G_config.h: Likewise.
13204 2012-02-07 Marek Polacek <polacek@redhat.com>
13206 * math/Makefile (tests): Add tst-CMPLX2.
13207 * math/tst-CMPLX2.c: New file.
13209 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13211 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13213 * math/libm-test.inc (jn_test): Add missing L suffix.
13215 2012-02-06 Marek Polacek <polacek@redhat.com>
13217 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13218 * sysdeps/i386/fpu/e_powf.S: Likewise.
13219 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13220 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13222 * sysdeps/i386/fpu/e_pow.S: Likewise.
13223 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13225 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13226 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13227 * sysdeps/i386/fpu/e_log2.S: Likewise.
13228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13229 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13230 * sysdeps/i386/fpu/e_powl.S: Likewise.
13231 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13232 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13233 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13234 * sysdeps/i386/fpu/e_logl.S: Likewise.
13235 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13236 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13237 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13238 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13241 * sysdeps/i386/fpu/e_log.S: Likewise.
13242 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13244 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13245 * sysdeps/i386/fpu/e_logf.S: Likewise.
13246 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13247 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13248 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13249 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13250 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13251 * sysdeps/i386/fpu/e_log10.S: Likewise.
13252 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13254 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13255 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13257 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13258 * sysdeps/i386/asm-syntax.h: Likewise.
13259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13262 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13263 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13264 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13265 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13266 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13267 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13268 * sysdeps/powerpc/sysdep.h: Likewise.
13269 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13270 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13272 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13275 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13277 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13279 * sysdeps/i386/sysdep.h: Include <features.h>.
13280 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13283 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13287 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13290 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13293 (SETUP_PIC_REG): Use GET_PC_THUNK.
13294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13297 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13299 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13300 for non-PIC compilation.
13301 (SETUP_PIC_REG): Add .p2align directive.
13302 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13303 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13314 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13344 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13346 * math/tst-CMPLX.c: Include <stdio.h>.
13348 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13350 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13352 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13353 * sysdeps/sparc/bits/mathdef.h: Likewise.
13355 2012-01-31 Marek Polacek <polacek@redhat.com>
13357 * libio/libio.h: Don't define _PARAMS.
13358 * locale/programs/config.h: Don't define PARAMS.
13359 * stdlib/strtol_l.c: Likewise.
13360 (__strtol_l): Remove PARAMS from the prototype.
13362 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13364 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13365 names. Just use the correct names. Remove unnecessary wrapper
13367 * malloc/arena.c: Likewise.
13368 * malloc/hooks.c: Likewise.
13370 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13371 ARENA_TEST says not to. Simplify test for creation of a new arena.
13372 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13374 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13376 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13378 (update_get_addr): New function.
13379 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13380 GET_ADDR_MODULE parameter.
13382 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13384 * crypt/cert.c: Remove __STDC__ conditionals.
13385 * crypt/crypt-entry.c: Likewise.
13386 * crypt/crypt_util.c: Likewise.
13387 * libio/filedoalloc.c: Likewise.
13388 * libio/fileops.c: Likewise.
13389 * libio/genops.c: Likewise.
13390 * libio/iofclose.c: Likewise.
13391 * libio/iofdopen.c: Likewise.
13392 * libio/iofopen.c: Likewise.
13393 * libio/iofopen64.c: Likewise.
13394 * libio/iogetdelim.c: Likewise.
13395 * libio/iopopen.c: Likewise.
13396 * libio/obprintf.c: Likewise.
13397 * libio/oldfileops.c: Likewise.
13398 * libio/oldiofclose.c: Likewise.
13399 * libio/oldiofdopen.c: Likewise.
13400 * libio/oldiofopen.c: Likewise.
13401 * libio/oldiopopen.c: Likewise.
13402 * libio/wfiledoalloc.c: Likewise.
13403 * libio/wgenops.c: Likewise.
13404 * locale/programs/xmalloc.c: Likewise.
13405 * misc/syslog.c: Likewise.
13406 * stdio-common/xbug.c: Likewise.
13407 * string/memchr.c: Likewise.
13408 * string/memcmp.c: Likewise.
13409 * string/memrchr.c: Likewise.
13410 * string/rawmemchr.c: Likewise.
13411 * sysdeps/posix/getcwd.c: Likewise.
13412 * time/strftime_l.c: Likewise.
13414 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13416 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13417 * config.make.in (config-cflags-sse2avx): Define.
13418 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13421 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13423 * scripts/config.guess: Update from upstream config git repository.
13424 * scripts/config.sub: Likewise.
13426 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13428 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13430 (R_TILEPRO_*, R_TILEGX_*): New macros.
13432 * scripts/firstversions.awk: Fix bug in version range handling.
13434 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13436 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13438 * include/sys/epoll.h: New file.
13439 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13442 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13444 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13445 Avoid unnecessary __WORDSIZE == 64 test.
13446 (fmaxf): Use VEX format if possible.
13451 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13452 * math/math_private.h: Remove libc_fegetround* and
13454 * sysdeps/i386/configure.in: Check for -msse2avx.
13455 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13456 also if SSE2AVX is defined.
13457 Remove libc_fegetround* and libc_fesetround*.
13458 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13459 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13463 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13464 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13466 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13468 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13470 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13472 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13474 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13476 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13479 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13481 * Makeconfig (libm): Define.
13482 * elf/Makefile: Add rules to build and run tst-relsort1.
13483 * elf/tst-relsort1.c: New file.
13484 * elf/tst-relsort1mod1.c: New file.
13485 * elf/tst-relsort1mod2.c: New file.
13487 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13489 * math/s_ldexp.c: Remove __STDC__ conditionals.
13490 * math/s_ldexpf.c: Likewise.
13491 * math/s_ldexpl.c: Likewise.
13492 * math/s_nextafter.c: Likewise.
13493 * math/s_nexttowardf.c: Likewise.
13494 * math/s_significand.c: Likewise.
13495 * math/s_significandf.c: Likewise.
13496 * math/s_significandl.c: Likewise.
13497 * math/w_jnl.c: Likewise.
13498 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13499 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13500 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13501 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13502 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13519 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13520 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13521 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13522 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13523 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13524 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13525 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13526 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13527 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13528 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13529 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13530 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13531 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13532 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13533 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13534 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13535 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13538 * sysdeps/ieee754/k_standard.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13618 * sysdeps/ieee754/s_matherr.c: Likewise.
13619 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13620 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13624 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13626 * crypt/md5.h: Remove __STDC__ conditionals.
13627 * libio/libioP.h: Likewise.
13628 * locale/programs/config.h: Likewise.
13629 * sysdeps/generic/sysdep.h: Likewise.
13630 * sysdeps/i386/asm-syntax.h: Likewise.
13631 * sysdeps/s390/asm-syntax.h: Likewise.
13632 * sysdeps/unix/sysdep.h: Likewise.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13636 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13638 * libio/libio.h: Remove __STDC__ conditionals.
13639 * malloc/obstack.h: Likewise.
13640 * math/complex.h: Likewise.
13641 * math/math.h: Likewise.
13642 * sysdeps/generic/_G_config.h: Likewise.
13643 * sysdeps/gnu/_G_config.h: Likewise.
13644 * sysdeps/mach/hurd/_G_config.h: Likewise.
13645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13646 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13647 * sysdeps/sparc/bits/mathdef.h: Likewise.
13649 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13652 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13653 Clean up HAS_* macros.
13654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13655 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13657 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13659 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13660 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13661 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13665 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13667 * elf/tst-unique3.cc (gets): Remove declaration.
13668 * elf/tst-unique3lib.cc (gets): Likewise.
13669 * elf/tst-unique3lib2.cc (gets): Likewise.
13670 * elf/tst-unique4.cc (gets): Likewise.
13672 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13674 * include/stdio.h: Add C++ protection. Add gets declarations and
13676 * debug/tst-chk1.c: Don't declare gets here.
13677 * stdio-common/tst-gets.c: Likewise.
13679 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13681 * posix/glob: Remove directory.
13683 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13685 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13687 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13689 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13690 of the non-standard EPFNOSUPPORT.
13692 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13694 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13695 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13696 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13698 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13700 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13702 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13704 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13706 * nscd/grpcache.c (cache_addgr): Likewise.
13707 * nscd/hstcache.c (cache_addhst): Likewise.
13708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13709 * nscd/pwdcache.c (cache_addpw): Likewise.
13710 * nscd/servicescache.c (cache_addserv): Likewise.
13712 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13714 * malloc/malloc.c: Various cleanups.
13715 * malloc/hooks.c: Likewise.
13717 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13718 * stdlib/bug-fmtmsg1.c: New file.
13720 * stdlib/fmtmsg.c (init): Add missing unlock.
13721 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13723 2012-01-12 Marek Polacek <polacek@redhat.com>
13725 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13728 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13730 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13731 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13732 macro to ensure uniqueness of label name.
13733 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13734 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13736 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13740 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13741 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13745 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13749 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13750 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13751 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13753 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13755 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13756 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13760 * math/bits/math-finite.h: Add ldexp support.
13762 2012-01-10 Marek Polacek <polacek@redhat.com>
13764 * locale/programs/localedef.h (show_archive_content): Add noreturn
13767 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13769 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13771 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13773 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13775 * io/Makefile (headers): Add bits/poll2.h.
13777 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13780 typo #include statement.
13782 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13784 * include/sys/cdefs.h: Define __attribute_alloc_size.
13785 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13786 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13787 * elf/pldd.c: Likewise.
13788 * iconv/iconv_charmap.c: Likewise.
13789 * iconv/iconvconfig.c: Likewise.
13790 * iconv/strtab.c: Likewise.
13791 * locale/programs/locale.c: Likewise.
13792 * locale/programs/localedef.h: Likewise.
13793 * locale/programs/simple-hash.c: Likewise.
13794 * nscd/nscd.h: Likewise.
13795 * nss/makedb.c: Likewise.
13796 * sysdeps/generic/ldconfig.h: Likewise.
13797 * locale/programs/localedef.c: Remove xmalloc prototype.
13798 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13800 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13802 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13805 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13807 * math/Makefile (tests): Add tst-CMPLX.
13808 * math/tst-CMPLX.c: New file.
13810 * math/complex.h (CMPLXL): Fix typo.
13812 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13813 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13815 * debug/tst-chk1.c: Add poll and ppoll tests.
13816 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13817 * include/sys/poll.h: Add hidden proto for ppoll.
13818 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13819 * sysdeps/mach/hurd/ppoll.c: Likewise.
13820 * io/ppoll.c: Likewise.
13821 * debug/poll_chk.c: New file.
13822 * debug/ppoll_chk.c: New file.
13823 * include/bits/poll2.h: New file.
13824 * io/bits/poll2.h: New file.
13827 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13829 * configure.in: static is always set to yes. Remove.
13830 * config.make.in: Don't set build-static.
13831 * Makeconfig: Remove use of build-static.
13832 * dlfcn/Makefile: Likewise.
13833 * elf/Makefile: Likewise.
13834 * math/Makefile: Likewise.
13835 * misc/Makefile: Likewise.
13836 * nptl/Makefile: Likewise.
13837 * sysdeps/mach/hurd/Makefile: Likewise.
13839 * configure.in: PWD_P is not used anymore.
13840 * config.make.in: Remove PWD_P entry.
13842 * configure.in: Remove last remnants of RANLIB.
13843 No need to check for signed size_t anymore.
13844 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13846 Remove __builtin_expect test because we require at least gcc 3.4.
13847 * aclocal.m4: Likewise.
13849 * wcsmbs/mbrtoc16.c: Implement using towc function.
13850 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13851 * wcsmbs/wcsmbsload.c: Likewise.
13852 * iconv/gconv_simple.c: Likewise.
13853 * iconv/gconv_int.h: Likewise.
13854 * iconv/gconv_builtin.h: Likewise.
13855 * iconv/iconv_prog.c: Remove CHAR16 handling.
13857 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13859 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13861 * configure.in: Remove --with-elf and --enable-bounded options.
13862 Dont set base_machine for ia64. More non-ELF conditions removed.
13863 Remove testing and setting of leading underscore information.
13864 * config.make.in (build-bounded): Set to no.
13865 * config.h.in: Remove NO_UNDERSCORES entry.
13866 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13868 * csu/start.c: Remove !NO_UNDERSCORE code.
13869 * locale/localeinfo.h: Likewise.
13870 * sysdeps/generic/machine-gmon.h: Likewise.
13871 * sysdeps/generic/sysdep.h: Likewise.
13872 * sysdeps/i386/sysdep.h: Likewise.
13873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13874 * sysdeps/mach/sysdep.h: Likewise.
13875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13877 * sysdeps/sh/sysdep.h: Likewise.
13878 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13879 * sysdeps/unix/i386/sysdep.S: Likewise.
13880 * sysdeps/unix/sparc/start.c: Likewise.
13881 * sysdeps/unix/sparc/sysdep.S: Likewise.
13882 * sysdeps/unix/sparc/sysdep.h: Likewise.
13883 * sysdeps/unix/start.c: Likewise.
13884 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13885 * sysdeps/x86_64/sysdep.h: Likewise.
13887 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13890 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13892 * argp/argp-fmtstream.h: Use const instead __const.
13893 * argp/argp.h: Likewise.
13894 * assert/assert.h: Likewise.
13895 * bits/fenv.h: Likewise.
13896 * bits/sched.h: Likewise.
13897 * bits/sigset.h: Likewise.
13898 * bits/sigthread.h: Likewise.
13899 * catgets/nl_types.h: Likewise.
13900 * conform/data/pthread.h-data: Likewise.
13901 * crypt/crypt-private.h: Likewise.
13902 * crypt/crypt.h: Likewise.
13903 * crypt/crypt_util.c: Likewise.
13904 * ctype/ctype.h: Likewise.
13905 * debug/execinfo.h: Likewise.
13906 * debug/mbsnrtowcs_chk.c: Likewise.
13907 * debug/mbsrtowcs_chk.c: Likewise.
13908 * debug/wcsnrtombs_chk.c: Likewise.
13909 * debug/wcsrtombs_chk.c: Likewise.
13910 * debug/wcstombs_chk.c: Likewise.
13911 * dirent/dirent.h: Likewise.
13912 * dlfcn/dlfcn.h: Likewise.
13913 * elf/neededtest4.c: Likewise.
13914 * grp/grp.h: Likewise.
13915 * gshadow/gshadow.h: Likewise.
13916 * iconv/gconv.h: Likewise.
13917 * iconv/gconv_int.h: Likewise.
13918 * iconv/gconv_simple.c: Likewise.
13919 * iconv/iconv.h: Likewise.
13920 * iconv/loop.c: Likewise.
13921 * iconv/skeleton.c: Likewise.
13922 * include/aio.h: Likewise.
13923 * include/aliases.h: Likewise.
13924 * include/argz.h: Likewise.
13925 * include/arpa/inet.h: Likewise.
13926 * include/assert.h: Likewise.
13927 * include/dirent.h: Likewise.
13928 * include/dlfcn.h: Likewise.
13929 * include/execinfo.h: Likewise.
13930 * include/fcntl.h: Likewise.
13931 * include/fenv.h: Likewise.
13932 * include/glob.h: Likewise.
13933 * include/grp.h: Likewise.
13934 * include/libintl.h: Likewise.
13935 * include/mntent.h: Likewise.
13936 * include/netdb.h: Likewise.
13937 * include/pwd.h: Likewise.
13938 * include/rpc/netdb.h: Likewise.
13939 * include/sched.h: Likewise.
13940 * include/search.h: Likewise.
13941 * include/shadow.h: Likewise.
13942 * include/signal.h: Likewise.
13943 * include/stdio.h: Likewise.
13944 * include/stdlib.h: Likewise.
13945 * include/string.h: Likewise.
13946 * include/sys/socket.h: Likewise.
13947 * include/sys/stat.h: Likewise.
13948 * include/sys/statfs.h: Likewise.
13949 * include/sys/statvfs.h: Likewise.
13950 * include/sys/syslog.h: Likewise.
13951 * include/sys/time.h: Likewise.
13952 * include/sys/uio.h: Likewise.
13953 * include/time.h: Likewise.
13954 * include/unistd.h: Likewise.
13955 * include/utmp.h: Likewise.
13956 * include/wchar.h: Likewise.
13957 * include/wctype.h: Likewise.
13958 * inet/aliases.h: Likewise.
13959 * inet/arpa/inet.h: Likewise.
13960 * inet/netinet/ether.h: Likewise.
13961 * inet/netinet/in.h: Likewise.
13962 * intl/libintl.h: Likewise.
13963 * io/bits/fcntl2.h: Likewise.
13964 * io/fcntl.h: Likewise.
13965 * io/ftw.h: Likewise.
13966 * io/sys/poll.h: Likewise.
13967 * io/sys/stat.h: Likewise.
13968 * io/sys/statfs.h: Likewise.
13969 * io/sys/statvfs.h: Likewise.
13970 * io/utime.h: Likewise.
13971 * libio/bits/stdio.h: Likewise.
13972 * libio/bits/stdio2.h: Likewise.
13973 * libio/libio.h: Likewise.
13974 * libio/libioP.h: Likewise.
13975 * libio/stdio.h: Likewise.
13976 * locale/lc-ctype.c: Likewise.
13977 * locale/locale.h: Likewise.
13978 * login/utmp.h: Likewise.
13979 * malloc/arena.c: Likewise.
13980 * malloc/malloc.c: Likewise.
13981 * malloc/malloc.h: Likewise.
13982 * malloc/mcheck.c: Likewise.
13983 * malloc/mtrace.c: Likewise.
13984 * math/bits/mathcalls.h: Likewise.
13985 * math/fenv.h: Likewise.
13986 * math/math_private.h: Likewise.
13987 * misc/bits/error.h: Likewise.
13988 * misc/bits/syslog.h: Likewise.
13989 * misc/err.h: Likewise.
13990 * misc/error.h: Likewise.
13991 * misc/fstab.h: Likewise.
13992 * misc/mntent.h: Likewise.
13993 * misc/regexp.h: Likewise.
13994 * misc/search.h: Likewise.
13995 * misc/sgtty.h: Likewise.
13996 * misc/sys/mman.h: Likewise.
13997 * misc/sys/syslog.h: Likewise.
13998 * misc/sys/uio.h: Likewise.
13999 * misc/sys/xattr.h: Likewise.
14000 * misc/ttyent.h: Likewise.
14001 * nis/rpcsvc/ypclnt.h: Likewise.
14002 * nss/nss.h: Likewise.
14003 * posix/bits/unistd.h: Likewise.
14004 * posix/fnmatch.h: Likewise.
14005 * posix/glob.h: Likewise.
14006 * posix/sched.h: Likewise.
14007 * posix/spawn.h: Likewise.
14008 * posix/sys/wait.h: Likewise.
14009 * posix/unistd.h: Likewise.
14010 * posix/wordexp.h: Likewise.
14011 * pwd/pwd.h: Likewise.
14012 * resolv/netdb.h: Likewise.
14013 * resource/sys/resource.h: Likewise.
14014 * rt/aio.h: Likewise.
14015 * rt/bits/mqueue2.h: Likewise.
14016 * rt/mqueue.h: Likewise.
14017 * shadow/shadow.h: Likewise.
14018 * signal/signal.h: Likewise.
14019 * socket/send.c: Likewise.
14020 * socket/sendto.c: Likewise.
14021 * socket/sys/socket.h: Likewise.
14022 * stdio-common/printf.h: Likewise.
14023 * stdlib/bits/stdlib.h: Likewise.
14024 * stdlib/fmtmsg.h: Likewise.
14025 * stdlib/monetary.h: Likewise.
14026 * stdlib/stdlib.h: Likewise.
14027 * stdlib/ucontext.h: Likewise.
14028 * streams/stropts.h: Likewise.
14029 * string/argz.h: Likewise.
14030 * string/bits/string2.h: Likewise.
14031 * string/string.h: Likewise.
14032 * string/strings.h: Likewise.
14033 * sunrpc/rpc/auth.h: Likewise.
14034 * sunrpc/rpc/auth_des.h: Likewise.
14035 * sunrpc/rpc/clnt.h: Likewise.
14036 * sunrpc/rpc/netdb.h: Likewise.
14037 * sunrpc/rpc/pmap_clnt.h: Likewise.
14038 * sunrpc/rpc/xdr.h: Likewise.
14039 * sysdeps/generic/inttypes.h: Likewise.
14040 * sysdeps/generic/net/if.h: Likewise.
14041 * sysdeps/generic/sys/swap.h: Likewise.
14042 * sysdeps/gnu/net/if.h: Likewise.
14043 * sysdeps/gnu/utmpx.h: Likewise.
14044 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14045 * sysdeps/i386/i486/bits/string.h: Likewise.
14046 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14047 * sysdeps/s390/bits/string.h: Likewise.
14048 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14049 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14050 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14051 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14052 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14053 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14054 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14055 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14056 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14057 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14059 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14060 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14061 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14062 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14063 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14069 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14071 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14072 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14073 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14074 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14076 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14078 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14079 * sysvipc/sys/ipc.h: Likewise.
14080 * sysvipc/sys/msg.h: Likewise.
14081 * sysvipc/sys/sem.h: Likewise.
14082 * sysvipc/sys/shm.h: Likewise.
14083 * termios/termios.h: Likewise.
14084 * time/sys/time.h: Likewise.
14085 * time/time.h: Likewise.
14086 * wcsmbs/bits/wchar2.h: Likewise.
14087 * wcsmbs/uchar.h: Likewise.
14088 * wcsmbs/wchar.h: Likewise.
14089 * wctype/wctype.h: Likewise.
14092 * Makeconfig: Remove all but ELF support including AIX support.
14093 * Makerules: Likewise.
14094 * config.h.in: Likewise.
14095 * config.make.in: Likewise.
14096 * configure: Likewise.
14097 * configure.in: Likewise.
14098 * csu/Makefile: Likewise.
14099 * csu/version.c: Likewise.
14100 * debug/Makefile: Likewise.
14101 * dlfcn/Makefile: Likewise.
14102 * elf/Makefile: Likewise.
14103 * extra-lib.mk: Likewise.
14104 * iconv/Makefile: Likewise.
14105 * include/libc-symbols.h: Likewise.
14106 * include/shlib-compat.h: Likewise.
14107 * resolv/Makefile: Likewise.
14108 * resolv/res_libc.c: Likewise.
14109 * rt/Makefile: Likewise.
14110 * sysdeps/i386/asm-syntax.h: Likewise.
14111 * sysdeps/i386/sysdep.h: Likewise.
14112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14113 * sysdeps/mach/sysdep.h: Likewise.
14114 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14115 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14116 * sysdeps/s390/asm-syntax.h: Likewise.
14117 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14118 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14119 * sysdeps/sh/sysdep.h: Likewise.
14120 * sysdeps/unix/sparc/sysdep.h: Likewise.
14121 * sysdeps/wordsize-32/divdi3.c: Likewise.
14122 * sysdeps/x86_64/sysdep.h: Likewise.
14124 * argp/Versions: Remove _argp_unlock_xxx.
14127 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14128 * abilist/libBrokenLocale.abilist: Likewise.
14129 * abilist/libanl.abilist: Likewise.
14130 * abilist/libc.abilist: Likewise.
14131 * abilist/libcrypt.abilist: Likewise.
14132 * abilist/libdl.abilist: Likewise.
14133 * abilist/libm.abilist: Likewise.
14134 * abilist/libnsl.abilist: Likewise.
14135 * abilist/libpthread.abilist: Likewise.
14136 * abilist/libresolv.abilist: Likewise.
14137 * abilist/librt.abilist: Likewise.
14138 * abilist/libthread_db.abilist: Likewise.
14139 * abilist/libutil.abilist: Likewise.
14140 * abilist/libnss_db.abilist: New file.
14142 * scripts/abilist.awk: Add support for indirect functions.
14144 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14146 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14148 * shlib-versions: Remove entries for ports architectures.
14150 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14152 * elf/stackguard-macros.h: Remove support for IA-64.
14153 * elf/tst-auditmod1.c: Likewise.
14154 * sysdeps/generic/ldsodefs.h: Likewise.
14156 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14157 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14161 * configure.in: Remove --enable-omitfp support.
14163 * config.make.in: Likewise.
14164 * Makeconfig: Likewise.
14165 * manual/install.texi: Likewise.
14167 In case anyone cares, the IA-64 architecture could move to ports.
14168 * sysdeps/ia64/*: Removed.
14169 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14170 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14173 * configure.in: Remove entries for unsupported architectures.
14176 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14177 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14179 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14180 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14181 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14182 fall back to using wcrtomb.
14183 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14184 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14186 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14187 * wcsmbs/tst-c16c32-1.c: New file.
14189 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14192 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14194 * elf/tst-unique3.cc: Add explicit declaration of gets.
14195 * elf/tst-unique3lib.cc: Likewise.
14196 * elf/tst-unique3lib2.cc: Likewise.
14197 * elf/tst-unique4.cc: Likewise.
14199 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14201 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14204 * assert/assert.h (static_assert): Don't define for C++.
14205 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14206 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14208 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14210 * iconv/loop.c (single loop): Fix assertion in storing of
14213 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14215 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14217 * posix/getconf.c: Update copyright year.
14218 * nss/getent.c: Likewise.
14219 * nss/makedb.c: Likewise.
14220 * iconv/iconvconfig.c: Likewise.
14221 * iconv/iconv_prog.c: Likewise.
14222 * elf/ldconfig.c: Likewise.
14223 * elf/pldd.c: Likewise.
14224 * elf/sotruss.ksh: Likewise.
14225 * catgets/gencat.c: Likewise.
14226 * csu/version.c: Likewise.
14227 * elf/ldd.bash.in: Likewise.
14228 * elf/sprof.c (print_version): Likewise.
14229 * locale/programs/locale.c: Likewise.
14230 * locale/programs/localedef.c: Likewise.
14231 * login/programs/pt_chown.c: Likewise.
14232 * nscd/nscd.c (print_version): Likewise.
14233 * debug/xtrace.sh: Likewise.
14234 * malloc/memusage.sh: Likewise.
14235 * malloc/mtrace.pl: Likewise.
14236 * debug/catchsegv.sh: Likewise.
14238 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14240 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14243 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14246 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14247 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14249 * iconv/gconv_int.h: Likewise.
14250 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14251 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14252 from libc for GLIBC_2.16.
14253 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14254 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14255 * wcsmbs/uchar.h: Really define mbstate_t.
14256 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14257 * wcsmbs/c16rtomb.c: New file.
14258 * wcsmbs/mbrtoc16.c: New file.
14259 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14260 for C/POSIX locale.
14261 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14262 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14264 * wcsmbs/wchar.h: Add missing __restrict.
14266 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14269 * time/Makefile (routines): Add timespec_get.
14270 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14271 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14272 timespec for ISO C11.
14273 * time/timespec_get.c: New file.
14274 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14275 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14278 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14279 * stdlib/stdlib.h: Declare aligned_alloc.
14280 * Versions.def: Add GLIBC_2.16 for libc.
14281 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14284 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14287 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14291 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14294 * assert/assert.h (static_assert): Define.
14296 * version.h: Update for 2.16 development version.
14299 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14302 * version.h (RELEASE): Bump for 2.15 release.
14303 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14305 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14306 Patch by Marek Polacek <mpolacek@redhat.com>.
14308 * bits/byteswap.h: Protect long long constants with __extension__.
14309 * sysdeps/i386/bits/byteswap.h: Likewise.
14310 * sysdeps/ia64/bits/byteswap.h: Likewise.
14311 * sysdeps/s390/bits/byteswap.h: Likewise.
14312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14314 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14318 destination buffer.
14319 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14321 2011-12-23 Marek Polacek <polacek@redhat.com>
14323 * elf/dl-addr.c (determine_info): Add inline keyword.
14324 * elf/tst-auditmod4b.c (check_avx): Likewise.
14325 * elf/tst-auditmod6b.c (check_avx): Likewise.
14326 * elf/tst-auditmod6c.c (check_avx): Likewise.
14327 * elf/tst-auditmod7b.c (check_avx): Likewise.
14329 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14331 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14334 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14337 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14338 processing for last bytes.
14340 2011-08-06 Bruno Haible <bruno@clisp.org>
14343 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14344 U+0385, not to U+1FEE.
14347 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14348 entry for U+00A5 U+0301.
14350 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14353 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14354 buffer for the output is too small.
14356 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14360 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14361 SSE flags if possible.
14363 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14367 processing for last bytes.
14369 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14371 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14372 (syscall-list-default-options, syscall-list-default-condition)
14373 (syscall-list-includes): Define.
14374 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14375 list of ABIs and options and #if conditions for each ABI. Do not
14376 handle common syscalls between ABIs specially.
14377 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14379 (syscall-list-variants, syscall-list-32bit-options)
14380 (syscall-list-32bit-condition, syscall-list-64bit-options)
14381 (syscall-list-64bit-condition): Define.
14382 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14383 (syscall-list-variants, syscall-list-32bit-options)
14384 (syscall-list-32bit-condition, syscall-list-64bit-options)
14385 (syscall-list-64bit-condition): Define.
14386 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14388 (syscall-list-variants, syscall-list-32bit-options)
14389 (syscall-list-32bit-condition, syscall-list-64bit-options)
14390 (syscall-list-64bit-condition): Define.
14391 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14393 (syscall-list-variants, syscall-list-32bit-options)
14394 (syscall-list-32bit-condition, syscall-list-64bit-options)
14395 (syscall-list-64bit-condition): Define.
14397 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14399 * locale/iso-639.def: Add brx entry.
14402 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14403 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14405 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14406 __feraiseexcept_renamed.
14408 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14411 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14412 EPOLLET with unsigned values.
14413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14416 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14417 to large cancellation.
14418 * math/s_cacoshf.c: Likewise.
14419 * math/s_cacoshl.c: Likewise.
14421 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14425 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14426 * math/s_cacoshf.c: Likewise.
14427 * math/s_cacoshl.c: Likewise.
14429 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14432 * iconv/gconv.h: Define __GCONV_SWAP.
14433 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14434 * iconvdata/utf-16.c: Likewise.
14435 * iconvdata/utf-32.c: Likewise.
14437 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14441 numerator after shifting it by one limb.
14443 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14445 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14446 under [__USE_EXTERN_INLINES].
14448 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14451 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14453 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14455 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14456 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14458 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14459 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14460 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14461 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14462 for strncasecmp/strncasecmp_l compilation.
14463 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14464 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14466 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14469 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14472 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14475 * time/tzfile.c (__tzfile_read): Check values from file header.
14477 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14479 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14480 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14481 * powerpc/powerpc32/dl-start.S: Likewise.
14482 * powerpc/powerpc32/elf/start.S: Likewise.
14483 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14484 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14485 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14486 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14487 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14488 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14489 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14490 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14491 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14492 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14493 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14494 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14495 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14496 * powerpc/powerpc32/memset.S: Likewise.
14497 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14498 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14499 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14500 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14501 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14502 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14503 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14504 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14505 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14506 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14507 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14508 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14509 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14511 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14513 * math/libm-test.inc: Added more nearbyint tests.
14514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14519 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14521 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14524 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14526 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14527 Add wcscpy-ssse3 wcscpy-c.
14528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14529 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14530 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14531 * sysdeps/x86_64/wcschr.S: New file.
14532 * sysdeps/x86_64/wcsrchr.S: New file.
14533 * string/test-strcmp.c: Remove checking of wcscmp function for
14535 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14536 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14537 wcsrchr-sse2 wcsrchr-c.
14538 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14539 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14540 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14541 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14542 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14543 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14544 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14545 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14547 * wcsmbc/wcschr.c (WCSCHR): New macro.
14549 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14551 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14552 * wcsmbs/test-wcsrchr.c: New file.
14553 * string/test-strrchr.c: Add wcsrchr support.
14555 * wcsmbs/test-wcscpy.c: New file.
14556 * string/test-strcpy.c: Add wcscpy support.
14559 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14564 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14567 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14569 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14572 Minor optimizations.
14574 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14575 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14576 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14578 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14580 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14581 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14582 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14583 for gcc to avoid warnings.
14584 * inet/Makefile (tests): Add tst-checks.
14585 * inet/tst-checks.c: New file.
14587 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14590 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14593 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14594 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14596 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14598 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14600 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14603 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14605 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14607 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14608 conditional on GCC version.
14609 (__arch_compare_and_exchange_val_8_acq)
14610 (__arch_compare_and_exchange_val_16_acq)
14611 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14612 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14613 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14615 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14617 * sysdeps/sh/backtrace.c: New file.
14619 2011-12-02 Andreas Schwab <schwab@redhat.com>
14621 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14624 2011-12-01 Andreas Schwab <schwab@redhat.com>
14626 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14627 falling back to utime.
14629 2011-11-30 Andreas Schwab <schwab@redhat.com>
14631 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14632 expectations for float.
14634 2011-11-29 Andreas Schwab <schwab@redhat.com>
14636 * locale/weight.h (findidx): Add parameter len.
14637 * locale/weightwc.h (findidx): Likewise.
14638 * posix/fnmatch_loop.c (FCT): Adjust caller.
14639 * posix/regcomp.c (build_equiv_class): Likewise.
14640 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14641 * posix/regexec.c (check_node_accept_bytes): Likewise.
14642 * string/strcoll_l.c (STRCOLL): Likewise.
14643 * string/strxfrm_l.c (STRXFRM): Likewise.
14645 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14647 * Makefile.in: Remove CVSOPT handling.
14648 * configure.in: Remove use of AC_REVISION.
14649 * iconvdata/Makefile (distribute): No need to filter out CVS.
14650 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14653 2011-11-16 Andreas Schwab <schwab@redhat.com>
14655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14656 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14657 [USE_AS_STRNCASECMP_L]: Likewise.
14658 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14659 NO_TLS_DIRECT_SEG_REFS.
14660 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14661 Fix argument offsets for non-PIC.
14662 [USE_AS_STRNCASECMP_L]: Likewise.
14663 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14664 NO_TLS_DIRECT_SEG_REFS.
14666 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14668 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14670 * locale/loadlocale.c (_nl_load_locale): Likewise.
14672 2011-11-15 Andreas Schwab <schwab@redhat.com>
14674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14675 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14676 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14677 (SYSCALL_GETTIME): Set errno on error.
14679 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14680 count references to noai6ai_cached.
14682 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14684 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14686 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14687 FD_CLOEXEC for /proc/self/maps.
14689 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14690 FD_CLOEXEC for /proc/meminfo.
14692 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14695 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14696 FD_CLOEXEC for given file.
14698 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14700 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14701 FD_CLOEXEC for /etc/hosts.
14702 (_gethtent): Likewise.
14704 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14706 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14707 cancellation and set FD_CLOEXEC for /etc/netgroup.
14709 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14710 reading /etc/publickey.
14712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14713 allow cancellation when reading /etc/group.
14715 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14717 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14719 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14720 when using data file.
14722 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14724 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14725 (write_nis_obj): Use "c" and "e" in fopen.
14727 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14729 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14731 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14733 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14735 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14738 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14740 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14742 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14744 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14745 file parsing and set FD_CLOEXEC.
14747 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14749 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14751 2011-11-14 Andreas Schwab <schwab@redhat.com>
14753 * malloc/arena.c (arena_get2): Don't call reused_arena when
14754 _int_new_arena failed.
14756 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14758 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14759 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14761 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14762 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14763 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14764 to compile strcasecmp and strncasecmp.
14765 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14766 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14770 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14772 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14773 locale-defines.sym to gen-as-const-headers.
14774 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14775 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14777 to compile strcasecmp and strncasecmp.
14778 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14779 strcasecmp_l and strncasecmp_l.
14780 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14781 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14782 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14783 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14784 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14785 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14786 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14787 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14788 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14789 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14790 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14792 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14794 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14795 result of SYSDEP_GETTIME_CPU to retval.
14796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14797 parameter list to macro. Remove trailing semicolon. Adjust users.
14799 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14802 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14804 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14806 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14807 from unused variable.
14809 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14811 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14814 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14817 * sunrpc/rpc_prot.c (rejected): Fix case value.
14819 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14820 unsigned long long int to avoid warnings in shift.
14822 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14824 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14827 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14828 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14829 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14831 * nis/nis_table.c (nis_list): Use variable of correct type for
14832 result of __follow_path call.
14834 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14836 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14837 of math functions ceil, trunc, floor, round, and sqrt, when
14838 avaliable on the platform.
14839 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14841 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14842 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14843 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14845 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14847 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14848 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14850 2011-11-11 Roland McGrath <roland@hack.frob.com>
14852 * include/unistd.h: Fix __readlink return type.
14853 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14855 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14857 * stdlib/ucontext.h: Undo last change for makecontext.
14859 2011-11-11 Andreas Schwab <schwab@redhat.com>
14861 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14863 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14864 * setjmp/setjmp.h: Mark functions as non-leaf.
14865 * setjmp/bits/setjmp2.h: Likewise.
14866 * stdlib/ucontext.h: Likewise.
14868 2011-11-10 Andreas Schwab <schwab@redhat.com>
14870 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14871 (reused_arena): Don't check arena limit.
14872 (arena_get2): Atomically check arena limit.
14874 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14876 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14877 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14882 2011-11-07 Andreas Schwab <schwab@redhat.com>
14884 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14885 handler when locking.
14887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14888 Fix size of allocated buffer.
14890 2011-11-04 Andreas Schwab <schwab@redhat.com>
14893 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14894 declarations for long double functions.
14895 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14897 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14899 2011-11-03 Andreas Schwab <schwab@redhat.com>
14901 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14904 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14907 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14909 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14911 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14913 * include/alloca.h (stackinfo_alloca_round): Define.
14914 (extend_alloca): Use it.
14915 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14916 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14919 * scripts/check-local-headers.sh: Ignore libaudit.h.
14921 * nscd/Makefile (extra-objs): Make recursively expanded.
14923 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14925 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14926 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14928 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14929 * posix/tst-rfc3484-2.c: Likewise.
14930 * posix/tst-rfc3484-3.c: Likewise.
14932 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14934 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14936 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14937 process_vm_writev from libc using GLIBC_2.15 version.
14939 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14941 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14943 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14946 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14949 * nss/getent.c (initgroups_keys): Show error message in case no group
14952 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14953 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14954 __bump_nl_timestamp.
14955 * nscd/connections (nscd_init): When host database is served open
14956 netlink socket and request notification about configuration changes.
14957 (main_loop_poll): Track netlink file descriptor and bump timestamp
14958 in case data becomes available.
14959 (main_loop_epoll): Likewise.
14960 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14961 (database_pers_head): Add extra_data fileds.
14962 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14963 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14964 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14966 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14967 in6ai data, call __free_in6ai.
14968 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14969 Add -DHAVE_NETLINK.
14970 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14971 interface information. Reuse previous data if netlink timestamp
14973 (__bump_nl_timestamp): New function.
14974 (__free_in6ai): New function.
14976 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14978 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14979 close_not_cancel_no_status here.
14980 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14982 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14985 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14988 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14989 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14990 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14992 2011-07-03 Andreas Jaeger <aj@suse.de>
14995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14996 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14997 * math/libm-test.inc (sin_test): Add test case.
14999 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15002 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15003 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15005 * elf/chroot_canon.c (chroot_canon): Cleanups.
15007 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15010 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15011 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15013 * string/test-strchr.c: Make usable for strchrnul testing.
15014 * string/test-strchrnul.c: New file.
15015 * string/Makefile (strop-tests): Add strchrnul.
15017 * po/it.po: Update from translation team.
15018 * po/es.po: Likewise.
15020 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15023 the three constants needed as parameters. Drop the others.
15024 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15025 __m128i_strloadu_tolower.
15026 Create and initialize variable zero and use it in all the places
15027 where _mm_setzero_si128 was used.
15029 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15030 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15031 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15034 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15035 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15036 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15037 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15038 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15039 __mpranred, __mptan.
15040 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15041 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15042 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15043 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15044 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15045 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15047 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15048 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15050 2011-10-28 Andreas Schwab <schwab@redhat.com>
15052 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15053 redefine if SHARED.
15054 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15057 wide char related routines to wcsmbs subdir.
15059 2011-10-27 Andreas Schwab <schwab@redhat.com>
15062 * misc/sys/cdefs.h (__THROWNL): Define.
15063 * posix/unistd.h: Use __THREADNL instead of __THREAD
15064 for memory synchronization functions.
15066 2011-10-26 Roland McGrath <roland@hack.frob.com>
15069 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15071 * manual/stdio.texi (Obstack Streams): Node removed.
15073 2011-10-26 Andreas Schwab <schwab@redhat.com>
15075 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15077 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15079 * math/math_private.h (math_force_eval): Allow non-addressable
15081 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15083 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15085 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15086 file is not needed.
15088 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15095 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15097 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15098 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15099 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15100 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15101 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15102 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15103 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15104 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15105 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15106 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15107 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15108 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15110 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15111 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15115 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15117 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15118 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15121 place. Use VEX encoding when compiling for AVX.
15123 2011-10-25 Andreas Schwab <schwab@redhat.com>
15125 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15126 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15128 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15130 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15132 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15133 useless if() expression.
15134 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15135 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15136 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15138 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15146 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15152 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15154 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15156 2011-10-25 Andreas Schwab <schwab@redhat.com>
15158 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15160 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15162 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15164 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15165 .text section. Avoid duplicate constants.
15166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15176 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15178 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15181 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15183 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15190 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15191 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15192 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15193 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15194 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15195 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15196 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15197 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15198 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15199 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15212 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15214 * sysdeps/x86_64/dla.h: Move to ...
15215 * sysdeps/x86_64/fpu/dla.h: ...here.
15216 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15217 situations. Use __builtin_fma only for gcc 4.6 and up.
15219 * config.make.in: Add have-mfma4 entry.
15220 * configure.in: Substitute libc_cv_cc_fma4.
15221 * math/Makefile (dbl-only-routines): Add sincostab.
15222 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15223 Use __sincostab not sincos.
15224 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15226 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15231 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15232 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15233 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15234 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15236 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15237 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15239 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15240 define aliases when function name is a macro.
15241 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15242 sysdeps/ieee754/dbl-64/sincos.tbl.
15243 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15244 fma4-enabled routines.
15245 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15246 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15247 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15248 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15250 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15252 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15254 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15255 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15256 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15257 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15258 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15259 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15260 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15261 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15262 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15263 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15265 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15266 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15267 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15276 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15287 2011-10-24 Andreas Schwab <schwab@redhat.com>
15289 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15291 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15295 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15299 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15300 Remove unused variable magic_bits.
15301 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15303 * string/strnlen.c: Define and use STRNLEN macro.
15304 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15305 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15307 * wcsmbs/wcslen.c: Define and use WCSLEN.
15308 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15309 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15310 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15311 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15312 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15313 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15314 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15316 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15319 strnlen-sse2-no-bsf.
15320 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15322 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15323 Add strnlen support.
15324 (USE_AS_STRNLEN): New macro.
15325 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15327 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15328 * sysdeps/x86_64/wcslen.S: New file.
15330 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15333 XMM-moves are used for copying on small sizes.
15335 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15337 * wcsmbs/Makefile (strop-tests): Add wcschr.
15338 * wcsmbs/test-wcschr.c: New file.
15339 * string/test-strchr.c: Update.
15340 Add wcschr support.
15343 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15345 * wcsmbs/Makefile (strop-tests): Add wcslen.
15346 * wcsmbs/test-wcslen.c: New file.
15347 * string/test-strlen.c: Update.
15348 Add wcslen support.
15351 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15353 * po/it.po: Update from translation team.
15355 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15357 * sysdeps/x86_64/wcscmp.S: Update.
15358 Fix wrong comparison semantics.
15359 wcscmp shall use signed comparison not unsigned.
15360 Don't use substraction to avoid overflow bug.
15361 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15362 * wcsmbc/wcscmp.c: Likewise.
15363 * string/test-strcmp.c: Likewise.
15364 Add new tests to check cases with negative values.
15366 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15368 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15369 * sysdeps/x86_64/dla.h: ...here. New file.
15370 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15380 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15383 __ynl_finite aliases.
15385 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15389 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15391 [DLA_FMA] (EMULV): Use DLA_FMA.
15392 [DLA_FMA] (MUL12): Use EMULV.
15393 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15394 that are not needed.
15395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15403 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15405 * math/s_nan.c: Undef __nan.
15406 * math/s_nanf.c: Undef __nanf.
15407 * math/s_nanl.c: Undef __nanl.
15408 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15411 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15413 * math/s_catan.c: Add branch predictions.
15414 * math/s_catanf.c: Likewise.
15415 * math/s_catanh.c: Likewise.
15416 * math/s_catanhf.c: Likewise.
15417 * math/s_catanhl.c: Likewise.
15418 * math/s_catanl.c: Likewise.
15419 * math/s_cexp.c: Likewise.
15420 * math/s_cexpf.c: Likewise.
15421 * math/s_cexpl.c: Likewise.
15422 * math/s_clog.c: Likewise.
15423 * math/s_clog10.c: Likewise.
15424 * math/s_clog10f.c: Likewise.
15425 * math/s_clog10l.c: Likewise.
15426 * math/s_clogf.c: Likewise.
15427 * math/s_clogl.c: Likewise.
15428 * math/s_csqrt.c: Likewise.
15429 * math/s_csqrtf.c: Likewise.
15430 * math/s_csqrtl.c: Likewise.
15431 * math/s_ctanf.c: Likewise.
15432 * math/s_ctanh.c: Likewise.
15433 * math/s_ctanhf.c: Likewise.
15434 * math/s_ctanhl.c: Likewise.
15435 * math/s_ctanl.c: Likewise.
15437 * math/math_private.h: Define __nan, __nanf, __nanl.
15438 * math/s_cacosh.c: Include <math_private.h>.
15439 * math/s_cacoshl.c: Likewise.
15440 * math/s_casinh.c: Likewise.
15441 * math/s_casinhf.c: Likewise.
15442 * math/s_casinhl.c: Likewise.
15443 * math/s_ccos.c: Rely entire on ccosh.
15444 * math/s_ccosf.c: Rely entire on ccoshf.
15445 * math/s_ccosl.c: Rely entirely on ccoshl.
15446 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15447 Remove tests for FE_INVALID.
15448 * math/s_ccoshf.c: Likewise.
15449 * math/s_ccoshl.c: Likewise.
15450 * math/s_csin.c: Likewise.
15451 * math/s_csinf.c: Likewise.
15452 * math/s_csinh.c Likewise.
15453 * math/s_csinhf.c: Likewise.
15454 * math/s_csinhl.c: Likewise.
15455 * math/s_csinl.c: Likewise.
15456 * math/s_ctan.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15458 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15459 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15461 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15464 compilation problems.
15466 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15469 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15471 * sysdeps/i386/configure.in: Test for -mfma4 option.
15472 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15473 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15474 COMMON_CPUID_INDEX_80000001.
15475 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15476 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15477 use it if FMA3 is not supported.
15478 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15480 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15481 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15483 2011-10-20 Andreas Schwab <schwab@redhat.com>
15486 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15487 it would create a cycle with a link time dependency.
15489 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15491 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15493 * string/Makefile (strop-tests): Add rawmemchr.
15494 * string/test-rawmemchr.c: New file.
15496 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15498 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15499 when compiling str{,n}casecmp and when AVX is available. Hook up
15500 new optimized code in initializers.
15502 2011-10-19 Andreas Schwab <schwab@redhat.com>
15504 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15505 __feraiseexcept instead of feraiseexcept.
15507 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15509 * math/math_private.h: Define defaults for libc_fetestexcept and
15511 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15512 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15513 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15514 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15516 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15517 libc_fetestexcept and libc_feupdateenv.
15519 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15520 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15521 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15522 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15523 libc_feholdexcept_setround.
15525 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15526 Add s_nearbyint-c and s_nearbyintf-c.
15527 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15528 nearbyintf inlines.
15529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15530 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15532 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15534 * math/math_private.h: Define defaults for libc_fegetround,
15535 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15536 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15537 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15539 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15540 standard functions.
15541 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15542 Remove comments and hacks for old compiler versions.
15543 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15544 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15545 libc_feholdexceptl.
15547 2011-10-18 Andreas Schwab <schwab@redhat.com>
15549 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15550 (__feraiseexcept_renamed): Add __NTH.
15551 (feraiseexcept): Add __NTH. Rename local variables to fix
15552 namespace violations.
15554 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15556 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15560 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15561 recently added interfaces.
15562 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15564 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15565 about macro parameter expansion.
15567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15568 __NO_MATH_INLINES is defined. Cleanups.
15570 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15571 and __floorf is target has SSE4.1.
15572 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15573 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15574 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15575 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15577 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15579 (floorf): Likewise.
15581 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15583 2011-10-17 Andreas Schwab <schwab@redhat.com>
15585 * misc/sys/cdefs.h: Fix last change.
15587 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15590 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15592 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15594 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15597 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15598 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15603 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15604 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15605 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15606 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15607 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15608 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15609 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15610 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15611 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15612 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15613 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15614 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15615 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15618 ceil, ceilf, floor, floorf.
15620 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15621 Perform IRELATIVE relocations last.
15623 * elf/do-rel.h: Add another parameter nrelative, replacing the
15624 local variable with the same name. Change name of the function
15625 to end in Rel or Rela (uppercase).
15626 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15627 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15628 elf_dynamic_do_##reloc function.
15630 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15632 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15633 is sufficient, at least on modern CPUs.
15635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15637 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15640 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15642 * math/bits/math-finite.h: Add entries for exp.
15643 * math/e_expl.c: Add __*_finite alias.
15644 * sysdeps/i386/fpu/e_exp.S: Likewise.
15645 * sysdeps/i386/fpu/e_expf.S: Likewise.
15646 * sysdeps/i386/fpu/e_expl.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15648 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15655 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15656 is sufficient, at least on modern CPUs.
15658 * ctype/ctype-info.c (__ctype_init): Define.
15659 * include/ctype.h (__ctype_init): Declare.
15660 (__ctype_b_loc): The variable is always initialized.
15661 (__ctype_toupper_loc): Likewise.
15662 (__ctype_tolower_loc): Likewise.
15663 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15664 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15666 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15668 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15670 * configure.in: Also look in $cxxmachine/include for C++ system
15673 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15675 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15676 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15677 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15678 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15679 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15680 (USE_AS_WMEMCMP): New macro.
15682 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15683 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15684 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15685 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15687 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15688 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15689 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15690 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15691 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15692 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15693 (USE_AS_WMEMCMP): New macro.
15694 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15695 * sysdeps/string/test-memcmp.c: Update.
15696 Fix simple_wmemcmp.
15698 * wcsmbs/wmemcmp.c: Update.
15699 (WMEMCMP): New macro.
15702 2011-10-12 Andreas Jaeger <aj@suse.de>
15705 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15707 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15709 * libio/iofwide.c (do_length): Avoid warning.
15711 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15713 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15715 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15717 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15718 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15719 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15720 * sysdeps/i386/i686/fpu/e_log.S: New file.
15721 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15722 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15724 * ctype/ctype.h: Add support for inlined isXXX functions when
15725 compiling C++ code.
15727 2011-10-14 Andreas Schwab <schwab@redhat.com>
15729 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15733 2011-10-13 Roland McGrath <roland@hack.frob.com>
15736 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15738 2011-10-13 Andreas Schwab <schwab@redhat.com>
15740 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15741 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15744 * sysdeps/x86_64/memrchr.S: Check for zero size.
15746 * string/stratcliff.c: Add memrchr tests.
15748 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15751 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15752 rawmemchr-sse2 rawmemchr-sse2-bsf.
15753 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15754 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15755 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15756 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15757 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15758 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15759 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15760 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15762 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15763 * string/memrchr.c (MEMRCHR): New macro.
15765 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15767 Add integration with gcc's -ffinite-math-only and optimize wrapper
15769 * Versions.def: Define GLIBC_2.15 version for libm.
15770 * math/Makefile (headers): Add bits/math-finite.h.
15771 * math/bits/math-finite.h: New file.
15772 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15773 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15774 * math/e_acoshl.c: Add __*_finite alias.
15775 * math/e_acosl.c: Likewise.
15776 * math/e_asinl.c: Likewise.
15777 * math/e_atan2l.c: Likewise.
15778 * math/e_atanhl.c: Likewise.
15779 * math/e_coshl.c: Likewise.
15780 * math/e_exp10.c: Likewise.
15781 * math/e_exp10f.c: Likewise.
15782 * math/e_exp10l.c: Likewise.
15783 * math/e_exp2l.c: Likewise.
15784 * math/e_fmodl.c: Likewise.
15785 * math/e_gammal_r.c: Likewise.
15786 * math/e_hypotl.c: Likewise.
15787 * math/e_j0l.c: Likewise.
15788 * math/e_j1l.c: Likewise.
15789 * math/e_jnl.c: Likewise.
15790 * math/e_lgammal_r.c: Likewise.
15791 * math/e_log10l.c: Likewise.
15792 * math/e_log2l.c: Likewise.
15793 * math/e_logl.c: Likewise.
15794 * math/e_powl.c: Likewise.
15795 * math/e_sinhl.c: Likewise.
15796 * math/e_sqrtl.c: Likewise.
15797 * math/e_scalb.c: Completely rewritten and optimized.
15798 * math/e_scalbf.c: Likewise.
15799 * math/e_scalbl.c: Likewise.
15800 * math/w_acos.c: Likewise.
15801 * math/w_acosf.c: Likewise.
15802 * math/w_acosl.c: Likewise.
15803 * math/w_acosh.c: Likewise.
15804 * math/w_acoshf.c: Likewise.
15805 * math/w_acoshl.c: Likewise.
15806 * math/w_asin.c: Likewise.
15807 * math/w_asinf.c: Likewise.
15808 * math/w_asinl.c: Likewise.
15809 * math/w_atan2.c: Likewise.
15810 * math/w_atan2f.c: Likewise.
15811 * math/w_atan2l.c: Likewise.
15812 * math/w_atanh.c: Likewise.
15813 * math/w_atanhf.c: Likewise.
15814 * math/w_atanhl.c: Likewise.
15815 * math/w_exp10.c: Likewise.
15816 * math/w_exp10f.c: Likewise.
15817 * math/w_exp10l.c: Likewise.
15818 * math/w_fmod.c: Likewise.
15819 * math/w_fmodf.c: Likewise.
15820 * math/w_fmodl.c: Likewise.
15821 * math/w_j0.c: Likewise.
15822 * math/w_j0f.c: Likewise.
15823 * math/w_j0l.c: Likewise.
15824 * math/w_j1.c: Likewise.
15825 * math/w_j1f.c: Likewise.
15826 * math/w_j1l.c: Likewise.
15827 * math/w_jn.c: Likewise.
15828 * math/w_jnf.c: Likewise.
15829 * math/w_log.c: Likewise.
15830 * math/w_logf.c: Likewise.
15831 * math/w_logl.c: Likewise.
15832 * math/w_log10.c: Likewise.
15833 * math/w_log10f.c: Likewise.
15834 * math/w_log10l.c: Likewise.
15835 * math/w_log2.c: Likewise.
15836 * math/w_log2f.c: Likewise.
15837 * math/w_log2l.c: Likewise.
15838 * math/w_pow.c: Likewise.
15839 * math/w_powf.c: Likewise.
15840 * math/w_powl.c: Likewise.
15841 * math/w_remainder.c: Likewise.
15842 * math/w_remainderf.c: Likewise.
15843 * math/w_remainderl.c: Likewise.
15844 * math/w_scalb.c: Likewise.
15845 * math/w_scalbf.c: Likewise.
15846 * math/w_scalbl.c: Likewise.
15847 * math/w_sqrt.c: Likewise.
15848 * math/w_sqrtf.c: Likewise.
15849 * math/w_sqrtl.c: Likewise.
15850 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15851 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15853 * math/math_private.h: Declare __kernel_standard_f.
15854 * math/w_cosh.c: Remove cruft and optimize a bit.
15855 * math/w_coshf.c: Likewise.
15856 * math/w_coshl.c: Likewise.
15857 * math/w_exp2.c: Likewise.
15858 * math/w_exp2f.c: Likewise.
15859 * math/w_exp2l.c: Likewise.
15860 * math/w_hypot.c: Likewise.
15861 * math/w_hypotf.c: Likewise.
15862 * math/w_hypotl.c: Likewise.
15863 * math/w_lgamma.c: Likewise.
15864 * math/w_lgamma_r.c: Likewise.
15865 * math/w_lgammaf.c: Likewise.
15866 * math/w_lgammaf_r.c: Likewise.
15867 * math/w_lgammal.c: Likewise.
15868 * math/w_lgammal_r.c: Likewise.
15869 * math/w_sinh.c: Likewise.
15870 * math/w_sinhf.c: Likewise.
15871 * math/w_sinhl.c: Likewise.
15872 * math/w_tgamma.c: Likewise.
15873 * math/w_tgammaf.c: Likewise.
15874 * math/w_tgammal.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15877 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15878 Minor optimizations. Pretty printing. Remove cruft.
15879 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15881 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15883 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15884 * sysdeps/i386/fpu/e_asin.S: Likewise.
15885 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15886 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15887 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15888 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15892 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15893 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15894 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15895 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15896 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15897 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15898 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15899 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15900 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15901 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15902 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15903 * sysdeps/i386/fpu/e_log.S: Likewise.
15904 * sysdeps/i386/fpu/e_log10.S: Likewise.
15905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15906 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15907 * sysdeps/i386/fpu/e_log2.S: Likewise.
15908 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15909 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15910 * sysdeps/i386/fpu/e_logf.S: Likewise.
15911 * sysdeps/i386/fpu/e_logl.S: Likewise.
15912 * sysdeps/i386/fpu/e_pow.S: Likewise.
15913 * sysdeps/i386/fpu/e_powf.S: Likewise.
15914 * sysdeps/i386/fpu/e_powl.S: Likewise.
15915 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15916 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15917 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15920 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15921 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15922 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15923 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15945 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15946 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15947 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15948 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15949 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15950 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15951 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15952 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15953 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15954 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15955 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15958 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15959 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15960 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15961 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15962 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15964 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16007 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16009 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16012 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16015 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16016 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16017 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16018 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16019 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16020 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16021 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16022 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16023 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16024 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16025 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16026 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16027 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16029 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16030 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16032 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16033 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16034 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16035 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16036 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16037 (__isnanf): Likewise.
16038 (__isinf_ns): Likewise.
16039 (__isinf_nsf): Likewise.
16040 (__finite): Likewise.
16041 (__finitef): Likewise.
16042 (__ieee754_sqrt): Define as macro.
16043 (__ieee754_sqrtf): Define as macro.
16044 (__ieee754_sqrtl): Define as macro.
16045 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16047 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16048 __FINITE_MATH_ONLY__ consistent.
16049 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16051 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16053 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16056 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16058 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16060 * po/ja.po: Update from translation team.
16062 2011-10-08 Roland McGrath <roland@hack.frob.com>
16064 * locale/programs/locarchive.c (prepare_address_space): New function.
16065 (create_archive, enlarge_archive, open_archive): Use it.
16067 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16068 inside [SHARED], where it is used.
16070 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16072 * nss/getent.c (netgroup_keys): Remove unused variable.
16073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16075 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16077 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16078 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16080 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16081 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16082 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16083 * math/Makefile (libm-calls): Add s_isinf_ns.
16084 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16085 * math/multc3.c: Likewise.
16086 * math/s_casin.c: Likewise.
16087 * math/s_casinf.c: Likewise.
16088 * math/s_casinl.c: Likewise.
16089 * math/s_ccos.c: Likewise.
16090 * math/s_ccosf.c: Likewise.
16091 * math/s_ccosl.c: Likewise.
16092 * math/s_ctan.c: Likewise.
16093 * math/s_ctanf.c: Likewise.
16094 * math/s_ctanh.c: Likewise.
16095 * math/s_ctanhf.c: Likewise.
16096 * math/s_ctanhl.c: Likewise.
16097 * math/s_ctanl.c: Likewise.
16098 * math/w_fmod.c: Likewise.
16099 * math/w_fmodf.c: Likewise.
16100 * math/w_fmodl.c: Likewise.
16101 * math/w_remainder.c: Likewise.
16102 * math/w_remainderf.c: Likewise.
16103 * math/w_remainderl.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16105 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16108 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16109 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16110 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16111 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16113 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16115 * stdio-common/printf_fphex.c: Likewise.
16116 * stdio-common/printf_size.c: Likewise.
16118 * math/e_exp10.c: Include math_private.h using <...> not "...".
16119 * math/e_exp10f.c: Likewise.
16120 * math/e_exp10l.c: Likewise.
16121 * math/e_exp2l.c: Likewise.
16122 * math/e_j0l.c: Likewise.
16123 * math/e_j1l.c: Likewise.
16124 * math/e_jnl.c: Likewise.
16125 * math/e_lgammal_r.c: Likewise.
16126 * math/e_rem_pio2l.c: Likewise.
16127 * math/e_scalb.c: Likewise.
16128 * math/e_scalbf.c: Likewise.
16129 * math/e_scalbl.c: Likewise.
16130 * math/k_cosl.c: Likewise.
16131 * math/k_sinl.c: Likewise.
16132 * math/k_tanl.c: Likewise.
16133 * math/s_cacoshf.c: Likewise.
16134 * math/s_catan.c: Likewise.
16135 * math/s_catanf.c: Likewise.
16136 * math/s_catanh.c: Likewise.
16137 * math/s_catanhf.c: Likewise.
16138 * math/s_catanhl.c: Likewise.
16139 * math/s_catanl.c: Likewise.
16140 * math/s_ccosh.c: Likewise.
16141 * math/s_ccoshf.c: Likewise.
16142 * math/s_ccoshl.c: Likewise.
16143 * math/s_cexp.c: Likewise.
16144 * math/s_cexpf.c: Likewise.
16145 * math/s_cexpl.c: Likewise.
16146 * math/s_clog.c: Likewise.
16147 * math/s_clog10.c: Likewise.
16148 * math/s_clog10f.c: Likewise.
16149 * math/s_clog10l.c: Likewise.
16150 * math/s_clogf.c: Likewise.
16151 * math/s_clogl.c: Likewise.
16152 * math/s_csin.c: Likewise.
16153 * math/s_csinf.c: Likewise.
16154 * math/s_csinh.c: Likewise.
16155 * math/s_csinhf.c: Likewise.
16156 * math/s_csinhl.c: Likewise.
16157 * math/s_csinl.c: Likewise.
16158 * math/s_csqrt.c: Likewise.
16159 * math/s_csqrtf.c: Likewise.
16160 * math/s_csqrtl.c: Likewise.
16161 * math/s_ctan.c: Likewise.
16162 * math/s_ctanf.c: Likewise.
16163 * math/s_ctanh.c: Likewise.
16164 * math/s_ctanhf.c: Likewise.
16165 * math/s_ctanhl.c: Likewise.
16166 * math/s_ctanl.c: Likewise.
16167 * math/s_ldexp.c: Likewise.
16168 * math/s_ldexpf.c: Likewise.
16169 * math/s_ldexpl.c: Likewise.
16170 * math/s_significand.c: Likewise.
16171 * math/s_significandf.c: Likewise.
16172 * math/s_significandl.c: Likewise.
16173 * math/w_acos.c: Likewise.
16174 * math/w_acosf.c: Likewise.
16175 * math/w_acosh.c: Likewise.
16176 * math/w_acoshf.c: Likewise.
16177 * math/w_acoshl.c: Likewise.
16178 * math/w_acosl.c: Likewise.
16179 * math/w_asin.c: Likewise.
16180 * math/w_asinf.c: Likewise.
16181 * math/w_asinl.c: Likewise.
16182 * math/w_atan2.c: Likewise.
16183 * math/w_atan2f.c: Likewise.
16184 * math/w_atan2l.c: Likewise.
16185 * math/w_atanh.c: Likewise.
16186 * math/w_atanhf.c: Likewise.
16187 * math/w_atanhl.c: Likewise.
16188 * math/w_cosh.c: Likewise.
16189 * math/w_coshf.c: Likewise.
16190 * math/w_coshl.c: Likewise.
16191 * math/w_dremf.c: Likewise.
16192 * math/w_exp10.c: Likewise.
16193 * math/w_exp10f.c: Likewise.
16194 * math/w_exp10l.c: Likewise.
16195 * math/w_exp2.c: Likewise.
16196 * math/w_exp2f.c: Likewise.
16197 * math/w_fmod.c: Likewise.
16198 * math/w_fmodf.c: Likewise.
16199 * math/w_fmodl.c: Likewise.
16200 * math/w_hypot.c: Likewise.
16201 * math/w_hypotf.c: Likewise.
16202 * math/w_hypotl.c: Likewise.
16203 * math/w_j0.c: Likewise.
16204 * math/w_j0f.c: Likewise.
16205 * math/w_j0l.c: Likewise.
16206 * math/w_j1.c: Likewise.
16207 * math/w_j1f.c: Likewise.
16208 * math/w_j1l.c: Likewise.
16209 * math/w_jn.c: Likewise.
16210 * math/w_jnf.c: Likewise.
16211 * math/w_jnl.c: Likewise.
16212 * math/w_lgamma.c: Likewise.
16213 * math/w_lgamma_r.c: Likewise.
16214 * math/w_lgammaf.c: Likewise.
16215 * math/w_lgammaf_r.c: Likewise.
16216 * math/w_lgammal.c: Likewise.
16217 * math/w_lgammal_r.c: Likewise.
16218 * math/w_log.c: Likewise.
16219 * math/w_log10.c: Likewise.
16220 * math/w_log10f.c: Likewise.
16221 * math/w_log10l.c: Likewise.
16222 * math/w_log2.c: Likewise.
16223 * math/w_log2f.c: Likewise.
16224 * math/w_log2l.c: Likewise.
16225 * math/w_logf.c: Likewise.
16226 * math/w_logl.c: Likewise.
16227 * math/w_pow.c: Likewise.
16228 * math/w_powf.c: Likewise.
16229 * math/w_powl.c: Likewise.
16230 * math/w_remainder.c: Likewise.
16231 * math/w_remainderf.c: Likewise.
16232 * math/w_remainderl.c: Likewise.
16233 * math/w_scalb.c: Likewise.
16234 * math/w_scalbf.c: Likewise.
16235 * math/w_scalbl.c: Likewise.
16236 * math/w_sinh.c: Likewise.
16237 * math/w_sinhf.c: Likewise.
16238 * math/w_sinhl.c: Likewise.
16239 * math/w_sqrt.c: Likewise.
16240 * math/w_sqrtf.c: Likewise.
16241 * math/w_sqrtl.c: Likewise.
16242 * math/w_tgamma.c: Likewise.
16243 * math/w_tgammaf.c: Likewise.
16244 * math/w_tgammal.c: Likewise.
16246 * po/ja.po: Update from translation team.
16248 2011-09-29 Andreas Jaeger <aj@suse.de>
16251 * sunrpc/netname.c (netname2host): Fix logic.
16255 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16257 * math/w_remainder.c (__remainder): Likewise.
16258 * math/w_remainderf.c (__remainderf): Likewise.
16259 * math/libm-test.inc (remainder_test): Add test cases.
16261 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16263 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16266 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16268 * string/test-memcmp.c: Avoid unncessary #defines.
16269 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16271 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16273 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16274 Use new sse2 version for core i3 - i7 as it's faster
16275 than sse42 version.
16276 (bit_Prefer_PMINUB_for_stringop): New.
16277 * sysdeps/x86_64/rawmemchr.S: Update.
16278 Replace with faster SSE2 version.
16279 * sysdeps/x86_64/memrchr.S: New file.
16280 * sysdeps/x86_64/memchr.S: Update.
16281 Replace with faster SSE2 version.
16283 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16285 * elf/dl-load.c (lose): Add cast to avoid warning.
16287 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16289 * po/ca.po: Update from translation team.
16291 * inet/getnetgrent_r.c: Hook up nscd.
16292 * nscd/Makefile (routines): Add nscd_netgroup.
16293 (nscd-modules): Add netgroupcache.
16294 (CFLAGS-netgroupcache.c): Define.
16295 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16296 (cache_search): Add const to second parameter.
16297 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16299 (dbs): Add netgrdb entry.
16300 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16301 (verify_persistent_db): Handle netgrdb.
16302 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16303 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16305 (netgroup_response_header): Define.
16306 (innetgroup_response_header): Define.
16307 (datahead): Add netgroup_response_header and innetgroup_response_header
16309 * nscd/nscd.conf: Add entries for netgroup cache.
16310 * nscd/nscd.h (dbtype): Add netgrdb.
16311 (_PATH_NSCD_NETGROUP_DB): Define.
16312 (netgroup_iov_disabled): Declare.
16313 (xmalloc, xcalloc, xrealloc): Move declarations here.
16314 (cache_search): Adjust prototype.
16315 Add netgroup-related prototypes.
16316 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16317 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16318 (__nscd_innetgr): Declare.
16319 * nscd/selinux.c (perms): Use access_vector_t as element type and
16320 add netgroup-related initializers.
16321 * nscd/netgroupcache.c: New file.
16322 * nscd/nscd_netgroup.c: New file.
16323 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16324 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16325 For four parameters use innetgr.
16326 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16327 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16328 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16329 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16331 * nscd/connections.c (register_traced_file): Don't register file
16332 for disabled databases.
16334 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16336 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16338 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16339 from tree and freeing node.
16341 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16343 * nss/nsswitch.c (__nss_database_lookup): Handle
16344 nss_parse_service_list out of memory case.
16346 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16348 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16349 out of memory case.
16351 2011-10-04 Andreas Schwab <schwab@redhat.com>
16353 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16354 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16356 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16357 elf_machine_rela, elf_machine_lazy_rel.
16358 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16359 (ELF_DYNAMIC_DO_REL): Likewise.
16360 (ELF_DYNAMIC_DO_RELA): Likewise.
16361 (ELF_DYNAMIC_RELOCATE): Likewise.
16362 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16363 to ELF_DYNAMIC_DO_REL.
16364 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16365 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16366 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16369 skip_ifunc, don't call ifunc function if non-zero.
16370 (elf_machine_rela): Likewise.
16371 (elf_machine_lazy_rel): Likewise.
16372 (elf_machine_lazy_rela): Likewise.
16373 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16374 (elf_machine_lazy_rel): Likewise.
16375 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16377 (elf_machine_lazy_rel): Likewise.
16378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16380 (elf_machine_lazy_rel): Likewise.
16381 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16382 (elf_machine_lazy_rel): Likewise.
16383 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16384 (elf_machine_lazy_rel): Likewise.
16385 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16386 (elf_machine_lazy_rel): Likewise.
16387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16388 (elf_machine_lazy_rel): Likewise.
16389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16390 (elf_machine_lazy_rel): Likewise.
16391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16392 (elf_machine_lazy_rel): Likewise.
16394 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16396 * nss/nss_files/files-init.c (_nss_files_init): Use static
16397 initialization for all the *_traced_file variables.
16399 2011-09-28 Andreas Schwab <schwab@redhat.com>
16401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16403 2011-09-27 Roland McGrath <roland@hack.frob.com>
16406 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16408 2011-09-27 Andreas Schwab <schwab@redhat.com>
16410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16411 Reread the line before reparsing it.
16413 2011-09-26 Andreas Schwab <schwab@redhat.com>
16415 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16417 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16418 Maxim Kuvyrkov <maxim@codesourcery.com>
16419 Joseph Myers <joseph@codesourcery.com>
16421 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16422 if needed for __stack_chk_guard.
16424 2011-09-19 Roland McGrath <roland@hack.frob.com>
16426 * sysdeps/posix/spawni.c (script_execute): Always define it.
16427 It will be optimized away if unused.
16428 (maybe_script_execute): New function.
16429 (__spawni): Call it.
16431 * Makerules: Don't include tls.make.
16432 (config-tls): Always set to thread.
16433 * tls.make.c: File removed.
16435 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16437 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16438 * config.make.in (CPPFLAGS-config): New substituted variable.
16440 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16445 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16446 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16448 2011-09-15 Roland McGrath <roland@hack.frob.com>
16450 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16451 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16453 (CALL_FAIL): Likewise.
16454 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16455 (CALL_FAIL): Macro removed.
16456 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16458 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16460 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16461 for __FINITE_MATH_ONLY__ == 1.
16463 2011-09-15 Andreas Schwab <schwab@redhat.com>
16465 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16466 __ieee754_sqrt instead of sqrt.
16467 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16468 __ieee754_sqrtf instead of sqrtf.
16469 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16470 __floorf instead of floorf.
16471 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16472 __floorf, __truncf instead of floorf, truncf.
16474 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16476 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16478 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16479 __extern_always_inline.
16480 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16483 2011-09-14 Andreas Schwab <schwab@redhat.com>
16485 * elf/rtld.c (dl_main): Also relocate in dependency order when
16486 doing symbol dependency testing.
16488 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16491 Always define `refsym'.
16493 2011-09-13 Andreas Schwab <schwab@redhat.com>
16495 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16496 (__FD_ELT): Renamed from __FDELT.
16497 * misc/bits/select2.h (__FD_ELT): Likewise.
16498 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16499 __FD_MASK instead of __FDELT, __FDMASK.
16500 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16502 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16505 * elf/Makefile (gen-ldd): Fix pattern.
16507 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16508 (init_tls): Likewise.
16510 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16514 2011-09-12 Andreas Schwab <schwab@redhat.com>
16516 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16517 `struct cmsghdr *' instead of `void *'.
16518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16521 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16523 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16525 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16526 ldd_rewrite_script.
16528 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16530 * configure.in: Remove --with-tls option.
16531 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16532 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16533 out in case it is missing.
16534 * sysdeps/ia64/elf/configure.in: Likewise.
16535 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16536 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16537 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16538 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16539 * sysdeps/sh/elf/configure.in: Likewise.
16540 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16541 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16542 * sysdeps/x86_64/elf/configure.in: Likewise.
16543 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16544 * sysdeps/mach/hurd/tls.h: Likewise.
16547 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16550 * configure.in: Fix use of AC_INIT.
16552 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16554 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16556 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16558 * malloc/hooks.c: Likewise.
16561 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16562 variables statically.
16563 (narenas): Initialize.
16564 (list_lock): Initialize.
16565 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16566 initializtion of main_arena and list_lock. Small cleanups.
16567 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16568 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16569 Add initializers to main_arena and mp_.
16570 (malloc_state): Remove pagesize member. Change all users to use
16573 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16574 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16575 is always initialized.
16577 * malloc/malloc.c: Removed unused configurations and dead code.
16578 * malloc/arena.c: Likewise.
16579 * malloc/hooks.c: Likewise.
16580 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16582 * include/tls.h: Removed. USE___THREAD must always be defined.
16583 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16584 * elf/dl-libc.c: Likewise.
16585 * elf/dl-tsd.c: Likewise.
16586 * include/errno.h: Likewise.
16587 * include/netdb.h: Likewise.
16588 * include/resolv.h: Likewise.
16589 * inet/herrno-loc.c: Likewise.
16590 * inet/herrno.c: Likewise.
16591 * malloc/arena.c: Likewise.
16592 * malloc/hooks.c: Likewise.
16593 * malloc/malloc.c: Likewise.
16594 * resolv/res-state.c: Likewise.
16595 * resolv/res_libc.c: Likewise.
16596 * sysdeps/i386/dl-machine.h: Likewise.
16597 * sysdeps/ia64/dl-machine.h: Likewise.
16598 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16599 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16600 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16601 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16602 * sysdeps/sh/dl-machine.h: Likewise.
16603 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16604 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16605 * sysdeps/unix/i386/sysdep.S: Likewise.
16606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16607 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16616 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16617 * sysdeps/x86_64/dl-machine.h: Likewise.
16618 * tls.make.c: Likewise.
16620 * configure.in: Remove --with-__thread option. Make tests for
16621 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16622 tls_model attribute fail if no support is available. Remove
16624 * Makeconfig: Adjust for dropped configure option. All features are
16626 * Makerules: Likewise.
16627 * Versions.def: Likewise.
16628 * argp/argp-fmtstream.c: Likewise.
16629 * argp/argp-fmtstream.h: Likewise.
16630 * argp/argp-help.c: Likewise.
16631 * assert/assert.c: Likewise.
16632 * config.h.in: Likewise.
16633 * config.make.in: Likewise.
16634 * configure: Likewise.
16635 * configure.in: Likewise.
16636 * csu/Versions: Likewise.
16637 * csu/init.c: Likewise.
16638 * elf/tst-audit2.c: Likewise.
16639 * elf/tst-tls10.c: Likewise.
16640 * elf/tst-tls10.h: Likewise.
16641 * elf/tst-tls11.c: Likewise.
16642 * elf/tst-tls12.c: Likewise.
16643 * elf/tst-tls14.c: Likewise.
16644 * elf/tst-tlsmod11.c: Likewise.
16645 * elf/tst-tlsmod12.c: Likewise.
16646 * elf/tst-tlsmod13.c: Likewise.
16647 * elf/tst-tlsmod13a.c: Likewise.
16648 * elf/tst-tlsmod14a.c: Likewise.
16649 * elf/tst-tlsmod15b.c: Likewise.
16650 * elf/tst-tlsmod16a.c: Likewise.
16651 * elf/tst-tlsmod16b.c: Likewise.
16652 * elf/tst-tlsmod7.c: Likewise.
16653 * elf/tst-tlsmod8.c: Likewise.
16654 * elf/tst-tlsmod9.c: Likewise.
16655 * gmon/gmon.c: Likewise.
16656 * grp/fgetgrent_r.c: Likewise.
16657 * grp/putgrent.c: Likewise.
16658 * hurd/fopenport.c: Likewise.
16659 * include/libc-symbols.h: Likewise.
16660 * include/tls.h: Likewise.
16661 * intl/gettextP.h: Likewise.
16662 * intl/loadinfo.h: Likewise.
16663 * locale/global-locale.c: Likewise.
16664 * locale/localeinfo.h: Likewise.
16665 * mach/devstream.c: Likewise.
16666 * malloc/arena.c: Likewise.
16667 * malloc/set-freeres.c: Likewise.
16668 * misc/err.c: Likewise.
16669 * misc/getttyent.c: Likewise.
16670 * misc/mntent_r.c: Likewise.
16671 * posix/getopt.c: Likewise.
16672 * posix/wordexp.c: Likewise.
16673 * pwd/fgetpwent_r.c: Likewise.
16674 * resolv/Versions: Likewise.
16675 * resolv/res_hconf.c: Likewise.
16676 * shadow/fgetspent_r.c: Likewise.
16677 * shadow/putspent.c: Likewise.
16678 * stdio-common/printf_fphex.c: Likewise.
16679 * stdio-common/tmpfile.c: Likewise.
16680 * stdlib/abort.c: Likewise.
16681 * stdlib/fmtmsg.c: Likewise.
16682 * sunrpc/auth_unix.c: Likewise.
16683 * sunrpc/clnt_perr.c: Likewise.
16684 * sunrpc/clnt_tcp.c: Likewise.
16685 * sunrpc/clnt_udp.c: Likewise.
16686 * sunrpc/clnt_unix.c: Likewise.
16687 * sunrpc/openchild.c: Likewise.
16688 * sunrpc/svc_simple.c: Likewise.
16689 * sunrpc/svc_tcp.c: Likewise.
16690 * sunrpc/svc_udp.c: Likewise.
16691 * sunrpc/svc_unix.c: Likewise.
16692 * sunrpc/xdr.c: Likewise.
16693 * sunrpc/xdr_array.c: Likewise.
16694 * sunrpc/xdr_rec.c: Likewise.
16695 * sunrpc/xdr_ref.c: Likewise.
16696 * sunrpc/xdr_stdio.c: Likewise.
16698 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16700 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16702 2011-07-03 Andreas Jaeger <aj@suse.de>
16704 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16706 regenerate with gen-libm-tests.pl.
16708 2010-05-12 Petr Baudis <pasky@suse.cz>
16711 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16712 around j0() zero points by switching to j1().
16713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16718 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16720 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16725 Patch in part by Pavel Roskin <proski@gnu.org>.
16728 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16730 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16731 Free memory block if necessary.
16734 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16735 be NULL. Don't lock in this case.
16737 2011-09-09 Roland McGrath <roland@hack.frob.com>
16739 * elf/elf.h (ELFOSABI_GNU): New macro.
16740 (ELFOSABI_LINUX): Define to that.
16742 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16744 * string/strncat.c (strncat): Undef the symbol in case it has been
16745 defined in bits/string.h.
16747 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16749 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16751 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16754 2011-08-17 Andreas Jaeger <aj@suse.de>
16756 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16758 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16759 Ian Lance Taylor <iant@google.com>
16761 * math/libm-test.inc (lround_test): New testcase.
16762 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16764 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16766 * Makefile: Remove support for automatic cvs check-ins.
16767 * Makerules: Likewise.
16768 * config.make.in: Likewise.
16769 * configure.in: Likewise.
16770 * intl/Makefile: Likewise.
16771 * locale/Makefile: Likewise.
16772 * po/Makefile: Likewise.
16773 * posix/Makefile: Likewise.
16774 * sysdeps/gnu/Makefile: Likewise.
16775 * sysdeps/mach/hurd/Makefile: Likewise.
16776 * sysdeps/sparc/sparc32/Makefile: Likewise.
16779 * posix/Makefile (bug-regex32-ENV): Define.
16780 Patch by John Stanley <jpsinthemix@verizon.net>.
16782 * misc/Makefile (headers): Add bits/select2.h.
16783 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16784 * misc/bits/select2.h: New file.
16785 * include/bits/select2.h: New file.
16786 * debug/Makefile (routines): Add fdelt_chk.
16787 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16788 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16790 * debug/fdelt_chk.c: New file.
16792 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16793 * wcsmbs/test-wmemcmp.c: Likewise.
16794 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16795 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16797 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16799 * string/Makefile (strop-tests): Add memcmp.
16800 * string/test-wmemcmp.c: New file.
16801 * string/test-memcmp.c: Add wmemcmp support.
16803 2011-09-08 Roland McGrath <roland@hack.frob.com>
16806 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16809 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16810 garbage value in a __mach_port_mod_refs call in the cases of the
16811 task-self and thread-self ports.
16813 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16815 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16817 2011-09-08 Andreas Schwab <schwab@redhat.com>
16819 * elf/dl-load.c (lose): Check for non-null L.
16821 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16823 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16825 * elf/dl-libc.c (dlerror_run): Pass back error code from
16829 * elf/dl-load.c (lose): Free l_origin if it is valid.
16831 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16834 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16837 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16838 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16840 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16842 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16843 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16844 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16845 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16846 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16847 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16848 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16849 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16850 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16851 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16853 2011-08-15 Alan Modra <amodra@gmail.com>
16856 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16857 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16858 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16859 ppc_mcount to static-only-routines.
16860 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16862 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16863 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16865 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16867 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16868 for finite and infinity parameters.
16870 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16873 and add nop instructions for throughput optimization.
16874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16876 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16879 aligned copy for power7 with vector-scalar instructions.
16880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16882 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16887 2011-09-07 Andreas Schwab <schwab@redhat.com>
16890 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16893 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16895 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16896 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16897 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16898 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16901 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16904 Forgot to demangle the pointer.
16906 * sysdeps/i386/sysdep.h: Define atom_text_section.
16907 * sysdeps/x86_64/sysdep.h: Likewise.
16908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16909 section with atom_text_section.
16910 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16912 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16913 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16914 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16916 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16918 already be defined. Change to take two parameters and don't assign
16919 result to variable. Adjust all users.
16920 Define INTERNAL_GETTIME if not already defined.
16921 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16924 HAVE_CLOCK_GETTIME_VSYSCALL.
16925 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16928 gettimeofday vsyscall, just use time.
16930 2011-09-06 Andreas Schwab <schwab@redhat.com>
16932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16935 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16937 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16941 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16942 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16943 syscall if possible.
16945 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16947 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16948 e_ident. Don't pass to find_mapsXX.
16949 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16951 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16954 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16955 * sysdeps/x86_64/multiarch/strchr.S: Update.
16956 Check bit_slow_BSF bit.
16957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16958 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16959 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16961 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16964 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16966 (tryshell): Define.
16967 (__spawni): Change last parameter to be flag. Test
16968 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16969 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16970 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16971 * posix/spawni.c: Likewise.
16972 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16973 * posix/spawnp.c: Likewise. Change normal version to use
16974 SPAWN_XFLAGS_USE_PATH.
16975 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16976 SPAWN_XFLAGS_TRY_SHELL.
16979 * posix/glob.h: Remove gcc 1.x support.
16982 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16984 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16987 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16989 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16990 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16991 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16994 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16996 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16998 * sysdeps/x86_64/wcscmp.S: New file.
17000 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17001 wcscmp-c wcscmp-sse2
17002 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17003 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17005 * wcsmbs/wcscmp.c: Allow renaming.
17007 2011-09-05 David S. Miller <davem@davemloft.net>
17009 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17010 stack slot, rather than the struct return pointer slot.
17011 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17012 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17014 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17016 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17018 * po/ja.po: Update from translation team.
17021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17022 kernel in 64-bit binaries.
17024 2011-09-01 David S. Miller <davem@davemloft.net>
17026 * elf/elf.h (HWCAP_SPARC_*): Move to..
17027 * sysdeps/sparc/sysdep.h: this new file and add new values.
17028 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17029 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17030 _DL_HWCAP_COUNT to 24.
17031 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17033 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17034 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17035 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17037 instead of magic constants.
17038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17040 2011-08-31 David S. Miller <davem@davemloft.net>
17042 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17044 Reimplement to do errno handling inline.
17045 (SYSCALL_ERROR_HANDLER): New macro.
17046 (__SYSCALL_STRING): Do not do errno handling in asm.
17047 (__CLONE_SYSCALL_STRING): Delete.
17048 (__INTERNAL_SYSCALL_STRING): Delete.
17049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17050 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17051 (PSEUDO): Reimplement to do errno handling inline.
17052 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17053 (SYSCALL_ERROR_HANDLER): New macro.
17054 (__SYSCALL_STRING): Do not do errno handling in asm.
17055 (__CLONE_SYSCALL_STRING): Delete.
17056 (__INTERNAL_SYSCALL_STRING): Delete.
17057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17058 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17060 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17061 (inline_syscall*): Add 'err' argument.
17062 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17063 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17064 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17065 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17067 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17068 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17070 2011-08-30 Andreas Schwab <schwab@redhat.com>
17072 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17074 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17076 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17079 2011-08-24 David S. Miller <davem@davemloft.net>
17081 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17083 2011-08-24 Andreas Schwab <schwab@redhat.com>
17085 * elf/Makefile: Add rules to build and run unload8 test.
17086 * elf/unload8.c: New file.
17087 * elf/unload8mod1.c: New file.
17088 * elf/unload8mod1x.c: New file.
17089 * elf/unload8mod2.c: New file.
17090 * elf/unload8mod3.c: New file.
17092 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17095 2011-08-23 David S. Miller <davem@davemloft.net>
17097 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17098 subtract stack bias.
17099 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17100 %sp not %fp in calculations.
17101 (_JMPBUF_UNWINDS_ADJ): Likewise.
17103 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17104 (aio_suspend): Call it to force an exception region around the
17105 AIO_MISC_WAIT() invocation.
17107 2011-08-23 Andreas Schwab <schwab@redhat.com>
17109 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17112 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17114 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17116 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17117 and <dl-machine.h>.
17118 (Elf64_FuncDesc): Remove.
17120 2011-08-22 David S. Miller <davem@davemloft.net>
17122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17123 sigaltstack check, add missing cfi directives.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17125 missing cfi directives, and sigaltstack handling.
17127 2011-08-16 Andreas Schwab <schwab@redhat.com>
17130 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17131 object is seen twice.
17132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17134 * elf/Makefile (distribute): Add tst-initorder2.c.
17135 (tests): Add tst-initorder2.
17136 (modules-names): Add tst-initorder2a tst-initorder2b
17137 tst-initorder2c tst-initorder2d. Add rules to build them.
17138 ($(objpfx)tst-initorder2.out): New rule.
17139 * elf/tst-initorder2.c: New file.
17140 * elf/tst-initorder2.exp: New file.
17142 2011-08-22 Andreas Schwab <schwab@redhat.com>
17144 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17146 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17147 dependencies back to end of function.
17149 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17150 $(elfobjdir)/ld.so.
17152 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17155 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17157 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17158 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17159 of __vdso_gettimeofday.
17160 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17161 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17163 (_libc_vdso_platform_setup): Remove initialization of
17164 __vdso_gettimeofday and __vdso_time.
17166 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17168 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17169 and fgetc_unlocked.
17170 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17173 * elf/dl-open.c (add_to_global): Report additions to the global scope
17174 for LD_DEBUG=scopes.
17175 (dl_open_worker): Also print scope of newly loaded dependencies.
17176 (_dl_show_scope): Indicate if there is no scope.
17179 * stdio-common/Makefile (tests): Add bug24.
17180 * stdio-common/bug24.c: New file.
17182 2011-08-19 Andreas Jaeger <aj@suse.de>
17185 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17186 non-existant file when using close-on-exec mode.
17188 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17191 the very first instruction.
17193 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17194 the CFI state in the end.
17195 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17196 inclusion of dl-trampoline.h.
17197 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17199 2011-08-19 Andreas Schwab <schwab@redhat.com>
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17202 expectations for long double.
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17205 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17207 2011-08-14 David S. Miller <davem@davemloft.net>
17209 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17210 artificual limit depends upon the system page size.
17212 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17214 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17215 * resolv/Makefile: Define CFLAGS-libresolv.
17217 2011-08-17 Andreas Schwab <schwab@redhat.com>
17219 * nss/makedb.c (compute_tables): Make variables used in nested
17222 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17224 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17225 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17226 if buffer was too small.
17228 * elf/pldd.c (main): Attach to all threads in the process.
17229 Rewrite /proc handling to use *at functions.
17231 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17233 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17234 specifies first scope to show.
17235 (dl_open_worker): Update callers. Move printing scope of new
17236 object to before the relocation.
17237 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17238 * sysdeps/generic/ldsodefs.h: Update declaration.
17240 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17241 string for the scope number.
17243 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17245 * nscd/servicescache.c (cache_addserv): Make sure written is always
17248 2011-08-14 Roland McGrath <roland@hack.frob.com>
17250 * sysdeps/i386/i486/bits/atomic.h
17251 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17252 statement expression, so as to suppress "set but not used" warning.
17253 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17255 * string/strncat.c (STRNCAT): Use prototype definition.
17257 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17258 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17260 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17261 (localedef-modules): Add localedef.
17262 (locale-modules): Add locale.
17264 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17265 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17266 to avoid a warning.
17268 2011-08-14 David S. Miller <davem@davemloft.net>
17270 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17271 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17273 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17275 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17276 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17277 * elf/rtld.c (dl_main): Set l_name of vDSO.
17278 Call _dl_show_scope when DL_DEBUG_SCOPES.
17279 (process_dl_debug): Recognize scopes flag and also set it for all.
17280 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17281 Declare _dl_show_scope.
17283 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17284 (do_dlopen): Pass caller_dlopen to dl_open.
17285 (__libc_dlopen_mode): Initialize caller_dlopen.
17287 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17288 of libc. Make tolower call locale-independent. Optimize a bit by
17289 using isdigit instead of isalnum.
17290 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17292 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17294 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17295 was a dependency or dynamically loaded.
17297 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17299 * intl/l10nflist.c: Allow architecture-specific pop function.
17300 * sysdeps/x86_64/l10nflist.c: New file.
17302 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17305 2011-08-10 Andreas Schwab <schwab@redhat.com>
17307 * include/dirent.h: Add libc_hidden_proto for scandirat and
17308 scandirat64. Don't declare __scandirat64.
17309 * dirent/scandirat.c: Add libc_hidden_def.
17310 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17311 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17313 2011-08-10 David S. Miller <davem@davemloft.net>
17315 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17321 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17323 * Versions.def [libc]: Add GLIBC_2.15.
17324 * dirent/Makefile (routines): Add scandirat and scandirat64.
17325 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17327 * dirent/dirent.h: Declare scandirat and scandirat64.
17328 * dirent/scandirat.c: New file.
17329 * dirent/scandirat64.c: New file.
17330 * sysdeps/wordsize-64/scandirat.c: New file.
17331 * sysdeps/wordsize-64/scandirat64.c: New file.
17332 * dirent/opendir.c: Define opendirat.
17333 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17335 * dirent/scandir64.c: Adjust for scandir.c change.
17336 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17337 __scandirat64, and __scandir_cancel_handler.
17338 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17339 additional parameter and use openat instead of open (outside of ld.so).
17340 Add new __opendir as wrapper around __opendirat.
17341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17342 here without requiring old scandirat implementation.
17344 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17346 * dirent/scandir.c (cancel_handler): Renamed to
17347 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17348 defined. Adjust users.
17349 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17352 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17354 * string/test-string.h (IMPL): Use __STRING to expand name and then
17357 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17360 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17362 * string/Makefile: Update.
17363 (strop-tests): Append strncat.
17364 * string/test-wcscmp.c: New file.
17365 New comprehensive test for wcscmp.
17366 * string/test-strcmp.c: Update.
17367 (WIDE): New define.
17369 2011-07-22 Andreas Schwab <schwab@redhat.com>
17371 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17374 2011-07-26 Andreas Schwab <schwab@redhat.com>
17376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17377 encoding to ACE if AI_IDN.
17379 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17382 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17384 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17387 Fix overflow bug in strncat.
17388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17390 * string/test-strncat.c: Update.
17391 Add new tests for checking overflow bugs.
17393 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17396 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17397 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17398 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17400 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17401 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17402 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17403 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17406 (USE_AS_STRCAT): Define.
17407 Add strcat and strncat support.
17408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17410 2011-07-25 Andreas Schwab <schwab@redhat.com>
17412 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17413 __n bigger than INT_MAX+1.
17414 (__strncmp_g): Likewise.
17416 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17418 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17419 * libio/stido.h: Likewise.
17421 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17426 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17433 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17438 (_dl_x86_64_save_sse): Likewise.
17440 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17444 (_dl_x86_64_save_sse): Likewise.
17446 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17448 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17450 2011-07-21 Andreas Schwab <schwab@redhat.com>
17452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17454 (_dl_x86_64_save_sse): Use correct AVX check.
17456 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17459 bug in strncpy/strncat.
17460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17462 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17464 * string/tester.c (test_strcat): Add tests for different alignments
17465 of source and destination.
17466 (test_strncat): Likewise.
17468 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17471 * posix/glob.c (glob): Check passed in values before using them in
17472 expressions to avoid some overflows.
17473 (glob_in_dir): Likewise.
17476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17477 check for AVX enablement so that we don't crash with old kernels and
17479 * elf/tst-audit4.c: Add same checks here.
17480 * elf/tst-audit6.c: Likewise.
17482 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17484 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17486 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17488 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17490 * po/cs.po: Update from translation team.
17491 * po/bg.po: Likewise.
17493 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17495 * misc/sys/cdefs.h: Add support for const attribute.
17496 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17497 to gnu_dev_{major,minor,makedev} functions.
17499 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17501 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17503 2011-07-20 Andreas Schwab <schwab@redhat.com>
17505 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17508 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17511 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17512 register in order to avoid conflicts with the soft frame pointer
17513 being held in r11 when necessary.
17514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17515 (INTERNAL_VSYSCALL_NCS): Likewise.
17517 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17519 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17520 * elf/dl-fini.c (_dl_fini): Adjust caller.
17521 * elf/dl-close.c (_dl_close_worker): Likewise.
17522 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17524 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17526 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17527 "aux_cache->nlibs < 0".
17529 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17530 in the reload-count case.
17532 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17535 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17536 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17537 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17538 * sysdeps/x86_64/multiarch/strcat.S: New file.
17539 * sysdeps/x86_64/multiarch/strncat.S: New file.
17540 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17541 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17542 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17543 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17545 (USE_AS_STRCAT): Define.
17546 Add strcat and strncat support.
17547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17548 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17549 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17550 * string/strncat.c: Update.
17551 (USE_AS_STRNCAT): Define.
17552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17553 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17555 * sysdeps/x86_64/multiarch/init-arch.h
17556 (bit_Prefer_PMINUB_for_stringop): New.
17557 (index_Prefer_PMINUB_for_stringop): Likewise.
17558 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17559 bit_Prefer_PMINUB_for_stringop.
17561 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17563 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17565 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17566 of casting of buffer.
17567 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17568 buffer32 and buffer64.
17569 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17570 writes instead of casting of buffer.
17571 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17573 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17576 2011-07-19 Andreas Schwab <schwab@redhat.com>
17578 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17580 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17582 * nscd/nscd.c (termination_handler): Don't do anything for a database
17583 if it has not yet been initialized.
17585 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17587 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17589 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17591 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17593 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17595 * po/nl.po: Update from translation team.
17596 * po/sv.po: Likewise.
17598 2011-07-16 Roland McGrath <roland@hack.frob.com>
17600 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17601 now disallowed by GCC.
17603 * configure.in (use-default-link): Default to yes if a test -shared
17604 link meets our qualifications.
17605 * configure: Regenerated.
17607 * config.make.in (output-format): New variable.
17608 * configure.in: Check for ld --print-output-format support.
17609 * configure: Regenerated.
17610 * Makerules ($(common-objpfx)format.lds)
17611 [$(output-format) != unknown]: Just use $(output-format),
17612 instead of the linker-script munging.
17614 2011-07-14 Roland McGrath <roland@hack.frob.com>
17616 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17617 of $(common-objpfx)shlib.lds.
17618 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17620 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17621 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17623 * configure.in (-z relro check): Adjust test code to add a large
17624 writable data section after it.
17625 * configure: Regenerated.
17627 2011-07-11 Roland McGrath <roland@hack.frob.com>
17629 * configure.in (-z relro check): Fix test code to make the variable
17631 * configure: Regenerated.
17633 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17635 * nscd/nscd.h (struct traced_file): Define.
17636 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17637 elements. Add traced_files.
17638 (inotify_fd): Declare.
17639 (register_traced_file): Declare.
17640 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17641 (inotify_fd): Export.
17642 (resolv_conf_descr): Remove.
17643 (nscd_init): Move inotify descriptor creation to main.
17644 Don't register files for notification here.
17645 (register_traced_file): New function.
17646 (invalidate_cache): Don't use reset_res to determine whether to call
17647 res_init, go through the list of registered files.
17648 (main_loop_poll): The inotify descriptors are now stored in the
17649 structures for the traced files.
17650 (main_loop_epoll): Likewise
17651 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17652 to __nss_disable_nscd.
17653 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17654 for a database anymore. Check the records for all the registered
17656 * nss/Makefile (libnss_files-routines): Add files-init.
17657 (libnss_db-routines): Add db-init.
17658 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17659 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17660 * nss/nss_db/db-init.c: New file.
17661 * nss/nss_files/files-init.c: New file.
17662 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17663 __nss_lookup_function.
17664 (__nss_lookup_function): Call nss_load_library.
17665 (nss_load_all_libraries): New function.
17666 (__nss_disable_nscd): Take parameter with callback function for files
17667 to register. Set is_nscd. Load all the DSOs for the NSS modules
17668 used for the cached services.
17669 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17670 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17671 options for features to all the files in nscd.
17673 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17675 2011-07-10 Roland McGrath <roland@hack.frob.com>
17677 * csu/elf-init.c (__libc_csu_init): Comment typo.
17679 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17681 * po/pl.po: Update from translation team.
17682 * po/ja.po: Likewise.
17683 * po/ru.po: Likewise.
17684 * po/ko.po: Likewise.
17685 * po/fr.po: Likewise.
17687 2011-07-09 Roland McGrath <roland@hack.frob.com>
17689 * configure.in (.ctors/.dtors header and trailer check):
17690 Use an empirical test on a built program.
17691 * configure: Regenerated.
17693 * configure.in (-z relro check): Use an empirical test on a built DSO.
17694 Detect, but do not require, on ia64.
17695 * configure: Regenerated.
17697 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17698 Update tests that use readelf to use $READELF instead.
17699 * configure: Regenerated.
17701 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17703 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17704 if the result is not used.
17706 2011-07-05 Andreas Jaeger <aj@suse.de>
17709 * stdlib/tst-strtod.c: Add testcase.
17711 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17713 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17714 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17715 The latter has a higher limit. Take additional parameter to pass to
17717 (__pathconf): Pass file to __statfs_link_max.
17718 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17720 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17724 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17728 (__statfs_filesize_max): Likewise.
17729 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17731 2011-07-05 Andreas Jaeger <aj@suse.de>
17733 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17735 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17737 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17739 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17742 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17744 * Makefile (strop-tests): Add strncat.
17745 * string/test-strncat.c: New file.
17747 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17749 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17751 2011-06-21 Andreas Jaeger <aj@suse.de>
17753 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17754 Copy rule from iconvdata/Makefile.
17756 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17759 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17760 but no long options are defined, just return 'W'.
17762 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17765 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17767 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17769 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17771 (innetgr): Likewise.
17773 2011-07-05 Roland McGrath <roland@hack.frob.com>
17775 * config.make.in (install_root): Default to $(DESTDIR).
17777 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17781 2011-07-02 Roland McGrath <roland@hack.frob.com>
17783 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17785 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17786 containing directory rather than embedding absolute directory names.
17788 * scripts/check-local-headers.sh: Rewritten using awk.
17789 Match by word, not by line. Print error messages for matches.
17790 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17792 * Makerules [shlib-lds-flags empty]:
17793 ($(common-objpfx)libc_pic.opts): New target.
17794 ($(common-objpfx)libc_pic.os.clean): New target.
17795 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17797 * config.make.in (OBJCOPY): New variable.
17798 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17799 * configure: Regenerated.
17801 * config.make.in (use-default-link): New variable.
17802 * configure.in (use_default_link): Grok --with-default-link to set it.
17803 * configure: Regenerated.
17804 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17805 (shlib-lds, shlib-lds-flags): Define to empty.
17807 * Makerules (shlib-lds): New variable.
17808 (shlib-lds-flags): New variable.
17809 (build-shlib, build-moduile, build-module-asneeded): Use it.
17810 ($(common-objpfx)libc.so): Use $(shlib-lds).
17811 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17812 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17814 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17815 DT_FLAGS/DT_FLAGS_1 with zero flags.
17817 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17818 linker script munging.
17820 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17822 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17824 * crypt/sha512.c (sha512_process_block): Perform total addition using
17825 128-bit if possible.
17826 (__sha512_finish_ctx): Likewise.
17827 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17829 * crypt/sha256.c (SWAP64): Define.
17830 (sha256_process_block): Perform total addition using 64-bit if
17832 (__sha256_finish_ctx): Likewise.
17834 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17836 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17838 * nscd/hstcache.c (cache_addhst): Likewise.
17839 * nscd/grpcache.c (cache_addgr): Likewise.
17840 * nscd/aicache.c (addhstaiX): Likewise
17841 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17843 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17845 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17847 * nscd/hstcache.c (cache_addhst): Likewise.
17848 * nscd/grpcache.c (cache_addgr): Likewise.
17849 * nscd/aicache.c (addhstaiX): Likewise
17851 2011-07-01 Andreas Schwab <schwab@redhat.com>
17853 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17854 domain only when needed.
17856 2011-06-30 Andreas Schwab <schwab@redhat.com>
17858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17859 is always restored.
17861 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17863 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17864 are re-adding the entry.
17865 * nscd/servicescache.c (cache_addserv): Likewise.
17867 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17869 * sysdeps/generic/dl-irel.h: fix protection against multiple
17871 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17873 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17876 * malloc/memusage.sh: Fix quoting in message.
17877 * debug/xtrace.sh: Likewise.
17879 * configure.in: Remove support for --experimental-malloc option, make
17881 * config.make.in: Likewise.
17882 * malloc/Makefile: Likewise.
17884 2011-06-27 Andreas Schwab <schwab@redhat.com>
17886 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17887 two-byte characters.
17889 2011-06-27 Roland McGrath <roland@hack.frob.com>
17891 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17892 AC_CACHE_CHECK invocation.
17893 * configure: Regenerated.
17895 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17897 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17900 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17901 bit from old_res_options.
17903 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17905 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17906 value type for setfct.
17908 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17911 __gettimeofday instead of gettimeofday.
17913 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17915 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17917 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17924 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17927 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17928 strcpy-sse2-unaligned strncpy-sse2-unaligned
17929 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17930 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17931 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17932 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17933 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17934 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17935 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17936 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17937 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17938 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17939 (STRCPY): Support SSE2 and SSSE3 versions.
17941 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17944 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17945 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17946 kernels which artificially limit size of requests.
17948 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17951 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17952 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17953 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17954 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17955 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17956 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17957 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17958 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17960 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17961 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17962 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17963 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17964 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17966 Enable unaligned load optimization for Intel Core i3, i5 and i7
17968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17970 (index_Fast_Unaligned_Load): Define.
17971 (HAS_FAST_UNALIGNED_LOAD): Define.
17973 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17975 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17977 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17981 until it is clear that the information is realy needed.
17982 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17984 2011-06-22 Andreas Schwab <schwab@redhat.com>
17986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17988 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17991 /sys/devices/system/cpu/online if it is usable.
17993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17994 reading the information from the /proc filesystem to once a second.
17996 2011-06-21 Andreas Jaeger <aj@suse.de>
17998 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17999 NULL after inclusion of kernel headers.
18001 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18003 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18004 calls to internal_setent.
18007 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18008 addresses using gethostbyname4_r ignore IPv4 addresses.
18010 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18011 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18013 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18015 2011-06-20 David S. Miller <davem@davemloft.net>
18017 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18019 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18021 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18022 (elf_irel): Use it.
18023 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18024 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18025 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18026 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18027 * sysdeps/x86_64/dl-irel.h: Likewise.
18029 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18030 * elf/dl-sym.c: Likewise.
18032 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18034 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18035 need to dereference resplen2.
18037 2011-06-14 Andreas Schwab <schwab@redhat.com>
18039 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18041 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18043 * Makeconfig: Define vardbdir and inst_vardbdir.
18044 * nss/Makefile: Add rules to install db-Makefile.
18046 * nss/nss_db/db-XXX.c: Cleanup.
18048 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18049 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18051 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18052 * nss/makedb.c: Implement -g option to specify that value strings
18053 are generated and should not be added to table iterated over for
18055 * nss/nss_db/db-initgroups.c: New file.
18057 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18060 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18061 (internal_getgrouplist): Adjust to name change.
18062 Update use_initgroups_entry if this is not the first call.
18063 * nss/databases.def: Add initgroups entry.
18065 * nss/makedb.c (compute_tables): Check result of multiple hash table
18066 sizes to minimize maximum chain length.
18068 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18070 * Versions.def: Add entry for libnss_db.
18071 * shlib-versions: Likewise.
18072 * nss/Makefile: Add rules to build libnss_db.
18073 * nss/Versions: Add libnss_db information. Organize libnss_files
18075 * nss/db-Makefile: Add gshadow support. Change rules for the new
18076 makedb progra. Some minor improvements to generate smaller files.
18077 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18079 * nss/makedb.c: ...here.
18080 Improve database format to be smaller and require less memory at
18082 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18084 * nss/nss_db/db-netgrp.c: Likewise.
18085 * nss/nss_db/db-open.c: Likewise.
18086 * nss/nss_files/flies-XXX.x: Adjust comments.
18087 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18088 * nss/nss_files/files-grp.c: Likewise.
18089 * nss/nss_files/files-hosts.c: Likewise.
18090 * nss/nss_files/files-network.c: Likewise.
18091 * nss/nss_files/files-proto.c: Likewise.
18092 * nss/nss_files/files-pwd.c: Likewise.
18093 * nss/nss_files/files-rpc.c: Likewise.
18094 * nss/nss_files/files-service.c: Likewise.
18095 * nss/nss_files/files-sgrp.c: Likewise.
18096 * nss/nss_files/files-spwd.c: Likewise.
18097 * nss/nss_db/db-alias.c: Removed.
18098 * nss/nss_db/dummy-db.h: Removed.
18100 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18102 * nss/makedb.c: Rewritten to not use database library.
18103 * nss/Makefile: Update to build new makedb program.
18105 2011-06-14 Andreas Jaeger <aj@suse.de>
18107 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18108 memset declaration.
18110 2011-06-10 Andreas Schwab <schwab@redhat.com>
18112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18115 2011-06-10 Roland McGrath <roland@hack.frob.com>
18117 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18118 * elf/Makefile ($(objpfx)ld.so): Likewise.
18120 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18121 Don't list ld.so twice in dependencies.
18123 * posix/bug-regex31.c: Include <stdlib.h>.
18125 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18127 * nis/nss_compat/compat-spwd.c
18128 (getspent_next_nss_netgr): Remove unused variable.
18129 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18131 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18132 nonmembers" output to use the right array.
18134 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18136 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18138 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18139 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18140 * catgets/gencat.c (read_input_file): Likewise.
18141 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18143 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18144 variable definition inside #if's controlling its use.
18146 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18148 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18150 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18152 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18155 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18157 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18158 * configure: Regenerated.
18160 * Makerules: Revert last change.
18161 * elf/Makefile: Likewise.
18163 2011-06-09 Roland McGrath <roland@hack.frob.com>
18165 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18166 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18167 (reloc-link): Likewise.
18169 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18171 * elf/Makefile: Add rules to build pldd.
18172 * elf/pldd.c: New file.
18173 * elf/pldd-xx.c: New file.
18175 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18177 * version.h: Update for 2.15 development version.
18179 2011-06-07 David S. Miller <davem@davemloft.net>
18181 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18184 elf_machine_lazy_rel): Likewise.
18185 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18187 elf_machine_lazy_rel): Likewise.
18188 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18189 dl_hwcap via passed in argument.
18190 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18193 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18195 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18197 2011-06-06 Roland McGrath <roland@hack.frob.com>
18200 * manual/fdl-1.1.texi: New file, verbatim from:
18201 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18202 * manual/lgpl-2.1.texi: New file, verbatim from:
18203 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18204 * manual/Makefile (licenses): New variable, list those new file names.
18206 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18208 * manual/fdl.texi: File removed.
18209 * manual/lesser.texi: File removed.
18210 * manual/libc.texinfo (Copying, Documentation License):
18211 Use new @include file names, put @appendix directive before @include.
18213 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18216 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18217 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18218 (mq_open): Add __NTH.
18220 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18223 Assume Intel Core i3/i5/i7 processor if AVX is available.
18225 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18230 2011-05-31 Andreas Schwab <schwab@redhat.com>
18232 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18233 memory. Use alloca_account. Fix memory leak when retrying.
18235 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18237 * version.h (RELEASE): Bump for 2.14 release.
18238 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18240 * config.make.in (RANLIB): Remove entry.
18242 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18244 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18245 (libc.pot): Work around missing support for .ksh extension in xgettext.
18248 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18249 if both request failed.
18250 (send_dg): In case of server errors clear resplen or *resplen2.
18253 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18254 when there are multiple maps.
18255 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18256 (_dl_fini): Remove test here.
18258 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18260 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18263 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18264 bit from old_res_options.
18265 (gaih_inet): Likewise.
18268 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18271 * resolv/res_init.c (res_setoptions): Make the code more compact.
18274 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18278 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18280 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18283 * malloc/malloc.h: Declare malloc hook variables as volatile.
18285 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18289 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18290 raise in the comment.
18291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18293 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18295 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18298 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18299 grow the buffers more if it already has to be sufficient.
18300 (build_wcs_upper_buffer): Likewise.
18301 * posix/regexec.c (check_matching): Likewise.
18302 (clean_state_log_if_needed): Likewise.
18303 (extend_buffers): Don't enlarge buffers beyond size of the input
18305 Patches mostly by Emil Wojak <emil@wojak.eu>.
18306 * posix/bug-regex32.c: New file.
18307 * posix/Makefile (tests): Add bug-regex32.
18309 * locale/findlocale.c (_nl_find_locale): Return right away if
18310 _nl_explode_name failed.
18311 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18313 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18315 * debug/xtrace.sh: Unify messages.
18316 * malloc/memusage.sh: Likewise.
18319 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18320 time symbol from vDSO. Substitute with vsyscall if not available.
18321 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18324 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18325 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18326 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18327 Add sendmmsg and internal_sendmmsg.
18328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18329 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18330 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18332 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18333 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18334 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18336 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18340 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18346 * iconvdata/Makefile (tests): Add bug-iconv9.
18347 * iconvdata/bug-iconv9.c: New file.
18349 2011-05-27 Andreas Schwab <schwab@redhat.com>
18352 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18354 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18357 (struct user_regs_struct): Change intcs field back to cs.
18359 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18361 * po/ja.po: Update from translation team.
18363 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18366 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18367 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18369 2011-05-20 Andreas Schwab <schwab@redhat.com>
18371 * stdlib/longlong.h: Update from GCC.
18373 2011-05-23 Andreas Schwab <schwab@redhat.com>
18375 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18377 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18378 Add parameter name.
18379 (__sysconf): Pass it down.
18381 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18384 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18386 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18387 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18388 add in in __libc_use_alloca calls. Adjust callers.
18389 (glob): Use malloc in some situations.
18391 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18392 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18395 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18397 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18398 and CLOCK_BOOTTIME_ALARM.
18401 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18404 * string/_strerror.c (__strerror_r): Print negative errors as signed
18408 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18409 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18410 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18412 * configure.in: Fix typo in redirection and correct removal of test
18413 files in two cases.
18416 * locale/setlocale.c (new_composite_name): Fix test to check for
18417 identical name of all categories.
18420 * libio/filedoalloc.c (local_isatty): New function.
18421 (_IO_file_doallocate): Use local_isatty.
18422 * stdio-common/perror.c (perror): In case a new stream is used
18423 forward the stream error.
18424 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18427 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18432 * include/alloca.h (extend_alloca_account): Define.
18435 * posix/regex.h: Fix comments with documentation of user-accessible
18436 fields after compilation and describe correct free'ing of pattern
18437 after re_compile_pattern.
18438 Patch by Reuben Thomas <rrt@sc3d.org>.
18440 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18442 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18443 and -mno-altivec to prevent the compiler from using Altivec and/or
18444 VSX instructions when the corresponding registers are not available.
18446 2011-05-19 Andreas Schwab <schwab@redhat.com>
18448 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18450 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18452 * libio/freopen.c (freopen): Use __dup2, not dup2.
18453 * libio/freopen64.c (freopen64): Likewise.
18455 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18458 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18459 * math/Makefile (tests): Add test-powl.
18460 (CFLAGS-test-powl.c): Define.
18461 * math/test-powl.c: New file.
18463 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18465 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18467 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18470 * iconvdata/gb18030.c: Update to GB18020-2005.
18472 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18474 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18475 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18476 Patch by Aharon Robbins <arnold@skeeve.com>.
18479 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18483 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18484 through underflows.
18487 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18488 point to strings before performing equality test for error_one_per_line
18492 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18496 (struct user_fpregs_struct): Avoid __uint*_t types.
18499 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18500 symbol info. Use it instead of calling _dl_addr locally.
18501 (lock_and_info): New function.
18502 (tr_freehook): Call lock_and_info and pass symbol info as additional
18503 parameter to tr_where.
18504 (tr_mallochook): Likewise.
18505 (tr_reallochook): Likewise.
18506 (tr_memalignhook): Likewise.
18508 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18509 used and couldn't be at all thread-safe.
18511 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18513 * libio/freopen.c (freopen): Don't close old file descriptor
18514 before the new one is opened. Instead dup the new file descriptor
18515 to the old one after the new stream is created.
18516 * libio/freopen64.c (freopen64): Likewise.
18517 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18518 * libio/fileops.c (_IO_new_file_close_it): Handle new
18519 _IO_FLAGS2_NOCLOSE flag.
18520 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18521 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18522 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18523 _IO_FLAGS2_NOCLOSE flag.
18524 * include/unistd.h: Add hidden_proto for dup3.
18525 Define __have_dup3.
18526 * io/dup3.c: Define hidden symbol.
18527 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18530 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18531 when an incomplete long option is used.
18532 * posix/tst-getopt_long1.c: New file.
18533 * posix/Makefile (tests): Add tst-getopt_long1.
18536 * scripts/config.guess: Update from autoconf-2.68.
18537 * scripts/config.sub: Likewise.
18540 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18542 (has_cpuclock): ...this. New function.
18543 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18544 macro here based on has_cpuclock code.
18547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18548 First byte (not low byte) is now always NUL.
18549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18552 Use non-cancelable interfaces.
18555 * locale/iso-639.def: Add entry for Sorani.
18558 * include/stdlib.h: Move include protection to the right place.
18559 Define abort_msg_s. Declare __abort_msg with it.
18560 * stdlib/abort.c (__abort_msg): Adjust type.
18561 * assert/assert.c (__assert_fail_base): New function. Majority
18562 of code from __assert_fail. Allocate memory for __abort_msg with
18564 (__assert_fail): Now call __assert_fail_base.
18565 * assert/assert-perr.c: Remove bulk of implementation. Use
18566 __assert_fail_base.
18567 * include/assert.hL Declare __assert_fail_base.
18568 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18570 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18572 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18576 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18577 until all modules are registered in the DTV.
18578 * elf/Makefile: Add rules to build and run tst-tls19.
18579 * elf/tst-tls19.c: New file.
18580 * elf/tst-tls19mod1.c: New file.
18581 * elf/tst-tls19mod2.c: New file.
18582 * elf/tst-tls19mod3.c: New file.
18583 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18586 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18590 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18591 two-byte sequence errors.
18592 * iconvdata/Makefile (tests): Add bug-iconv8.
18593 * iconvdata/bug-iconv8.c: New file.
18596 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18599 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18602 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18603 (dummy_getcfa): New function.
18604 (init): Get _Unwind_GetCFA address, use dummy if not found.
18605 (backtrace_helper): In recursion check, also check whether CFA changes.
18606 (__backtrace): Completely initialize arg.
18608 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18609 storing incomplete byte sequence in state object. Avoid testing for
18610 guaranteed too small input if we know there is enough data available.
18612 2011-05-11 Andreas Schwab <schwab@redhat.com>
18614 * Makeconfig (+link-pie): Indent.
18615 * Rules (binaries-pie): Define if $(have-fpie) and
18617 (binaries-shared): Also filter out $(binaries-pie).
18618 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18619 * nscd/Makefile (others-pie): Add nscd.
18620 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18621 ($(objpfx)nscd): Remove command override.
18622 * login/Makefile (others-pie): Add pt_chown.
18623 ($(objpfx)pt_chown): Remove command override.
18624 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18625 remove command overrides.
18627 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18629 * libio/tst_putwc.c: Fix error messages.
18632 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18633 currently writing and seek to current position when not.
18634 * libio/Makefile (tests): Add bug-fclose1.
18635 * libio/bug-fclose1.c: New file.
18637 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18640 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18641 don't set DF_1_NODELETE here.
18642 (do_lookup_x): When entering new entry test for copy relocation
18643 and if necessary set DF_1_NODELETE flag.
18644 * elf/tst-unique4.cc: New file.
18645 * elf/tst-unique4.h: New file.
18646 * elf/tst-unique4lib.cc: New file.
18647 * elf/Makefile: Add rules to build and run tst-unique4.
18648 Patch by Piotr Bury <pbury@goahead.com>.
18650 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18653 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18656 * misc/mntent_r.c (addmntent): Flush the stream after the output
18659 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18660 (is_trusted_path_normalize): Skip initial colon. Append slash
18661 to empty buffer. Duplicate is_trusted_path code but allow
18662 constructed patch to be prefix.
18663 (is_dst): Allow $ORIGIN followed by /.
18664 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18665 Correct testing of result of is_trusted_path_normalize
18666 (decompose_rpath): Fix warning.
18668 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18671 * grp/initgroups.c (internal_getgrouplist): When we found the service
18672 list through the initgroups entry in nsswitch.conf do not always
18673 continue on a successful lookup. Don't always use the
18674 __nss_group_database value if it is set.
18675 * nss/nsswitch.conf (initgroups): Change action for successful db
18676 lookup to continue for compatibility.
18678 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18681 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18683 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18685 * iconvdata/tst-tables.sh: Likewise.
18686 * iconvdata/cp770.c: New file.
18687 * iconvdata/cp771.c: New file.
18688 * iconvdata/cp772.c: New file.
18689 * iconvdata/cp773.c: New file.
18690 * iconvdata/cp774.c: New file.
18691 * iconvdata/testdata/CP770: New file.
18692 * iconvdata/testdata/CP770..UTF8: New file.
18693 * iconvdata/testdata/CP771: New file.
18694 * iconvdata/testdata/CP771..UTF8: New file.
18695 * iconvdata/testdata/CP772: New file.
18696 * iconvdata/testdata/CP772..UTF8: New file.
18697 * iconvdata/testdata/CP773: New file.
18698 * iconvdata/testdata/CP773..UTF8: New file.
18699 * iconvdata/testdata/CP774: New file.
18700 * iconvdata/testdata/CP774..UTF8: New file.
18702 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18704 * iconvdata/gen-8bit-gap.sh: Likewise.
18705 * iconvdata/gen-8bit.sh: Likewise.
18707 * locale/iso-639.def: Add ary entry.
18710 * locale/C-translit.h.in: Add U20A1 transliteration.
18713 * locale/iso-639.def: Add wae entry.
18714 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18717 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18721 * locale/C-translit.h.in: Add entry for U20B9.
18722 Patch by pravin.d.s@gmail.com.
18724 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18727 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18728 ENAMETOOLONG use generic getcwd.
18729 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18730 in rtld. Use *stat64.
18731 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18732 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18733 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18734 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18735 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18736 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18737 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18738 __fstatat64 macros.
18739 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18740 * dirent/rewinddir.c: Add libc_hidden_def.
18741 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18742 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18744 * include/dirent.h (__alloc_dir): Add flags parameter.
18745 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18746 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18748 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18749 from fdopendir if O_CLOEXEC is already set.
18751 2011-03-15 Alan Modra <amodra@gmail.com>
18753 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18754 l_tls_firstbyte_offset non-zero. Save padding offset in
18755 l_tls_firstbyte_offset for later use.
18756 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18757 freeing static tls block.
18759 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18761 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18762 where #ifdef was intended. The intent is to prevent ARG_MAX from
18763 being defined by the kernel headers.
18765 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18768 * resolv/resolv.h: Define RES_NOTLDQUERY.
18769 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18770 no-tld-query and set RES_NOTLDQUERY.
18771 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18772 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18773 modern BIND to search name as TLD unless forbidden.
18775 2011-05-07 Petr Baudis <pasky@suse.cz>
18776 Ulrich Drepper <drepper@gmail.com>
18779 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18780 (is_trusted_path): ...to here.
18781 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18782 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18783 using is_trusted_path_normalize() in setuid scripts.
18785 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18787 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18788 __BEGIN/__END_DECLS.
18790 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18793 NSS_STATUS_NOTFOUND if no record was found.
18795 2011-05-05 Andreas Schwab <schwab@redhat.com>
18797 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18798 (headers-not-in-tirpc): Remove rpc/netdb.h
18799 * resolv/netdb.h: Revert last change.
18801 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18803 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18804 circular dependency between libgcc.a and libc.a.
18806 2011-05-05 Andreas Schwab <schwab@redhat.com>
18808 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18809 * nis/Makefile: Don't install rpcsvc/*.
18810 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18811 instead of <rpc/types.h>.
18812 (MAXHOSTNAMELEN): Define.
18814 2011-05-03 Andreas Schwab <schwab@redhat.com>
18816 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18818 2011-04-28 Maciej Babinski <mbabinski@google.com>
18821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18822 gethostbyname4_r when IPv6 results are possible.
18824 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18827 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18828 _PC_PIPE_BUF handling.
18830 2011-04-30 Bruno Haible <bruno@clisp.org>
18833 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18834 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18836 * inet/getnameinfo.c (getnameinfo): Likewise.
18838 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18840 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18841 to groups setting in database lookup.
18842 * nss/nsswitch.conf: Add initgroups entry.
18844 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18847 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18849 Patch by Eric Blake <eblake@redhat.com>.
18851 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18853 * sunrpc/Makefile (need-export-routines): Add svc_run.
18854 (routines): Remove svc_run.
18855 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18856 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18857 * sunrpc/svc_run.c (svc_run): Likewise.
18858 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18860 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18863 problem in reallocation in last patch.
18865 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18867 * sunrpc/Makefile: Move inclusion of Rules.
18869 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18871 * nss/nss_files/files-initgroups.c: New file.
18872 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18873 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18874 _nss_files_initgroups_dyn.
18876 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18878 * elf/elf.h (R_ARM_IRELATIVE): Define.
18880 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18882 * po/ru.po: Update from translation team.
18884 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18886 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18889 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18893 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18898 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18902 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18906 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18909 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18911 * stdlib/bug-getcontext.c: New file.
18912 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18914 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18916 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18917 instructions into .machine "z9-109".
18918 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18919 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18921 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18923 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18924 between environment variables and auxiliary vector.
18926 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18928 * Makefile: Add rules to build linkobj/libc.so.
18929 * include/libc-symbols.h: Define libc_hidden_nolink.
18930 * include/rpc/auth.h: Mark functions which are to be hidden.
18931 * include/rpc/auth_des.h: Likewise.
18932 * include/rpc/auth_unix.h: Likewise.
18933 * include/rpc/clnt.h: Likewise.
18934 * include/rpc/des_crypt.h: Likewise.
18935 * include/rpc/key_prot.h: Likewise.
18936 * include/rpc/pmap_clnt.h: Likewise.
18937 * include/rpc/pmap_prot.h: Likewise.
18938 * include/rpc/pmap_rmt.h: Likewise.
18939 * include/rpc/rpc_msg.h: Likewise.
18940 * include/rpc/svc.h: Likewise.
18941 * include/rpc/svc_auth.h: Likewise.
18942 * include/rpc/xdr.h: Likewise.
18943 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18944 * nss/Makefile: Likewise.
18945 * sunrpc/Makefile: Don't install headers. Build library with normal
18946 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18947 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18948 for the compat linking library. Remove use of INTDEF/INTUSE.
18949 * sunrpc/auth_none.c: Likewise.
18950 * sunrpc/auth_unix.c: Likewise.
18951 * sunrpc/authdes_prot.c: Likewise.
18952 * sunrpc/authuxprot.c: Likewise.
18953 * sunrpc/clnt_gen.c: Likewise.
18954 * sunrpc/clnt_perr.c: Likewise.
18955 * sunrpc/clnt_raw.c: Likewise.
18956 * sunrpc/clnt_simp.c: Likewise.
18957 * sunrpc/clnt_tcp.c: Likewise.
18958 * sunrpc/clnt_udp.c: Likewise.
18959 * sunrpc/clnt_unix.c: Likewise.
18960 * sunrpc/des_crypt.c: Likewise.
18961 * sunrpc/des_soft.c: Likewise.
18962 * sunrpc/get_myaddr.c: Likewise.
18963 * sunrpc/key_call.c: Likewise.
18964 * sunrpc/key_prot.c: Likewise.
18965 * sunrpc/netname.c: Likewise.
18966 * sunrpc/pm_getmaps.c: Likewise.
18967 * sunrpc/pm_getport.c: Likewise.
18968 * sunrpc/pmap_clnt.c: Likewise.
18969 * sunrpc/pmap_prot.c: Likewise.
18970 * sunrpc/pmap_prot2.c: Likewise.
18971 * sunrpc/pmap_rmt.c: Likewise.
18972 * sunrpc/publickey.c: Likewise.
18973 * sunrpc/rpc_cmsg.c: Likewise.
18974 * sunrpc/rpc_common.c: Likewise.
18975 * sunrpc/rpc_dtable.c: Likewise.
18976 * sunrpc/rpc_prot.c: Likewise.
18977 * sunrpc/rpc_thread.c: Likewise.
18978 * sunrpc/rtime.c: Likewise.
18979 * sunrpc/svc.c: Likewise.
18980 * sunrpc/svc_auth.c: Likewise.
18981 * sunrpc/svc_authux.c: Likewise.
18982 * sunrpc/svc_raw.c: Likewise.
18983 * sunrpc/svc_run.c: Likewise.
18984 * sunrpc/svc_simple.c: Likewise.
18985 * sunrpc/svc_tcp.c: Likewise.
18986 * sunrpc/svc_udp.c: Likewise.
18987 * sunrpc/svc_unix.c: Likewise.
18988 * sunrpc/svcauth_des.c: Likewise.
18989 * sunrpc/xcrypt.c: Likewise.
18990 * sunrpc/xdr.c: Likewise.
18991 * sunrpc/xdr_array.c: Likewise.
18992 * sunrpc/xdr_float.c: Likewise.
18993 * sunrpc/xdr_intXX_t.c: Likewise.
18994 * sunrpc/xdr_mem.c: Likewise.
18995 * sunrpc/xdr_rec.c: Likewise.
18996 * sunrpc/xdr_ref.c: Likewise.
18997 * sunrpc/xdr_sizeof.c: Likewise.
18998 * sunrpc/xdr_stdio.c: Likewise.
19000 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19003 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19004 * sysdeps/ia64/dl-tls.h: Likewise.
19005 * sysdeps/powerpc/dl-tls.h: Likewise.
19006 * sysdeps/s390/dl-tls.h: Likewise.
19007 * sysdeps/sh/dl-tls.h: Likewise.
19008 * sysdeps/sparc/dl-tls.h: Likewise.
19009 * sysdeps/x86_64/dl-tls.h: Likewise.
19010 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19012 2011-03-14 Andreas Schwab <schwab@redhat.com>
19014 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19015 rpath element also skip the following colon.
19016 (expand_dynamic_string_token): Add is_path parameter and pass
19017 down to DL_DST_REQUIRED and _dl_dst_substitute.
19018 (decompose_rpath): Call expand_dynamic_string_token with
19019 non-zero is_path. Ignore empty rpaths.
19020 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19023 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19028 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19031 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19032 Patch by Filipe David Manana <fdmanana@apache.org>.
19034 2011-04-07 Andreas Schwab <schwab@redhat.com>
19036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19037 Maintain aligned stack.
19038 (CHECK_RSP): Remove unused macro.
19040 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19042 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19045 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19047 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19049 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19051 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19054 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19055 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19056 * sysdeps/x86_64/memmove.c: New file.
19057 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19058 (memcpy): Renamed to ...
19059 (__new_memcpy): This.
19060 (memcpy): Provide GLIBC_2_14 memcpy.
19061 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19062 (memcpy): Provide GLIBC_2_2_5 memcpy.
19064 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19067 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19069 2011-03-30 Andreas Schwab <schwab@redhat.com>
19071 * misc/syncfs.c: New file.
19072 * misc/Makefile (routines): Add syncfs.
19073 * posix/unistd.h: Declare syncfs.
19074 * sysdeps/unix/syscalls.list: Add syncfs.
19076 2011-04-01 Andreas Schwab <schwab@redhat.com>
19078 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19085 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19088 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19094 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19098 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19099 sync_file_range.c with -fexceptions.
19100 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19101 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19102 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19103 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19105 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19107 sync_file_range as cancellation point
19108 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19109 now a wrapper around __call_sync_file_range with cancellation handling.
19110 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19111 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19112 function name to __call_sync_file_range.
19113 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19114 Add call_sync_file_range.
19116 2011-04-01 Andreas Schwab <schwab@redhat.com>
19118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19121 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19123 * iconv/iconv.h: Fix typo in comment.
19124 * io/fcntl.h: Likewise.
19125 * libio/stdio.h: Likewise.
19126 * posix/spawn.h: Likewise.
19127 * posix/unistd.h: Likewise.
19128 * stdlib/stdlib.h: Likewise.
19129 * time/time.h: Likewise.
19130 * wcsmbs/wchar.h: Likewise.
19132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19133 open_by_handle): Add.
19134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19135 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19136 Augment a few comments.
19137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19142 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19145 * io/fcntl.h (AT_EMPTY_PATH): Define.
19147 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19149 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19150 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19151 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19153 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19154 * Versions.def: Add GLIBC_2.14.
19155 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19158 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19164 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19167 * string/test-strncmp.c (do_page_test): New function.
19168 (check2): Likewise.
19169 (test_main): Call check2.
19170 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19172 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19175 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19176 Handle cache information in CPU leaf 4.
19177 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19179 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19182 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19183 character representation.
19184 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19186 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19188 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19189 END(__isnan) to END(__isnanf) to match function entry point/label
19190 EALIGN(__isnanf,...).
19192 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19194 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19196 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19199 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19200 copy from the symbol referenced in the relocation to initialize the
19202 Patch by Piotr Bury <pbury@goahead.com>.
19203 * elf/Makefile: Add rules to build and tst-unique3.
19204 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19205 * elf/tst-unique3.cc: New file.
19206 * elf/tst-unique3.h: New file.
19207 * elf/tst-unique3lib.cc: New file.
19208 * elf/tst-unique3lib2.cc: New file.
19210 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19212 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19214 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19215 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19218 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19220 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19221 to-be-loaded object along a path to loader is ld.so.
19223 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19224 Ulrich Drepper <drepper@gmail.com>
19226 * sysdeps/x86_64/memset.S: After aligning destination, code
19227 branches to different locations depending on the value of
19228 misalignment, when multiarch is enabled. Fix this.
19230 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19232 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19233 Set _x86_64_preferred_memory_instruction for AMD processsors.
19234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19235 Set bit_Prefer_SSE_for_memop for AMD processors.
19237 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19239 * libio/fmemopen.c (fmemopen): Optimize a bit.
19241 2011-03-03 Andreas Schwab <schwab@redhat.com>
19243 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19245 2011-03-03 Roland McGrath <roland@redhat.com>
19247 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19249 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19251 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19252 __bzero_ultra1 instead of __memset_ultra1.
19254 2011-02-23 Andreas Schwab <schwab@redhat.com>
19255 Ulrich Drepper <drepper@gmail.com>
19258 * include/link.h (struct link_map): Add l_orig_initfini.
19259 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19260 returning unsuccessfully.
19261 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19262 close of a file loaded at startup, restore the original l_initfini
19264 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19265 list, store the pointer.
19266 * elf/Makefile ($(objpfx)noload-mem): New rule.
19267 (noload-ENV): Define.
19268 (tests): Add $(objpfx)noload-mem.
19269 * elf/noload.c: Include <memcheck.h>.
19270 (main): Call mtrace. Close all opened handles.
19272 2011-02-17 Andreas Schwab <schwab@redhat.com>
19275 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19276 dependencies are missing.
19278 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19280 Fix __if_freereq crash: Unlike the generic version which uses free,
19282 * sysdeps/mach/hurd/ifreq.h: New file.
19284 2011-01-27 Petr Baudis <pasky@suse.cz>
19285 Ulrich Drepper <drepper@gmail.com>
19288 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19289 to extend_alloca().
19290 * stdio-common/bug23.c: New file.
19291 * stdio-common/Makefile (tests): Add bug23.
19293 2010-09-28 Andreas Schwab <schwab@redhat.com>
19294 Ulrich Drepper <drepper@gmail.com>
19297 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19298 before performing relro protection. At old place add assertion
19299 to make sure nothing changed.
19301 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19302 Glauber de Oliveira Costa <glommer@gmail.com>
19304 * elf/elf.h: Add new ARM TLS relocs.
19306 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19309 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19311 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19313 * sysdeps/wordsize-64/tst-writev.c: New file.
19315 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19317 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19318 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19319 insns in _dl_start to prevent a TOC reference before relocs are
19322 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19325 * Makeconfig: Remove RANLIB definition.
19326 * Makerules: Don't use RANLIB.
19327 * aclocal.m4: Remove ranlib test.
19328 * configure.in: No need to check for ranlib.
19329 * elf/rtld-Rules: Don't use RANLIB.
19331 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19333 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19335 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19336 inclusion protection macro.
19338 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19339 SIGRTMIN and SIGRTMAX and print information in that case only when
19340 SIGRTMIN is defined.
19342 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19344 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19345 arginfo fn returning -1.
19347 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19348 and thousands string is zero terminated.
19350 2011-02-03 Andreas Schwab <schwab@redhat.com>
19352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19353 sysdeps/unix/sysv/linux/bits/socket.h.
19355 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19357 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19358 (__CPU_COUNT): Remove old macros.
19359 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19360 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19361 (__CPU_ALLOC, __CPU_FREE): Add macros.
19362 (__sched_cpualloc, __sched_cpufree): Add declarations.
19364 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19366 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19367 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19368 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19369 (readdhstai): Return value of addhstaiX call.
19370 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19371 (addgrbyX): Return value returned by cache_addgr.
19372 (readdgrbyname): Return value returned by addgrbyX.
19373 (readdgrbygid): Likewise.
19374 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19375 (addpwbyX): Return value returned by cache_addpw.
19376 (readdpwbyname): Return value returned by addhstbyX.
19377 (readdpwbyuid): Likewise.
19378 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19379 (addservbyX): Return value returned by cache_addserv.
19380 (readdservbyname): Return value returned by addservbyX:
19381 (readdservbyport): Likewise.
19382 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19383 (addhstbyX): Return value returned by cache_addhst.
19384 (readdhstbyname): Return value returned by addhstbyX.
19385 (readdhstbyaddr): Likewise.
19386 (readdhstbynamev6): Likewise.
19387 (readdhstbyaddrv6): Likewise.
19388 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19389 (readdinitgroups): Return value returned by addinitgroupsX.
19390 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19391 (prune_cache): Keep track of timeout value of re-added entries.
19392 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19393 * nscd/nscd.h: Adjust prototypes of readd* functions.
19395 2011-02-04 Roland McGrath <roland@redhat.com>
19397 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19398 (nis_stats): Likewise.
19399 * nis/nis_modify.c (nis_modify): Likewise.
19400 * nis/nis_remove.c (nis_remove): Likewise.
19401 * nis/nis_add.c (nis_add): Likewise.
19403 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19405 * posix/fnmatch_loop.c: Add some consts.
19407 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19409 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19412 * config.make.in (config-cflags-novzeroupper): Define.
19413 * configure.in: Substitute libc_cv_cc_novzeroupper.
19414 * elf/Makefile (AVX-CFLAGS): Define.
19415 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19416 (CFLAGS-tst-auditmod4a.c): Likewise.
19417 (CFLAGS-tst-auditmod4b.c): Likewise.
19418 (CFLAGS-tst-auditmod6b.c): Likewise.
19419 (CFLAGS-tst-auditmod6c.c): Likewise.
19420 (CFLAGS-tst-auditmod7b.c): Likewise.
19421 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19423 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19425 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19426 function to the callback.
19427 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19429 2011-02-02 Andreas Schwab <schwab@redhat.com>
19431 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19434 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19437 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19439 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19441 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19444 * elf/Makefile: Add rules to build and run new test.
19445 * elf/tst-initorder.c: New file.
19446 * elf/tst-initorder.exp: New file.
19447 * elf/tst-initordera1.c: New file.
19448 * elf/tst-initordera2.c: New file.
19449 * elf/tst-initordera3.c: New file.
19450 * elf/tst-initordera4.c: New file.
19451 * elf/tst-initorderb1.c: New file.
19452 * elf/tst-initorderb2.c: New file.
19453 * elf/tst-order-a1.c: New file.
19454 * elf/tst-order-a2.c: New file.
19455 * elf/tst-order-a3.c: New file.
19456 * elf/tst-order-a4.c: New file.
19457 * elf/tst-order-b1.c: New file.
19458 * elf/tst-order-b2.c: New file.
19459 * elf/tst-order-main.c: New file.
19460 New test case by George Gensure <werkt0@gmail.com>.
19462 2010-10-01 Andreas Schwab <schwab@redhat.com>
19464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19465 decoding ACE if AI_CANONIDN.
19467 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19469 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19471 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19473 * version.h (RELEASE): Bump for 2.13 release.
19474 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19476 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19480 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19485 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19487 * posix/getconf.c: Update copyright year.
19488 * catgets/gencat.c: Likewise.
19489 * csu/version.c: Likewise.
19490 * debug/catchsegv.sh: Likewise.
19491 * debug/xtrace.sh: Likewise.
19492 * elf/ldconfig.c: Likewise.
19493 * elf/ldd.bash.in: Likewise.
19494 * elf/sprof.c (print_version): Likewise.
19495 * iconv/iconv_prog.c: Likewise.
19496 * iconv/iconvconfig.c: Likewise.
19497 * locale/programs/locale.c: Likewise.
19498 * locale/programs/localedef.c: Likewise.
19499 * malloc/memusage.sh: Likewise.
19500 * malloc/mtrace.pl: Likewise.
19501 * nscd/nscd.c (print_version): Likewise.
19502 * nss/getent.c: Likewise.
19504 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19505 PF_CAIF, and PF_ALG.
19506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19508 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19510 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19511 (modules-names): Use them.
19512 (ifunc-test-modules, ifunc-pie-tests): Define.
19513 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19514 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19515 (test-extras): Likewise.
19516 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19517 $(compile-command.c).
19518 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19519 (all-built-dso): Define.
19520 (check-textrel.out, check-execstack.out): Depend on it.
19522 * configure.in: Don't override --enable-multi-arch.
19524 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19527 * nscd/hstcache.c (tryagain): Define.
19528 (cache_addhst): Return tryagain not notfound for temporary errors.
19529 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19532 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19536 to make the syscall.
19537 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19540 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19541 and fall back to matching as normal character if the string ends before
19542 the matching ']' is found. This is what POSIX requires.
19543 * posix/testfnm.c: Adjust test result.
19544 * posix/globtest.sh: Adjust test result. Add new test.
19545 * posix/tst-fnmatch.input: Likewise.
19546 * posix/tst-fnmatch2.c: Add new test.
19548 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19550 * elf/Makefile (check-execstack): Revert last change. Depend on
19552 (check-execstack.h): New target.
19553 (generated): Add check-execstack.h.
19554 * elf/check-execstack.c: Include "check-execstack.h".
19555 (main): Revert last change.
19556 (handle_file): Return zero if GNU_STACK is absent and
19557 DEFAULT_STACK_PERMS doesn't include PF_X.
19559 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19561 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19562 in child fails because the descriptor is already closed.
19563 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19564 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19565 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19568 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19572 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19573 temporary buffer used to handle multi lookups locally.
19574 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19576 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19578 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19581 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19583 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19584 alignment for SSE2.
19586 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19589 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19590 characters. When rounding increased number of integer digits recompute
19592 * stdio-common/tst-grouping.c: New file.
19593 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19595 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19597 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19598 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19600 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19602 * bits/select.h: Likewise.
19604 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19606 * po/ja.po: Update from translation team.
19608 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19611 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19612 implementation just like for lxstat, fxstatat, et al.
19614 2010-12-27 Jim Meyering <meyering@redhat.com>
19617 * posix/regexec.c (build_trtable): Return failure indication upon
19618 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19620 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19623 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19624 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19625 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19629 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19632 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19633 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19635 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19637 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19638 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19639 script has SORT_BY_INIT_PRIORITY.
19640 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19641 NO_CTORS_DTORS_SECTIONS is defined.
19642 * elf/soinit.c: Likewise.
19643 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19644 NO_CTORS_DTORS_SECTIONS is defined.
19645 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19646 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19647 * sysdeps/sh/init-first.c: Likewise.
19648 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19650 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19652 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19653 always use the slow path.
19655 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19657 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19658 similar rule which adds the sysdep directories to the header search in
19659 order to pick up the correct platform stackinfo.h.
19660 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19661 perform test if it is, otherwise return successfully without testing.
19662 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19663 DEFAULT_STACK_PERMS define in stackinfo.h.
19664 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19665 defined in stackinfo.h.
19666 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19667 DEFAULT_STACK_PERMS defined in stackinfo.h.
19668 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19669 * sysdeps/ia64/stackinfo.h: Likewise.
19670 * sysdeps/s390/stackinfo.h: Likewise.
19671 * sysdeps/sh/stackinfo.h: Likewise.
19672 * sysdeps/sparc/stackinfo.h: Likewise.
19673 * sysdeps/x86_64/stackinfo.h: Likewise.
19674 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19675 PF_X for powerpc64. Retain PF_X for powerpc32.
19677 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19679 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19681 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19682 GETDENTS_64BIT_ALIGNED.
19684 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19686 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19688 2010-12-10 Andreas Schwab <schwab@redhat.com>
19690 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19693 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19694 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19696 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19697 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19699 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19702 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19705 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19707 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19709 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19711 * po/it.po: Update from translation team.
19713 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19718 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19720 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19722 2010-11-24 Andreas Schwab <schwab@redhat.com>
19724 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19726 (gaih_getanswer_slice): Likewise.
19728 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19732 2010-05-31 Petr Baudis <pasky@suse.cz>
19735 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19736 silently even in the chroot mode.
19738 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19740 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19741 last patch a bit. Pretty printing
19743 2010-05-31 Petr Baudis <pasky@suse.cz>
19746 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19747 initialization of skip_initgroups_dyn.
19749 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19751 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19754 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19756 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19758 2010-11-11 Andreas Schwab <schwab@redhat.com>
19760 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19761 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19762 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19763 ($(objpfx)tst-fnmatch-mem): New rule.
19764 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19765 * posix/tst-fnmatch.c (main): Call mtrace.
19767 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19770 Support Intel processor model 6 and model 0x2c.
19772 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19777 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19780 * string/test-strncasecmp.c (check_result): New function.
19781 (do_one_test): Use it.
19782 (check1): New function.
19783 (test_main): Use it.
19784 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19785 Support strcasecmp and strncasecmp.
19787 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19790 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19791 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19793 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19795 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19799 * sysdeps/x86_64/multiarch/bzero.S: New file.
19800 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19801 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19802 * sysdeps/x86_64/multiarch/memset.S: New file.
19803 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19805 Set bit_Prefer_SSE_for_memop for Intel processors.
19806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19808 (index_Prefer_SSE_for_memop): Define.
19809 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19811 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19813 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19814 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19816 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19819 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19820 (__x86_64_raw_data_cache_size_half): Likewise.
19821 (__x86_64_raw_shared_cache_size): Likewise.
19822 (__x86_64_raw_shared_cache_size_half): Likewise.
19824 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19825 (__x86_64_raw_data_cache_size_half): Likewise.
19826 (__x86_64_raw_shared_cache_size): Likewise.
19827 (__x86_64_raw_shared_cache_size_half): Likewise.
19828 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19829 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19830 and __x86_64_raw_shared_cache_size_half. Round
19831 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19832 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19833 to multiple of 256 bytes.
19835 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19839 of inacessible symlinks. Verify result of symlink before returning it.
19840 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19841 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19843 2010-10-28 Erich Ritz <erichritz@gmail.com>
19845 * math/math.h (isinf): Fix typo in comment.
19847 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19849 * po/da.po: Update from translation team.
19851 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19853 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19854 is added to the list.
19856 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19857 Ulrich Drepper <drepper@gmail.com>
19859 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19860 the global list here. Move code to...
19861 (_dl_add_to_namespace_list): ...here. New function.
19862 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19863 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19864 * elf/dl-load.c (lose): Don't remove the element from the list.
19865 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19866 (_dl_map_object): Likewise.
19868 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19871 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19872 into all bytes of SSE register.
19873 Patch by Richard Li <richardpku@gmail.com>.
19875 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19878 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19881 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19883 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19884 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19885 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19886 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19891 2010-10-22 Andreas Schwab <schwab@redhat.com>
19893 * include/dlfcn.h (__RTLD_SECURE): Define.
19894 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19895 mode & __RTLD_SECURE instead.
19896 (open_path): Rename preloaded parameter to secure.
19897 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19898 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19899 * elf/dl-deps.c (openaux): Likewise.
19900 * elf/rtld.c (struct map_args): Remove is_preloaded.
19901 (map_doit): Don't use it.
19902 (dl_main): Likewise.
19903 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19904 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19906 2010-09-09 Andreas Schwab <schwab@redhat.com>
19908 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19909 (sysd-rules-targets): Remove duplicates.
19910 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19911 rtld-%.$o dependency.
19913 2010-10-18 Andreas Schwab <schwab@redhat.com>
19915 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19916 _dl_map_object do it.
19918 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19920 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19921 fast fma builtins, define the macros in the C99 standard.
19922 (FP_FAST_FMAF): Likewise.
19923 (FP_FAST_FMAL): Likewise.
19924 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19926 * bits/mathdef.h: Update copyright year.
19927 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19929 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19931 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19932 builtins, define the macros in the C99 standard.
19933 (FP_FAST_FMAF): Likewise.
19934 (FP_FAST_FMAL): Likewise.
19935 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19937 (FP_FAST_FMAF): Likewise.
19939 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19942 * math/libm-test.inc (fma_test): Some new testcases.
19943 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19945 y and infinite z. Do multiplication by C already in long double.
19946 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19948 y and infinite z. Do bitwise or of inexact bit into u.d.
19949 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19950 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19951 * sysdeps/i386/fpu/s_fma.S: Removed.
19952 * sysdeps/i386/fpu/s_fmal.S: Removed.
19954 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19957 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19959 computation is not scheduled after fetestexcept. Fix value
19960 of minimum denormal long double.
19962 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19965 * math/libm-test.inc (fma_test): Add some more tests.
19966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19969 2010-10-15 Andreas Schwab <schwab@redhat.com>
19971 * scripts/data/localplt-s390-linux-gnu.data: New file.
19972 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19974 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19977 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19978 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19980 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19982 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19984 if one of x and y is very large and the other is subnormal.
19985 * sysdeps/s390/fpu/s_fmaf.c: New file.
19986 * sysdeps/s390/fpu/s_fma.c: New file.
19987 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19988 * sysdeps/powerpc/fpu/s_fma.S: New file.
19989 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19990 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19991 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19993 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19996 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19998 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19999 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20000 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20001 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20002 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20003 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20006 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20009 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20010 * posix/bug-regex31.input: Add test case.
20012 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20014 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20015 * posix/bug-regex31.input: New file.
20018 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20019 (parse_sub_exp): Fix last change, use postorder.
20021 * posix/bug-regex31.c: New file.
20022 * posix/Makefile: Add rules to build and run bug-regex31.
20024 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20027 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20030 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20031 to have entries in sys_siglist.
20034 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20037 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20040 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20041 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20042 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20043 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20044 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20045 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20046 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20047 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20048 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20049 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20050 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20051 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20052 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20053 * math/ftestexcept.c (fetestexcept): Likewise.
20054 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20055 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20056 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20057 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20058 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20059 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20062 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20065 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20068 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20070 * string/bug-strstr1.c: New file.
20071 * string/Makefile: Add rules to build and run bug-strstr1.
20073 2010-10-05 Eric Blake <eblake@redhat.com>
20076 * string/str-two-way.h (two_way_long_needle): Always clear memory
20077 when skipping input due to the shift table.
20079 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20082 * malloc/mcheck.c: Handle large requests.
20085 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20086 for strncmp and strncasecmp.
20087 * string/stratcliff.c: Add tests for strcmp and strncmp.
20088 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20090 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20092 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20095 2010-09-30 Andreas Jaeger <aj@suse.de>
20097 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20098 (CGROUP_SUPER_MAGIC): Define.
20099 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20100 Handle btrfs and cgroup file systems.
20101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20104 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20106 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20107 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20109 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20112 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20113 trying to locate the ELF header.
20115 2010-09-27 Andreas Schwab <schwab@redhat.com>
20118 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20119 Mask out sign-bit copies when constructing f_fsid.
20121 2010-09-24 Petr Baudis <pasky@suse.cz>
20123 * debug/stack_chk_fail_local.c: Add missing licence exception.
20124 * debug/warning-nop.c: Likewise.
20126 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20128 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20129 implementing getdents64 using getdents syscall, set d_type if
20130 __ASSUME_GETDENTS32_D_TYPE.
20132 2010-09-16 Andreas Schwab <schwab@redhat.com>
20134 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20135 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20137 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20140 * posix/unistd.h: Undo change of feature selection for ftruncate from
20143 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20145 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20148 2010-09-20 Andreas Schwab <schwab@redhat.com>
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20152 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20154 2010-09-14 Andreas Schwab <schwab@redhat.com>
20156 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20157 variables after CHECK_SP call.
20158 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20160 2010-09-13 Andreas Schwab <schwab@redhat.com>
20161 Ulrich Drepper <drepper@redhat.com>
20163 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20164 re-relocationg ld.so.
20165 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20166 _dl_init_paths call.
20167 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20170 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20172 * resolv/res_init.c (__res_vinit): Count the default server we added.
20174 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20175 Ulrich Drepper <drepper@redhat.com>
20178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20179 (____longjmp_chk): Use %ebx for saving value across system call.
20182 2010-09-06 Andreas Schwab <schwab@redhat.com>
20184 * manual/Makefile: Don't mix pattern rules with normal rules.
20186 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20188 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20190 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20191 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20192 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20193 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20197 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20200 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20201 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20203 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20205 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20206 * sysdeps/x86_64/addmul_1.S: Likewise.
20207 * sysdeps/x86_64/lshift.S: Likewise.
20208 * sysdeps/x86_64/mul_1.S: Likewise.
20209 * sysdeps/x86_64/rshift.S: Likewise.
20210 * sysdeps/x86_64/sub_n.S: Likewise.
20211 * sysdeps/x86_64/submul_1.S: Likewise.
20213 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20215 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20216 Define __sched_param instead of SCHED_* and sched_param when
20217 <bits/sched.h> is included with __need_schedparam defined.
20218 * bits/sched.h [__need_schedparam]
20219 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20220 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20221 (__defined_schedparam): Define to 1.
20222 (__sched_param): New structure, identical to sched_param.
20223 (__need_schedparam): Undefine.
20225 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20227 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20228 (epoll_create1): Declare.
20230 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20232 2010-08-31 Andreas Schwab <schwab@redhat.com>
20235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20236 shifting retval into place.
20238 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20240 * nis/rpcsvc/nis.h: Update copyright notice.
20241 * nis/rpcsvc/nis.x: Likewise.
20242 * nis/rpcsvc/nis_callback.h: Likewise.
20243 * nis/rpcsvc/nis_callback.x: Likewise.
20244 * nis/rpcsvc/nis_object.x: Likewise.
20245 * nis/rpcsvc/nis_tags.h: Likewise.
20246 * nis/rpcsvc/yp.h: Likewise.
20247 * nis/rpcsvc/yp.x: Likewise.
20248 * nis/rpcsvc/ypupd.h: Likewise.
20249 * nis/yp_xdr.c: Likewise.
20250 * nis/ypupdate_xdr.c: Likewise.
20252 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20253 mainly the body of pmap_getport. Add parameters to specify timeouts.
20254 (pmap_getport): Use __libc_rpc_getport.
20255 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20256 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20257 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20259 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20264 2010-08-27 Roland McGrath <roland@redhat.com>
20266 * sysdeps/i386/i686/multiarch/Makefile
20267 (CFLAGS-varshift.c): New variable.
20269 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20271 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20272 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20274 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20276 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20278 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20280 * sysdeps/x86_64/strlen.S: Unroll the loop.
20281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20282 strlen-sse2 strlen-sse2-bsf.
20283 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20284 __strlen_no_bsf if bit_Slow_BSF is set.
20285 (__strlen_sse42): Removed.
20286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20287 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20289 2010-08-25 Roland McGrath <roland@redhat.com>
20291 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20292 * sysdeps/x86_64/multiarch/varshift.c: New file.
20293 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20294 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20295 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20296 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20298 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20301 strlen-sse2 strlen-sse2-bsf.
20302 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20303 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20304 (__strlen_sse2): Removed.
20305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20308 bit_Slow_BSF for Atom.
20309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20310 (index_Slow_BSF): Define.
20311 (HAS_SLOW_BSF): Define.
20313 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20316 * resolv/res_init.c (__res_vinit): When no server address at all
20317 is given default to loopback.
20319 2010-08-24 Roland McGrath <roland@redhat.com>
20321 * configure.in: Remove config-name.h generation.
20322 * configure: Regenerated.
20323 * config-name.in: File removed.
20324 * scripts/config-uname.sh: New file.
20325 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20326 ($(objdir)config-name.h): New target.
20328 * sunrpc/rpc_parse.h: Avoid nested comment.
20330 2010-08-24 Richard Henderson <rth@redhat.com>
20331 Ulrich Drepper <drepper@redhat.com>
20332 H.J. Lu <hongjiu.lu@intel.com>
20334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20336 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20337 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20338 _mm_alignr_epi8 with _mm_loadu_si128.
20339 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20340 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20341 (__m128i_shift_right): Removed.
20342 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20343 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20344 * sysdeps/x86_64/multiarch/varshift.h: New file.
20345 * sysdeps/x86_64/multiarch/varshift.S: New file.
20347 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20349 * configure.in: Move assembler checks to before sysdep dir checking.
20351 2010-08-20 Petr Baudis <pasky@suse.cz>
20353 * LICENSES: Sync the sunrpc license.
20355 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20357 * sunrpc/auth_des.c: Update copyright notice once again.
20358 * sunrpc/auth_none.c: Likewise.
20359 * sunrpc/auth_unix.c: Likewise.
20360 * sunrpc/authdes_prot.c: Likewise.
20361 * sunrpc/authuxprot.c: Likewise.
20362 * sunrpc/bindrsvprt.c: Likewise.
20363 * sunrpc/clnt_gen.c: Likewise.
20364 * sunrpc/clnt_perr.c: Likewise.
20365 * sunrpc/clnt_raw.c: Likewise.
20366 * sunrpc/clnt_simp.c: Likewise.
20367 * sunrpc/clnt_tcp.c: Likewise.
20368 * sunrpc/clnt_udp.c: Likewise.
20369 * sunrpc/clnt_unix.c: Likewise.
20370 * sunrpc/des_crypt.c: Likewise.
20371 * sunrpc/des_soft.c: Likewise.
20372 * sunrpc/get_myaddr.c: Likewise.
20373 * sunrpc/getrpcport.c: Likewise.
20374 * sunrpc/key_call.c: Likewise.
20375 * sunrpc/key_prot.c: Likewise.
20376 * sunrpc/openchild.c: Likewise.
20377 * sunrpc/pm_getmaps.c: Likewise.
20378 * sunrpc/pm_getport.c: Likewise.
20379 * sunrpc/pmap_clnt.c: Likewise.
20380 * sunrpc/pmap_prot.c: Likewise.
20381 * sunrpc/pmap_prot2.c: Likewise.
20382 * sunrpc/pmap_rmt.c: Likewise.
20383 * sunrpc/rpc/auth.h: Likewise.
20384 * sunrpc/rpc/auth_unix.h: Likewise.
20385 * sunrpc/rpc/clnt.h: Likewise.
20386 * sunrpc/rpc/des_crypt.h: Likewise.
20387 * sunrpc/rpc/key_prot.h: Likewise.
20388 * sunrpc/rpc/netdb.h: Likewise.
20389 * sunrpc/rpc/pmap_clnt.h: Likewise.
20390 * sunrpc/rpc/pmap_prot.h: Likewise.
20391 * sunrpc/rpc/pmap_rmt.h: Likewise.
20392 * sunrpc/rpc/rpc.h: Likewise.
20393 * sunrpc/rpc/rpc_des.h: Likewise.
20394 * sunrpc/rpc/rpc_msg.h: Likewise.
20395 * sunrpc/rpc/svc.h: Likewise.
20396 * sunrpc/rpc/svc_auth.h: Likewise.
20397 * sunrpc/rpc/types.h: Likewise.
20398 * sunrpc/rpc/xdr.h: Likewise.
20399 * sunrpc/rpc_clntout.c: Likewise.
20400 * sunrpc/rpc_cmsg.c: Likewise.
20401 * sunrpc/rpc_common.c: Likewise.
20402 * sunrpc/rpc_cout.c: Likewise.
20403 * sunrpc/rpc_dtable.c: Likewise.
20404 * sunrpc/rpc_hout.c: Likewise.
20405 * sunrpc/rpc_main.c: Likewise.
20406 * sunrpc/rpc_parse.c: Likewise.
20407 * sunrpc/rpc_parse.h: Likewise.
20408 * sunrpc/rpc_prot.c: Likewise.
20409 * sunrpc/rpc_sample.c: Likewise.
20410 * sunrpc/rpc_scan.c: Likewise.
20411 * sunrpc/rpc_scan.h: Likewise.
20412 * sunrpc/rpc_svcout.c: Likewise.
20413 * sunrpc/rpc_tblout.c: Likewise.
20414 * sunrpc/rpc_util.c: Likewise.
20415 * sunrpc/rpc_util.h: Likewise.
20416 * sunrpc/rpcinfo.c: Likewise.
20417 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20418 * sunrpc/rpcsvc/key_prot.x: Likewise.
20419 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20420 * sunrpc/rpcsvc/mount.x: Likewise.
20421 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20422 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20423 * sunrpc/rpcsvc/rex.x: Likewise.
20424 * sunrpc/rpcsvc/rstat.x: Likewise.
20425 * sunrpc/rpcsvc/rusers.x: Likewise.
20426 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20427 * sunrpc/rpcsvc/spray.x: Likewise.
20428 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20429 * sunrpc/rtime.c: Likewise.
20430 * sunrpc/svc.c: Likewise.
20431 * sunrpc/svc_auth.c: Likewise.
20432 * sunrpc/svc_authux.c: Likewise.
20433 * sunrpc/svc_raw.c: Likewise.
20434 * sunrpc/svc_run.c: Likewise.
20435 * sunrpc/svc_simple.c: Likewise.
20436 * sunrpc/svc_tcp.c: Likewise.
20437 * sunrpc/svc_udp.c: Likewise.
20438 * sunrpc/svc_unix.c: Likewise.
20439 * sunrpc/svcauth_des.c: Likewise.
20440 * sunrpc/xcrypt.c: Likewise.
20441 * sunrpc/xdr.c: Likewise.
20442 * sunrpc/xdr_array.c: Likewise.
20443 * sunrpc/xdr_float.c: Likewise.
20444 * sunrpc/xdr_mem.c: Likewise.
20445 * sunrpc/xdr_rec.c: Likewise.
20446 * sunrpc/xdr_ref.c: Likewise.
20447 * sunrpc/xdr_sizeof.c: Likewise.
20448 * sunrpc/xdr_stdio.c: Likewise.
20450 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20453 2010-08-19 Andreas Schwab <schwab@redhat.com>
20455 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20457 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20459 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20461 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20462 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20463 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20464 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20465 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20466 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20468 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20469 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20470 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20471 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20472 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20474 2010-07-26 Anton Blanchard <anton@samba.org>
20476 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20477 * malloc/arena.c (heap_trim): Likewise.
20479 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20481 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20484 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20486 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20488 * sysdeps/i386/elf/Makefile: New file.
20490 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20492 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20493 from fanotify_init.
20494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20497 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20499 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20501 * sysdeps/multiarch/strcmp.S: Likewise.
20503 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20505 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20506 strncase_l-nonascii.
20507 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20508 Add strncase_l-ssse3.
20509 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20510 * sysdeps/x86_64/strcmp.S: Likewise.
20511 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20512 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20513 * sysdeps/x86_64/strncase.S: New file.
20514 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20515 * sysdeps/x86_64/strncase_l.S: New file.
20516 * string/Makefile (strop-tests): Add strncasecmp.
20517 * string/test-strncasecmp.c: New file.
20519 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20522 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20523 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20525 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20527 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20529 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20531 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20532 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20533 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20535 2010-05-01 Alan Modra <amodra@gmail.com>
20537 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20538 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20539 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20540 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20541 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20542 tidying. Don't tail-call __sigjmp_save for static lib.
20543 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20545 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20546 (CALL_MCOUNT): Add eh info, and nop after bl.
20547 (TAIL_CALL_SYSCALL_ERROR): New macro.
20548 (PSEUDO_RET): Use it.
20549 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20550 Correct save location of integer regs and cr.
20551 (_dl_profile_resolve): Correct cr save location. Delete nops
20552 after bl when SHARED. Reduce cfi size a little by better
20553 placement of cfi directives.
20554 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20555 make a stack frame. Instead use parm save area as a temp.
20556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20557 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20559 Don't make a stack frame for parent, use parm save area.
20560 Increase child stack frame to 112 bytes. Don't save unused reg,
20561 and adjust reg usage. Set up cfi on error recovery and
20562 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20564 (__makecontext): Add dummy nop after jump to exit.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20566 Use correct parm save area and cr save, reduce stack frame.
20567 Correct cfi for possible PSEUDO_RET frame setup.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20569 Branch to local label emitted by PSEUDO_RET rather than
20572 2010-08-12 Andreas Schwab <schwab@redhat.com>
20575 * locale/programs/locale.c (print_assignment): New function.
20576 (show_locale_vars): Use it.
20578 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20580 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20582 (struct statfs64): Likewise.
20583 (_STATFS_F_FLAGS): Define.
20584 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20585 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20586 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20587 (ST_VALID): Define locally.
20588 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20589 __statvfs_getflags, use the provided value.
20590 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20591 __ASSUME_STATFS_F_FLAGS.
20593 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20596 Add sys/fanotify.h.
20597 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20598 fanotify_mask for GLIBC_2.13.
20599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20600 fanotify_init and fanotify_mark.
20601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20602 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20604 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20606 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20607 prlimit64 for GLIBC_2.13.
20608 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20614 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20615 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20618 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20621 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20622 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20624 * nss/Makefile: Add rules to build and run tst-nss-test1.
20625 * shlib-versions: Add entry for libnss_test1.
20626 * nss/nss_test1.c: New file.
20627 * nss/tst-nss-test1.c: New file.
20629 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20630 (__nss_configure_lookup): Set appropriate entry in
20631 __nss_configure_lookup to true.
20632 * nss/nsswitch.h: Define enum with indeces of databases in
20633 databases and __nss_database_custom arrays. Declare
20634 __nss_database_custom.
20635 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20636 to avoid using nscd when custom rules are installed.
20637 * nss/getXXbyYY_r.c: Likewise.
20638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20640 * nss/nss_files/files-parse.c: Whitespace fixes.
20642 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20645 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20646 * posix/fnmatch_loop.c: Likewise.
20648 2010-07-17 Andi Kleen <ak@linux.intel.com>
20650 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20651 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20652 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20653 * Versions.def [GLIBC_2.13]: Add.
20655 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20657 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20658 Also fail if tpwd after pwuid call is NULL.
20660 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20662 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20663 when converting to ms.
20665 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20667 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20668 EOPNOTSUPP errors with ENOTTY.
20669 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20670 EOPNOTSUPP errors with ENOTTY.
20672 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20675 Add strcasecmp_l-ssse3.
20676 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20678 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20679 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20680 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20682 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20684 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20686 * string/Makefile (strop-tests): Add strcasecmp.
20687 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20688 strcasecmp_l-nonascii.
20689 (gen-as-const-headers): Add locale-defines.sym.
20690 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20691 * sysdeps/x86_64/strcasecmp.S: New file.
20692 * sysdeps/x86_64/strcasecmp_l.S: New file.
20693 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20694 * sysdeps/x86_64/locale-defines.sym: New file.
20695 * string/test-strcasecmp.c: New file.
20697 * string/test-strcasestr.c: Test both ends of the range of characters.
20698 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20700 2010-07-29 Roland McGrath <roland@redhat.com>
20703 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20705 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20707 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20710 2010-07-27 Andreas Schwab <schwab@redhat.com>
20712 * manual/memory.texi (Malloc Tunable Parameters): Document
20715 2010-07-26 Roland McGrath <roland@redhat.com>
20718 * configure.in (-fgnu89-inline check): Set and substitute
20719 gnu89_inline, not libc_cv_gnu89_inline.
20720 * configure: Regenerated.
20721 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20723 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20725 * string/test-strnlen.c: New file.
20726 * string/Makefile (strop-tests): Add strnlen.
20727 * string/tester.c (test_strnlen): Add a few more test cases.
20728 * string/tst-strlen.c: Better error reporting.
20730 * sysdeps/x86_64/strnlen.S: New file.
20732 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20734 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20735 lower-latency instructions.
20737 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20739 * string/test-strcasestr.c: New file.
20740 * string/test-strstr.c: New file.
20741 * string/Makefile (strop-tests): Add strstr and strcasestr.
20742 * string/str-two-way.h: Don't undefine MAX.
20743 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20745 2010-07-21 Andreas Schwab <schwab@redhat.com>
20747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20748 strcasestr-nonascii.
20749 (CFLAGS-strcasestr-nonascii.c): Define.
20750 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20751 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20752 Remove unused attribute.
20754 2010-07-20 Roland McGrath <roland@redhat.com>
20756 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20757 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20758 ld.so.cache was broken. With it, there is no way to disable dsocaps
20759 like LD_HWCAP_MASK can disable hwcaps.
20761 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20763 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20765 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20767 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20768 call in strcasestr.
20769 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20770 __strcasestr_sse42_nonascii.
20771 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20772 strcasestr-nonascii.c.
20773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20775 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20778 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20780 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20782 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20787 2010-07-06 Andreas Schwab <schwab@redhat.com>
20790 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20793 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20795 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20796 _PC_PIPE_BUF using F_GETPIPE_SZ.
20798 2010-07-05 Roland McGrath <roland@redhat.com>
20800 * manual/arith.texi (Rounding Functions): Fix rint description
20801 implicit in round description.
20803 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20805 * elf/Makefile: Fix linking for a few tests to make recent linker
20808 2010-06-30 Andreas Schwab <schwab@redhat.com>
20810 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20811 $(common-objpfx)libc_nonshared.a.
20813 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20815 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20816 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20817 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20818 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20819 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20820 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20821 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20822 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20837 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20838 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20839 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20840 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20841 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20842 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20843 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20844 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20845 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20846 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20847 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20848 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20864 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20866 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20867 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20868 * string/memmove.c (memmove): Renamed to ...
20869 (MEMMOVE): ...this. Default to memmove.
20870 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20871 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20874 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20875 mempcpy-ssse3-back memmove-ssse3-back.
20876 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20877 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20879 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20880 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20881 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20882 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20883 * sysdeps/x86_64/multiarch/memmove.c: New file.
20884 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20885 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20886 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20887 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20888 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20889 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20891 (index_Fast_Copy_Backward): Define.
20892 (HAS_ARCH_FEATURE): Define.
20893 (HAS_FAST_REP_STRING): Define.
20894 (HAS_FAST_COPY_BACKWARD): Define.
20896 2010-06-21 Andreas Schwab <schwab@redhat.com>
20898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20899 Restore proper fallback handling.
20901 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20904 * posix/group_member.c (__group_member): Correct checking loop.
20906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20907 OOM in getpwuid_r correctly. Return error number when the caller
20908 should return, otherwise -1.
20909 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20910 call returning > 0 value.
20911 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20913 2010-06-07 Andreas Schwab <schwab@redhat.com>
20915 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20916 libc_nonshared.a from targets in modules-names.
20918 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20920 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20923 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20925 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20927 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20930 2010-06-02 Andreas Schwab <schwab@redhat.com>
20932 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20934 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20945 2010-06-14 Roland McGrath <roland@redhat.com>
20947 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20949 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20951 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20952 __REDIRECT followed by __THROW.
20953 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20954 * posix/getopt.h (getopt): Likewise.
20956 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20958 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20959 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20960 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20962 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20963 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20965 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20967 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20969 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20973 Properly check family and model.
20975 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20977 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20979 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20981 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20983 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20985 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20988 2010-05-19 Andreas Schwab <schwab@redhat.com>
20990 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20993 2010-05-21 Andreas Schwab <schwab@redhat.com>
20995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20996 and internal_recvmmsg.
20997 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20998 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20999 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21000 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21002 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21003 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21004 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21006 2010-05-20 Andreas Schwab <schwab@redhat.com>
21008 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21010 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21012 POWER7 optimizations.
21013 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21014 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21016 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21018 * version.h: Update for 2.13 development version.
21020 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21022 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21023 exceptions. Return 0.
21025 2010-05-07 Roland McGrath <roland@redhat.com>
21027 * elf/ldconfig.c (main): Add a const.
21029 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21031 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21032 (args_options): Add no-idn option.
21033 (ahosts_keys_int): Add idn_flags to ai_flags.
21034 (parse_option): Handle 'i' option to clear idn_flags.
21036 * malloc/malloc.c (_int_free): Possible race in the most recently
21037 added check. Only act on the data if no current modification
21040 See ChangeLog.17 for earlier changes.