1 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7 2012-11-02 Roland McGrath <roland@hack.frob.com>
9 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12 * configure.in: Remove AC_PREREQ.
14 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18 of the internal implementation.
20 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23 except include of <misc/sys/syslog.h>.
25 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28 function returns with a NULL context exit with zero.
30 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37 (run_program_cmd): This.
38 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39 (tst_langinfo): New variable. Use it.
41 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
43 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44 floating point opcodes.
46 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
48 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53 * sysdeps/mach/hurd/powerpc: Remove directory.
54 * sysdeps/mach/powerpc: Likewise.
56 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
58 * scripts/check-local-headers.sh: Ignore c++ headers.
60 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
62 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
63 __libc_cleanup_region_start argument.
65 2012-11-01 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70 x * y using scaling, not as x * y + z.
71 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73 * math/libm-test.inc (fma_test): Add more tests.
74 (fma_test_towardzero): Likewise.
75 (fma_test_downward): Likewise.
76 (fma_test_upward): Likewise.
78 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
80 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
82 2012-10-31 Joseph Myers <joseph@codesourcery.com>
84 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
87 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
89 * rt/tst-shm.c (worker): Correct checking for mmap failure.
91 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
98 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
101 Fix the order of the list for glibc 2.17.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
105 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
109 2012-10-31 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
113 for low part of x being zero before using __atanl (y).
114 * math/libm-test.inc (atan2_test): Add another test.
116 * manual/install.texi (Configuring and compiling): Document
117 general use of test-wrapper and test-wrapper-env.
118 * INSTALL: Regenerated.
120 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
121 (__fma): Do not extract and scale down low bits on after-rounding
122 systems when result rounded to normal precision would have normal
124 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
125 (__fmal): Do not extract and scale down low bits on after-rounding
126 systems when result rounded to normal precision would have normal
128 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
129 (__fmal): Do not extract and scale down low bits on after-rounding
130 systems when result rounded to normal precision would have normal
132 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
134 (fma_test): Add more tests.
135 (fma_test_towardzero): Likewise.
136 (fma_test_downward): Likewise.
137 (fma_test_upward): Likewise.
139 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
141 * sysdeps/i386/tininess.h: Renamed to ...
142 * sysdeps/x86/tininess.h: This.
143 * sysdeps/x86_64/tininess.h: Removed.
145 2012-10-30 Joseph Myers <joseph@codesourcery.com>
147 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
148 input. Use $(build-program-cmd).
149 ($(objpfx)tst-array1-static.out): Likewise.
150 ($(objpfx)tst-array2.out): Likewise.
151 ($(objpfx)tst-array3.out): Likewise.
152 ($(objpfx)tst-array4.out): Likewise.
153 ($(objpfx)tst-array5.out): Likewise.
154 ($(objpfx)tst-array5-static.out): Likewise.
156 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
158 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
161 * nss/nsswitch.h (nss_interface_function): Provide new
162 macro for use with NSS functions.
163 * grp/initgroups.c: Use new macro.
164 * nss/getXXbyYY.c: Likewise.
165 * nss/getXXbyYY_r.c: Likewise.
166 * nss/getXXent.c: Likewise.
167 * nss/getXXent_r.c: Likewise.
168 * sysdeps/posix/getaddrinfo.c: Likewise.
170 2012-10-30 Andreas Jaeger <aj@suse.de>
172 * po/ru.po: Update Russion translation from translation project.
174 2012-10-30 Joseph Myers <joseph@codesourcery.com>
178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
179 result and shift together with sticky bit instead of replicating
180 round-to-nearest rounding.
181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
183 * math/libm-test.inc (fma_test): Add more tests. Do not permit
184 missing underflow exceptions.
185 (fma_test_towardzero): Add more tests.
186 (fma_test_downward): Likewise.
187 (fma_test_upward): Likewise.
190 * sysdeps/generic/tininess.h: New file.
191 * sysdeps/i386/tininess.h: Likewise.
192 * sysdeps/sh/tininess.h: Likewise.
193 * sysdeps/x86_64/tininess.h: Likewise.
194 * stdlib/tst-strtod-underflow.c: Likewise.
195 * stdlib/tst-tininess.c: Likewise.
196 * stdlib/strtod_l.c: Include <tininess.h>.
197 (round_and_return): Do not set errno for exact underflow cases.
198 Force an underflow exception when setting errno for underflow.
199 Determine underflow based on rounding to normal precision if
200 TININESS_AFTER_ROUNDING.
201 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
202 ERANGE for exact underflow cases.
203 * stdlib/Makefile (tests): Add tst-tininess and
204 tst-strtod-underflow.
205 ($(objpfx)tst-tininess): Use $(link-libm).
206 ($(objpfx)tst-strtod-underflow): Likewise.
208 2012-10-30 Andreas Jaeger <aj@suse.de>
211 * elf/Makefile (tests): Remove conditional for have-initfini-array
212 since this is now always required and the variable does not exist
214 (tests-static): Likewise.
215 (modules-names): Likewise.
217 * po/eo.po: Add Esperanto translation from translation project.
219 * elf/tst-array1.c (fini_array): Make writeable so that it can be
220 merged with constructor/destructor.
221 (init_array): Likewise.
222 * elf/tst-array2dep.c (fini_array): Likewise.
223 (init_array): Likewise.
225 2012-10-29 Mike Frysinger <vapier@gentoo.org>
227 * manual/message.texi: Delete @cartouche tags.
229 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
231 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
233 * sysdeps/mach/hurd/fsync.c: Likewise.
235 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
236 [_POSIX_REALTIME_SIGNALS]: Change condition to
237 [_POSIX_REALTIME_SIGNALS > 0].
239 2012-10-27 Andreas Jaeger <aj@suse.de>
241 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
242 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
244 [__WORDSIZE != 64]: Likewise.
246 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
248 * iconvdata/tst-table.sh: Remove ${SHELL}.
249 * iconvdata/tst-tables.sh: Likewise.
251 2012-10-25 David S. Miller <davem@davemloft.net>
253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
254 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
260 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
261 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
264 2012-10-25 Roland McGrath <roland@hack.frob.com>
266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
267 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
270 2012-10-25 Joseph Myers <joseph@codesourcery.com>
271 Jim Blandy <jimb@codesourcery.com>
273 * scripts/cross-test-ssh.sh: New file.
274 * manual/install.texi (Configuring and compiling): Document use of
276 * INSTALL: Regenerated.
278 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
280 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
283 2012-10-25 Joseph Myers <joseph@codesourcery.com>
285 * Makeconfig (run-program-prefix): Fix comment.
287 2012-10-24 Joseph Myers <joseph@codesourcery.com>
288 Jim Blandy <jimb@codesourcery.com>
290 * Makeconfig (test-wrapper): New variable,
291 (test-wrapper-env): Likewise.
292 [$(cross-compiling) = yes && $(test-wrapper) != ""]
293 (run-built-tests): Define to yes.
294 (run-program-prefix): Use $(test-wrapper).
295 (built-program-cmd): Likewise.
296 * Rules (make-test-out): Use $(test-wrapper-env) and
297 $(host-built-program-cmd).
298 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
299 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
301 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
302 $(test-wrapper-env) to tst-rtld-load-self.sh.
303 ($(objpfx)order2.out): Use $(test-wrapper).
304 ($(objpfx)tst-initorder.out): Likewise.
305 ($(objpfx)tst-initorder2.out): Likewise.
306 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
307 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
308 (test_wrapper_env): New variable. Use it to run ld.so.
309 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
311 (test_wrapper_env): Likewise.
312 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
313 $(test-wrapper) to run-iconv-test.sh.
314 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
315 (ICONV): Use $test_wrapper.
316 * posix/Makefile ($(objpfx)globtest.out): Pass
317 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
318 globtest.sh, not $(run-program-prefix).
319 * posix/globtest.sh (run_via_rtld_prefix): New variable.
320 (test_wrapper): Likewise.
321 (test_wrapper_env): Likewise. Use it to run globtest with HOME
322 set together with run_via_rtld_prefix.
323 (run_program_prefix): Define in terms of test_wrapper and
326 2012-10-24 Roland McGrath <roland@hack.frob.com>
328 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
329 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
333 * include/time.h: Remove librt_hidden_proto (clock_gettime).
334 Declare __clock_getres, __clock_gettime, __clock_settime,
335 __clock_nanosleep, and __clock_getcpuclockid.
336 * rt/clock_gettime.c: Define __clock_gettime as an alias.
337 Remove librt_hidden_def (clock_gettime).
338 * sysdeps/unix/clock_gettime.c: Likewise.
339 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
341 * rt/clock_getres.c: Define __clock_getres as an alias.
342 * sysdeps/posix/clock_getres.c: Likewise.
343 * rt/clock_settime.c: Define __clock_settime as an alias.
344 * sysdeps/unix/clock_settime.c: Likewise.
345 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
346 * sysdeps/unix/clock_nanosleep.c: Likewise.
347 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
348 * rt/clock-compat.c: New file.
349 * rt/Makefile (librt-routines): Add clock-compat and move
350 $(clock-routines) to ...
351 (routines): ... here, new variable.
352 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
353 Don't add get_clockfreq here.
354 * rt/Versions (libc: GLIBC_2.17): New version set.
355 Add clock_* symbols here.
356 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
358 (GLIBC_2.17): Add clock_* symbols.
359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
370 * NEWS: Mention the move.
372 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
373 Use __open, __read, __close rather than their public counterparts.
374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
375 (__get_clockfreq_via_cpuinfo): Likewise.
376 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
377 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
379 * config.h.in (HAVE_IFUNC): New #undef.
380 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
382 * configure: Regenerated.
384 2012-10-24 Mike Frysinger <vapier@gentoo.org>
386 * configure.in: Move READELF check to start of file.
387 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
388 libc_cv_asm_gnu_indirect_function in the process.
389 * configure: Regenerated.
391 2012-10-24 Mike Frysinger <vapier@gentoo.org>
393 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
394 send the output to /dev/null.
395 (libc_cv_cc_with_libunwind): Likewise.
396 (libc_cv_as_noexecstack): Likewise.
397 * configure: Regenerate.
399 2012-10-24 Joseph Myers <joseph@codesourcery.com>
401 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
403 * posix/globtest.sh (TMPDIR): Do not set.
404 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
407 2012-10-24 Andreas Jaeger <aj@suse.de>
409 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
410 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
411 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
412 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
413 posix_fadvise64, posix_fallocate64.
415 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
416 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
417 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
419 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
421 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
424 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
425 <bits/fcntl-linux.h>.
426 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
429 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
430 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
431 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
432 [__WORDSIZE != 64]: Likewise.
434 2012-10-23 Joseph Myers <joseph@codesourcery.com>
436 * Makeconfig (run-built-tests): New variable.
437 * Rules [$(cross-compiling) = yes]: Change condition to
438 [$(run-built-tests) = no].
439 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
440 to [$(run-built-tests) = yes].
441 * elf/Makefile [$(cross-compiling) = no]: Likewise
442 * grp/Makefile [$(cross-compiling) = no]: Likewise.
443 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
444 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
445 * intl/Makefile [$(cross-compiling) = no]: Likewise.
446 * io/Makefile [$(cross-compiling) = no]: Likewise.
447 * libio/Makefile [$(cross-compiling) = no]: Likewise.
448 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
449 * misc/Makefile [$(cross-compiling) = no]: Likewise.
450 * posix/Makefile [$(cross-compiling) = no]: Likewise.
451 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
452 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
453 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
454 * string/Makefile [$(cross-compiling) = no]: Likewise.
456 * posix/Makefile ($(objpfx)globtest.out): Pass
457 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
458 $(rtld-installed-name).
459 * posix/globtest.sh (elf_objpfx): Remove variable.
460 (rtld_installed_name): Likewise.
461 (library_path): Likewise.
462 (run_program_prefix): New variable. Use for running globtest
465 2012-10-23 Jim Blandy <jimb@codesourcery.com>
466 Joseph Myers <joseph@codesourcery.com>
468 * Makeconfig (host-built-program-cmd): New variable.
469 * elf/Makefile (tst-stackguard1-ARGS): Use
470 $(host-built-program-cmd).
471 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
472 (tst-spawn-ARGS): Likewise.
473 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
475 2012-10-23 Joseph Myers <joseph@codesourcery.com>
476 Jim Blandy <jimb@codesourcery.com>
478 * Makeconfig (run-via-rtld-prefix): New variable.
479 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
480 (built-program-cmd): Likewise.
482 2012-10-22 Andreas Jaeger <aj@suse.de>
484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
485 __O_RSYNC if it exists, otherwise to O_SYNC.
487 2012-10-22 Jim Blandy <jimb@codesourcery.com>
488 Joseph Myers <joseph@codesourcery.com>
490 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
492 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
494 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
497 2012-10-22 Andreas Jaeger <aj@suse.de>
499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
506 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
507 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
514 2012-10-21 Jim Blandy <jimb@codesourcery.com>
515 Joseph Myers <joseph@codesourcery.com>
517 * config.make.in (NM): New variable.
519 2012-10-21 Andreas Jaeger <aj@suse.de>
521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
522 definitions and declarations that are provided by
523 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
525 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
528 * elf/Makefile (tests-static): Add tst-leaks1-static.
529 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
530 ($(objpfx)tst-leaks1-static): New rule.
531 ($(objpfx)tst-leaks1-static-mem): Likewise.
532 (tst-leaks1-static-ENV): New macro.
533 * elf/dl-open.c (dl_open_worker): Check the main application
534 only if SHARED is defined.
535 * elf/tst-leaks1-static.c: New file.
537 2012-10-20 Andreas Jaeger <aj@suse.de>
539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
540 generic values for Linux.
541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
542 and declarations that are provided by <bits/fcntl-linux.h> and
543 include <bits/fcntl-linux.h>.
544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
547 2012-10-20 Roland McGrath <roland@hack.frob.com>
549 * io/fcntl.h: Move include of <bits/types.h> to the top and
550 include it unconditionally.
552 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
554 * wcsmbs/Makefile (tests-ifunc): New variable.
555 (tests): Add $(tests-ifunc).
556 * wcsmbs/test-wcschr-ifunc.c: New file.
557 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
558 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
559 * wcsmbs/test-wcslen-ifunc.c: Likewise.
560 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
561 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
563 * string/Makefile (tests-ifunc): New variable.
564 (tests): Add $(tests-ifunc).
565 * string/test-memccpy.c (TEST_NAME): New macro.
566 * string/test-memchr.c (TEST_NAME): Likewise.
567 * string/test-memcmp.c (TEST_NAME): Likewise.
568 * string/test-memcpy.c (TEST_NAME): Likewise.
569 * string/test-memmem.c (TEST_NAME): Likewise.
570 * string/test-memmove.c (TEST_NAME): Likewise.
571 * string/test-memset.c (TEST_NAME): Likewise.
572 * string/test-rawmemchr.c (TEST_NAME): Likewise.
573 * string/test-stpcpy.c (TEST_NAME): Likewise.
574 * string/test-stpncpy.c (TEST_NAME): Likewise.
575 * string/test-strcasecmp.c (TEST_NAME): Likewise.
576 * string/test-strcasestr.c (TEST_NAME): Likewise.
577 * string/test-strcat.c (TEST_NAME): Likewise.
578 * string/test-strchr.c (TEST_NAME): Likewise.
579 * string/test-strcmp.c(TEST_NAME): Likewise.
580 * string/test-strcpy.c (TEST_NAME): Likewise.
581 * string/test-strcspn.c (TEST_NAME): Likewise.
582 * string/test-strlen.c (TEST_NAME): Likewise.
583 * string/test-strncasecmp.c (TEST_NAME): Likewise.
584 * string/test-strncmp.c (TEST_NAME): Likewise.
585 * string/test-strncpy.c (TEST_NAME): Likewise.
586 * string/test-strnlen.c (TEST_NAME): Likewise.
587 * string/test-strpbrk.c (TEST_NAME): Likewise.
588 * string/test-strrchr.c (TEST_NAME): Likewise.
589 * string/test-strspn.c (TEST_NAME): Likewise.
590 * string/test-strstr.c (TEST_NAME): Likewise.
591 * string/test-bcopy-ifunc.c: New file.
592 * string/test-bzero-ifunc.c: Likewise.
593 * string/test-memccpy-ifunc.c: Likewise.
594 * string/test-memchr-ifunc.c: Likewise.
595 * string/test-memcmp-ifunc.c: Likewise.
596 * string/test-memcpy-ifunc.c: Likewise.
597 * string/test-memmem-ifunc.c: Likewise.
598 * string/test-memmove-ifunc.c: Likewise.
599 * string/test-mempcpy-ifunc.c: Likewise.
600 * string/test-memset-ifunc.c: Likewise.
601 * string/test-rawmemchr-ifunc.c: Likewise.
602 * string/test-stpcpy-ifunc.c: Likewise.
603 * string/test-stpncpy-ifunc.c: Likewise.
604 * string/test-strcasecmp-ifunc.c: Likewise.
605 * string/test-strcasestr-ifunc.c: Likewise.
606 * string/test-strcat-ifunc.c: Likewise.
607 * string/test-strchr-ifunc.c: Likewise.
608 * string/test-strchrnul-ifunc.c: Likewise.
609 * string/test-strcmp-ifunc.c: Likewise.
610 * string/test-strcpy-ifunc.c: Likewise.
611 * string/test-strcspn-ifunc.c: Likewise.
612 * string/test-strlen-ifunc.c: Likewise.
613 * string/test-strncasecmp-ifunc.c: Likewise.
614 * string/test-strncat-ifunc.c: Likewise.
615 * string/test-strncmp-ifunc.c: Likewise.
616 * string/test-strncpy-ifunc.c: Likewise.
617 * string/test-strnlen-ifunc.c: Likewise.
618 * string/test-strpbrk-ifunc.c: Likewise.
619 * string/test-strrchr-ifunc.c: Likewise.
620 * string/test-strspn-ifunc.c: Likewise.
621 * string/test-strstr-ifunc.c: Likewise.
623 * debug/Makefile (tests-ifunc): New variable.
624 (tests): Add $(tests-ifunc).
625 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
626 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
627 * debug/test-stpcpy_chk-ifunc.c: New file.
628 * debug/test-strcpy_chk-ifunc.c: Likewise.
630 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
633 * elf/dl-load.c (open_verify): Retry read if the entire ELF
634 header is not read in.
636 2012-10-19 Joseph Myers <joseph@codesourcery.com>
638 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
639 script to $(SHELL) as $<. Pass $(common-objpfx) to script
640 directly. Pass built executable to script as
641 $(built-program-cmd).
642 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
643 $testprogram without using LD_LIBRARY_PATH and $ldso.
645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
646 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
647 $(rtld-installed-name).
648 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
649 (rtld_installed_name): Likewise.
650 (library_path): Likewise.
651 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
652 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
653 $(run-program-prefix) to tst-tables.sh.
654 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
655 it to run tst-table-from and tst-table-to.
656 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
657 Pass it to tst-table.sh.
658 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
659 $(run-program-prefix) to tst-gettext.sh.
660 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
662 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
664 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
666 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
668 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
671 $(run-program-prefix) to tst-mtrace.sh.
672 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
674 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
675 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
676 $(rtld-installed-name).
677 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
678 (rtld_installed_name): Likewise.
679 (run_program_prefix): New variable. Use it to run wordexp-test.
681 * Makeconfig (ARCH): Remove all definitions.
683 [ARCH]: Remove conditional code.
684 [!objdir]: Give error.
685 [!objdir] (objpfx): Remove.
686 [!objdir] (common-objpfx): Likewise.
687 [!objdir] (common-objdir): Likewise.
688 * configure.in (config_makefile): Remove. Hardcode Makefile in
689 AC_CONFIG_FILES call.
690 * configure: Regenerated.
693 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
697 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
698 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
699 $(rtld-installed-name).
700 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
701 (rtld_installed_name): Likwise.
702 (runit): Remove function.
703 (run_getconf): New variable, Use it for running getconf binary.
705 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
708 * string/test-memmem.c (check_result): New function.
709 (do_one_test): Use it.
710 (check1): New function.
713 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
715 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
717 2012-10-18 Joseph Myers <joseph@codesourcery.com>
719 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
720 (_G_LSEEK64): Likewise.
721 (_G_MMAP64): Likewise.
722 (_G_FSTAT64): Likewise.
723 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
724 (_G_LSEEK64): Likewise.
725 (_G_MMAP64): Likewise.
726 (_G_FSTAT64): Likewise.
727 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
728 unconditional. Call __mmap64 directly.
729 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
730 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
732 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
733 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
735 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
736 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
738 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
739 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
741 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
742 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
744 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
745 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
747 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
748 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
750 (freopen64) [!_G_OPEN64]: Remove conditional code.
751 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
753 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
754 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
756 (ftello64) [!_G_LSEEK64]: Remove conditional code.
757 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
759 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
760 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
762 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
763 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
765 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
766 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
768 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
769 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
771 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
773 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
776 * manual/memory.texi (Malloc Tunable Parameters): Add note
777 about free list pointers overwriting some perturb bytes.
778 Wording suggested by Roland McGrath.
780 2012-10-17 Joseph Myers <joseph@codesourcery.com>
782 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
783 (lgamma_test): Likewise.
784 (tgamma_test): Likewise.
786 2012-10-16 Florian Weimer <fweimer@redhat.com>
789 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
790 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
792 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
794 * NEWS: Mention BZ #14716.
795 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
796 when removing AVAILABLE1_USES_J macro.
798 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
800 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
801 (__bswap_64): __uint64_t for unsigned 64-bit int.
803 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
805 * include/string.h (memmem): Declare libc hidden alias.
806 * string/memmem.c (memmem): Define libc hidden alias.
807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
808 __read, __close instead of open, read, close.
810 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
813 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
815 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
816 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
817 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
819 (__rawmemchr_sse2): Likewise.
820 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
821 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
822 (__strchr_sse2): Likewise.
823 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
824 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
825 (__strcasecmp_sse2): Likewise.
826 (__strncasecmp_sse2): Likewise.
827 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
828 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
829 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
830 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
831 (__strrchr_sse2): Likewise.
832 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
834 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
835 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
836 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
837 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
838 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
839 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
840 * sysdeps/x86_64/multiarch/memset.S: Likewise.
841 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
842 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
843 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
844 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
845 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
846 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
847 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
848 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
850 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
851 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
852 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
853 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
854 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
855 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
856 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
857 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
858 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
859 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
860 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
861 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
862 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
863 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
865 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
867 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
868 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
869 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
870 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
872 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
874 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
875 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
876 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
877 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
879 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
880 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
881 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
882 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
883 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
884 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
885 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
886 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
887 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
888 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
889 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
890 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
891 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
892 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
893 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
900 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
901 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
902 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
903 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
904 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
905 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
906 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
907 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
908 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
909 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
910 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
911 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
912 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
913 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
914 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
915 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
916 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
917 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
918 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
919 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
921 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
922 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
923 * include/ifunc-impl-list.h: New file.
924 * misc/ifunc-impl-list.c: Likewise.
925 * misc/Makefile (routines): Add ifunc-impl-list.
926 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
927 * string/test-string.h: Include <ifunc-impl-list.h>.
928 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
929 impl_array): New variables.
930 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
932 (test_init): Call __libc_ifunc_impl_list to initialize
933 func_list if TEST_IFUNC and TEST_NAME are defined.
935 * string/Makefile (strop-tests): Add bcopy and bzero.
936 * string/test-bcopy.c: New file.
937 * string/test-bzero.c: Likewise.
938 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
940 * string/test-memset.c: Support bzero test if TEST_BZERO is
942 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
944 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
946 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
949 2012-10-10 Joseph Myers <joseph@codesourcery.com>
951 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
952 * configure: Regenerated.
954 * Makeconfig (+link-static-before-libc): Don't include
957 * libio/libio.h (_IO_pos_t): Remove.
959 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
961 * NEWS: Add note about FIPS mode. Wording suggested by Roland
964 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
966 * crypt/crypt-entry.c: Include fips-private.h.
967 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
968 * crypt/md5c-test.c (main): Tolerate disabled MD5.
969 * sysdeps/unix/sysv/linux/fips-private.h: New file.
970 * sysdeps/generic/fips-private.h: New file, dummy fallback.
972 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
974 * crypt/crypt-private.h: Include stdbool.h.
975 (_ufc_setup_salt_r): Return bool.
976 * crypt/crypt-entry.c: Include errno.h.
977 (__crypt_r): Return NULL with EINVAL for bad salt.
978 * crypt/crypt_util.c (bad_for_salt): New.
979 (_ufc_setup_salt_r): Check that salt is long enough and within
980 the specified alphabet.
981 * crypt/badsalttest.c: New file.
982 * crypt/Makefile (tests): Add it.
983 ($(objpfx)badsalttest): New.
985 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
987 * NEWS: Add entry for BZ #14602.
989 2012-10-09 Joseph Myers <joseph@codesourcery.com>
991 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
993 * math/libm-test.inc: Update comment listing what functions and
995 (isgreater_test): New function.
996 (isgreaterequal_test): Likewise.
997 (isless_test): Likewise.
998 (islessequal_test): Likewise.
999 (islessgreater_test): Likewise.
1000 (isunordered_test): Likewise.
1001 (main): Call the new functions.
1003 2012-10-09 Roland McGrath <roland@hack.frob.com>
1005 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1006 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1007 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1008 * sysdeps/i386/configure: Regenerated.
1009 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1010 * sysdeps/mach/configure: Regenerated.
1011 * sysdeps/mach/hurd/configure: Regenerated.
1012 * sysdeps/powerpc/configure: Regenerated.
1013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1015 * sysdeps/s390/s390-32/configure: Regenerated.
1016 * sysdeps/s390/s390-64/configure: Regenerated.
1017 * sysdeps/sh/configure: Regenerated.
1018 * sysdeps/sparc/configure: Regenerated.
1019 * sysdeps/unix/sysv/linux/configure: Regenerated.
1020 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1021 * sysdeps/x86_64/configure: Regenerated.
1023 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1024 defined. Don't check if MAP is NULL.
1026 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1029 (_G_stat64): Likewise.
1030 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1031 (_G_stat64): Likewise.
1032 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1033 instead of struct _G_stat64.
1034 * libio/fileops.c (mmap_remap_check): Likewise.
1035 (decide_maybe_mmap): Likewise.
1036 (_IO_new_file_seekoff): Likewise.
1037 (_IO_file_stat): Likewise.
1038 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1040 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1041 instead of struct _G_stat64.
1042 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1044 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1047 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1049 (CHECK_EOL): New macro.
1050 (two_way_short_needle): Check beginning of haystack for EOL. Use
1052 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1053 Replace with CHECK_EOL.
1054 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1055 Replace with CHECK_EOL.
1057 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1059 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1061 * math/libm-test.inc: Update comment listing what functions and
1063 (finite_test): New function.
1064 (isinf_test): Likewise.
1065 (isnan_test): Likewise.
1066 (fpclassify_test): Test subnormal input.
1067 (isfinite_test): Likewise.
1068 (isnormal_test): Likewise.
1069 (main): Call the new functions.
1071 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1074 * Makerules (%.dynsym): Force C locale when running
1075 $(OBJDUMP) --dynamic-syms.
1077 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1079 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1082 2012-10-06 David S. Miller <davem@davemloft.net>
1084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1085 upper 32-bits of the length value in %o2 since we use branch-on-register
1086 tests which consider the entire 64-bit register.
1088 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1090 * string/test-strstr.c (check2): Add a test for page boundary.
1092 2012-10-05 David S. Miller <davem@davemloft.net>
1094 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1097 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1099 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1100 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1101 and bzero when HWCAP_SPARC_CRYPTO is present.
1103 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1106 * string/test-strstr.c (check2): New function.
1107 (test_main): Call check2.
1109 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1111 * string/bug-strcasestr1.c (do_test): Moved to ...
1112 * string/test-strcasestr.c (check1): Here. New function.
1113 (do_one_test): Break out result checking code into ...
1114 (check_result): This. New function.
1115 (do_one_test): Call check_result.
1116 (test_main): Call check1.
1117 * string/bug-strchr1.c (do_test): Moved to ...
1118 * string/test-strchr.c (check1): Here. New function.
1119 (do_one_test): Break out result checking code into ...
1120 (check_result): This. New function.
1121 (do_one_test): Call check_result.
1122 (test_main): Call check1.
1123 * string/bug-strstr1.c (main): Moved to ...
1124 * string/test-strchr.c (check1): Here. New function.
1125 (do_one_test): Break out result checking code into ...
1126 (check_result): This. New function.
1127 (do_one_test): Call check_result.
1128 (test_main): Call check1.
1129 * string/bug-strcasestr1.c: Removed.
1130 * string/bug-strchr1.c: Likewise.
1131 * string/bug-strstr1.c: Likewise.
1133 * elf/Makefile (dl-routines): Add hwcaps.
1134 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1135 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1136 (_dl_important_hwcaps): Moved to ...
1137 * elf/dl-hwcaps.c: Here. New file.
1138 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1141 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1142 if IS_IN_rtld isn't defined.
1144 * elf/dl-support.c (_dl_sysinfo_map): New.
1145 Include "get-dynamic-info.h" and "setup-vdso.h".
1146 (_dl_non_dynamic_init): Call setup_vdso.
1147 * elf/dynamic-link.h: Don't include <assert.h>.
1148 (elf_get_dynamic_info): Moved to ...
1149 * elf/get-dynamic-info.h: Here. New file.
1150 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1151 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1152 * elf/setup-vdso.h: Here. New file.
1153 * elf/rtld.c: Include "setup-vdso.h".
1154 (dl_main): Call setup_vdso.
1156 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1158 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1159 creal in comment listing functions tested. List finite, isinf,
1160 isnan, isless, islessequal, isgreater, isgreaterequal,
1161 islessgreater, isunordered, lgamma_r and pow10 as functions and
1162 macros not tested. Mention which functions not tested are aliases
1163 for other functions. Fix typo. Note that signs of NaNs are not
1166 * scripts/config.guess: Update from config.git.
1167 * scripts/config.sub: Likewise.
1169 2012-10-04 Roland McGrath <roland@hack.frob.com>
1171 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1172 * misc/madvise.c (madvise): Renamed to __madvise.
1173 Make madvise a weak alias.
1174 * include/sys/mman.h: Declare __madvise.
1175 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1176 * sysdeps/unix/syscalls.list
1177 (madvise): Make __madvise the strong name, and madvise a weak alias.
1178 * sysdeps/unix/sysv/linux/syscalls.list
1179 (madvise, mmap): Remove redundant entries.
1180 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1181 * malloc/malloc.c (mtrim): Likewise.
1182 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1184 2012-10-03 Roland McGrath <roland@hack.frob.com>
1186 * sysdeps/mach/hurd/dl-cache.c: File removed.
1187 * config.h.in (USE_LDCONFIG): New #undef.
1188 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1189 * configure: Regenerated.
1190 * elf/Makefile (dl-routines): Add dl-cache only under
1191 [$(use-ldconfig) = yes].
1192 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1193 cache on [USE_LDCONFIG].
1194 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1196 * elf/rtld.c (dl_main): Likewise.
1198 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1200 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1201 _SC_LEVEL4_CACHE_LINESIZE.
1203 2012-10-03 Roland McGrath <roland@hack.frob.com>
1205 * sysdeps/unix/bsd/confstr.h: File removed.
1207 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1209 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1212 2012-10-02 Roland McGrath <roland@hack.frob.com>
1214 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1215 Make 'mapoff' field ElfW(Off) rather than off_t.
1217 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1219 * nscd/Makefile: Remove nscd-cflags and all its users.
1220 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1221 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1224 * malloc.c (malloc_printerr): Clarify error message.
1226 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1230 Set bit_FMA_Usable if FMA is supported.
1231 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1233 (bit_FMA4_Usable): Updated.
1234 (index_FMA_Usable): New macro.
1235 (CPUID_FMA): Likewise
1236 (HAS_FMA): Defined with bit_FMA_Usable.
1238 2012-10-01 Roland McGrath <roland@hack.frob.com>
1240 * bits/types.h (__swblk_t): Type removed.
1241 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1242 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1244 (__SWBLK_T_TYPE): Likewise.
1245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1246 (__SWBLK_T_TYPE): Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1248 (__SWBLK_T_TYPE): Likewise.
1249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1250 (__SWBLK_T_TYPE): Likewise.
1252 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1253 Honza Horak <hhorak@redhat.com>
1255 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1256 (xdr_mapname): Use YPMAXMAP as maxsize.
1257 (xdr_peername): Use YPMAXPEER as maxsize.
1258 (xdr_keydat): Use YPAXRECORD as maxsize.
1259 (xdr_valdat): Use YPMAXRECORD as maxsize.
1261 2012-10-01 Roland McGrath <roland@hack.frob.com>
1263 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1265 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1266 * csu/init-first.c: ... here.
1267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1268 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1269 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1270 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1271 * sysdeps/i386/init-first.c: File removed.
1272 * sysdeps/sh/init-first.c: File removed.
1274 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1278 if x * y might underflow to zero and z is zero.
1279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1281 * math/libm-test.inc (min_subnorm_value): New variable.
1282 (fma_test): Add more tests.
1283 (fma_test_towardzero): Likewise.
1284 (fma_test_downward): Likewise
1285 (fma_test_upward): Likewise.
1286 (initialize): Set min_subnorm_value.
1288 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1293 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1294 mode for addition resulting in exact zero.
1295 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1298 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1300 * math/libm-test.inc (fma_test): Add more tests.
1301 (fma_test_towardzero): New function.
1302 (fma_test_downward): Likewise.
1303 (fma_test_upward): Likewise.
1304 (main): Call the new functions.
1306 2012-09-28 David S. Miller <davem@davemloft.net>
1308 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1310 2012-09-28 Roland McGrath <roland@hack.frob.com>
1312 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1315 * sysdeps/gnu/_G_config.h: Moved to ...
1316 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1317 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1318 * sysdeps/generic/_G_config.h: ... here.
1320 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1322 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1324 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1325 Conditionalize target on [libnss_test1.so-version].
1327 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1329 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1330 (elfobjdir): Move out of conditionals.
1332 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1333 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1334 (__nss_lookup_function): Conditionalize label remove_from_tree on
1335 [!DO_STATIC_NSS || SHARED], matching its only use.
1337 2012-09-28 David S. Miller <davem@davemloft.net>
1339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1340 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1342 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1346 when HWCAP_SPARC_CRYPTO is present.
1348 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1350 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1352 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1355 * stdio-common/vfprintf.c (process_string_arg): Revert
1358 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1360 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1362 * stdio-common/tst-sprintf.c: Include <locale.h>
1363 (main): Test sprintf's handling of incomplete multibyte
1366 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1368 * elf/dl-runtime.c (VERSYMIDX): Removed.
1369 * elf/dl-version.c (VERSYMIDX): Likewise.
1370 * elf/do-rel.h (VERSYMIDX): Likewise.
1372 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1373 * elf/rtld.c (VALIDX): Likewise.
1374 (ADDRIDX): Likewise.
1375 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1376 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1377 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1378 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1380 (ADDRIDX): Likewise.
1382 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1384 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1386 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1389 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1391 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1392 addresses are in the same scope as 192.0.2/24.
1393 * posix/gai.conf: Document new scope table defaults.
1395 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1398 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1399 for ftell. Compute offsets from write pointers instead.
1400 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1402 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1405 * libio/Makefile (tests): New test case tst-fseek.
1406 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1407 combination works in wide mode.
1408 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1409 state when the external buffer state changes.
1411 2012-09-27 David S. Miller <davem@davemloft.net>
1414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1415 pass reloc->r_addend in as the 'high' argument to
1416 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1420 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1422 * rt/tst-aio2.c: Include <pthread.h>.
1423 * rt/tst-aio3.c: Likewise.
1425 2012-09-27 Steve Ellcey <sellcey@mips.com>
1427 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1429 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1431 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1432 contents on [SHARED].
1434 2012-09-26 Marek Polacek <polacek@redhat.com>
1438 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1439 for C++ and GCC <4.3 as well as for non GCC compilers.
1441 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1445 2012-09-25 Roland McGrath <roland@hack.frob.com>
1447 * Makefile.in (all, install): Declare with .PHONY.
1448 Reported by Michael Hope <michael.hope@linaro.org>.
1450 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1452 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1453 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1455 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1457 (sydep_routines): Add the new and the internal functions.
1458 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1459 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1461 (GLIBC_2.17): Add the new function.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1463 (GLIBC_2.17): Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1465 (GLIBC_2.17): Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1467 (GLIBC_2.17): Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1470 2012-09-25 Alan Modra <amodra@gmail.com>
1472 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1473 Add release barrier before setting once_control to say
1474 initialisation is done. Add hints on lwarx. Use macro in
1476 (clear_once_control): Add release barrier.
1478 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1481 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1483 * math/s_clog10.c (__clog10): Likewise.
1484 * math/s_clog10f.c (__clog10f): Likewise.
1485 * math/s_clog10l.c (__clog10l): Likewise.
1486 * math/s_clogf.c (__clogf): Likewise.
1487 * math/s_clogl.c (__clogl): Likewise.
1488 * math/Makefile (libm-calls): Add x2y2m1.
1489 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1490 (__x2y2m1): Likewise.
1491 (__x2y2m1l): Likewise.
1492 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1493 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1496 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1497 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1498 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1499 * sysdeps/i386/fpu/libm-test-ulps: Update.
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1503 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1504 int as type of variable DEPTH.
1505 (glob): Use size_t instead of int as type of variables NEWCOUNT
1508 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1510 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1513 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1514 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1515 macros for using routine as __sincosf_ia32.
1516 Use macro for function declaration and weak_alias.
1517 * sysdeps/i386/fpu/libm-test-ulps: Update.
1519 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1522 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1524 * math/s_cexpf.c (__cexpf): Likewise.
1525 * math/s_csinf.c (__csinf): Likewise.
1526 * math/s_csinhf.c (__csinhf): Likewise.
1527 * math/s_ctanf.c (__ctanf): Likewise.
1528 * math/s_ctanhf.c (__ctanhf): Likewise.
1529 * math/s_ccosh.c (__ccoshf): Likewise.
1530 * math/s_cexp.c (__cexpl): Likewise.
1531 * math/s_csin.c (__csin): Likewise.
1532 * math/s_csinh.c (__csinh): Likewise.
1533 * math/s_ctan.c (__ctan): Likewise.
1534 * math/s_ctanh.c (ctanh): Likewise.
1535 * math/s_ccoshl.c (__ccoshl): Likewise.
1536 * math/s_cexpl.c (__cexpl): Likewise.
1537 * math/s_csinl.c (__csinl): Likewise.
1538 * math/s_csinhl.c (__csinhl): Likewise.
1539 * math/s_ctanl.c (__ctanl): Likewise.
1540 * math/s_ctanhl.c (__ctanhl): Likewise.
1542 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1544 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1545 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1546 (_IO_off_t): Define to __off_t, not _G_off_t.
1547 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1548 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1549 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1550 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1551 type of __dummy and __dummy2 fields.
1552 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1553 (_G_ssize_t): Likewise.
1554 (_G_off_t): Likewise.
1555 (_G_pid_t): Likewise.
1556 (_G_uid_t): Likewise.
1557 (_G_wchar_t): Likewise.
1558 (_G_wint_t): Likewise.
1559 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1560 (_G_ssize_t): Likewise.
1561 (_G_off_t): Likewise.
1562 (_G_pid_t): Likewise.
1563 (_G_uid_t): Likewise.
1564 (_G_wchar_t): Likewise.
1565 (_G_wint_t): Likewise.
1566 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1567 (_G_ssize_t): Likewise.
1568 (_G_off_t): Likewise.
1569 (_G_pid_t): Likewise.
1570 (_G_uid_t): Likewise.
1571 (_G_wchar_t): Likewise.
1572 (_G_wint_t): Likewise.
1574 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1576 * malloc/arena.c: Include malloc-sysdep.h.
1577 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1578 is sufficient to shrink the heap or an unmap is needed.
1579 * sysdeps/generic/malloc-sysdep.h: New file. Define
1580 new function check_may_shrink_heap.
1581 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1582 new function check_may_shrink_heap.
1584 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1586 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1589 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1591 * catgets/test-gencat.sh: Add "set -e".
1592 * elf/tst-pathopt.sh: Likewise.
1593 * grp/tst_fgetgrent.sh: Likewise.
1594 * iconvdata/run-iconv-test.sh: Likewise.
1595 * intl/tst-gettext.sh: Likewise.
1596 * intl/tst-gettext2.sh: Likewise.
1597 * intl/tst-gettext4.sh: Likewise.
1598 * intl/tst-gettext6.sh: Likewise.
1599 * intl/tst-translit.sh: Likewise.
1600 * io/ftwtest-sh: Likewise.
1601 * libio/test-freopen.sh: Likewise.
1602 * malloc/tst-mtrace.sh: Likewise.
1603 * posix/globtest.sh: Likewise.
1604 * posix/tst-getconf.sh: Likewise.
1605 * posix/wordexp-tst.sh: Likewise.
1606 * stdio-common/tst-printf.sh: Likewise.
1607 * stdio-common/tst-unbputc.sh: Likewise.
1608 * stdlib/tst-fmtmsg.sh: Likewise.
1609 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1610 * catgets/Makefile: Do not specify -e option when running
1611 testsuite shell scripts.
1612 * elf/Makefile: Likewise.
1613 * grp/Makefile: Likewise.
1614 * iconvdata/Makefile: Likewise.
1615 * intl/Makefile: Likewise.
1616 * io/Makefile: Likewise.
1617 * libio/Makefile: Likewise.
1618 * malloc/Makefile: Likewise.
1619 * posix/Makefile: Likewise.
1620 * stdio-common/Makefile: Likewise.
1621 * stdlib/Makefile: Likewise.
1622 * sysdeps/x86_64/Makefile: Likewise.
1624 * io/ftwtest-sh: Add copyright header.
1625 * posix/globtest.sh: Likewise.
1626 * posix/tst-getconf.sh: Likewise.
1627 * posix/wordexp-tst.sh: Likewise.
1628 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1630 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1633 * Makeconfig (+link): Defined as $(+link-static) if
1634 $(build-shared) isn't yes.
1635 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1637 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1639 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1642 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1643 new chunk size with MALLOC_ALIGN_MASK.
1645 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1648 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1650 (__printf_fphex): Determine rounding using get_rounding_mode and
1652 * stdio-common/tst-printf-round.c (struct hex_test): New
1654 (hex_tests): New variable.
1655 (test_hex_in_one_mode): New function.
1656 (do_test): Also run tests for hex float output.
1658 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1660 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1661 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1662 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1663 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1664 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1665 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1666 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1667 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1669 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1671 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1672 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1673 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1674 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1676 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1679 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1681 * elf/tst-rtld-load-self.sh: New test.
1682 * elf/Makefile: Run it.
1684 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1686 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1687 (tst-writev-ENV): Remove.
1688 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1690 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1692 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1694 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1696 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1698 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1700 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1701 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1705 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1708 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1709 * config.make.in (have-cpp-asm-debuginfo): Removed.
1710 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1711 * configure: Regenerated.
1713 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1716 * stdio-common/printf_fp.c: Include <stdbool.h> and
1718 (___printf_fp): Determine rounding using get_rounding_mode and
1720 * stdio-common/tst-printf-round.c: New file.
1721 * stdio-common/Makefile (tests): Add tst-printf-round.
1722 (link-libm): New variable.
1723 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1725 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1728 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1729 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1731 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1734 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1736 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1737 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1738 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1739 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1741 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1744 * include/rounding-mode.h: New file.
1745 * sysdeps/generic/get-rounding-mode.h: Likewise.
1746 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1747 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1748 (MAX_VALUE): New macro.
1749 (MIN_VALUE): Likewise.
1750 (overflow_value): New function.
1751 (underflow_value): Likewise.
1752 (round_and_return): Use overflow_value and underflow_value to
1753 determine return values in overflow and underflow cases. Use
1754 round_away to determine rounding depending on rounding mode.
1755 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1756 determine return values in overflow and underflow cases.
1757 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1758 (struct test_results): New structure.
1759 (struct test): Use struct test_results to store expected results
1760 for all rounding modes.
1761 (TEST): Include expected results for all rounding modes.
1762 (test_in_one_mode): New function.
1763 (do_test): Use test_in_one_mode to compute and check results.
1764 Check results for all rounding modes.
1765 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1768 2012-12-09 Allan McRae <allan@archlinux.org>
1770 * sysdeps/i386/fpu/libm-test-ulps: Update
1772 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1775 (_G_int32_t): Likewise.
1776 (_G_uint16_t): Likewise.
1777 (_G_uint32_t): Likewise.
1778 (_G_HAVE_BOOL): Likewise.
1779 (_G_HAVE_ATEXIT): Likewise.
1780 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1781 (_G_HAVE_IO_FILE_OPEN): Likewise.
1782 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1783 (_G_int32_t): Likewise.
1784 (_G_uint16_t): Likewise.
1785 (_G_uint32_t): Likewise.
1786 (_G_HAVE_BOOL): Likewise.
1787 (_G_HAVE_ATEXIT): Likewise.
1788 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1789 (_G_HAVE_IO_FILE_OPEN): Likewise.
1790 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1791 (_G_int32_t): Likewise.
1792 (_G_uint16_t): Likewise.
1793 (_G_uint32_t): Likewise.
1794 (_G_HAVE_BOOL): Likewise.
1795 (_G_HAVE_ATEXIT): Likewise.
1796 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1797 (_G_HAVE_IO_FILE_OPEN): Likewise.
1799 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1801 * csu/libc-tls.c: Update copyright years.
1803 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1805 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1806 [!_G_USING_THUNKS]: Remove conditional code.
1807 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1808 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1810 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1811 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1812 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1813 (_G_VTABLE_LABEL_PREFIX): Likewise.
1814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1815 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1816 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1817 (_G_VTABLE_LABEL_PREFIX): Likewise.
1818 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1819 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1820 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1821 (_G_VTABLE_LABEL_PREFIX): Likewise.
1822 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1824 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1826 * libio/Makefile: Include ../Makeconfig before tests.
1827 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1828 only if $(build-shared) is yes.
1830 * iconv/gconv_db.c: Update copyright years.
1832 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1834 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1835 unwind info if defined PIC. Fix special cases description.
1836 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1838 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1840 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1842 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1844 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1846 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1849 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1850 (LDLIBS-tst-chk4): This.
1851 (LDFLAGS-tst-chk5): Renamed to ...
1852 (LDLIBS-tst-chk5): This.
1853 (LDFLAGS-tst-chk6): Renamed to ...
1854 (LDLIBS-tst-chk6): This.
1855 (LDFLAGS-tst-lfschk4): Renamed to ...
1856 (LDLIBS-tst-lfschk4): This.
1857 (LDFLAGS-tst-lfschk5): Renamed to ...
1858 (LDLIBS-tst-lfschk5): This.
1859 (LDFLAGS-tst-lfschk6): Renamed to ...
1860 (LDLIBS-tst-lfschk6): This.
1862 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1863 on $(common-objpfx)soversions.mk.
1865 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1868 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1871 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1873 * malloc/arena.c (arena_get_retry): New function that gets
1874 another arena for the caller to try its request on.
1875 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1876 current arena cannot fulfill the request.
1877 (__libc_memalign): Likewise.
1878 (__libc_memalign): Likewise.
1879 (__libc_pvalloc): Likewise.
1880 (__libc_calloc): Likewise.
1882 2012-09-05 John Tobey <john.tobey@gmail.com>
1885 * manual/arith.texi (Operations on Complex): Fix description
1888 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1891 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1895 * manual/memory.texi (Memory): Make order of menu items match
1898 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1900 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1901 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1902 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1904 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1906 * csu/libc-tls.c (static_dtv): Renamed to ...
1907 (_dl_static_dtv): This. Make it global.
1908 (_dl_initial_dtv): Removed.
1909 (__libc_setup_tls): Updated.
1910 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1911 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1914 2012-09-06 Petr Machata <pmachata@redhat.com>
1916 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1917 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1918 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1919 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1921 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1924 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1925 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1928 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1931 * Makeconfig (link-static-before-libc): Replace $(+prector)
1933 (link-static-after-libc): Replace $(+postctor) with
1935 (link-bounded): Replace $(+prector)/$(+postctor) with
1936 $(+prectorT)/$(+postctorT).
1937 (+prectorT): New macro.
1938 (+postctorT): Likewise.
1940 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1942 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1943 (round_str): Handle values above the maximum for IBM long double
1945 * stdlib/tst-strtod-round.c (tests): Regenerated.
1947 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1949 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1951 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1952 zarch_nohighgprs around the zarch optimized routines.
1953 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1954 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1958 2012-09-05 David S. Miller <davem@davemloft.net>
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1962 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1963 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1964 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1965 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1968 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1970 * malloc/arena.c: Fold copyright years.
1971 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1973 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1975 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1977 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1979 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1981 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1983 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1984 change internal state upon failure.
1986 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1988 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1989 * malloc/memusage.c (mmap): Likewise.
1990 (mmap64, mremap): Likewise. Adjust name in comment.
1992 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1994 * libio/fileops.c: Fix typos in comments.
1995 * libio/oldfileops.c: Likewise.
1996 * libio/wfileops.c: Likewise.
1998 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2001 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2002 (tst-malloc-usable-ENV): Set environment for test case.
2003 * malloc/hooks.c (malloc_check_get_size): New function to get
2005 * malloc/malloc.c (musable): Use malloc_check_get_size.
2006 * malloc/tst-malloc-usable.c: New test case.
2008 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2010 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2012 2012-09-05 Allan McRae <allan@archlinux.org>
2015 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2016 determine header location.
2017 * configure: Regenerated.
2019 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2021 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2023 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2024 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2028 2012-09-04 David S. Miller <davem@davemloft.net>
2030 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2031 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2034 2012-09-04 Florian Weimer <fweimer@redhat.com>
2036 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2039 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2041 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2044 * libio/iogetdelim.c: Include <limits.h>.
2045 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2046 + len + 1 would overflow.
2048 2012-09-03 Andreas Jaeger <aj@suse.de>
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2051 * sysdeps/i386/fpu/libm-test-ulps: Update.
2053 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2055 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2056 Add s_sinf-sse2, s_conf-sse2.
2058 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2059 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2060 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2061 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2063 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2064 for using routine as __sinf_ia32.
2065 Use macro for function declaration and weak_alias.
2066 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2067 for using routine as __cosf_ia32.
2068 Use macro for function declaration and weak_alias.
2070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2071 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2073 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2074 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2077 * math/libm-test.inc (cos_test): Add more test cases.
2078 (sin_test): Likewise.
2079 (sincos_test): Likewise.
2081 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2084 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2088 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2091 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2092 first element of the GOT.
2093 (elf_machine_load_address): Return the difference between
2094 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2096 2012-09-01 Allan McRae <allan@archlinux.org>
2099 * configure.in (AWK): Require gawk version 3.0 or later.
2100 * configure: Regenerated.
2102 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2104 * sysdeps/unix/sysv/linux/kernel-features.h
2105 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2107 [__NR_clock_getres]: Make code unconditional.
2108 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2109 (clock_getcpuclockid): Remove code left unreachable by removal of
2111 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2113 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2114 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2115 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2116 Make code unconditional.
2117 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2119 * sysdeps/unix/sysv/linux/clock_settime.c
2120 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2122 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2123 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2125 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2128 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2129 scripts/test-installation.pl.
2131 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2132 and $ld_so_version if it is set.
2134 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2138 failure if reading from procfs failed.
2139 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2141 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2143 * sysdeps/unix/sysv/linux/kernel-features.h
2144 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2145 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2146 Remove conditional code.
2147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2148 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2149 Remove conditional code.
2150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2151 * sysdeps/unix/sysv/linux/i386/fxstat.c
2152 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2154 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2155 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2157 * sysdeps/unix/sysv/linux/i386/lxstat.c
2158 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2161 Remove conditional code.
2162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2163 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2164 Remove conditional code.
2165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2166 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2167 <kernel-features.h>.
2168 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2170 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2171 Remove conditional code.
2172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2173 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2176 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2179 * NEWS: Add fixed bug number.
2181 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2184 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2185 underflowing exponent in case of negative sign.
2186 * stdlib/tst-strtod-round-data: Add more tests.
2187 * stdlib/tst-strtod-round.c (tests): Regenerated.
2190 * stdlib/strtod_l.c (NDIG): Remove.
2191 (HEXNDIG): Likewise.
2192 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2193 smallest representable value.
2194 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2195 lie within an exact representation of 1/2 ulp of the result.
2196 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2198 (TENS_P9_IDX): Define unconditionally.
2199 (TENS_P9_SIZE): Likewise.
2200 (TENS_P10_IDX): Likewise.
2201 (TENS_P10_SIZE): Likewise.
2202 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2203 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2204 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2205 entries for 10^2^13 and 10^2^14.
2206 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2207 (TENS_P13_IDX): Define.
2208 (TENS_P13_SIZE): Likewise.
2209 (TENS_P14_IDX): Likewise.
2210 (TENS_P14_SIZE): Likewise.
2211 (_fpioconst_pow10): Change array size to
2212 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2214 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2215 1024]: Add entries for 10^2^13 and 10^2^14.
2216 [LAST_POW10 > _LAST_POW10]: Remove #error.
2217 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2218 (_fpioconst_pow10): Change array size to
2219 FPIOCONST_POW10_ARRAY_SIZE.
2220 * stdlib/gen-fpioconst.c: New file.
2221 * stdlib/gen-tst-strtod-round.c: Likewise.
2222 * stdlib/tst-strtod-round-data: Likewise.
2223 * stdlib/tst-strtod-round.c: Likewise.
2224 * stdlib/Makefile (tests): Add tst-strtod-round.
2227 * stdlib/strtod_l.c: Include <stdint.h>.
2228 (NDEBUG): Do not define.
2229 (round_and_return): Change EXPONENT parameter to type intmax_t.
2230 Rearrange calculations to avoid internal overflow possibilities.
2231 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2232 Rearrange calculations to avoid internal overflow possibilities.
2233 Assert that number fits inside MPNSIZE limbs.
2234 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2235 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2236 calculations and add assertions to avoid internal overflow
2237 possibilities. Add casts to avoid signed/unsigned operations.
2238 * stdlib/tst-strtod-overflow.c: New file.
2239 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2241 2012-08-25 Marek Polacek <polacek@redhat.com>
2243 * time/time.h: Fix some typos in comments.
2245 2012-08-23 Roland McGrath <roland@hack.frob.com>
2247 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2248 * posix/tst-rfc3484-2.c: Likewise.
2249 * posix/tst-rfc3484-3.c: Likewise.
2251 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2253 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2254 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2256 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2259 #include of fxstatat64.c.
2261 2012-08-22 Roland McGrath <roland@hack.frob.com>
2263 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2264 * shadow/getspent_r.c: Likewise.
2265 * shadow/getspnam.c: Likewise.
2266 * shadow/getspnam_r.c: Likewise.
2267 * gshadow/getsgent.c: Likewise.
2268 * gshadow/getsgent_r.c: Likewise.
2269 * gshadow/getsgnam.c: Likewise.
2270 * gshadow/getsgnam_r.c: Likewise.
2271 * inet/getnetbyad.c: Likewise.
2272 * inet/getnetbyad_r.c: Likewise.
2273 * inet/getnetbynm.c: Likewise.
2274 * inet/getnetbynm_r.c: Likewise.
2275 * inet/getnetent.c: Likewise.
2276 * inet/getnetent_r.c: Likewise.
2277 * inet/getproto.c: Likewise.
2278 * inet/getproto_r.c: Likewise.
2279 * inet/getprtent.c: Likewise.
2280 * inet/getprtent_r.c: Likewise.
2281 * inet/getprtname.c: Likewise.
2282 * inet/getprtname_r.c: Likewise.
2283 * inet/getrpcbyname.c: Likewise.
2284 * inet/getrpcbyname_r.c: Likewise.
2285 * inet/getrpcbynumber.c: Likewise.
2286 * inet/getrpcbynumber_r.c: Likewise.
2287 * inet/getrpcent.c: Likewise.
2288 * inet/getrpcent_r.c: Likewise.
2289 * inet/getaliasent.c: Likewise.
2290 * inet/getaliasent_r.c: Likewise.
2291 * inet/getaliasname.c: Likewise.
2292 * inet/getaliasname_r.c: Likewise.
2293 * nscd/getgrgid_r.c: Likewise.
2294 * nscd/getgrnam_r.c: Likewise.
2295 * nscd/gethstbyad_r.c: Likewise.
2296 * nscd/gethstbynm3_r.c: Likewise.
2297 * nscd/getpwnam_r.c: Likewise.
2298 * nscd/getpwuid_r.c: Likewise.
2299 * nscd/getsrvbynm_r.c: Likewise.
2300 * nscd/getsrvbypt_r.c: Likewise.
2301 * nscd/gai.c: Likewise.
2303 * configure.in (build_nscd): New substituted variable, set
2304 by --disable-build-nscd and defaults to $use_nscd.
2305 * configure: Regenerated.
2306 * config.make.in (build-nscd): New substituted variable.
2307 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2308 Change conditional to require [$(build-nscd) = yes] as well.
2309 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2312 * configure.in (use_nscd): New substituted variable, set by
2313 --disable-nscd. If enabled, define USE_NSCD.
2314 * configure: Regenerated.
2315 * config.h.in: Add USE_NSCD.
2316 * config.make.in (use-nscd): New substituted variable.
2317 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2318 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2319 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2320 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2321 (CFLAGS-getgrnam_r.c): Likewise.
2322 (CFLAGS-initgroups.c): Likewise.
2323 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2324 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2326 * inet/getnetgrent_r.c
2327 (nscd_setnetgrent): New function, broken out of ...
2328 (setnetgrent): ... here. Call it.
2329 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2330 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2331 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2332 * nscd/Makefile (routines, aux): Move definitions after include of
2333 Makeconfig. Conditionalize on [$(use-nscd) != no].
2334 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2335 Conditionalize on [USE_NSCD].
2336 (is_nscd, nscd_init_cb): Likewise.
2337 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2338 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2339 * nss/nss_db/db-init.c: Likewise.
2340 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2342 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2343 (make_request): Use it.
2344 (cache_valid_p): New function.
2345 (__check_pf): Use it.
2346 * NEWS: Add item for --disable-nscd.
2348 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2350 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2351 to support sed >= 4.2.1-20-ga9bf076.
2352 * configure: Regenerated.
2354 2012-08-22 Roland McGrath <roland@hack.frob.com>
2356 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2357 Conditionalize whole body on [IREL].
2359 2012-08-22 Jeff Law <law@redhat.com>
2362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2363 if the family is PF_UNSPEC.
2365 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2367 * Makerules (lib-version): Rename from V.
2368 (install-lib-nosubdir): Change V to lib-version.
2370 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2373 * powerpc32/power6/wcschr.c: New file.
2374 * powerpc32/power6/wcscpy.c: New file.
2375 * powerpc32/power6/wcsrchr.c: New file.
2376 * powerpc64/power6/wcschr.c: New file.
2377 * powerpc64/power6/wcscpy.c: New file.
2378 * powerpc64/power6/wcsrchr.c: New file.
2380 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2382 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2383 (two_way_short_needle): Use it.
2384 * string/strstr.c (AVAILABLE1_USES_J): Define.
2385 * string/strcasestr.c: Likewise.
2387 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2389 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2392 * NEWS: Add an entry.
2393 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2394 define their defaults.
2395 (two_way_short_needle): Detect end-of-string on-the-fly.
2396 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2397 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2398 * string/bug-strcasestr1.c: New test.
2399 * string/Makefile: Run it.
2401 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2404 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2405 the first character.
2407 2012-08-21 Roland McGrath <roland@hack.frob.com>
2409 * csu/elf-init.c (__libc_csu_irel): Function removed.
2410 * csu/libc-start.c (apply_irel): New function.
2411 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2413 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2415 * sysdeps/unix/sysv/linux/kernel-features.h
2416 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2417 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2418 <kernel-features.h>.
2419 [__NR_fadvise64_64]: Make code unconditional.
2420 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2421 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2422 !__NR_fadvise64_64)]: Likewise.
2423 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2424 !__NR_fadvise64_64))]: Likewise.
2425 [__NR_fadvise64]: Make code unconditional.
2426 [!__NR_fadvise64]: Remove conditional code.
2427 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2428 <kernel-features.h>.
2429 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2431 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2434 not include <kernel-features.h>.
2435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2439 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2440 include <kernel-features.h>.
2441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2446 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2449 slight instruction rearrangements per scrollpipe analysis.
2450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2452 2012-08-20 Roland McGrath <roland@hack.frob.com>
2454 * manual/syslog.texi (syslog; vsyslog, closelog):
2455 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2456 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2458 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2459 DSOCAPS to match condition on defining it.
2461 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2463 * sysdeps/unix/sysv/linux/kernel-features.h
2464 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2466 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2467 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2469 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2470 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2472 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2473 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2475 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2476 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2478 * sysdeps/unix/sysv/linux/kernel-features.h
2479 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2480 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2482 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2484 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2485 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2486 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2487 Make code unconditional.
2488 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2489 (__mmap64) [!__NR_mmap2]: Likewise.
2490 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2491 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2492 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2493 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2494 [__NR_mmap2]: Make code unconditional.
2495 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2496 (__mmap64) [!__NR_mmap2]: Likewise.
2498 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2500 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2502 2012-08-18 Andreas Jaeger <aj@suse.de>
2504 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2506 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2508 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2509 * include/unistd.h (__have_sock_cloexec): Likewise.
2510 (__have_pipe2): Likewise.
2511 (__have_dup3): Likewise.
2513 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2516 * include/unistd.h (__have_pipe2): Change define into an extern int.
2517 (__have_dup3): Likewise.
2518 * socket/have_sock_cloexec.c: Include fcntl.h.
2519 (__have_pipe2): New variable.
2520 (__have_dup3): Likewise.
2522 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2524 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2526 2012-08-17 Marek Polacek <polacek@redhat.com>
2528 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2529 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2531 2012-08-17 Roland McGrath <roland@hack.frob.com>
2533 * configure.in: Add AC_SUBST for sysheaders.
2534 * configure: Regenerated.
2535 * config.make.in (sysheaders): New substituted variable.
2537 * sysdeps/unix/mkfifo.c: Moved ...
2538 * sysdeps/posix/mkfifo.c: ... here.
2539 * sysdeps/unix/mkfifoat.c: Moved ...
2540 * sysdeps/posix/mkfifoat.c: ... here.
2542 * sysdeps/unix/utime.c: Moved ...
2543 * sysdeps/posix/utime.c: ... here.
2545 * sysdeps/unix/time.c: Moved ...
2546 * sysdeps/posix/time.c: ... here.
2547 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2548 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2550 * sysdeps/unix/nice.c: Moved ...
2551 * sysdeps/posix/nice.c: ... here.
2553 * sysdeps/unix/alarm.c: Moved ...
2554 * sysdeps/posix/alarm.c: ... here.
2556 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2558 2012-08-17 Jeff Law <law@redhat.com>
2560 * intl/Makefile (codeset_mo): New variable.
2561 ($(codeset_mo)): New target.
2562 (tst-codeset.out): Depend on that. Remove explicit rule.
2563 (tst-gettext3.out, tst-gettext5.out): Likewise.
2564 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2565 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2566 * intl/tst-codeset.sh: Remove.
2567 * intl/tst-gettext3.sh: Likewise.
2568 * intl/tst-gettext5.sh: Likewise.
2570 2012-08-17 Roland McGrath <roland@hack.frob.com>
2572 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2573 * sysdeps/unix/syscalls.list: ... here.
2575 * sysdeps/posix/getaddrinfo.c
2576 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2577 (gaiconf_init, gaiconf_reload): Use them.
2579 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2580 Define using time_t rather than struct timespec.
2582 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2583 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2585 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2587 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2588 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2591 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2592 __libc_cleanup_push argument.
2594 * bits/param.h: New file.
2595 * misc/sys/param.h: New file.
2596 * include/sys/param.h: New file.
2597 * misc/Makefile (headers): Add bits/param.h.
2598 * sysdeps/generic/sys/param.h: File removed.
2599 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2600 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2601 * sysdeps/mach/hurd/bits/param.h: New file.
2602 * sysdeps/mach/hurd/sys/param.h: File removed.
2604 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2607 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2609 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2610 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2613 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2614 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2615 rather than -D_IO_MTSAFE_IO conditionally.
2616 * stdio-common/Makefile (CPPFLAGS): Likewise.
2617 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2618 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2619 Use $(libio-mtsafe).
2620 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2622 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2623 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2624 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2625 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2626 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2627 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2628 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2629 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2630 (CFLAGS-fread_u_chk.c): Likewise.
2631 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2632 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2633 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2634 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2635 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2636 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2637 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2638 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2639 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2641 * libio/Makefile: Test [$(libc-reentrant) = yes]
2642 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2645 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2646 * sysdeps/pthread/configure: File removed.
2647 * sysdeps/pthread/Makeconfig: New file.
2648 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2649 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2651 2012-08-16 Gary Benson <gbenson@redhat.com>
2653 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2654 unmapping the first object in a namespace.
2656 2012-08-16 Roland McGrath <roland@hack.frob.com>
2658 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2659 (__internal_setnetgrent): ... this. Add internal_function to
2660 definition. Add libc_hidden_def.
2661 (setnetgrent): Update caller.
2662 (internal_endnetgrent): Renamed to ...
2663 (__internal_endnetgrent): ... this. Add internal_function to
2664 definition. Add libc_hidden_def.
2665 (endnetgrent): Update caller.
2666 (internal_getnetgrent_r): Renamed to ...
2667 (__internal_getnetgrent_r): ... this. Add internal_function to
2668 definition. Add libc_hidden_def.
2669 (__getnetgrent_r): Update caller.
2670 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2672 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2674 * stdlib/longlong.h: Update from GCC.
2676 2012-08-16 Roland McGrath <roland@hack.frob.com>
2678 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2679 on _QL, which is set by umul_ppmm but never used.
2680 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2681 variables, which are set by GMP macros but never used.
2682 * stdio-common/_itowa.c (_itowa): Likewise.
2683 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2684 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2686 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2688 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2689 struct La_sh_regs is not constant.
2690 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2691 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2692 and struct La_sparc64_regs are not constant.
2694 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2696 * sysdeps/unix/sysv/linux/kernel-features.h
2697 (__ASSUME_POSIX_TIMERS): Remove.
2698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2700 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2701 Make code unconditional.
2702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2703 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2704 Make code unconditional.
2705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2706 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2707 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2709 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2710 Make code unconditional.
2711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2712 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2713 (__libc_missing_posix_timers): Remove.
2715 2012-08-15 Roland McGrath <roland@hack.frob.com>
2717 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2718 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2720 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2722 * elf/dl-sym.c: Include <stdlib.h>.
2724 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2725 constants, which avoids warnings in 32-bit builds.
2727 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2728 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2730 * misc/lseek.c: File moved to ...
2731 * io/lseek.c: ... here.
2733 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2735 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2736 shifting LEN more than 31 bits at once.
2738 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2741 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2742 segmentation fault for a case of two empty input strings.
2743 * string/test-strncasecmp.c (check1): Renamed to...
2745 (bz14195): Add new testcase for two empty input strings and N > 0.
2746 (test_main): Call new testcase, adapt for renamed function.
2748 2012-08-15 Andreas Jaeger <aj@suse.de>
2751 * crypt/md5test2.c: New test, based on test supplied by Serge
2752 Belyshev <belyshev@depni.sinp.msu.ru>.
2753 * crypt/Makefile (xtests): Add md5test-giant..
2754 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2756 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2759 * crypt/md5.c (md5_process_block): Don't assume the buffer
2760 length is less than 2**32.
2761 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2762 length is less than 2**64.
2764 2012-08-15 Roland McGrath <roland@hack.frob.com>
2766 * string/str-two-way.h: Include <sys/param.h>.
2767 (MAX): Macro removed.
2769 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2770 Move #define and #undef of memmove to just before and after
2771 including <string.h>.
2773 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2774 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2775 and after including <string.h>. Move declarations of
2776 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2777 to before #include "string/memmove.c".
2779 * include/dirent.h: Declare __getdirentries.
2781 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2782 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2784 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2786 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2787 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2788 * sysdeps/i386/configure: Regenerated.
2789 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2790 STABS_CURRENT_FILE, and STABS_FUN.
2791 (END): Remove call to STABS_FUN_END.
2792 (STABS_CURRENT_FILE1): Delete.
2793 (STABS_CURRENT_FILE): Likewise.
2794 (STABS_FUN): Likewise.
2795 (STABS_FUN_END): Likewise.
2796 (STABS_FUN2): Likewise.
2797 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2798 * sysdeps/x86_64/configure: Regenerated.
2800 2012-08-14 Roland McGrath <roland@hack.frob.com>
2802 * elf/dl-open.c: Include <atomic.h>.
2803 * elf/dl-lookup.c: Likewise.
2805 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2807 * sysdeps/unix/sysv/linux/kernel-features.h
2808 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2809 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2811 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2813 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2814 condition on __ASSUME_CLONE_THREAD_FLAGS.
2816 2012-08-14 Andreas Jaeger <aj@suse.de>
2818 * sysdeps/i386/fpu/libm-test-ulps: Update.
2820 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2822 * include/atomic.h (atomic_exchange_and_add): Split into ...
2823 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2826 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2830 2012-08-13 Jeff Law <law@redhat.com>
2832 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2833 null byte in the output string.
2835 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/unix/sysv/linux/kernel-features.h
2838 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2839 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2840 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2841 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2842 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2843 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2844 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2846 2012-08-09 Jeff Law <law@redhat.com>
2849 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2850 When avoid_arena is set, don't retry in the that arena. Pick the
2851 next one, whatever it might be.
2852 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2853 (arena_lock): Pass in new parameter to arena_get2.
2854 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2856 (__libc_malloc): Unify retrying after main arena failure with
2857 __libc_memalign version.
2858 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2860 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2863 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2864 to __redirect_strstr.
2865 (__strstr_sse42): Use typeof __redirect_strstr.
2866 (__strstr_ia32): Likewise.
2867 (__libc_strstr): New prototype.
2868 (strstr): Renamed to ...
2869 (__libc_strstr): This.
2870 (strstr): New strong alias of __libc_strstr.
2871 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2875 (__libc_time): New prototype.
2876 (time_ifunc): Replace time with __libc_time.
2877 (time): New strong alias and hidden definition of __libc_time.
2878 (__GI_time): Remove strong alias.
2879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2881 (memmove): Redefined to __redirect_memmove.
2882 (__memmove_sse2): Use typeof __redirect_memmove.
2883 (__memmove_ssse3): Likewise.
2884 (__memmove_ssse3_back): Likewise.
2885 (__libc_memmove): New prototype.
2886 (memmove): Renamed to ...
2887 (__libc_memmove): This.
2888 (memmove): New strong alias of __libc_memmove.
2890 2012-08-08 Mark Salter <msalter@redhat.com>
2893 (R_MN10300_TLS_GD): Define.
2894 (R_MN10300_TLS_LD): Likewise.
2895 (R_MN10300_TLS_LDO): Likewise.
2896 (R_MN10300_TLS_GOTIE): Likewise.
2897 (R_MN10300_TLS_IE): Likewise.
2898 (R_MN10300_TLS_LE): Likewise.
2899 (R_MN10300_TLS_DTPMOD): Likewise.
2900 (R_MN10300_TLS_DTPOFF): Likewise.
2901 (R_MN10300_TLS_TPOFF): Likewise.
2902 (R_MN10300_SYM_DIFF): Likewise.
2903 (R_MN10300_ALIGN): Likewise.
2904 (R_MN10300_NUM): Update.
2906 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2911 2012-08-08 Roland McGrath <roland@hack.frob.com>
2913 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2915 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2916 sysdeps/unix -> sysdeps/posix move.
2917 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2919 2012-08-07 Allan McRae <allan@archlinux.org>
2922 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2923 (SUNOS_CPP): Likewise.
2924 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2926 (open_input): Call CPP using execvp.
2928 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/unix/sysv/linux/kernel-features.h
2931 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2932 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2933 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2934 (__ASSUME_WAITID_SYSCALL): Likewise.
2935 * sysdeps/unix/sysv/linux/dl-execstack.c
2936 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2938 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2940 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2941 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2942 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2944 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2946 [__ASSUME_WAITID_SYSCALL]: Likewise.
2947 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2949 2012-08-07 Roland McGrath <roland@hack.frob.com>
2951 * sysdeps/unix/closedir.c: Renamed to ...
2952 * sysdeps/posix/closedir.c: ... here.
2953 * sysdeps/unix/dirfd.c: Renamed to ...
2954 * sysdeps/posix/dirfd.c: ... here.
2955 * sysdeps/unix/dirstream.h: Renamed to ...
2956 * sysdeps/posix/dirstream.h: ... here.
2957 * sysdeps/unix/fdopendir.c: Renamed to ...
2958 * sysdeps/posix/fdopendir.c: ... here.
2959 * sysdeps/unix/opendir.c: Renamed to ...
2960 * sysdeps/posix/opendir.c: ... here.
2961 * sysdeps/unix/readdir.c: Renamed to ...
2962 * sysdeps/posix/readdir.c: ... here.
2963 * sysdeps/unix/readdir_r.c: Renamed to ...
2964 * sysdeps/posix/readdir_r.c: ... here.
2965 * sysdeps/unix/rewinddir.c: Renamed to ...
2966 * sysdeps/posix/rewinddir.c: ... here.
2967 * sysdeps/unix/seekdir.c: Renamed to ...
2968 * sysdeps/posix/seekdir.c: ... here.
2969 * sysdeps/unix/telldir.c: Renamed to ...
2970 * sysdeps/posix/telldir.c: ... here.
2971 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2972 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2973 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2974 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2976 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2977 * bits/fcntl.h: ... here.
2979 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2981 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2982 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2983 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2984 (struct flock): Move l_start, l_len to the beginning.
2985 Use __pid_t for l_pid.
2986 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2987 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2988 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2989 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2990 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2991 [__USE_LARGEFILE64] (struct flock64): New type.
2992 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2994 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2995 * bits/dirent.h: ... here.
2997 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2998 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3000 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3003 Change from 2.6.0 to 2.6.16.
3004 * sysdeps/unix/sysv/linux/configure: Regenerated.
3005 * sysdeps/unix/sysv/linux/kernel-features.h
3006 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3007 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3009 (__ASSUME_UTIMES): Likewise.
3010 (__ASSUME_CLONE_STOPPED): Remove.
3011 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3012 architectures, not kernel version.
3013 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3014 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3015 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3016 (__ASSUME_WAITID_SYSCALL): Likewise.
3017 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3018 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3019 * README: State 2.6.16 as minimum Linux kernel version. Do not
3020 refer to older versions.
3022 2012-08-06 Roland McGrath <roland@hack.frob.com>
3024 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3025 Define alphasort64 as an alias.
3026 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3027 Define versionsort64 as an alias.
3028 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3029 Define scandir64 as an alias.
3030 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3031 Define scandirat64 as an alias.
3032 * dirent/alphasort64.c (alphasort64):
3033 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3034 * dirent/versionsort64.c: Likewise.
3035 * dirent/scandir64.c: Likewise.
3036 * dirent/scandirat64.c: Likewise.
3037 * sysdeps/wordsize-64/alphasort.c: File removed.
3038 * sysdeps/wordsize-64/alphasort64.c: File removed.
3039 * sysdeps/wordsize-64/scandir.c: File removed.
3040 * sysdeps/wordsize-64/scandir64.c: File removed.
3041 * sysdeps/wordsize-64/scandirat.c: File removed.
3042 * sysdeps/wordsize-64/scandirat64.c: File removed.
3043 * sysdeps/wordsize-64/versionsort.c: File removed.
3044 * sysdeps/wordsize-64/versionsort64.c: File removed.
3045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3046 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3052 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3054 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3056 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3058 [defined __arch64__ || defined __sparcv9]
3059 (__INO_T_MATCHES_INO64_T): New macro.
3060 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3061 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3062 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3063 * sysdeps/unix/sysv/linux/bits/dirent.h
3064 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3065 (_DIRENT_MATCHES_DIRENT64): New macro.
3067 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3068 Define lockf64 as an alias.
3069 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3070 Define fseeko64 as an alias.
3071 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3072 Define ftello64 as an alias.
3073 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3074 Define _IO_fgetpos64 and fgetpos64 as aliases.
3075 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3076 Define _IO_fsetpos64 and fsetpos64 as aliases.
3077 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3078 Conditionalize body on this.
3079 * libio/fseeko64.c: Likewise.
3080 * libio/ftello64.c: Likewise.
3081 * libio/iofgetpos64.c: Likewise.
3082 * libio/iofsetpos64.c: Likewise.
3083 * sysdeps/wordsize-64/lockf.c: File removed.
3084 * sysdeps/wordsize-64/lockf64.c: File removed.
3085 * sysdeps/wordsize-64/fseeko.c: File removed.
3086 * sysdeps/wordsize-64/fseeko64.c: File removed.
3087 * sysdeps/wordsize-64/ftello.c: File removed.
3088 * sysdeps/wordsize-64/ftello64.c: File removed.
3089 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3090 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3091 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3092 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3098 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3102 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3104 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3106 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3108 [defined __arch64__ || defined __sparcv9]
3109 (__OFF_T_MATCHES_OFF64_T): New macro.
3110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3111 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3113 (__OFF_T_MATCHES_OFF64_T): New macro.
3115 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3117 * stdlib/secure-getenv.c (__secure_getenv): Replace
3118 GLIBC_2_16 with GLIBC_2_17.
3120 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3125 2012-08-03 David S. Miller <davem@davemloft.net>
3127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3129 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3133 (__ASSUME_CORRECT_SI_PID): Likewise.
3134 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3135 (__ASSUME_TMPFS_NAME): Likewise.
3136 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3137 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3138 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3139 (HAVE_AUX_SECURE): Make definition unconditional.
3140 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3141 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3143 2012-08-03 Roland McGrath <roland@hack.frob.com>
3145 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3146 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3147 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3149 __eloop_threshold instead of SYMLOOP_MAX.
3151 * sysdeps/generic/eloop-threshold.h: New file.
3152 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3154 * elf/chroot_canon.c (chroot_canon): Likewise.
3156 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3160 Change to 2.6.0 everywhere.
3161 * sysdeps/unix/sysv/linux/configure: Regenerated.
3162 * sysdeps/unix/sysv/linux/kernel-features.h
3163 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3164 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3166 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3167 (__ASSUME_FUTEX_REQUEUE): Remove.
3168 (__ASSUME_STATFS64): Define unconditionally.
3169 (__ASSUME_AT_SECURE): Likewise.
3170 (__ASSUME_CORRECT_SI_PID): Likewise.
3171 (__ASSUME_TGKILL): Define without depending on kernel version for
3173 (__ASSUME_UTIMES): Likewise.
3174 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3176 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3177 (__ASSUME_TMPFS_NAME): Likewise.
3178 * README: Update reference to Linux kernel versions.
3180 2012-08-02 Marek Polacek <polacek@redhat.com>
3183 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3184 libc_cv_asm_type_prefix with %.
3185 * configure: Regenerated.
3186 * include/libc-symbols.h: Remove comment about
3187 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3188 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3189 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3190 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3191 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3192 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3193 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3194 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3195 * elf/tst-unique2mod1.c: Likewise.
3196 * elf/tst-unique1mod2.c: Likewise.
3197 * elf/tst-unique1mod1.c: Likewise.
3198 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3199 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3200 Replace ASM_TYPE_DIRECTIVE with .type.
3201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3202 * sysdeps/i386/sysdep.h: Likewise.
3203 * sysdeps/x86_64/sysdep.h: Likewise.
3204 * sysdeps/sh/sysdep.h: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3206 Do not define ASM_TYPE_DIRECTIVE.
3207 * sysdeps/powerpc/sysdep.h: Likewise.
3208 * sysdeps/powerpc/powerpc32/sysdep.h:
3209 Replace ASM_TYPE_DIRECTIVE with .type.
3210 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3212 * sysdeps/i386/fpu/e_powf.S: Likewise.
3213 * sysdeps/i386/fpu/e_expl.S: Likewise.
3214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3215 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3216 * sysdeps/i386/fpu/e_pow.S: Likewise.
3217 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3218 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3219 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3220 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3221 * sysdeps/i386/fpu/e_log2.S: Likewise.
3222 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3223 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3224 * sysdeps/i386/fpu/e_powl.S: Likewise.
3225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3226 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3227 * sysdeps/i386/fpu/e_logl.S: Likewise.
3228 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3229 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3230 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3231 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3232 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3233 * sysdeps/i386/fpu/e_log.S: Likewise.
3234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3235 * sysdeps/i386/fpu/e_logf.S: Likewise.
3236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3238 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3239 * sysdeps/i386/fpu/e_log10.S: Likewise.
3240 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3241 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3242 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3243 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3244 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3246 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3247 * sysdeps/i386/i686/strtok.S: Likewise.
3248 * sysdeps/i386/i386-mcount.S: Likewise.
3249 * sysdeps/i386/strtok.S: Likewise.
3250 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3251 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3252 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3253 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3254 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3259 * sysdeps/x86_64/_mcount.S: Likewise.
3260 * sysdeps/x86_64/strtok.S: Likewise.
3261 * sysdeps/sh/_mcount.S: Likewise.
3263 2012-08-01 Roland McGrath <roland@hack.frob.com>
3265 * libio/iofopen.c: Include <fcntl.h>.
3266 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3267 (_IO_fopen64, fopen64): Define as aliases.
3268 * libio/iofopen64.c: Include <fcntl.h>.
3269 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3270 Conditionalize body on this.
3271 * sysdeps/wordsize-64/iofopen.c: File removed.
3272 * sysdeps/wordsize-64/iofopen64.c: File removed.
3274 2012-08-01 Marek Polacek <polacek@redhat.com>
3276 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3277 Use dlfcn directly instead of a variable.
3278 (binfmt-subdir): Do not define.
3281 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3284 Remove all definitions.
3285 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3286 <kernel-features.h>.
3287 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3288 (miss_F_GETOWN_EX): Remove all definitions.
3289 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3291 [!__ASSUME_FCNTL64]: Remove conditional code.
3292 [__ASSUME_FCNTL64]: Make code unconditional.
3293 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3294 <kernel-features.h>.
3295 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3296 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3297 (lockf64) [__NR_fcntl64]: Make code unconditional.
3298 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3300 * sysdeps/unix/sysv/linux/kernel-features.h
3301 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3302 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3303 Make code unconditional.
3304 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3305 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3307 [__NR_vfork]: Make code unconditional.
3308 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3309 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3311 [__NR_vfork]: Make code unconditional.
3312 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3313 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3315 2012-08-01 Roland McGrath <roland@hack.frob.com>
3317 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3318 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3320 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3321 Define mkstemp64 as an alias.
3322 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3323 Define mkstemps64 as an alias.
3324 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3325 Define mkostemp64 as an alias.
3326 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3327 Define mkostemps64 as an alias.
3328 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3329 Conditionalize body on this.
3330 * misc/mkostemp64.c: Likewise.
3331 * misc/mkostemps64.c: Likewise.
3332 * misc/mkstemps64.c: Likewise.
3333 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3334 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3335 * sysdeps/wordsize-64/mkostemp.c: File removed.
3336 * sysdeps/wordsize-64/mkstemp.c: File removed.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3343 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3344 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3345 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3346 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3348 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3349 compat_symbol macros from <shlib-compat.h> rather than the underlying
3350 default_symbol_version and symbol_version macros, so that DEFAULT
3351 lines in shlib-versions are respected.
3352 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3354 2012-08-01 Florian Weimer <fweimer@redhat.com>
3356 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3357 Declare with warn_unused_result.
3358 (setgid, setregid, setegid, setresgid): Likewise.
3359 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3361 * WUR-REPORT: Remove set*id functions.
3363 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3365 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3367 2012-07-31 Roland McGrath <roland@hack.frob.com>
3369 * include/sys/socket.h (__libc_accept, __libc_accept4):
3370 Add attribute_hidden.
3371 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3375 * inet/getnetgrent_r.c (setup): Likewise.
3377 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3379 2012-07-31 David S. Miller <davem@davemloft.net>
3381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3383 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3386 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3387 value between 1.0 and 2.0 and smaller part has absolute value less
3389 * math/s_clog10.c (__clog10): Likewise.
3390 * math/s_clog10f.c (__clog10f): Likewise.
3391 * math/s_clog10l.c (__clog10l): Likewise.
3392 * math/s_clogf.c (__clogf): Likewise.
3393 * math/s_clogl.c (__clogl): Likewise.
3394 * math/libm-test.inc (clog_test): Add more tests.
3395 (clog10_test): Likewise.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3399 2012-07-31 Florian Weimer <fweimer@redhat.com>
3401 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3402 Exit with zero in case no suitable GID is found, and write a
3403 message to standard error.
3405 2012-07-30 Roland McGrath <roland@hack.frob.com>
3407 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3409 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3410 (MAXPATHLEN): Removed.
3411 (NOGROUP, NODEV): New macros.
3412 (setbit, clrbit, isset, isclr): New macros.
3413 (howmany, roundup, powerof2): New macros.
3414 (DEV_BSIZE): New macro.
3416 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3417 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3419 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3420 definition on [!__NO_LONG_DOUBLE_MATH].
3422 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3423 PTR_MANGLE and PTR_DEMANGLE.
3425 * socket/accept4.c (accept4): Rename to __libc_accept4.
3426 Define accept4 as a weak alias.
3428 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3429 on [_DIRENT_HAVE_D_TYPE].
3430 * io/ftw.c (ftw_dir): Likewise.
3432 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3434 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3436 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3437 Use the BSD numbers rather than the arbitrary ones we had.
3438 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3439 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3440 (SIGXCPU, SIGXFSZ): New macros.
3443 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3444 initializer on [_LIBC_REENTRANT].
3446 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3447 definitions inside [_POSIX_MAPPED_FILES].
3449 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3451 * dirent/opendir.c: Include <fcntl.h>.
3453 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3454 (__libc_getspecific): Likewise.
3455 (__libc_key_create): Likewise.
3457 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3458 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3459 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3460 (tmpfile64): Define as alias.
3461 * sysdeps/wordsize-64/tmpfile.c: File removed.
3462 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3464 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3466 * stdio-common/vfscanf.c: Include <stdbool.h>.
3467 * nss/makedb.c: Likewise.
3468 * stdio-common/_i18n_number.h: Likewise.
3469 * argp/argp-help.c: Likewise.
3470 * posix/wordexp.c: Likewise.
3471 * sysdeps/posix/spawni.c: Likewise.
3472 * nss/nss_files/files-initgroups.c: Likewise.
3473 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3474 * nss/nss_files/files-initgroups.c: Likewise.
3475 * nss/nss_db/db-netgrp.c: Likewise.
3476 * nss/nss_db/db-initgroups.c: Likewise.
3477 * io/fchmodat.c: Include <sys/stat.h>.
3479 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3480 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3482 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3485 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3486 Add multiple inclusion protection.
3488 2012-07-27 David S. Miller <davem@davemloft.net>
3490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3492 2012-07-27 Gary Benson <gbenson@redhat.com>
3495 * elf/rtld.c: Include <stap-probe.h>.
3496 (dl_main): Added static probes "init_start" and "init_complete".
3497 * elf/dl-load.c: Include <stap-probe.h>.
3498 (lose): Take new parameter "nsid".
3499 Added static probe "map_failed".
3500 (_dl_map_object_from_fd): Pass namespace id to lose.
3501 Added static probe "map_start".
3502 (open_verify): Pass namespace id to lose.
3503 * elf/dl-open.c: Include <stap-probe.h>.
3504 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3505 and "reloc_complete".
3506 * elf/dl-close.c: Include <stap-probe.h>.
3507 (_dl_close_worker): Added static probes "unmap_start" and
3509 * elf/rtld-debugger-interface.txt: New file documenting the above.
3511 2012-07-26 Roland McGrath <roland@hack.frob.com>
3513 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3514 rather than a string variable.
3515 * sunrpc/rpc_main.c (h_output): Likewise.
3516 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3518 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3520 * inet/check_native.c: New file.
3522 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3525 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3526 if larger part has absolute value 1.0.
3527 * math/s_clog10.c (__clog10): Likewise.
3528 * math/s_clog10f.c (__clog10f): Likewise.
3529 * math/s_clog10l.c (__clog10l): Likewise.
3530 * math/s_clogf.c (__clogf): Likewise.
3531 * math/s_clogl.c (__clogl): Likewise.
3532 * math/libm-test.inc (clog_test): Add more tests.
3533 (clog10_test): Likewise.
3534 * sysdeps/i386/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3537 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3538 (pltexit): Likewise.
3539 (La_regs): Likewise.
3540 (La_retval): Likewise.
3541 (int_retval): Likewise.
3542 Update #error for removed macros to refer only to definitions in
3544 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3546 (pltexit): Likewise.
3547 (La_regs): Likewise.
3548 (La_retval): Likewise.
3549 (int_retval): Likewise.
3550 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3552 (pltexit): Likewise.
3553 (La_regs): Likewise.
3554 (La_retval): Likewise.
3555 (int_retval): Likewise.
3556 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3558 (pltexit): Likewise.
3559 (La_regs): Likewise.
3560 (La_retval): Likewise.
3561 (int_retval): Likewise.
3562 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3564 (pltexit): Likewise.
3565 (La_regs): Likewise.
3566 (La_retval): Likewise.
3567 (int_retval): Likewise.
3568 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3570 (pltexit): Likewise.
3571 (La_regs): Likewise.
3572 (La_retval): Likewise.
3573 (int_retval): Likewise.
3574 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3576 (pltexit): Likewise.
3577 (La_regs): Likewise.
3578 (La_retval): Likewise.
3579 (int_retval): Likewise.
3580 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3581 macro definitions in tst-audit.h.
3582 * sysdeps/i386/tst-audit.h: New file.
3583 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3584 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3585 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3586 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3587 * sysdeps/sh/tst-audit.h: Likewise.
3588 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3589 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3590 * sysdeps/x86_64/tst-audit.h: Likewise.
3592 2012-07-26 Andreas Jaeger <aj@suse.de>
3594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3597 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3598 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3599 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3601 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3605 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3608 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3610 (si_call_addr, si_syscall, si_arch): Define new macro.
3611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3613 (si_call_addr, si_syscall, si_arch): Define new marcro.
3614 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3616 (si_call_addr, si_syscall, si_arch): Define new macro.
3617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3619 (si_call_addr, si_syscall, si_arch): Define new macro.
3621 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3625 Change to 2.4.21 where previously 2.4.1.
3626 * sysdeps/unix/sysv/linux/configure: Regenerated.
3627 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3628 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3629 Linux kernel version.
3630 (__ASSUME_STD_AUXV): Remove.
3631 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3633 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3634 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3635 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3636 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3637 (__ASSUME_NETLINK_SUPPORT): Likewise.
3638 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3639 (__no_netlink_support): Remove conditional definition.
3640 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3642 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3643 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3644 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3645 (if_nameindex_ioctl): Remove.
3646 (if_nameindex_netlink): Do not handle __no_netlink_support.
3647 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3649 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3650 Remove conditional code.
3651 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3653 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3655 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3656 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3657 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3659 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3660 [!__ASSUME_STD_AUXV]: Remove conditional code.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3662 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3663 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3665 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3666 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3668 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3670 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3671 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3673 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3678 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3681 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3683 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3685 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3687 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3690 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3692 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3695 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3697 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3699 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3701 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3704 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3706 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3708 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3710 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3713 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3715 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3716 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3718 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3719 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3720 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3721 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3722 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3723 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3725 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3726 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3727 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3728 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3739 2012-07-25 Florian Weimer <fweimer@redhat.com>
3741 * Versions.def: Add GLIBC_2.17.
3742 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3743 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3744 Introduce __libc_secure_getenv.
3745 * stdlib/Versions (2.17): Add secure_getenv
3746 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3747 * stdlib/secure-getenv.c: Rename __secure_getenv to
3748 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3749 symbol __secure_getenv for GLIBC_2.0.
3750 * stdlib/tst-secure-getenv.c: New.
3751 * stdlib/Makefile (tests): Add testcase.
3752 * manual/startup.texi (Environment Access): Document
3754 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3755 __libc_secure_getenv.
3756 * inet/ruserpass.c (ruserpass): Likewise.
3757 * malloc/mtrace.c (mtrace): Likewise.
3758 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3759 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3760 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3761 * sysdeps/posix/tempname.c: Likewise. Evaluate
3763 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3764 __secure_getenv to __libc_secure_getenv.
3765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3778 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3780 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3781 (struct La_i86_retval): Likewise.
3782 (struct La_x86_64_regs): Likewise.
3783 (struct La_x86_64_retval): Likewise.
3784 (struct La_x32_regs): Likewise.
3785 (struct La_x32_retval): Likewise.
3786 (struct La_ppc32_regs): Likewise.
3787 (struct La_ppc32_retval): Likewise.
3788 (struct La_ppc64_regs): Likewise.
3789 (struct La_ppc64_retval): Likewise.
3790 (struct La_sh_regs): Likewise.
3791 (struct La_sh_retval): Likewise.
3792 (struct La_s390_32_regs): Likewise.
3793 (struct La_s390_32_retval): Likewise.
3794 (struct La_s390_64_regs): Likewise.
3795 (struct La_s390_64_retval): Likewise.
3796 (struct La_sparc32_regs): Likewise.
3797 (struct La_sparc32_retval): Likewise.
3798 (struct La_sparc64_regs): Likewise.
3799 (struct La_sparc64_retval): Likewise.
3800 (struct audit_ifaces): Remove architecture-specific pltenter and
3802 * sysdeps/i386/ldsodefs.h: New file.
3803 * sysdeps/powerpc/ldsodefs.h: Likewise.
3804 * sysdeps/s390/ldsodefs.h: Likewise.
3805 * sysdeps/sh/ldsodefs.h: Likewise.
3806 * sysdeps/sparc/ldsodefs.h: Likewise.
3807 * sysdeps/x86_64/ldsodefs.h: Likewise.
3809 2012-07-25 Marek Polacek <polacek@redhat.com>
3812 * math/libm-test.inc (yn_test): Add another test.
3813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3814 to ERANGE when the result is +-Inf.
3815 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3816 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3817 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3818 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3820 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3822 * conform/data/time.h-data (NULL): Use macro-constant. Require
3824 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3826 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3828 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3830 * configure.in <sysdeps resolving>: Correct printing
3832 * configure: Regenerate.
3834 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3836 * math/w_ilogb.c: Include <limits.h>.
3837 * math/w_ilogbl.c: Likewise.
3839 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3841 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3842 va_copy. Document allowing for unavailable va_copy only as
3843 pre-C99 compatibility.
3844 * manual/string.texi (Copying and Concatenation): Use va_copy
3845 instead of __va_copy in concat example.
3847 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3849 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3850 (__sendto): Use create_address_port. Initialize APORT and deallocate
3853 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3854 with O_NOLINK passed to __file_name_lookup.
3856 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3857 with O_NOLINK passed to __file_name_lookup.
3859 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3860 negative N or less than NGIDS.
3862 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3863 type to string_t. Set ERANGE as errno and return it if NAME is not big
3864 enough. Use memcpy instead of strncpy.
3866 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3868 * elf/Makefile (check-data): Remove.
3869 (localplt.data): New vpath directive.
3870 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3871 instead of $(check-data).
3872 * scripts/data/localplt-generic.data: Move to ...
3873 * sysdeps/generic/localplt.data: ... here.
3874 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3875 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3876 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3879 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3882 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3885 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3888 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3891 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3895 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3898 PPC32 and PPC64 files.
3899 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3900 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3902 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3904 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3905 __makecontext_ret to ...
3906 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3907 ... here and call exit if uc_link is NULL. New file.
3908 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3909 __makecontext_ret.S.
3910 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3911 __makecontext_ret to ...
3912 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3913 ... here and call exit if uc_link is NULL. New file.
3914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3915 __makecontext_ret.S.
3917 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3919 * elf/elf.h (R_390_IRELATIVE): New definition.
3920 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3921 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3922 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3924 (elf_machine_lazy_rel): Likewise.
3925 * sysdeps/s390/dl-irel.h: New file.
3926 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3927 * sysdeps/s390/s390-64/memset.S: New asm code.
3928 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3929 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3931 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3932 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3933 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3934 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3935 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3936 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3937 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3938 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3939 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3940 * sysdeps/s390/s390-32/memset.S: New asm code.
3941 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3943 2012-07-17 Marek Polacek <polacek@redhat.com>
3946 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3947 * sysdeps/s390/s390-64/configure.in: Likewise.
3948 * sysdeps/sparc/configure.in: Likewise.
3949 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3950 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3951 * sysdeps/i386/configure.in: Likewise.
3952 * sysdeps/x86_64/configure.in: Likewise.
3953 * sysdeps/sh/configure.in: Likewise.
3954 * sysdeps/s390/s390-32/configure: Regenerated.
3955 * sysdeps/s390/s390-64/configure: Likewise.
3956 * sysdeps/x86_64/configure: Likewise.
3957 * sysdeps/sh/configure: Likewise.
3958 * sysdeps/powerpc/powerpc64/configure: Likewise.
3959 * sysdeps/powerpc/powerpc32/configure: Likewise.
3960 * sysdeps/sparc/configure: Likwise.
3961 * sysdeps/i386/configure: Likewise.
3963 * elf/dl-open.c: Comment fixes.
3965 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3967 * Makefile [CXX] (check-data): Remove.
3968 [CXX] (c++-types.data): New vpath directive.
3969 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3970 vpath. Do not allow for C++ type data being missing.
3971 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3972 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3973 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3974 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3975 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3976 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3977 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3980 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3983 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3986 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3989 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3992 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3995 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3998 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4001 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4002 definitions to architecture-specific files.
4006 * sysdeps/i386/tls-macros.h: New file.
4007 * sysdeps/powerpc/tls-macros.h: Likewise.
4008 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4009 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4010 * sysdeps/sh/tls-macros.h: Likewise.
4011 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4012 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4013 * sysdeps/x86_64/tls-macros.h: Likewise.
4015 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4018 zero value for regular exit case.
4020 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4021 (__start_context): Preserve zero value for regular exit case.
4023 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4024 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4026 * manual/setjmp.texi (setcontext): Clarify normal process
4027 termination when uc_link is the null pointer.
4028 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4031 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4033 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4034 preprocessor. Test for each exception mask separately.
4036 2012-07-16 Andreas Jaeger <aj@suse.de>
4038 * po/ru.po: Update from translation team.
4040 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4042 * conform/data/string.h-data (NULL): Use macro-constant. Require
4044 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4045 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4046 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4047 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4050 2012-07-13 Andreas Jaeger <aj@suse.de>
4052 * po/fr.po: Update from translation team.
4054 2012-07-12 Marek Polacek <polacek@redhat.com>
4057 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4061 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4065 Change to 2.4.1 where previously 2.4.0.
4066 * sysdeps/unix/sysv/linux/configure: Regenerated.
4067 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4068 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4070 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4071 (__ASSUME_AT_CLKTCK): Remove.
4072 (__ASSUME_AT_PAGESIZE): Likewise.
4073 (__ASSUME_AT_XID): Likewise.
4074 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4075 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4076 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4078 (HAVE_AUX_PAGESIZE): Likewise.
4079 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4080 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4081 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4083 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4087 the temporary buffer used to invoke __gethostbyname2_r,
4088 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4089 host_data / struct gaih_addrtuple.
4090 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4091 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4092 header file nss/nsswitch.h.
4093 * nss/nsswitch.h (global scope): Add definition of implementation
4094 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4095 resolv/nss_dns/dns-host.c).
4097 2012-07-11 Andreas Jaeger <aj@suse.de>
4099 * po/fr.po: Update from translation team.
4101 * po/sv.po: Update from translation team
4102 * po/fr.po: Another update from translation team.
4104 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4106 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4107 for subnormals or multiply small sinh result by itself.
4108 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4111 2012-07-11 David S. Miller <davem@davemloft.net>
4113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4115 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4118 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4119 (INTERNAL_MARK): Shift it here.
4121 2012-07-10 Marek Polacek <polacek@redhat.com>
4124 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4125 libc_cv_asm_global_directive with .globl.
4126 * configure: Regenerated.
4127 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4129 * sysdeps/i386/configure: Regenerated.
4130 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4132 * sysdeps/x86_64/configure: Regenerated.
4133 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4134 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4135 * elf/tst-unique2mod2.c: Likewise.
4136 * elf/tst-unique2mod1.c: Likewise.
4137 * elf/tst-unique1mod2.c: Likewise.
4138 * elf/tst-unique1mod1.c: Likewise.
4139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4140 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4142 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4143 * sysdeps/mach/sysdep.h: Likewise.
4144 * sysdeps/i386/sysdep.h: Likewise.
4145 * sysdeps/i386/i386-mcount.S: Likewise.
4146 * sysdeps/x86_64/_mcount.S: Likewise.
4147 * sysdeps/x86_64/sysdep.h: Likewise.
4148 * sysdeps/sh/_mcount.S: Likewise.
4149 * sysdeps/sh/sysdep.h: Likewise.
4150 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4151 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4154 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4155 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4156 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4157 * locale/localeinfo.h: Likewise.
4158 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4159 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4161 2012-07-09 Roland McGrath <roland@hack.frob.com>
4164 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4166 * manual/message.texi (The Uniforum approach): Likewise.
4167 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4168 (glibc iconv Implementation): Likewise.
4170 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4173 * math/s_clog.c (__clog): Avoid scaling a value down where that
4174 could result in underflow.
4175 * math/s_clog10.c (__clog10): Likewise.
4176 * math/s_clog10f.c (__clog10f): Likewise.
4177 * math/s_clog10l.c (__clog10l): Likewise.
4178 * math/s_clogf.c (__clogf): Likewise.
4179 * math/s_clogl.c (__clogl): Likewise.
4180 * math/libm-test.inc (clog_test): Add more tests.
4181 (clog10_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4185 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4189 by 7 not 8 to examine high bit of fractional part.
4192 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4193 for call to __mcount_internal.
4194 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4195 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4196 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4198 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4201 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4202 approximation for values within 0x1p-13f of an odd multiple of
4204 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4205 exception. Add more tests.
4206 * sysdeps/i386/fpu/libm-test-ulps: Update.
4209 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4210 inputs and return -1 for them. Do not check for +Inf in case not
4212 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4213 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4215 and return -1 for them. Do not check for +Inf in case not
4217 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4220 and return -1 for them. Do not check for +Inf in case not
4222 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4224 * sysdeps/i386/fpu/libm-test-ulps: Update.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4227 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4229 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4231 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4235 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4236 could result in spurious underflow. Scale down values above
4237 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4238 * math/s_csqrtf.c (__csqrtf): Likewise.
4239 * math/s_csqrtl.c (__csqrtl): Likewise.
4240 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4242 * sysdeps/i386/fpu/libm-test-ulps: Update.
4243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4245 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4247 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4249 * catgets/xopen-msg.awk: New file.
4250 * catgets/xopen-msg.sed: Removed.
4252 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4254 * intl/po2test.awk: New file.
4255 * intl/po2test.sed: Removed.
4257 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4260 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4261 or multiply small sinh result by itself.
4262 * math/s_ctanf.c (__ctanf): Likewise.
4263 * math/s_ctanh.c (__ctanh): Likewise.
4264 * math/s_ctanhf.c (__ctanhf): Likewise.
4265 * math/s_ctanhl.c (__ctanhl): Likewise.
4266 * math/s_ctanl.c (__ctanl): Likewise.
4267 * math/libm-test.inc (ctan_test_tonearest): New function.
4268 (ctan_test_towardzero): Likewise.
4269 (ctan_test_downward): Likewise.
4270 (ctan_test_upward): Likewise.
4271 (ctanh_test_tonearest): Likewise.
4272 (ctanh_test_towardzero): Likewise.
4273 (ctanh_test_downward): Likewise.
4274 (ctanh_test_upward): Likewise.
4275 (main): Call these new functions.
4276 * sysdeps/i386/fpu/libm-test-ulps: Update.
4277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4281 * .gitignore: Delete /ports entry.
4283 2012-07-03 Andreas Jaeger <aj@suse.de>
4285 * po/bg.po: Update from translation team.
4286 * po/cs.po: Likewise.
4287 * po/de.po: Likewise.
4288 * po/hr.po: Likewise.
4289 * po/nl.pl: Likewise.
4290 * po/pl.po: Likewise.
4291 * po/vi.po: Likewise.
4293 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4295 * Makeconfig [!+link] (+link-before-libc): New variable.
4296 [!+link] (+link-after-libc): Likewise.
4297 [!+link] (+link-tests): Likewise.
4298 [!+link] (+link): Define in terms of $(+link-before-libc) and
4299 $(+link-after-libc).
4300 [!+link-static] (+link-static-before-libc): New variable.
4301 [!+link-static] (+link-static-after-libc): Likewise.
4302 [!+link-static] (+link-static-tests): Likewise.
4303 [!+link-static] (+link-static): Define in terms of
4304 $(+link-static-before-libc) and $(+link-static-after-libc).
4305 [build-shared] (link-libc-before-gnulib): New variable.
4306 [build-shared] (link-libc-tests): Likewise.
4307 [build-shared] (link-libc): Define in terms of
4308 $(link-libc-before-gnulib).
4309 [!build-shared] (link-libc-tests): New variable.
4310 (link-libc-static-tests): New variable.
4311 [!gnulib] (gnulib-arch): New variable.
4312 [!gnulib] (gnulib-tests): Likewise.
4313 [!gnulib] (static-gnulib-arch): Likewise.
4314 [!gnulib] (static-gnulib-tests): Likewise.
4315 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4316 Define with "=" instead of ":=".
4317 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4318 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4319 * Rules (binaries-all-notests): New variable.
4320 (binaries-all-tests): Likewise.
4321 (binaries-static-notests): Likewise.
4322 (binaries-static-tests): Likewise.
4323 (binaries-all): Define using $(binaries-all-notests) and
4324 $(binaries-all-tests).
4325 (binaries-static): Define using $(binaries-static-notests) and
4326 $(binaries-static-tests).
4327 (binaries-shared-tests): New variable.
4328 (binaries-shared-notests): Likewise.
4329 (binaries-shared): Remove variable.
4330 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4331 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4332 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4333 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4334 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4335 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4336 * elf/Makefile (sln-modules): New variable.
4337 (extra-objs): Add $(sln-modules:=.o).
4338 (ldconfig-modules): Add static-stubs.
4339 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4340 * elf/static-stubs.c: New file.
4343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4344 by 7 not 8 to examine high bit of fractional part. Use volatile
4345 variables when splitting into final array of floats if
4346 __FLT_EVAL_METHOD__ != 0.
4347 * math/libm-test.inc (cos_test): Add another test.
4348 (sin_test): Likewise.
4349 * sysdeps/i386/fpu/libm-test-ulps: Update.
4352 * math/libm-test.inc (cosh_test): Add more tests.
4354 * version.h (RELEASE): Set to "development".
4355 (VERSION): Set to "2.16.90".
4357 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4359 * NEWS: Update copyright. Remove last-updated date.
4360 Mention math library bug fixes and timezone data changes.
4361 * README: Mention GNU/Hurd, x32, and HPPA support status.
4363 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4365 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4367 2012-06-27 Andreas Jaeger <aj@suse.de>
4369 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4371 2012-06-25 Andreas Jaeger <aj@suse.de>
4373 * sysdeps/s390/fpu/libm-test-ulps: Update.
4375 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4376 Thomas Schwinge <thomas@codesourcery.com>
4378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4379 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4383 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4385 * sysdeps/mach/start.c: Remove file.
4386 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4387 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4388 * sysdeps/sh/init-first.c: Likewise.
4390 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4391 registers for frame unwinding purposes, add CFI directives.
4392 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4394 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4397 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4398 __fortify_fail returning.
4399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4402 sysdeps/sh/____longjmp_chk.S.
4403 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4404 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4405 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4406 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4408 * sysdeps/sh/abort-instr.h: New file.
4409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4410 process in case exit returns.
4412 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4413 initialize the GOT register before use.
4415 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4416 calculation of ARGC > 4.
4418 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4419 meaningful names to some local labels.
4421 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4422 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4424 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4425 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4426 (__arch_compare_and_exchange_val_16_acq): Likewise.
4427 (__arch_compare_and_exchange_val_32_acq): Likewise.
4428 (atomic_exchange_and_add): Fix gUSA sequence.
4429 (atomic_add): Likewise.
4430 (atomic_add_negative): Likewise.
4431 (atomic_add_zero): Likewise.
4432 (atomic_bit_test_set): Likewise.
4434 2012-06-22 Andreas Schwab <schwab@redhat.com>
4437 * include/link.h (struct link_map): Add l_free_initfini.
4438 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4440 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4441 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4442 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4445 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4447 * configure.in: Use AC_LANG_SOURCE.
4448 * configure: Regenerate.
4450 2012-06-22 Roland McGrath <roland@hack.frob.com>
4452 * configure.in (libc_cv_localstatedir): New substituted variable.
4453 * configure: Regenerated.
4454 * config.make.in (localstatedir): New variable, substituted from
4455 libc_cv_localstatedir.
4456 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4457 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4458 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4459 * sysdeps/gnu/configure: Regenerated.
4461 2012-06-21 Jeff Law <law@redhat.com>
4464 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4465 free. Simplify list management for _LIBC case.
4467 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4470 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4471 Clear sign bit of 64-bit integer value before comparing against
4474 * sysdeps/mach/configure: Regenerated.
4476 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4479 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4481 2012-06-21 Jeff Law <law@redhat.com>
4484 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4485 uint16_t for elements in the "seen" array to avoid char overflows.
4486 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4487 * elf/dl-open.c (dl_open_worker): Likewise.
4489 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4491 * scripts/list-sources.sh: Scan PORTS for translations.
4492 * po/libc.pot: Regenerated.
4494 2012-06-21 Andreas Jaeger <aj@suse.de>
4497 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4499 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4500 * bits/byteswap-16.h (__bswap_16): Likewise.
4501 * bits/byteswap.h (__bswap_constant_16): Likewise.
4503 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4506 * sysdeps/i386/fpu_control.h: Removed.
4507 * sysdeps/x86_64/fpu_control.h: Moved to ...
4508 * sysdeps/x86/fpu_control.h: Here.
4510 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4511 (_FPU_SETCW): Likewise.
4513 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4516 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4517 * sysdeps/x86/fpu/bits/mathinline.h: This.
4518 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4522 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4523 functions if __x86_64__ is defined.
4525 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4527 * string/endian.h: Add !__ASSEMBLER__ condition for including
4528 conversion interfaces.
4530 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4534 of ABS(x) in calculating zero to negative powers other than odd
4536 * math/libm-test.inc (pow_test): Add more tests.
4538 2012-06-15 Andreas Jaeger <aj@suse.de>
4540 * manual/contrib.texi (Contributors): Update entry of Liubov
4541 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4544 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4546 * string/string.h: Add __wur to GNU version of strerror_r.
4548 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4551 * string/Makefile (tests): Add tst-strtok_r.
4552 * string/tst-strtok_r.c: New file.
4553 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4554 RAX_LP/RDX_LP on SAVE_PTR.
4556 2012-06-14 Roland McGrath <roland@hack.frob.com>
4558 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4560 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4562 * libm_test.inc (csqrt_test): Allow more spurious underflow
4564 (j0_test): Likewise.
4565 (j1_test): Likewise.
4566 (y0_test): Likewise.
4567 (y1_test): Likewise.
4569 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4571 * po/Makefile (libc.pot): Use UTF-8 charset.
4573 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4576 Suppress sign-conversion warning from FD_SET.
4577 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4578 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4579 not unsigned long int.
4580 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4582 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4587 __extern_always_inline instead of __extern_inline.
4588 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4589 (__signbit): Likewise.
4590 (__signbitl): Support C++ namespace.
4591 (lrintf): New inline function.
4593 (llrintf): Likewise.
4605 (nearbyint): Likewise.
4606 (nearbyintf): Likewise.
4608 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4611 non-default versions.
4613 2012-06-11 Roland McGrath <roland@hack.frob.com>
4616 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4618 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4620 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4621 (FE_UPWARD, FE_DOWNWARD): Don't define.
4622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4623 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4625 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4630 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4632 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4634 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4635 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4637 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4640 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4641 * sysdeps/i386/fpu/Implies: New file.
4642 * sysdeps/x86_64/fpu/Implies: Likewise.
4643 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4644 * sysdeps/x86/fpu/bits/fenv.h: This.
4646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4649 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4652 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4653 character 0xffff that matches the last element of the
4656 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4661 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4664 values higher than 25.6283.
4666 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4669 subnormal exponent extraction and add some __builtin_expect.
4670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4671 Fix for subnormal mantissa calculation.
4673 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4675 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4676 cpu2 is -1 and errno is not ENOSYS.
4678 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4681 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4682 * sysdeps/x86/bits/string.h: This.
4683 * sysdeps/x86_64/bits/string.h: Removed.
4685 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4686 if not compiling for x86-64, but compiling for >= i486.
4688 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4689 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4691 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4692 New macro from Linux kernel 3.4.0.
4693 (FP_XSTATE_MAGIC2): Likewise.
4694 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4695 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4696 (struct _fpx_sw_bytes): New struct.
4697 (struct _xsave_hdr): Likewise.
4698 (struct _ymmh_state): Likewise.
4699 (struct _xstate): Likewise.
4701 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4702 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4704 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4706 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4708 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4709 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4710 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4711 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4712 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4713 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4715 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4718 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4719 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4720 (sysdep_headers): Include sys/platform/ppc.h.
4721 * sysdeps/powerpc/test-gettimebase.c: Test for
4722 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4723 * manual/Makefile (appendices): Include platform.texi.
4724 * manual/contrib.texi (Contributors): Update @node pointers.
4725 * manual/maint.texi (Maintenance): Likewise.
4726 (Platform): New node.
4727 * manual/platform.texi: New file. Document the new features.
4729 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4730 Jakub Jelinek <jakub@redhat.com>
4733 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4734 where __builtin_expect is unavailable.
4736 2012-06-03 David S. Miller <davem@davemloft.net>
4738 * stdlib/longlong.h: Updated from GCC.
4740 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4743 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4744 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4747 (GLIBC_2.16): Likewise.
4749 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4753 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4756 (default-abi): New variable.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4760 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4762 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4767 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4768 definition. Document in comment.
4770 2012-06-01 David S. Miller <davem@davemloft.net>
4772 * stdlib/longlong.h: Updated from GCC.
4774 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4777 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4778 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4779 sys/debugreg.h sys/io.h here.
4780 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4781 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4783 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4784 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4785 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4786 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4787 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4788 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4791 Define only if __x86_64__ is defined.
4793 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4797 Use int64_t for variable i.
4798 * math/libm-test.inc (fmod_test): Add more tests.
4800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4801 z computation is not scheduled after fetestexcept.
4802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4803 Use math_force_eval instead of asm to ensure calculation scheduled
4804 before exception test.
4805 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4806 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4808 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4811 computation is not scheduled after fetestexcept.
4813 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4816 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4817 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4819 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4824 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4827 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4829 (__WCHAR_MIN): Support __WORDSIZE == 64.
4830 (__WCHAR_MAX): Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4837 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4840 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4844 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4846 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4847 Defined to 1 if __x86_64__ isn't defined.
4848 (_STAT_VER_LINUX_OLD): New.
4849 (st_atime): Remove duplicate.
4850 (st_mtime): Likewise.
4851 (st_ctime): Likewise.
4853 2012-05-31 David S. Miller <davem@davemloft.net>
4855 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4858 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4860 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4864 * elf/dl-reloc.c: Include <_itoa.h>.
4865 (_dl_reloc_bad_type): Remove use of INTUSE.
4866 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4867 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4868 * stdio-common/psiginfo.c (psiginfo): Likewise.
4869 * stdio-common/psignal.c (psignal): Likewise.
4870 * string/strsignal.c (strsignal): Likewise.
4871 * include/signal.h (_sys_siglist): Declare hidden proto.
4872 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4873 INTVARDEF with libc_hidden_data_def.
4874 * stdio-common/itoa-udigits.c: Likewise.
4875 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4876 (_itoa_lower_digits_internal): Remove declaration.
4877 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4878 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4879 (_sys_sigabbrev_internal): Remove aliases.
4880 (_sys_siglist): Define hidden alias.
4882 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4887 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4891 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4893 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4894 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4895 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4896 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4898 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4900 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4901 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4914 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4916 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4917 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4919 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4921 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4923 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4924 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4927 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4931 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4933 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4934 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4936 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4938 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4939 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4940 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4942 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4944 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4946 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4948 * math/math.h (M_El): Use two more decimal places.
4949 (M_LOG2El): Likewise.
4950 (M_LOG10El): Likewise.
4952 (M_LN10l): Likewise.
4954 (M_PI_2l): Likewise.
4955 (M_PI_4l): Likewise.
4956 (M_1_PIl): Likewise.
4957 (M_2_PIl): Likewise.
4958 (M_2_SQRTPIl): Likewise.
4959 (M_SQRT2l): Likewise.
4960 (M_SQRT1_2l): Likewise.
4962 2012-05-31 David S. Miller <davem@davemloft.net>
4964 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4965 values between float registers.
4966 * sysdeps/sparc/sparc64/memset.S: Likewise.
4967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4969 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4971 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4972 -D_FORTIFY_SOURCE=1.
4973 (CPPFLAGS-tst-longjmp_chk.c): Define.
4974 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4975 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4976 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4977 CFLAGS-tst-wchar-h.c.
4979 2012-05-31 Marek Polacek <polacek@redhat.com>
4982 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4983 __endmntent_internal): Remove declaration.
4984 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4985 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4986 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4988 2012-05-30 David S. Miller <davem@davemloft.net>
4990 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4991 (___Q_simulate_exceptions): Use real FP ops rather than writing
4993 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4996 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4999 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5000 * sysdeps/x86/bits/xtitypes.h: This.
5002 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5003 * sysdeps/x86/bits/wordsize.h: This.
5005 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5006 * sysdeps/x86/bits/huge_vall.h: This.
5008 * sysdeps/i386/bits/select.h: Removed.
5009 * sysdeps/x86_64/bits/select.h: Renamed to ...
5010 * sysdeps/x86/bits/select.h: This.
5012 * sysdeps/i386/bits/setjmp.h: Removed.
5013 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5014 * sysdeps/x86/bits/setjmp.h: This.
5016 * sysdeps/i386/bits/mathdef.h: Removed.
5017 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5018 * sysdeps/x86/bits/mathdef.h: This.
5020 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5023 * include/sys/socket.h (__connect_internal)
5024 (__libc_sa_len_internal): Remove declaration.
5025 (__connect, __libc_sa_len): Declare hidden_proto.
5026 (SA_LEN): Remove use of INTUSE.
5027 * socket/connect.c: Add libc_hidden_def.
5028 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5029 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5030 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5032 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5034 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5035 of adding _internal alias.
5037 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/i386/bits/link.h: Removed.
5041 * sysdeps/i386/bits/linkmap.h: Likewise.
5042 * sysdeps/x86_64/bits/link.h: Renamed to ...
5043 * sysdeps/x86/bits/link.h: This.
5044 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5045 * sysdeps/x86/bits/linkmap.h: This.
5047 * sysdeps/i386/bits/endian.h: Removed.
5048 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5049 * sysdeps/x86/bits/endian.h: This.
5051 * sysdeps/i386/bits/byteswap.h: Removed.
5052 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5053 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5054 * sysdeps/x86/bits/byteswap.h: This.
5055 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5056 * sysdeps/x86/bits/byteswap-16.h: This.
5057 * sysdeps/i386/Implies: Add x86.
5058 * sysdeps/x86_64/Implies: Likewise.
5060 2012-05-30 David S. Miller <davem@davemloft.net>
5062 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5063 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5065 (FP_TRAPPING_EXCEPTIONS): Define.
5066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5067 (FP_TRAPPING_EXCEPTIONS): Define.
5068 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5069 subnormals only when inexact has been signalled or underflow
5070 exceptions are enabled.
5071 (_FP_PACK_CANONICAL): Likewise.
5073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5077 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5079 2012-05-30 Richard Henderson <rth@twiddle.net>
5081 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5082 with #ifndef NOT_IN_libc.
5084 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5085 marked to avoid plt entry.
5087 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5090 * Makeconfig (default-abi): New macro.
5091 (abi-includes): Likewise.
5092 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5093 $(abi-$(default-abi)-lib-soname) for soname if defined.
5094 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5096 * Makefile (installed-stubs): Likewise.
5097 * include/stubs-biarch.h: Removed.
5098 * scripts/lib-names.awk: Only handle one library at a time.
5099 * scripts/soversions.awk: Remove WORDSIZE support.
5100 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5102 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5104 (syscall-list-default-condition): Likewise.
5105 (syscall-list-default-condition): Likewise.
5106 (syscall-list-includes): Likewise.
5107 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5108 syscall-list-* with abi-*. Handle undefined abi-variants.
5109 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5110 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5111 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5112 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5114 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5116 (syscall-list-32-options): Likewise.
5117 (syscall-list-32-condition): Likewise.
5118 (syscall-list-64-options): Likewise.
5119 (syscall-list-64-condition): Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5122 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5125 (abi-64-ld-soname): New macro.
5126 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5130 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5131 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5133 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5135 * sysdeps/unix/sysv/linux/kernel-features.h
5136 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5137 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5138 include <kernel-features.h>.
5139 [!__NR_ftruncate64]: Remove conditional code.
5140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5141 [__NR_ftruncate64]: Make code unconditional.
5142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5143 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5144 include <kernel-features.h>.
5145 [!__NR_ftruncate64]: Remove conditional code.
5146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5147 [__NR_ftruncate64]: Make code unconditional.
5148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5150 include <kernel-features.h>.
5151 [!__NR_ftruncate64]: Remove conditional code.
5152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5153 [__NR_ftruncate64]: Make code unconditional.
5154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5156 include <kernel-features.h>.
5157 [!__NR_ftruncate64]: Remove conditional code.
5158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5159 [__NR_ftruncate64]: Make code unconditional.
5160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5162 * configure.in (libc_cv_fpie): Weaken to a compile test using
5164 * configure: Regenerated.
5166 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5181 2012-05-27 David S. Miller <davem@davemloft.net>
5183 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5185 (__Q_simulate_exceptions): Return void. Change to simulate
5186 exceptions by writing into the %fsr.
5187 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5188 (__Qp_handle_exceptions): Likewise.
5190 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5191 __Qp_handle_exceptions.
5192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5193 __Qp_handle_exceptions.
5194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5195 as unused and give dummy FP_RND_NEAREST initializer.
5196 (FP_INHIBIT_RESULTS): Define.
5197 (___Q_simulate_exceptions): Update declaration.
5198 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5201 as unused and give dummy FP_RND_NEAREST initializer.
5202 (__Qp_handle_exceptions): Update declaration.
5203 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5206 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5208 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5209 the temporary FPU control word.
5210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5211 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5213 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5215 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5216 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5218 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5219 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5220 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5222 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5224 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5227 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5229 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5230 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5231 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5232 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5234 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5235 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5238 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5240 * po/h.po: Update from translation team.
5242 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5244 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5246 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5247 handling of denormals.
5248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5249 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5257 2012-05-26 Marek Polacek <polacek@redhat.com>
5260 * math/libm-test.inc (fma_test): Don't always expect underflow
5263 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5266 * elf/tst-execstack.c: Include stackinfo.h.
5267 (do_test): Adjust test case to ensure that pthread_getattr_np
5268 behaviour remains the same after marking stack executable.
5270 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/unix/sysv/linux/kernel-features.h
5273 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5274 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5278 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5280 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5281 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5283 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5285 * configure.in: Define the default includes to being none.
5286 * configure: Regenerated.
5288 2012-05-25 Roland McGrath <roland@hack.frob.com>
5290 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5291 * sysdeps/x86_64/setjmp.S: Likewise.
5292 * sysdeps/i386/bsd-setjmp.S: Likewise.
5293 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5294 * sysdeps/i386/setjmp.S: Likewise.
5295 * sysdeps/i386/__longjmp.S: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5297 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5299 * include/stap-probe.h: New file.
5300 * configure.in: Handle --enable-systemtap.
5301 * configure: Regenerated.
5302 * config.h.in (USE_STAP_PROBE): New #undef.
5303 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5304 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5305 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5307 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5311 to 2.4.0 where earlier.
5312 * sysdeps/unix/sysv/linux/configure: Regenerated.
5313 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5314 <kernel-features.h>.
5315 [__ASSUME_32BITUIDS]: Make code unconditional.
5316 [!__ASSUME_32BITUIDS]: Remove conditional code.
5317 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5318 <kernel-features.h>.
5319 [__ASSUME_32BITUIDS]: Make code unconditional.
5320 [!__ASSUME_32BITUIDS]: Remove conditional code.
5321 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5322 [__ASSUME_32BITUIDS]: Make code unconditional.
5323 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
5341 <kernel-features.h>.
5342 [__ASSUME_32BITUIDS]: Make code unconditional.
5343 [!__ASSUME_32BITUIDS]: Remove conditional code.
5344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5345 <kernel-features.h>.
5346 [__ASSUME_32BITUIDS]: Make code unconditional.
5347 [!__ASSUME_32BITUIDS]: Remove conditional code.
5348 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5349 <kernel-features.h>.
5350 [__ASSUME_32BITUIDS]: Make code unconditional.
5351 [!__ASSUME_32BITUIDS]: Remove conditional code.
5352 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5353 <kernel-features.h>.
5354 [__ASSUME_32BITUIDS]: Make code unconditional.
5355 [!__ASSUME_32BITUIDS]: Remove conditional code.
5356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5357 <kernel-features.h>.
5358 [__ASSUME_32BITUIDS]: Make code unconditional.
5359 [!__ASSUME_32BITUIDS]: Remove conditional code.
5360 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5361 <kernel-features.h>.
5362 [__ASSUME_32BITUIDS]: Make code unconditional.
5363 [!__ASSUME_32BITUIDS]: Remove conditional code.
5364 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5365 <kernel-features.h>.
5366 [__NR_setresgid] (__setresgid): Do not declare.
5367 [__ASSUME_32BITUIDS]: Make code unconditional.
5368 [!__ASSUME_32BITUIDS]: Remove conditional code.
5369 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5370 <kernel-features.h>.
5371 [__NR_setresuid] (__setresuid): Do not declare.
5372 [__ASSUME_32BITUIDS]: Make code unconditional.
5373 [!__ASSUME_32BITUIDS]: Remove conditional code.
5374 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
5391 <kernel-features.h>.
5392 [__ASSUME_32BITUIDS]: Make code unconditional.
5393 [!__ASSUME_32BITUIDS]: Remove conditional code.
5394 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5395 <kernel-features.h>.
5396 [__ASSUME_32BITUIDS]: Make code unconditional.
5397 [!__ASSUME_32BITUIDS]: Remove conditional code.
5398 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5399 <kernel-features.h>.
5400 [__ASSUME_32BITUIDS]: Make code unconditional.
5401 [!__ASSUME_32BITUIDS]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5403 <kernel-features.h>.
5404 [__ASSUME_32BITUIDS]: Make code unconditional.
5405 [!__ASSUME_32BITUIDS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5407 <kernel-features.h>.
5408 [__ASSUME_32BITUIDS]: Make code unconditional.
5409 [!__ASSUME_32BITUIDS]: Remove conditional code.
5410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5411 <kernel-features.h>.
5412 [__ASSUME_32BITUIDS]: Make code unconditional.
5413 [!__ASSUME_32BITUIDS]: Remove conditional code.
5414 * sysdeps/unix/sysv/linux/kernel-features.h
5415 (__ASSUME_SETRESUID_SYSCALL): Remove.
5416 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5417 (__ASSUME_32BITUIDS): Likewise.
5418 (__ASSUME_LDT_WORKS): Likewise.
5419 (__ASSUME_O_DIRECTORY): Likewise.
5420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5421 architecture but not kernel version.
5422 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5423 (__ASSUME_MMAP2_SYSCALL): Likewise.
5424 (__ASSUME_STAT64_SYSCALL): Likewise.
5425 (__ASSUME_IPC64): Likewise.
5426 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5427 <kernel-features.h>.
5428 [__ASSUME_32BITUIDS]: Make code unconditional.
5429 [!__ASSUME_32BITUIDS]: Remove conditional code.
5430 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5431 <kernel-features.h>.
5432 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5433 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5434 132096]: Remove conditional code.
5435 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5436 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5437 <kernel-features.h>.
5438 [__ASSUME_32BITUIDS]: Make code unconditional.
5439 [!__ASSUME_32BITUIDS]: Remove conditional code.
5440 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5441 <kernel-features.h>.
5442 [__ASSUME_32BITUIDS]: Make code unconditional.
5443 [!__ASSUME_32BITUIDS]: Remove conditional code.
5444 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5445 <kernel-features.h>.
5446 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5448 (__setresgid): Do not declare.
5449 [__ASSUME_32BITUIDS]: Make code unconditional.
5450 [!__ASSUME_32BITUIDS]: Remove conditional code.
5451 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5452 <kernel-features.h>.
5453 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5455 (__setresuid): Do not declare.
5456 [__ASSUME_32BITUIDS]: Make code unconditional.
5457 [!__ASSUME_32BITUIDS]: Remove conditional code.
5458 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5459 <kernel-features.h>.
5460 [__ASSUME_32BITUIDS]: Make code unconditional.
5461 [!__ASSUME_32BITUIDS]: Remove conditional code.
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5463 <kernel-features.h>.
5464 [__ASSUME_32BITUIDS]: Make code unconditional.
5465 [!__ASSUME_32BITUIDS]: Remove conditional code.
5467 2012-05-25 Richard Henderson <rth@twiddle.net>
5469 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5470 dl_hwcap to ifunc resolver.
5471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5474 dl_hwcap to ifunc resolver.
5475 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5477 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5480 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5481 for |x| <= 2**-26, not 2**-57.
5482 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5485 2012-05-24 Jeff Law <law@redhat.com>
5487 * stdio-common/Makefile (tests): Add bug25.
5488 * stdio-common/bug25.c: New test.
5490 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5493 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5494 multiple of MALLOC_ALIGNMENT in size.
5495 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5497 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5499 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5501 (FILENAME_MAX): Use macro-int-constant.
5502 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5503 (_IOFBF): Use macro-int-constant.
5506 (SEEK_CUR): Likewise.
5507 (SEEK_END): Likewise.
5508 (SEEK_SET): Likewise.
5509 (TMP_MAX): Likewise.
5510 (EOF): Use macro-int-constant. Require < 0.
5511 (NULL): Use macro-constant. Require == 0.
5512 (stdin): Require type to be FILE *.
5515 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5517 (EXIT_SUCCESS): Likewise.
5518 (NULL): Use macro-constant. Require == 0.
5519 (RAND_MAX): Use macro-int-constant.
5520 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5521 [C99-based standards] (strtof): Require function.
5522 [C99-based standards] (strtold): Likewise.
5523 [C99-based standards] (strtoll): Likewise.
5524 [C99-based standards] (strtoull): Likewise.
5525 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5526 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5527 [ISO || ISO99 || ISO11] (math.h): Likewise.
5528 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5529 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5532 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5535 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5536 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5537 * intl/dgettext.c (DCGETTEXT): Likewise.
5538 * intl/gettext.c (DCGETTEXT): Likewise.
5539 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5540 * posix/regex_internal.h (gettext): Likewise.
5541 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5543 * include/argz.h (__argz_count_internal)
5544 (__argz_stringify_internal): Remove declaration.
5545 (__argz_count, __argz_stringify): Declare hidden proto.
5546 * intl/dcgettext.c: Remove use of INTDEF.
5547 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5548 * string/argz-stringify.c: Likewise.
5549 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5550 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5551 Declare hidden proto.
5552 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5553 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5554 Declare hidden proto.
5555 * include/stdio.h (__asprintf_internal): Don't declare.
5556 (__asprintf): Don't define as macro. Declare hidden proto.
5557 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5558 (__fsetlocking): Declare hidden proto.
5559 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5560 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5562 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5563 (_IO_setlinebuf): Remove use of INTUSE.
5564 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5565 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5566 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5568 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5569 (_IO_do_flush): Remove use of INTUSE.
5570 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5571 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5572 (_IO_adjust_column, _IO_least_wmarker)
5573 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5574 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5575 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5576 (_IO_default_doallocate, _IO_wdefault_doallocate)
5577 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5578 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5579 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5580 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5581 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5582 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5583 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5584 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5585 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5586 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5587 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5588 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5589 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5591 (_IO_flush_all_internal, _IO_adjust_column_internal)
5592 (_IO_default_uflow_internal, _IO_default_finish_internal)
5593 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5594 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5595 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5596 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5597 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5598 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5599 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5600 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5601 (_IO_file_close_internal, _IO_file_close_it_internal)
5602 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5603 (_IO_file_init_internal, _IO_file_attach_internal)
5604 (_IO_file_fopen_internal, _IO_file_read_internal)
5605 (_IO_file_sync_internal, _IO_file_seek_internal)
5606 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5607 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5608 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5609 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5610 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5611 (_IO_list_all_internal, _IO_link_in_internal)
5612 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5613 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5614 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5615 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5616 (_IO_do_write_internal, _IO_padn_internal)
5617 (_IO_getline_info_internal, _IO_getline_internal)
5618 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5619 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5620 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5621 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5622 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5623 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5624 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5625 with libc_hidden_ver, remove use of INTUSE.
5626 * libio/genops.c: Likewise.
5627 * libio/freopen.c: Likewise.
5628 * libio/freopen64.c: Likewise.
5629 * libio/iofclose.c: Likewise.
5630 * libio/iofdopen.c: Likewise.
5631 * libio/iofflush.c: Likewise.
5632 * libio/iofflush_u.c: Likewise.
5633 * libio/iofgets.c: Likewise.
5634 * libio/iofgets_u.c: Likewise.
5635 * libio/iofopen.c: Likewise.
5636 * libio/iofopncook.c: Likewise.
5637 * libio/iofread.c: Likewise.
5638 * libio/iofread_u.c: Likewise.
5639 * libio/ioftell.c: Likewise.
5640 * libio/iofwrite.c: Likewise.
5641 * libio/iogetline.c: Likewise.
5642 * libio/iogets.c: Likewise.
5643 * libio/iogetwline.c: Likewise.
5644 * libio/iopadn.c: Likewise.
5645 * libio/iopopen.c: Likewise.
5646 * libio/ioseekoff.c: Likewise.
5647 * libio/ioseekpos.c: Likewise.
5648 * libio/iosetbuffer.c: Likewise.
5649 * libio/iosetvbuf.c: Likewise.
5650 * libio/ioungetc.c: Likewise.
5651 * libio/ioungetwc.c: Likewise.
5652 * libio/iovdprintf.c: Likewise.
5653 * libio/iovsprintf.c: Likewise.
5654 * libio/iovsscanf.c: Likewise.
5655 * libio/memstream.c: Likewise.
5656 * libio/obprintf.c: Likewise.
5657 * libio/oldfileops.c: Likewise.
5658 * libio/oldiofclose.c: Likewise.
5659 * libio/oldiofdopen.c: Likewise.
5660 * libio/oldiofopen.c: Likewise.
5661 * libio/oldiopopen.c: Likewise.
5662 * libio/oldstdfiles.c: Likewise.
5663 * libio/putc.c: Likewise.
5664 * libio/setbuf.c: Likewise.
5665 * libio/setlinebuf.c: Likewise.
5666 * libio/stdfiles.c: Likewise.
5667 * libio/strops.c: Likewise.
5668 * libio/vasprintf.c: Likewise.
5669 * libio/vscanf.c: Likewise.
5670 * libio/vsnprintf.c: Likewise.
5671 * libio/vswprintf.c: Likewise.
5672 * libio/wfiledoalloc.c: Likewise.
5673 * libio/wfileops.c: Likewise.
5674 * libio/wgenops.c: Likewise.
5675 * libio/wmemstream.c: Likewise.
5676 * libio/wstrops.c: Likewise.
5677 * libio/__fpurge.c: Likewise.
5678 * libio/__fsetlocking.c: Likewise.
5679 * assert/assert.c: Likewise.
5680 * debug/fgets_chk.c: Likewise.
5681 * debug/fgets_u_chk.c: Likewise.
5682 * debug/fread_chk.c: Likewise.
5683 * debug/fread_u_chk.c: Likewise.
5684 * debug/gets_chk.c: Likewise.
5685 * debug/obprintf_chk.c: Likewise.
5686 * debug/vasprintf_chk.c: Likewise.
5687 * debug/vdprintf_chk.c: Likewise.
5688 * debug/vsnprintf_chk.c: Likewise.
5689 * debug/vsprintf_chk.c: Likewise.
5690 * malloc/mtrace.c: Likewise.
5691 * misc/error.c: Likewise.
5692 * misc/syslog.c: Likewise.
5693 * stdio-common/asprintf.c: Likewise.
5694 * stdio-common/fxprintf.c: Likewise.
5695 * stdio-common/getw.c: Likewise.
5696 * stdio-common/isoc99_fscanf.c: Likewise.
5697 * stdio-common/isoc99_scanf.c: Likewise.
5698 * stdio-common/isoc99_vfscanf.c: Likewise.
5699 * stdio-common/isoc99_vscanf.c: Likewise.
5700 * stdio-common/isoc99_vsscanf.c: Likewise.
5701 * stdio-common/printf-prs.c: Likewise.
5702 * stdio-common/printf_fp.c: Likewise.
5703 * stdio-common/printf_fphex.c: Likewise.
5704 * stdio-common/printf_size.c: Likewise.
5705 * stdio-common/putw.c: Likewise.
5706 * stdio-common/scanf.c: Likewise.
5707 * stdio-common/sprintf.c: Likewise.
5708 * stdio-common/tmpfile.c: Likewise.
5709 * stdio-common/vfprintf.c: Likewise.
5710 * stdio-common/vfscanf.c: Likewise.
5711 * stdlib/strfmon_l.c: Likewise.
5712 * sunrpc/openchild.c: Likewise.
5713 * sunrpc/xdr_stdio.c: Likewise.
5714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5715 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5717 2012-05-24 Roland McGrath <roland@hack.frob.com>
5719 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5721 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5722 in the third column, to generate for the shared library an IFUNC
5723 that uses _dl_vdso_vsym.
5724 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5725 * Makeconfig (object-suffixes-noshared): New variable.
5727 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5728 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5729 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5730 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5733 * include/sys/time.h (__gettimeofday): Remove macro.
5734 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5735 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5737 (__gettimeofday): Add libc_hidden_def.
5738 (gettimeofday): Add libc_hidden_weak.
5739 * sysdeps/mach/gettimeofday.c: Likewise.
5740 * sysdeps/posix/gettimeofday.c: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5742 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5744 (__gettimeofday_internal): Remove strong_alias.
5745 (__gettimeofday): Add libc_hidden_def.
5746 (gettimeofday): Add libc_hidden_weak.
5747 * sysdeps/unix/syscalls.list (gettimeofday):
5748 Remove __gettimeofday_internal alias.
5750 2012-05-24 Daniel Jacobowitz <drow@false.org>
5751 H.J. Lu <hongjiu.lu@intel.com>
5754 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5755 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5756 (largebin_index_32_big): New.
5757 (largebin_index): Use it for 16-byte alignment.
5758 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5759 correction with front_misalign.
5761 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5789 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5790 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5792 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5796 * math/libm-test.inc (exp_test): Add test from bug 14036.
5797 (pow_test): Add test from bug 10846.
5799 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5801 (special_function): Do not include flags in test name.
5802 (parse_args): Likewise.
5803 * sysdeps/i386/fpu/libm-test-ulps: Update.
5804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5805 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5809 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5811 * math/libm-test.inc ("Philosophy"): Update comment about
5813 (UNDERFLOW_EXCEPTION): New macro.
5814 (UNDERFLOW_EXCEPTION_OK): Likewise.
5815 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5816 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5817 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5818 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5819 (INVALID_EXCEPTION_OK): Update value.
5820 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5821 (OVERFLOW_EXCEPTION_OK): Likewise.
5822 (IGNORE_ZERO_INF_SIGN): Likewise.
5823 (test_exceptions): Handle underflow exceptions.
5824 (acos_test): Update for underflow exception expectations.
5825 (cexp_test): Likewise.
5826 (clog_test): Likewise.
5827 (clog10_test): Likewise.
5828 (csqrt_test): Likewise.
5829 (ctan_test): Likewise.
5830 (ctanh_test): Likewise.
5831 (exp_test): Likewise.
5832 (exp10_test): Likewise.
5833 (exp2_test): Likewise.
5834 (expm1_test): Likewise.
5835 (fma_test): Likewise.
5836 (j0_test): Likewise.
5837 (jn_test): Likewise.
5838 (nexttoward_test): Likewise.
5839 (pow_test): Likewise.
5840 (scalbn_test): Likewise.
5841 (scalbln_test): Likewise.
5842 (tan_test): Likewise.
5843 (y1_test): Likewise.
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5847 2012-05-23 David S. Miller <davem@davemloft.net>
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5850 (__libc_sigaction): Remove unused local variables.
5852 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5854 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5856 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5858 mktime: avoid signed integer overflow
5859 * time/mktime.c (__mktime_internal): Do not mishandle the case
5860 where diff == INT_MIN.
5862 mktime: simplify computation of average
5863 * time/mktime.c (ranged_convert): Use new time_t_avg function
5864 instead of rolling our own (probably-slower) code.
5866 mktime: do not assume signed right shift propagates sign bit
5867 * time/mktime.c (isdst_differ): New static function.
5868 (__mktime_internal): No need to normalize tm_isdst now.
5869 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5872 mktime: merge another wrapv change from gnulib
5873 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5874 from some compilers.
5876 mktime: remove incorrect attempt at unusual arithmetics
5877 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5878 The code didn't really work on such machines anyway.
5879 (TYPE_MINIMUM): Assume two's complement.
5880 (twos_complement_arithmetic): Verify that long_int and time_t
5881 are two's complement (or unsigned, in the latter case).
5883 mktime: check signed shifts on long_int and time_t, too
5884 * time/mktime.c (SHR): Check that shifts work as desired
5885 on the types long_int and time_t too, as SHR is used on
5888 mktime: do not assume 'long' is wide enough
5889 * time/mktime.c (verify): Move decl up.
5890 (long_int): New type.
5891 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5892 to remove assumption in the code that 'long' is wide enough to
5893 store year values. This assumption is not true on x32 and on
5894 some non-glibc platforms.
5896 mktime: merge wrapv change from gnulib
5897 * time/mktime.c (WRAPV): New macro.
5898 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5899 (guess_time_tm, __mktime_internal): Do not assume that signed
5900 integer overflow wraps around; modern compilers generate code
5901 where this assumption is no longer valid.
5903 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5905 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5906 Replace "jmp L(pseudo_end)" with "ret".
5907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5910 2012-05-23 Andreas Jaeger <aj@suse.de>
5912 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5913 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5915 2012-05-23 Andreas Jaeger <aj@suse.de>
5916 Maximilian Attems <max@stro.at>
5918 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5924 code so that pseudo_end is just ret and the stack pointer is
5925 correct also for static library in error case.
5927 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5929 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5930 move to syscalls.list.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5936 * manual/install.texi (Running make install): Do not mention Linux
5937 kernel version for which pt_chown is not needed.
5938 (Linux): Do not mention problems with nscd with 2.0 kernels.
5939 * INSTALL: Regenerated.
5941 2012-05-23 Andreas Jaeger <aj@suse.de>
5943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5944 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5946 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5948 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5950 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5956 * sysdeps/unix/sysv/linux/bits/in.h
5957 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5959 2012-05-22 Roland McGrath <roland@hack.frob.com>
5961 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5962 (PREPARE_VERSION): Just use assert instead, it will be elided
5963 under [NDEBUG] anyway.
5965 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5967 * sysdeps/unix/sysv/linux/Makefile: Include
5968 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5969 (sysdep_routines): Remove sysctl.
5970 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5971 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5974 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5976 2012-05-22 Andreas Jaeger <aj@suse.de>
5978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5979 that pseudo_end is just ret and the stack pointer is correct also
5980 for static library in error case.
5982 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5985 * nss/nsswitch.c (defconfig_entries): New variable.
5986 (__nss_database_lookup): Don't leak defconfig entries.
5987 (nss_parse_service_list): Don't leak on error paths.
5988 (free_database_entries): New function.
5989 (free_defconfig): New function.
5990 (free_mem): Move common code to free_database_entries.
5992 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5996 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5998 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5999 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6002 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6003 (INTERNAL_SYSCALL_TYPES): Likewise.
6004 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6005 (LOAD_REGS_TYPES_[1-6]): Likewise.
6006 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6007 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6009 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6012 copysignl for GLIBC_2_0.
6013 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6014 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6016 logbl for GLIBC_2_0.
6017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6020 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6022 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6023 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6025 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6028 * time/mktime.c: Update copyright years.
6030 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6032 mktime: merge comment-quoting-style change from gnulib
6033 * time/mktime.c: Quote 'like this' in comments.
6034 The GNU coding standards suggest that we no longer quote `like this',
6035 as "`" and "'" are typically rendered asymmetrically nowadays.
6036 The typical gnulib style is to quote 'like this' when quoting
6037 code, and "like this" when quoting English.
6039 * time/mktime.c (compile-command): Add "-I.".
6041 mktime: merge mktime-internal.h change from gnulib
6042 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6044 mktime: merge time_r change from gnulib
6045 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6047 mktime: merge DEBUG change from gnulib
6048 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6049 case system <time.h> has a #define.
6051 mktime: merge <sys/types.h> change from gnulib
6052 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6053 since <time.t> is now guaranteed to define time_t.
6055 mktime: merge HAVE_CONFIG_H change from gnulib
6056 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6058 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6063 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6065 (struct rusage): Use anonymous union to pad each field to
6068 2012-05-21 David S. Miller <davem@davemloft.net>
6070 * Makefules (o-iterator): Remove .s cases.
6071 (compile-command.s): Delete.
6072 (COMPILE.s): Delete.
6073 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6075 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6077 * configure.in (libc_cv_predef_stack_protector): Only consider
6078 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6079 * configure: Regenerated.
6081 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6084 New macro. Use R*LP on int and pointer.
6085 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6086 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6087 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6088 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6090 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6091 [__WORDSIZE_TIME64_COMPAT32] instead of
6092 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6093 (struct utmp): Likewise.
6094 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6095 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6097 (__WORDSIZE_TIME64_COMPAT32): This.
6098 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6099 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6100 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6101 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6103 (__WORDSIZE_TIME64_COMPAT32): New macro.
6105 2012-05-21 Andreas Jaeger <aj@suse.de>
6107 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6108 only if [SHARED]. Add prototype for __wcschr_ia32.
6110 2012-05-21 Roland McGrath <roland@hack.frob.com>
6112 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6113 of %rbp unmolested in the jmp_buf while mangling the low bits.
6114 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6115 unmolested high bits of %rbp while demangling the low bits.
6116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6118 2012-05-21 Andreas Jaeger <aj@suse.de>
6120 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6121 * sunrpc/svc_simple.c: Use it for registerrpc.
6122 * sunrpc/xcrypt.c: Use it for passwd2des.
6124 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6126 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6128 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6129 Don't define if [__SYSCALL_WORDSIZE != 32].
6130 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6133 2012-05-21 Bruno Haible <bruno@clisp.org>
6134 Andreas Jaeger <aj@suse.de>
6136 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6137 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6138 inptr and inend for must_buffer_ch.
6139 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6140 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6141 * stdio-common/Makefile (tests): Remove bug15.
6142 (bug15-ENV): Remove macro.
6143 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6146 2012-05-19 Andreas Jaeger <aj@suse.de>
6147 Roland McGrath <roland@hack.frob.com>
6149 * manual/contrib.texi: Completely rewritten. It contains now an
6150 alphabetical list of contributors and their contributions.
6152 2012-05-21 Richard Henderson <rth@twiddle.net>
6154 * misc/getauxval.c (__getauxval): Use unsigned long int.
6155 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6156 (getauxval): Use unsigned long int.
6158 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6160 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6162 2012-05-21 Roland McGrath <roland@hack.frob.com>
6164 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6165 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6166 __alignof__ (long double).
6168 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6172 2012-05-20 Richard Henderson <rth@twiddle.net>
6174 * misc/getauxval.c: New file.
6175 * misc/sys/auxv.h: New file.
6176 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6177 (routines): Add getauxval.
6178 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6180 * elf/dl-sysdep.c (_dl_auxv): Remove.
6181 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6182 * elf/dl-support.c (_dl_auxv): New variable.
6183 (_dl_aux_init): Initialize it.
6184 * manual/startup.texi (Auxiliary Vector): New node.
6185 * sysdeps/generic/bits/hwcap.h: New file.
6186 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6187 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6188 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6189 * sysdeps/sparc/sysdep.h: ... here. Include it.
6190 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6203 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6207 2012-05-19 David S. Miller <davem@davemloft.net>
6209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6211 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6214 * math/s_ccosh.c: Include <float.h>
6215 (__ccosh): Avoid internal overflow calculating sinh and cosh
6216 values before multiplying by sin and cos values.
6217 * math/s_ccoshf.c: Likewise.
6218 * math/s_ccoshl.c: Likewise.
6219 * math/s_csin.c: Likewise.
6220 * math/s_csinf.c: Likewise.
6221 * math/s_csinl.c: Likewise.
6222 * math/s_csinh.c: Likewise.
6223 * math/s_csinhf.c: Likewise.
6224 * math/s_csinhl.c: Likewise.
6225 * math/libm-test.inc (ccos_test): Add more tests.
6226 (ccosh_test): Likewise.
6227 (csin_test): Likewise.
6228 (csinh_test): Likewise.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6234 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6235 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6237 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6239 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6242 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6243 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6248 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6249 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6250 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6251 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6252 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6253 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6254 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6255 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6256 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6257 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6258 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6259 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6260 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6261 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6262 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6263 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6264 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6265 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6266 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6267 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6268 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6269 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6270 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6271 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6273 2012-05-18 Andreas Jaeger <aj@suse.de>
6275 * csu/.gitignore: Delete.
6277 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6279 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6280 (timex): Use __syscall_slong_t.
6282 2012-05-18 Andreas Jaeger <aj@suse.de>
6283 Carlos O'Donell <carlos_odonell@mentor.com>
6285 * manual/install.texi (Configuring and compiling): Update
6286 description about files modified in the source directory.
6287 * INSTALL: Regenerated.
6289 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6291 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6292 value. Use "or" to set return value to -1.
6293 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6294 negate return value.
6296 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6298 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6299 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6300 failure if the compiler has Graphite support disabled.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6303 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6304 CFLAGS-memmove.c): Likewise.
6305 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6308 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6310 * sysdeps/x86_64/x32/_itoa.h: New file.
6312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6313 getdents system call only if kernel and user dirents have the
6314 same d_ino and d_off.
6316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6317 LLONG_MAX != LONG_MAX.
6318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6319 (_fitoa_word): Likewise.
6321 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6327 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6328 include <bits/wordsize.h>. Check __x86_64__ instead of
6330 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6331 if __x86_64__ is defined. Use anonymous union on fpstate.
6333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6336 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6338 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6339 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6340 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6341 Refer to _rtld_local_ro instead of _rtld_global_ro.
6342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6344 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6346 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6348 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6349 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6350 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6352 * sysdeps/powerpc/powerpc32/dl-machine.c
6353 (__elf_machine_runtime_setup) [PROF]: Don't reference
6356 2012-05-18 Andreas Jaeger <aj@suse.de>
6358 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6359 function only available for GCCs before 3.4 since GCC 3.4
6360 introduced a builtin.
6362 (llrintf): Likewise.
6370 (nearbyint): Likewise.
6371 (nearbyintf): Likewise.
6377 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6379 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6380 on both fields and cast pointer to __syscall_ulong_t.
6382 * bits/types.h (__fsword_t): New type.
6383 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6384 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6386 (__FSWORD_T_TYPE): Likewise.
6387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6388 (__FSWORD_T_TYPE): Likewise.
6389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6390 (__FSWORD_T_TYPE): Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6392 (__FSWORD_T_TYPE): Likewise.
6393 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6394 __SWORD_TYPE with __fsword_t.
6395 (statfs64): Likewise.
6397 2012-05-17 David S. Miller <davem@davemloft.net>
6399 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6401 2012-05-17 Andreas Jaeger <aj@suse.de>
6403 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6406 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6408 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6410 2012-05-17 Andreas Jaeger <aj@suse.de>
6412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6415 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6417 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6419 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6421 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6422 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6424 2012-05-17 Andreas Jaeger <aj@suse.de>
6425 Carlos O'Donell <carlos_odonell@mentor.com>
6428 * sysdeps/x86_64/multiarch/init-arch.h
6429 (bit_YMM_Usable): Rename to...
6430 (bit_AVX_Usable): ... this.
6431 (bit_FMA4_Usable): New macro.
6432 (bit_XMM_state): New macro.
6433 (bit_YMM_state): New macro.
6434 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6435 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6436 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6437 (CPUID_OSXSAVE): New macro.
6438 (CPUID_AVX): New macro.
6439 (CPUID_FMA4): New macro.
6440 (index_YMM_Usable): Rename to...
6441 (index_AVX_Usable): ... this.
6442 (HAS_AVX): Use HAS_ARCH_FEATURE.
6443 (HAS_FMA4): Likewise.
6444 (HAS_YMM_USABLE): Remove.
6445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6446 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6448 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6449 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6450 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6451 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6452 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6454 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6456 * math/libm-test.c: Support platforms without multiple rounding modes.
6457 * math/bug-nextafter.c: Support platforms without FP exceptions.
6458 * math/bug-nexttoward.c: Likewise.
6459 * math/test-fenv.c: Likewise.
6460 * math/test-misc.c: Likewise.
6461 * stdlib/bug-getcontext.c: Likewise.
6463 2012-05-17 Andreas Jaeger <aj@suse.de>
6465 * manual/examples/search.c (critter_cmp): Change signature to
6467 * manual/string.texi (Collation Functions): Likewise.
6469 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6471 * bits/types.h: Fold copyright years.
6472 * bits/typesizes.h: Likewise.
6473 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6477 * time/time.h: Likewise.
6479 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6482 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6483 in instead of returning them. Return void.
6484 (__libc_mallinfo): Accumulate over all arenas.
6485 (__malloc_stats): Adjust for change in int_mallinfo interface.
6487 2012-05-16 Roland McGrath <roland@hack.frob.com>
6490 * configure.in (NM): Add AC_CHECK_TOOL for it.
6491 (libc_extra_cflags): New substituted variable.
6492 Check for -fstack-protector being used implicitly.
6493 * configure: Regenerated.
6494 * config.make.in (config-extra-cflags): New variable,
6495 gets @libc_extra_cflags@.
6496 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6499 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6500 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6501 * configure: Regenerated.
6502 * config.make.in (CPPUNDEFS): New substituted variable.
6503 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6504 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6505 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6509 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6510 (mq_attr): Use __syscall_slong_t.
6512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6514 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6515 Check __x86_64__ instead of __WORDSIZE.
6516 (_STAT_VER_LINUX): Likewise.
6517 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6518 __syscall_ulong_t and __syscall_slong_t.
6521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6529 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6531 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6534 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6535 include <bits/wordsize.h>. Check __x86_64__ instead of
6537 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6539 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6542 include <bits/wordsize.h>. Check __x86_64__ instead of
6544 (user_regs_struct): Use "__extension__ unsigned long long"
6545 instead of "unsigned long" if __x86_64__ is defined.
6546 (user): Likewise. Pad after pointer field if __ILP32__ is
6549 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6551 * configure.in (makeinfo): Require version 4.5 or later. Allow
6553 * configure: Regenerated.
6554 * manual/install.texi (texinfo): Increase version requirement to
6556 * INSTALL: Regenerated.
6558 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6560 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6562 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6564 * sysdeps/x86_64/x32/ffs.c: New file.
6566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6568 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6569 defined. Use __syscall_ulong_t.
6570 (shminfo): Use __syscall_ulong_t.
6571 (shm_info): Likewise.
6573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6576 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6578 (msgqnum_t): Use __syscall_ulong_t.
6579 (msglen_t): Likewise.
6580 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6583 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6586 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6588 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6589 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6591 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6595 include <bits/wordsize.h>. Check __x86_64__ instead of
6598 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6599 "unsigned long long int" if __x86_64__ is defined.
6600 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6603 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6604 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6606 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6608 (GET_PC): Cast to uintptr_t first.
6609 (GET_FRAME): Likewise.
6610 (GET_STACK): Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6628 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6638 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6642 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6644 * Makerules (+depfiles): Also collect depfiles from .oS in
6646 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6647 .oS, $(libnldbl-routines)).
6649 * Makerules (native-compile-mkdep-flags): Define.
6650 * sunrpc/Makefile (extra-objs): Add $(addprefix
6651 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6652 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6653 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6654 calling $(make-target-directory).
6656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6658 * bits/types.h (__snseconds_t): Removed.
6659 * time/time.h (struct timespec): Replace __snseconds_t with
6661 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6662 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6665 (__SNSECONDS_T_TYPE): Likewise.
6666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6667 (__SNSECONDS_T_TYPE): Likewise.
6668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6669 (__SNSECONDS_T_TYPE): Likewise.
6671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6673 * sysdeps/mach/hurd/bits/typesizes.h
6674 (__SYSCALL_SLONG_TYPE): New macro.
6675 (__SYSCALL_ULONG_TYPE): Likewise.
6677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6679 * bits/types.h (__syscall_slong_t): New type.
6680 (__syscall_ulong_t): Likewise.
6682 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6683 (__SYSCALL_ULONG_TYPE): Likewise.
6684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6685 (__SYSCALL_SLONG_TYPE): Likewise.
6686 (__SYSCALL_ULONG_TYPE): Likewise.
6687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6688 (__SYSCALL_SLONG_TYPE): Likewise.
6689 (__SYSCALL_ULONG_TYPE): Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6691 (__SYSCALL_SLONG_TYPE): Likewise.
6692 (__SYSCALL_ULONG_TYPE): Likewise.
6694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6696 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6697 Add sigaltstack-offsets.sym.
6698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6699 <sigaltstack-offsets.h>.
6700 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6701 longjmp_msg pointer.
6702 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6703 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6705 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6707 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6709 * elf/stackguard-macros.h: Remove file.
6710 * sysdeps/generic/stackguard-macros.h: New file.
6711 * sysdeps/i386/stackguard-macros.h: Likewise.
6712 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6713 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6714 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6715 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6716 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6717 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6718 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6719 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6720 <elf/stackguard-macros.h>.
6723 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6724 __aligned__ in attribute.
6725 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6726 (gregset_t): Likewise.
6728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6730 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6731 * sysdeps/x86_64/64/Implies-after: Here. New file.
6732 * sysdeps/x86_64/x32/Implies-after: New file.
6734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6736 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6737 and access return value for _dl_profile_fixup. Use R10_LP to
6740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6742 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6746 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6747 * sysdeps/x86_64/x32/sysdep.h: New file.
6749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6751 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6752 * sysdeps/x86_64/setjmp.S: Likewise.
6754 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6757 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6758 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6760 remove unused global constant.
6762 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6764 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6765 include of <not-cancel.h>.
6767 2012-05-15 Roland McGrath <roland@hack.frob.com>
6769 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6771 2012-05-15 Jeff Law <law@redhat.com>
6772 Andreas Jaeger <aj@suse.de>
6775 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6777 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6778 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6779 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6780 code changing __hst_map_handle.map.
6782 2012-05-15 Roland McGrath <roland@hack.frob.com>
6784 * configure.in (sysnames): Look for Implies-before and Implies-after
6786 * configure: Regenerated.
6788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6790 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6791 8-byte data alignment with LP_SIZE alignment.
6793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6800 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6805 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6808 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6812 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6813 (stackinfo_sub_sp): Likewise.
6815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6832 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6836 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6837 into R11_LP and load __x86_64_shared_cache_size_half into
6840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6845 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6854 powerpc32/power7/fpu/s_logb.c via #include.
6855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6856 powerpc32/power7/fpu/s_logbf.c via #include.
6857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6858 powerpc32/power7/fpu/s_logbl.c via #include.
6860 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6862 * README.libm: Remove file.
6864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6866 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6867 count for x32. Use R*_LP and omit operand-size suffix.
6869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6871 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6872 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6873 * sysdeps/x86_64/x32/shlib-versions: New file.
6875 2012-05-14 Roland McGrath <roland@hack.frob.com>
6877 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6878 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6879 Use _dl_fatal_printf instead.
6881 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6883 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6884 set if not set by the user. Do not allow for being unset.
6885 * sysdeps/unix/sysv/linux/configure: Regenerated.
6887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6889 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6890 the `q' suffix from lea and replace .quad with ASM_ADDR.
6892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6895 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6897 (PTR_DEMANGLE): Likewise.
6899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6901 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6903 (ASM_ADDR): Likewise.
6921 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6923 * sysdeps/x86_64/x32/dl-machine.h: New file.
6925 2012-05-14 Andreas Jaeger <aj@suse.de>
6927 * manual/Makefile (subdir): Remove export of subdir.
6928 (all): Remove target.
6929 (.PHONY): Remove all from list.
6930 (mkinstalldirs): Remove.
6931 (.PHONY): Remove installdirs from list.
6932 ($(inst_infodir)/libc.info): Use make-target-directory.
6933 (installdirs): Remove.
6935 (glibc-targets): Remove.
6938 ($(objpfx)stubs ../po/manual.pot): Remove.
6939 ($(objpfx)stamp%): Remove.
6940 (make-target-directory): Remove.
6941 (subdir_install): Remove.
6949 * manual/.gitignore: Remove, it's not needed anymore.
6950 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6952 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6954 (texis): Renamed to $(objpfx)texis.
6955 (texis-path): New, contains path to generated files.
6956 (chapters.%): Use texis-path for complete path, add extra argument
6958 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6959 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6960 (summary,texi, stamp-summary): Use complete path of
6961 files. Generate files in build dir.
6962 (dir-add.texi): Build in build dir.
6963 (libm-err.texi,stamp-libm-err): Likewise.
6964 (version.texi, stamp-version): Likewise.
6965 (.%c.texi): Likewise.
6966 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6967 (mostlyclean): Remove target.
6968 (realclean): Remove target.
6969 (generated): Add new variable with contents from mostlyclean and
6970 realclean, remove entries duplicated in common-mostlyclean, add
6971 stamp-libm-err and stamp-version.
6972 (generated-dirs): Add libc directory.
6973 ($(inst_infodir)/libc.info): Install files from build dir.
6975 * manual/install.texi (Configuring and compiling): Adjust since
6976 the info files are not part of the tar ball anymore.
6978 2012-05-14 Andreas Jaeger <aj@suse.de>
6980 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6983 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6987 to 2.2.0 where earlier.
6988 * sysdeps/unix/sysv/linux/configure: Regenerated.
6989 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6990 Remove conditional code.
6991 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6992 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6993 Remove conditional code.
6994 [!__NR_lchown]: Likewise.
6995 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6996 [__NR_lchown]: Likewise.
6997 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6998 comment referencing __ASSUME_LCHOWN_SYSCALL.
6999 * sysdeps/unix/sysv/linux/i386/sigaction.c
7000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7002 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7003 Remove conditional code.
7004 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7005 (__protocol_available): Remove #if 0 code.
7006 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7008 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7009 * sysdeps/unix/sysv/linux/kernel-features.h
7010 (__ASSUME_GETCWD_SYSCALL): Don't define.
7011 (__ASSUME_REALTIME_SIGNALS): Likewise.
7012 (__ASSUME_PREAD_SYSCALL): Likewise.
7013 (__ASSUME_PWRITE_SYSCALL): Likewise.
7014 (__ASSUME_POLL_SYSCALL): Likewise.
7015 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7016 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7018 (__ASSUME_SIOCGIFNAME): Don't define.
7019 (__ASSUME_MSG_NOSIGNAL): Likewise.
7020 (__ASSUME_SENDFILE): Define unconditionally.
7021 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7022 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7024 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7025 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7026 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7027 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7029 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7030 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7035 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7041 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7055 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7056 Remove conditional code.
7057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7058 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7059 Remove conditional code.
7060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7061 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7062 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7063 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7064 Remove conditional code.
7065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7066 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7067 Remove conditional code.
7068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7069 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7070 Remove conditional code.
7071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7072 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7073 Remove conditional code.
7074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7075 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7076 Remove conditional code.
7077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7078 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7081 * sysdeps/unix/sysv/linux/sigaction.c
7082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7084 * sysdeps/unix/sysv/linux/sigpending.c
7085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/sigprocmask.c
7088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7090 * sysdeps/unix/sysv/linux/sigsuspend.c
7091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7094 (__libc_missing_rt_sigs): Remove.
7095 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7096 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7097 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7098 Remove conditional code.
7099 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7100 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7103 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7105 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7107 2012-05-14 Andreas Jaeger <aj@suse.de>
7109 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7110 it's not used in glibc.
7111 (__coshm1): Likewise.
7112 (__acosh1p): Likewise.
7115 * manual/string.texi (Copying and Concatenation): Add missing
7116 variable in concat example.
7117 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7123 __builtin_clzl with __builtin_clzll.
7125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7128 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7131 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7133 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7134 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7135 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7136 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7138 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7140 * NEWS: Update ia64 info.
7142 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7144 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7147 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7149 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7150 * sysdeps/unix/syscalls.list (dup3): Likewise.
7151 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7152 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7154 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7156 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7157 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7159 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7161 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7163 (TLS_IE): Use mov/add instead of movq/addq to load thread
7165 (TLS_GD_PREFIX): New.
7168 2012-05-11 David S. Miller <davem@davemloft.net>
7170 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7171 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7172 (_FPU_SETCW): Likewise.
7174 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7176 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7179 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7182 * iconvdata/gb18030.c: Update tables.
7183 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7184 characters specially.
7185 (BODY for TO_LOOP): Add encoding of missing ranges.
7187 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7190 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7191 * sysdeps/mach/hurd/dup3.c: Likewise.
7192 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7193 * sysdeps/powerpc/memmove.c:: Likewise.
7195 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7198 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7200 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7202 * elf/elf.h (R_X86_64_RELATIVE64): New.
7203 (R_X86_64_NUM): Updated.
7204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7205 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7206 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7207 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7208 tst-quad1pie tst-quad2pie
7209 (modules-names): Add tst-quadmod1 tst-quadmod2.
7210 ($(objpfx)tst-quad1): New dependency.
7211 ($(objpfx)tst-quad2): Likewise.
7212 ($(objpfx)tst-quad1pie): Likewise.
7213 ($(objpfx)tst-quad2pie): Likewise.
7214 * sysdeps/x86_64/tst-quad1.c: New file.
7215 * sysdeps/x86_64/tst-quad1pie.c: New file.
7216 * sysdeps/x86_64/tst-quad2.c: Likewise.
7217 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7218 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7219 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7220 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7221 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7225 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7226 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7227 * streams/stropts.h (t_scalar_t): Define type.
7229 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7230 (_PATH_PRESERVE): Set to "/var/lib".
7231 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7233 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7236 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7237 if __dir_mkfile succeeded.
7239 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7240 checking for _hurd_dtablesize. Unlock it right after having
7241 finished _hurd_dtable allocation.
7243 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7245 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7246 * sysdeps/mach/hurd/configure: Regenerated.
7247 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7248 special-casing to...
7249 * sysdeps/gnu/configure.in: ... this new file.
7250 * sysdeps/unix/sysv/linux/configure: Regenerated.
7251 * sysdeps/gnu/configure: New generated file.
7253 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7254 for Linux: use nsec instead of usec, as well as:
7255 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7256 members of type struct timespec.
7257 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7259 (struct stat64): Likewise.
7260 (_STATBUF_ST_NSEC): New macro.
7261 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7264 __strtoul_internal rather than strtoul.
7266 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7268 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7273 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7274 which preserves existing values.
7275 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7277 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7279 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7280 TIMEOUT values. Return EINVAL for NFDS values either negative or
7281 greater than FD_SETSIZE.
7283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7285 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7286 allocated, call __vm_protect to finish enabling the existing space, and
7287 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7288 allocate the remainder.
7290 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7292 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7293 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7297 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7298 sysdeps/mach/hurd/readlink.c.
7300 * posix/tst-sysconf.c (posix_options): Only use
7301 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7302 _POSIX_SYNCHRONIZED_IO when they are defined
7303 * sysdeps/mach/hurd/bits/posix_opt.h:
7304 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7305 (_XOPEN_REALTIME): Undefine macro.
7306 (_XOPEN_REALTIME_THREADS): Undefine macro.
7307 (_XOPEN_SHM): Undefine macro.
7308 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7310 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7312 (_POSIX_ASYNC_IO): Undefine macro.
7313 (_POSIX_PRIORITIZED_IO): Undefine macro.
7314 (_POSIX_SPIN_LOCKS): Define macro to -1.
7316 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7317 SA_NODEFER, SA_RESETHAND.
7318 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7319 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7324 * elf/Makefile (pldd-modules): Define unconditionally.
7326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7328 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7332 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7333 Return ENOENT when name is empty.
7334 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7338 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7340 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7344 Fix mlock in all cases except non-readable pages.
7345 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7346 instead of VM_PROT_ALL as parameter to __vm_wire function.
7348 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7349 (__mkdir): When path is `/', just fail with EEXIST.
7350 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7354 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7355 <sys/uio.h> (for writev).
7356 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7357 and <sys/param.h> (for MIN).
7359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7361 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7362 REQUESTED_TIME. Properly set the remaining time and return EINTR
7365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7367 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7368 Depend on against $(link-rpcuserlibs).
7370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7372 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7373 (__libc_stack_end): Do not use attribute_relro.
7374 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7375 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7376 to libthread-provided value.
7377 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7383 * bits/libc-lock.h (__libc_once_get): New macro.
7384 * sysdeps/mach/bits/libc-lock.h: Likewise.
7385 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7387 instead of using implementation details.
7389 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7390 * libio/freopen.c: Likewise.
7391 * libio/freopen64.c: Likewise.
7392 * misc/syslog.c: Likewise.
7393 * nscd/connections.c: Likewise.
7394 * nscd/netgroupcache.c: Likewise.
7395 * sysdeps/posix/getcwd.c: Likewise.
7397 2012-05-10 Roland McGrath <roland@hack.frob.com>
7399 * math/w_ilogbf.c: Add #include <limits.h>.
7401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7403 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7404 path instead of returning without unlocking.
7406 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7407 immediate-write ioctls.
7408 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7412 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7413 __builtin_frame_address instead of making assumptions about the
7414 location of the return address relative to DATA. Force early load of
7416 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7417 __builtin_frame_address.
7420 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7421 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7422 implement dup3 and do some further code clean-ups.
7423 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7424 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7428 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7430 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7431 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7432 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7433 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7434 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7437 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7438 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7439 when handler == SIG_ERR, not when handler != SIG_ERR.
7441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7443 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7444 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7447 accept4 for GNU Hurd.
7448 * include/sys/socket.h (__libc_accept4): New prototype.
7449 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7450 to implement __libc_accept4.
7451 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7453 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7455 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7456 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7457 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7462 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7466 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7467 assertion on O_CLOEXEC flag.
7468 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7469 * hurd/intern-fd.c: Likewise.
7470 * hurd/port2fd.c: Likewise.
7472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7475 * bits/in.h (IPV6_PKTINFO): Define new macro.
7476 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7478 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7483 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7485 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7489 * math/libm-test.inc (logb_test) : Additional logb tests.
7491 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7492 Andreas Jaeger <aj@suse.de>
7494 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7495 * configure: Regenerated.
7496 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7497 * config.make.in (link-obsolete-rpc): New substituted variable.
7498 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7499 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7500 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7501 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7502 so that libc.a contains the symbols.
7503 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7504 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7505 * sunrpc/auth_none.c: Likewise.
7506 * sunrpc/auth_unix.c: Likewise.
7507 * sunrpc/authdes_prot.c: Likewise.
7508 * sunrpc/authuxprot.c: Likewise.
7509 * sunrpc/clnt_gen.c: Likewise.
7510 * sunrpc/clnt_perr.c: Likewise.
7511 * sunrpc/clnt_raw.c: Likewise.
7512 * sunrpc/clnt_simp.c: Likewise.
7513 * sunrpc/clnt_tcp.c: Likewise.
7514 * sunrpc/clnt_udp.c: Likewise.
7515 * sunrpc/clnt_unix.c: Likewise.
7516 * sunrpc/des_crypt.c: Likewise.
7517 * sunrpc/des_soft.c: Likewise.
7518 * sunrpc/get_myaddr.c: Likewise.
7519 * sunrpc/key_call.c: Likewise.
7520 * sunrpc/key_prot.c: Likewise.
7521 * sunrpc/netname.c: Likewise.
7522 * sunrpc/pm_getmaps.c: Likewise.
7523 * sunrpc/pm_getport.c: Likewise.
7524 * sunrpc/pmap_clnt.c: Likewise.
7525 * sunrpc/pmap_prot.c: Likewise.
7526 * sunrpc/pmap_prot2.c: Likewise.
7527 * sunrpc/pmap_rmt.c: Likewise.
7528 * sunrpc/publickey.c: Likewise.
7529 * sunrpc/rpc_cmsg.c: Likewise.
7530 * sunrpc/rpc_common.c: Likewise.
7531 * sunrpc/rpc_dtable.c: Likewise.
7532 * sunrpc/rpc_prot.c: Likewise.
7533 * sunrpc/rpc_thread.c: Likewise.
7534 * sunrpc/rtime.c: Likewise.
7535 * sunrpc/svc.c: Likewise.
7536 * sunrpc/svc_auth.c: Likewise.
7537 * sunrpc/svc_raw.c: Likewise.
7538 * sunrpc/svc_run.c: Likewise.
7539 * sunrpc/svc_tcp.c: Likewise.
7540 * sunrpc/svc_udp.c: Likewise.
7541 * sunrpc/svc_unix.c: Likewise.
7542 * sunrpc/svcauth_des.c: Likewise.
7543 * sunrpc/xcrypt.c: Likewise.
7544 * sunrpc/xdr.c: Likewise.
7545 * sunrpc/xdr_array.c: Likewise.
7546 * sunrpc/xdr_float.c: Likewise.
7547 * sunrpc/xdr_intXX_t.c: Likewise.
7548 * sunrpc/xdr_mem.c: Likewise.
7549 * sunrpc/xdr_rec.c: Likewise.
7550 * sunrpc/xdr_ref.c: Likewise.
7551 * sunrpc/xdr_sizeof.c: Likewise.
7552 * sunrpc/xdr_stdio.c: Likewise.
7554 2012-05-10 Roland McGrath <roland@hack.frob.com>
7556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7557 change. Update copyright years.
7559 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7561 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7563 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7564 Joseph Myers <joseph@codesourcery.com>
7565 Paul Pluzhnikov <ppluzhnikov@google.com>
7568 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7570 [cross-compiling] (extra-libs): Likewise.
7571 [cross-compiling] (extra-libs-others): Likewise.
7572 [cross-compiling] (librpcsvc-routines): Likewise.
7573 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7574 [cross-compiling] (omit-deps): Likewise.
7575 (sunrpc-CPPFLAGS): New variable.
7576 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7577 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7578 (cross-rpcgen-objs): New variable.
7579 (extra-objs): Append $(cross-rpcgen-objs).
7580 ($(cross-rpcgen-objs)): New rule.
7581 ($(objpfx)cross-rpcgen): Likewise.
7582 (rpcgen-cmd): Define to use $(built-program-file). Expand
7584 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7585 ($(objpfx)x%.stmp): Likewise.
7586 * sunrpc/proto.h [IS_IN_build] (_): Define.
7587 [IS_IN_build] (_libc_intl_domainname): Likewise.
7589 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7592 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7593 and R_X86_64_TPOFF64.
7595 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7597 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7598 sysdeps/unix/sysv/syscalls.list.
7601 * sysdeps/unix/sysv/syscalls.list: Remove file.
7603 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7606 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7607 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7608 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7609 (__LC_IDENTIFICATION): Make these macros useful in #if
7610 expressions, as required by C99.
7612 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7614 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7615 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7618 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7620 * stdlib/longlong.h: Updated from GCC.
7622 2012-05-09 Andreas Jaeger <aj@suse.de>
7624 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7625 default is first entry.
7626 (run_mode): Set type.
7627 (main): Remove informal message about syslog.
7628 (options): Fix typo.
7631 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7634 (llrintf): Likewise.
7638 (nearbyint): Likewise.
7639 (nearbyintf): Likewise.
7641 2012-05-09 Andreas Jaeger <aj@suse.de>
7642 Pedro Alves <palves@redhat.com>
7644 * nscd/nscd.c (run_mode): Use enum.
7645 (main): Cleanup coding style issue.
7647 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7648 Andreas Jaeger <aj@suse.de>
7650 * nscd/nscd.c (go_background): Replaced with...
7651 (run_mode): ... this.
7652 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7653 (options): Add -F --foreground.
7654 (main): Implement it.
7655 (parse_opt): Parse it.
7657 2012-05-09 Andreas Jaeger <aj@suse.de>
7660 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7661 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7662 -Wconversion warning.
7663 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7666 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7668 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7670 (LC_ALL): Use macro-int-constant.
7671 (LC_COLLATE): Likewise.
7672 (LC_CTYPE): Likewise.
7673 (LC_MESSAGES): Likewise.
7674 (LC_MONETARY): Likewise.
7675 (LC_NUMERIC): Likewise.
7676 (LC_TIME): Likewise.
7677 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7678 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7680 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7682 [C99-based standards] (float_t): Expect type.
7683 [C99-based standards] (double_t): Expect type.
7684 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7686 [C99-based standards] (HUGE_VALL): Likewise.
7687 [C99-based standards] (INFINITY): Likewise.
7688 [C99-based standards] (NAN): Likewise.
7689 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7690 [C99-based standards] (FP_NAN): Likewise.
7691 [C99-based standards] (FP_NORMAL): Likewise.
7692 [C99-based standards] (FP_SUBNORMAL): Likewise.
7693 [C99-based standards] (FP_ZERO): Likewise.
7694 [C99-based standards] (FP_FAST_FMA): Use
7695 optional-macro-int-constant. Specify type. Require == 1.
7696 [C99-based standards] (FP_FAST_FMAF): Likewise.
7697 [C99-based standards] (FP_FAST_FMAL): Likewise.
7698 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7699 [C99-based standards] (FP_ILOGBNAN): Likewise.
7700 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7702 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7703 [C99-based standards] (math_errhandling): Specify type.
7704 [ISO99 || ISO11] (signgam): Do not allow.
7705 [non-C99-based standards] (copysignf): Do not allow.
7706 [non-C99-based standards] (exp2f): Likewise.
7707 [non-C99-based standards] (log2f): Likewise.
7708 [non-C99-based standards] (modff): Allow.
7709 [non-C99-based standards] (erff): Do not allow.
7710 [non-C99-based standards] (erfcf): Likewise.
7711 [non-C99-based standards] (gammaf): Likewise.
7712 [non-C99-based standards] (hypotf): Likewise.
7713 [non-C99-based standards] (j0f): Likewise.
7714 [non-C99-based standards] (j1f): Likewise.
7715 [non-C99-based standards] (jnf): Likewise.
7716 [non-C99-based standards] (lgammaf): Likewise.
7717 [non-C99-based standards] (tgammaf): Likewise.
7718 [non-C99-based standards] (y0f): Likewise.
7719 [non-C99-based standards] (y1f): Likewise.
7720 [non-C99-based standards] (ynf): Likewise.
7721 [non-C99-based standards] (isnanf): Likewise.
7722 [non-C99-based standards] (acoshf): Likewise.
7723 [non-C99-based standards] (asinhf): Likewise.
7724 [non-C99-based standards] (atanhf): Likewise.
7725 [non-C99-based standards] (cbrtf): Likewise.
7726 [non-C99-based standards] (expm1f): Likewise.
7727 [non-C99-based standards] (ilogbf): Likewise.
7728 [non-C99-based standards] (log1pf): Likewise.
7729 [non-C99-based standards] (logbf): Likewise.
7730 [non-C99-based standards] (nextafterf): Likewise.
7731 [non-C99-based standards] (remainderf): Likewise.
7732 [non-C99-based standards] (rintf): Likewise.
7733 [non-C99-based standards] (scalbf): Likewise.
7734 [non-C99-based standards] (copysignl): Likewise.
7735 [non-C99-based standards] (exp2l): Likewise.
7736 [non-C99-based standards] (log2l): Likewise.
7737 [non-C99-based standards] (modfl): Allow.
7738 [non-C99-based standards] (erfl): Do not allow.
7739 [non-C99-based standards] (erfcl): Likewise.
7740 [non-C99-based standards] (gammal): Likewise.
7741 [non-C99-based standards] (hypotl): Likewise.
7742 [non-C99-based standards] (j0l): Likewise.
7743 [non-C99-based standards] (j1l): Likewise.
7744 [non-C99-based standards] (jnl): Likewise.
7745 [non-C99-based standards] (lgammal): Likewise.
7746 [non-C99-based standards] (tgammal): Likewise.
7747 [non-C99-based standards] (y0l): Likewise.
7748 [non-C99-based standards] (y1l): Likewise.
7749 [non-C99-based standards] (ynl): Likewise.
7750 [non-C99-based standards] (isnanl): Likewise.
7751 [non-C99-based standards] (acoshl): Likewise.
7752 [non-C99-based standards] (asinhl): Likewise.
7753 [non-C99-based standards] (atanhl): Likewise.
7754 [non-C99-based standards] (cbrtl): Likewise.
7755 [non-C99-based standards] (expm1l): Likewise.
7756 [non-C99-based standards] (ilogbl): Likewise.
7757 [non-C99-based standards] (log1pl): Likewise.
7758 [non-C99-based standards] (logbl): Likewise.
7759 [non-C99-based standards] (nextafterl): Likewise.
7760 [non-C99-based standards] (remainderl): Likewise.
7761 [non-C99-based standards] (rintl): Likewise.
7762 [non-C99-based standards] (scalbl): Likewise.
7763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7764 [non-C99-based standards] (FP_*): Do not allow.
7765 [C99-based standards] (FP_*): Change to
7766 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7767 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7769 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7770 (SIG_ERR): Likewise.
7771 [X/Open-based standards] (SIG_HOLD): Likewise.
7772 (SIG_IGN): Likewise.
7773 (SIGABRT): Use macro-int-constant. Specify type. Require
7778 (SIGSEGV): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7798 [X/Open-based standards] (SIGTRAP): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7803 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7806 2012-05-08 Ian Wienand <ianw@vmware.com>
7809 * time/tzset.c (__tzset_parse_tz): Update default rules for
7810 daylight time changes in the Energy Policy Act of 2005.
7812 2012-05-09 Andreas Jaeger <aj@suse.de>
7815 * elf/ldconfig.c (parse_conf): Change string to make clear that
7816 ldconfig only issued a warning if ld.so.conf does not exist.
7818 2012-05-08 David S. Miller <davem@davemloft.net>
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7821 movxtod instead of popping the value on the stack.
7823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7825 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7827 * config.h.in: Add HAVE_ARM_PCS_VFP.
7829 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7832 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7833 checking but the checks are disabled for any reason.
7835 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7837 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7838 and ELF64_R_TYPE with ELFW(R_TYPE).
7840 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7845 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7846 (settimeofday): Likewise.
7848 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7850 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7851 a struct th_u2 inside the union, and move tu_block/tu_code into
7852 a new th_u3 union of tu_block/tu_code inside of that. Move
7853 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7854 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7855 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7856 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7857 (th_stuff): Change to th_u1.tu_stuff.
7859 (th_msg): Change to th_u1.th_u2.tu_data.
7861 2012-05-07 David S. Miller <davem@davemloft.net>
7863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7866 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7867 (SETUP_PIC_REG): Use it.
7868 (SETUP_PIC_REG_LEAF): Use it.
7870 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7876 (EXPL_FINITE): Likewise.
7878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7879 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7883 (EXPL_FINITE): Likewise.
7885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7886 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7888 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7889 test of -max_value argument for long double.
7890 * sysdeps/i386/fpu/libm-test-ulps: Update.
7891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7893 2012-05-06 David S. Miller <davem@davemloft.net>
7895 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7896 quad soft-float symbols whose references which are compiler
7898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7900 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7904 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7906 (EXPL_FINITE): Likewise.
7910 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7911 Adjust comments for base varying.
7912 (__expl_finite): Change alias to EXPL_FINITE.
7913 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7915 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7916 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7918 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7921 (EXPL_FINITE): Likewise.
7925 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7926 Adjust comments for base varying.
7927 (__expl_finite): Change alias to EXPL_FINITE.
7928 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7933 * math/libm-test.inc (check_float_internal): Correct ulp
7934 calculation for subnormal expected results.
7936 2012-05-06 Andreas Jaeger <aj@suse.de>
7938 * Makeconfig (+math-flags): New, set to -frounding-math.
7939 (+cflags): Add +math-flags so that all of glibc gets compiled with
7942 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7944 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7946 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7952 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7953 (__ieee754_expl): Allow for and saturate large arguments.
7954 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7955 (u_threshold): Likewise.
7956 (__exp): Call __ieee754_exp before checking for overflow and
7958 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7959 (u_threshold): Likewise.
7960 (__expf): Call __ieee754_expf before checking for overflow and
7962 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7963 (u_threshold): Likewise.
7964 (__expl): Call __ieee754_expl before checking for overflow and
7966 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7967 (__ieee754_expl): Allow for and saturate large arguments.
7968 * math/libm-test.inc (exp_test): Add another test. Do not allow
7969 missing overflow exception on overflow.
7970 (expm1_test): Do not allow missing overflow exception on overflow.
7972 * sysdeps/i386/fpu/e_expl.c: Move to ...
7973 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7974 rather than using inline asm.
7975 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7976 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7977 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7979 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7986 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7988 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7989 sysdeps/unix/common/syscalls.list.
7992 (ftruncate): Likewise.
7993 (getrusage): Likewise.
7994 (gettimeofday): Likewise.
7995 (setpgid): Likewise.
7996 (setregid): Likewise.
7997 (setreuid): Likewise.
7998 (sigaction): Likewise.
7999 (truncate): Likewise.
8000 (vhangup): Likewise.
8001 * sysdeps/unix/common/syscalls.list: Remove file.
8002 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8003 * sysdeps/unix/sysv/linux/Implies: Likewise.
8005 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8007 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8009 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8019 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8025 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8028 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8031 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8039 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8042 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8046 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8050 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8052 * sysdeps/unix/common/bits/dirent.h: Remove file.
8053 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8055 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8056 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8057 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8058 * sysdeps/unix/bsd/isatty.c: Likewise.
8059 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8060 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8061 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8063 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8067 long double comparison inaccuracies.
8068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8071 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8073 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8076 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8080 nonzero digits before rounding a hex value.
8081 * stdlib/tst-strtod.c (tests): Add another test.
8083 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8085 * sysdeps/s390/fpu/libm-test-ulps: Update.
8087 2012-05-03 Andreas Jaeger <aj@suse.de>
8089 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8090 does not get optimized out.
8091 (malloc_opt_barrier): New.
8093 2012-05-03 Andreas Jaeger <aj@suse.de>
8094 Roland McGrath <roland@hack.frob.com>
8096 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8097 intermediate file deletion.
8098 (generated): Add .symlist files.
8100 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8103 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8104 Redirect under this condition.
8105 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8106 [__USE_GNU] (__dprintf_chk): Not under this condition.
8107 [__USE_GNU] (__vdprintf_chk): Likewise.
8108 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8109 under this condition.
8110 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8111 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8112 [__USE_XOPEN2K8] (vdprintf): Likewise.
8113 [__USE_GNU] (__dprintf_chk): Not under this condition.
8114 [__USE_GNU] (__vdprintf_chk): Likewise.
8115 [__USE_GNU] (dprintf): Likewise.
8116 [__USE_GNU] (vdprintf): Likewise.
8118 2012-05-03 Roland McGrath <roland@hack.frob.com>
8120 * elf/Makefile (common-generated): Set this instead of generated for
8121 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8122 $(all-built-dso)-derived lists.
8124 2012-05-03 Andreas Jaeger <aj@suse.de>
8126 * sysdeps/i386/fpu/libm-test-ulps: Update.
8130 * scripts/gen-FAQ.pl: Likewise.
8131 * manual/install.texi (Installation): Point to online location of
8133 * Makefile (files-for-dist): Remove FAQ.
8136 2012-05-02 Allan McRae <allan@archlinux.org>
8138 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8139 (LDFLAGS-reldepmod5.so): Likewise.
8140 (LDFLAGS-reldep6mod1.so): Likewise.
8141 (LDFLAGS-reldep6mod4.so): Likewise.
8142 (LDFLAGS-reldep8mod3.so): Likewise.
8143 (LDFLAGS-unload4mod1.so): Likewise.
8144 (LDFLAGS-unload4mod2.so): Likewise.
8145 (LDFLAGS-tst-initorder): Likewise.
8146 (LDFLAGS-tst-initordera2.so): Likewise.
8147 (LDFLAGS-tst-initordera3.so): Likewise.
8148 (LDFLAGS-tst-initordera4.so): Likewise.
8149 (LDFLAGS-tst-initorderb2.so): Likewise.
8150 (LDFLAGS-noload): Likewise.
8151 (LDFLAGS-next): Likewise.
8152 (LDFLAGS-order2mod1.so): Likewise.
8153 (LDFLAGS-order2mod2.so): Likewise.
8154 (LDFLAGS-tst-initorder2): Likewise.
8155 (LDFLAGS-tst-initorder2a.so): Likewise.
8156 (LDFLAGS-tst-initorder2b.so): Likewise.
8157 (LDFLAGS-tst-initorder2c.so): Likewise.
8158 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8160 2012-05-02 David S. Miller <davem@davemloft.net>
8162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8164 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8167 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8169 2012-05-02 Andreas Jaeger <aj@suse.de>
8171 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8172 since we manipulate rounding mode.
8173 (CPPFLAGS-test-idouble.c): Likewise.
8174 (CPPFLAGS-test-ifloat.c): Likewise.
8175 (CFLAGS-test-ldouble.c): Likewise.
8176 (CFLAGS-test-double.c): Likewise.
8177 (CFLAGS-test-float.c): Likewise.
8178 (CFLAGS-test-misc.c): Likewise.
8179 (CFLAGS-test-test-fenv.c): Likewise.
8181 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8186 comparisons to determine direction to adjust input.
8188 2012-05-01 Roland McGrath <roland@hack.frob.com>
8190 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8191 output to the target.
8193 * scripts/localplt.awk: New file.
8194 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8195 (check-localplt-CFLAGS): Variable removed.
8196 ($(all-built-dso:=.jmprel)): New static pattern rule.
8197 (generated): Add those targets.
8198 (localplt-built-dso): New variable.
8199 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8201 * elf/check-localplt.c: File removed.
8203 * scripts/check-execstack.awk: New file.
8204 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8205 (check-execstack-CFLAGS): Variable removed.
8206 ($(objpfx)check-execstack.h): Target removed.
8207 ($(objpfx)execstack-default): New target.
8208 (generated): Add that instead of check-execstack.h.
8209 ($(all-built-dso:=.phdr)): New static pattern rule.
8210 (generated): Add those targets.
8211 * elf/check-execstack.c: File removed.
8213 * scripts/check-textrel.awk: New file.
8214 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8215 (check-textrel-CFLAGS): Variable removed.
8216 (all-built-dso): Use := to define.o
8217 ($(all-built-dso:=.dyn)): New static pattern rule.
8218 (generated): Add those targets.
8219 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8220 * config.make.in (READELF): New substituted variable.
8221 * elf/check-textrel.c: File removed.
8223 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8225 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8227 * conform/data/ctype.h-data [C99-based standards] (isblank):
8229 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8230 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8232 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8233 Specify type. Require positive value.
8236 [ISO || POSIX] (EILSEQ): Do not expect.
8237 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8238 Specify type. Require positive value.
8239 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8300 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8301 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8307 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8308 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8309 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8310 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8311 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8312 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8313 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8314 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8315 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8317 (FLT_ROUNDS): Expect as macro, not constant.
8318 (FLT_MANT_DIG): Use macro-int-constant.
8319 (DBL_MANT_DIG): Likewise.
8320 (LDBL_MANT_DIG): Likewise.
8321 (FLT_DIG): Likewise.
8322 (DBL_DIG): Likewise.
8323 (LDBL_DIG): Likewise.
8324 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8325 (DBL_MIN_EXP): Likewise.
8326 (LDBL_MIN_EXP): Likewise.
8327 (FLT_MAX_EXP): Use macro-int-constant.
8328 (DBL_MAX_EXP): Likewise.
8329 (LDBL_MAX_EXP): Likewise.
8330 (FLT_MAX_10_EXP): Likewise.
8331 (DBL_MAX_10_EXP): Likewise.
8332 (LDBL_MAX_10_EXP): Likewise.
8333 (FLT_MAX): Use macro-constant.
8334 (DBL_MAX): Likewise.
8335 (LDBL_MAX): Likewise.
8336 (FLT_EPSILON): Use macro-constant. Give upper bound.
8337 (DBL_EPSILON): Likewise.
8338 (LDBL_EPSILON): Likewise.
8339 (FLT_MIN): Likewise.
8340 (DBL_MIN): Likewise.
8341 (LDBL_MIN): Likewise.
8342 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8343 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8344 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8345 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8346 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8347 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8348 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8349 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8350 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8351 [ISO11] (FLT_TRUE_MIN): Likewise.
8352 [ISO11] (LDBL_TRUE_MIN): Likewise.
8353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8354 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8355 (SCHAR_MIN): Use macro-int-constant. Specify type.
8356 (SCHAR_MAX): Likewise.
8357 (UCHAR_MAX): Likewise.
8358 (CHAR_MIN): Likewise.
8359 (CHAR_MAX): Likewise.
8360 (MB_LEN_MAX): Use macro-int-constant.
8361 (SHRT_MIN): Use macro-int-constant. Specify type.
8362 (SHRT_MAX): Likewise.
8363 (USHRT_MAX): Likewise.
8364 (INT_MAX): Likewise.
8365 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8367 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8369 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8371 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8372 bound negative. Suffix upper bound with "L".
8373 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8375 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8377 [C99-based standards] (LLONG_MAX): Likewise.
8378 [C99-based standards] (ULLONG_MAX): Likewise.
8379 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8381 [ISO11] (max_align_t): Require type.
8382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8384 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8385 from $CFLAGS, without defining away __attribute__ calls.
8386 (checknamespace): Use $CFLAGS_namespace.
8388 * conform/conformtest.pl (@keywords): Only include C99 keywords
8389 for standards based on C99 or C11.
8391 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8393 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8396 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8397 usability of symbols in #if.
8399 * conform/conformtest.pl: If macro or constant types start
8400 "promoted:", expect the symbol to be of the following type
8401 promoted by the integer promotions.
8403 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8404 in one place. Also handle "macro-constant".
8406 * conform/conformtest.pl: Only accept expected macro values with
8407 "==". Parse all "macro" lines in one place.
8408 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8410 * conform/conformtest.pl: Handle braced types on "constant" lines
8411 instead of handling "typed-constant".
8412 * conform/data/signal.h-data: Use "constant" instead of
8415 * conform/conformtest.pl: Handle "optional-" at start of lines in
8416 one place rather than duplicating several cases. Handle each
8417 format of "macro" line with initial "optional-".
8419 * conform/conformtest.pl: Only accept expected constant or
8420 optional-constant values with "==". Parse all "constant" lines in
8421 one place. Parse all "optional-constant" lines in one place.
8422 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8423 * conform/data/fmtmsg.h-data: Likewise.
8424 * conform/data/netinet/in.h-data: Likewise.
8425 * conform/data/tar.h-data: Likewise.
8426 * conform/data/limits.h-data: Use "==" form on "constant" and
8427 "optional-constant" lines.
8429 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8430 Use -std=c99 for XOPEN2K.
8431 (@knownproblems): Remove.
8432 (newtoken): Don't check %isknown.
8434 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8435 Do not expect macro.
8436 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8448 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8449 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8466 [XPG3] (acosh): Likewise.
8467 [XPG3] (asinh): Likewise.
8468 [XPG3] (atanh): Likewise.
8469 [XPG3] (cbrt): Likewise.
8470 [XPG3] (expm1): Likewise.
8471 [XPG3] (ilogb): Likewise.
8472 [XPG3] (log1p): Likewise.
8473 [XPG3] (logb): Likewise.
8474 [XPG3] (nextafter): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8477 [XPG3] (remainder): Likewise.
8478 [XPG3] (rint): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8486 [UNIX98 || XOPEN2K] (scalb): Expect.
8487 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8488 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8625 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8626 _XOPEN_SOURCE_EXTENDED for XPG4.
8628 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8630 * Makeconfig (localtime): Remove variable.
8631 (inst_localtime-file): Likewise.
8633 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8654 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8658 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8659 comparisons to determine direction to adjust input.
8660 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8661 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8668 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8669 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8671 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8673 * math/libm-test.inc (nexttoward_test): Add more tests.
8675 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8679 in version GLIBC_2.1, not GLIBC_2.0.
8680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8683 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8686 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8688 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8689 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8690 * math/libm-test.inc (acos_test): Add more tests.
8691 (asin_test): Likewise.
8692 * sysdeps/i386/fpu/libm-test-ulps: Update.
8693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8696 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8698 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8699 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8700 * math/libm-test.inc (acos_test_tonearest): New function.
8701 (acos_test_towardzero): Likewise.
8702 (acos_test_downward): Likewise.
8703 (acos_test_upward): Likewise.
8704 (asin_test_tonearest): Likewise.
8705 (asin_test_towardzero): Likewise.
8706 (asin_test_downward): Likewise.
8707 (asin_test_upward): Likewise.
8708 (main): Call the new functions.
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8714 * math/e_exp10.c: Include <float.h>.
8715 (__ieee754_exp10): Handle underflow here rather than multiplying
8716 large negative argument by M_LN10.
8717 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8719 * math/e_exp10l.c: Include <float.h>.
8720 (__ieee754_exp10l): Handle underflow here rather than multiplying
8721 large negative argument by M_LN10l.
8722 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8723 spurious overflow exception on underflow.
8725 2012-04-29 Marek Polacek <polacek@redhat.com>
8727 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8728 (__fortify_function): New macro.
8729 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8730 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8731 __extern_always_inline.
8732 * libio/bits/stdio2.h: Likewise.
8733 * libio/bits/stdio.h: Likewise.
8734 * string/string.h: Likewise.
8735 * string/bits/string3.h: Likewise.
8736 * include/stdio.h: Likewise.
8737 * stdlib/bits/stdlib.h: Likewise.
8738 * stdlib/stdlib.h: Likewise.
8739 * rt/bits/mqueue2.h: Likewise.
8740 * rt/mqueue.h: Likewise.
8741 * posix/bits/unistd.h: Likewise.
8742 * posix/unistd.h: Likewise.
8743 * io/bits/poll2.h: Likewise.
8744 * io/bits/fcntl2.h: Likewise.
8745 * io/fcntl.h: Likewise.
8746 * io/sys/poll.h: Likewise.
8747 * misc/bits/syslog.h: Likewise.
8748 * misc/bits/syslog-ldbl.h: Likewise.
8749 * misc/sys/syslog.h: Likewise.
8750 * socket/bits/socket2.h: Likewise.
8751 * socket/sys/socket.h: Likewise.
8752 * debug/tst-chk1.c: Likewise.
8753 * wcsmbs/bits/wchar2.h: Likewise.
8754 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8755 * wcsmbs/wchar.h: Likewise.
8757 2012-04-29 Andreas Jaeger <aj@suse.de>
8759 * Makerules (tests): Remove enable-check-abi protection.
8760 (check-abi-warn): Remove.
8761 (check-abi-%): Remove check-abi-warn usage.
8763 * configure.in: Remove check-abi configure option.
8764 * configure: Regenerated.
8765 * config.make.in (enable-check-abi): Remove.
8767 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8770 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8771 double functions to double *_finite functions.
8774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8775 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8777 * stdio-common/Makefile (tests): Add tst-sprintf3.
8778 * stdio-common/tst-sprintf3.c: New file.
8780 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8781 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8783 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8785 * conform/conformtest.pl: Remove duplicate typed-constant
8788 2012-04-28 David S. Miller <davem@davemloft.net>
8790 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8791 (check-abi-%): Remove AWK script prerequisite and explicit
8793 (check-abi): Rewrite to just diff the symlist with the abilist.
8794 (config-tls, config-abi-config): Delete, no longer used.
8795 (update-abi-%): Remove AWK script and explicit abilist directory.
8796 (update-abi): Rewrite to simply compare and conditionally copy the
8797 symlist and the sysdep abilist file. Remove update-abi-config
8799 * abilist/ld.abilist: Remove.
8800 * abilist/libBrokenLocale.abilist: Remove.
8801 * abilist/libanl.abilist: Remove.
8802 * abilist/libcrypt.abilist: Remove.
8803 * abilist/libdl.abilist: Remove.
8804 * abilist/librt.abilist: Remove.
8805 * abilist/libthread_db.abilist: Remove.
8806 * abilist/libutil.abilist: Remove.
8807 * scripts/extract-abilist.awk: Remove.
8808 * scripts/merge-abilist.awk: Remove.
8809 * sysdeps/generic/libcidn.abilist: New file.
8810 * sysdeps/generic/libnss_compat.abilist: New file.
8811 * sysdeps/generic/libnss_db.abilist: New file.
8812 * sysdeps/generic/libnss_dns.abilist: New file.
8813 * sysdeps/generic/libnss_files.abilist: New file.
8814 * sysdeps/generic/libnss_hesiod.abilist: New file.
8815 * sysdeps/generic/libnss_nis.abilist: New file.
8816 * sysdeps/generic/libnss_nisplus.abilist: New file.
8817 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8818 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8819 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8822 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8823 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8824 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8825 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8826 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8827 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8828 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8829 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8831 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8832 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8833 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8834 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8836 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8837 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8838 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8839 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8840 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8841 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8843 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8844 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8845 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8950 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8951 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8952 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8955 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8956 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8957 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8958 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8959 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8960 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8961 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8962 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8963 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9015 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9017 * conform/conformtest.pl: Fix typo in handling typed-constant from
9020 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9022 * README: Cut down references to pre-2.6 Linux kernels and
9023 Linuxthreads. Update lists of configurations in libc and ports
9024 and sort alphabetically. Say "or newer" with Linux kernel version
9027 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9029 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9032 * math/libm-test.inc (logb_test_downward): New test to expose
9033 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9036 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9039 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9041 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9042 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9044 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9046 * sysdeps/unix/i386/brk.S: Remove file.
9047 * sysdeps/unix/i386/dl-brk.S: Likewise.
9048 * sysdeps/unix/i386/pipe.S: Likewise.
9049 * sysdeps/unix/i386/sigreturn.S: Likewise.
9050 * sysdeps/unix/i386/syscall.S: Likewise.
9051 * sysdeps/unix/i386/vfork.S: Likewise.
9052 * sysdeps/unix/i386/wait.S: Likewise.
9054 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9055 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9057 * configure.in (arm*-none*): Do not allow without
9058 --enable-hacker-mode.
9059 (netbsd*): Remove case setting base_os.
9060 (386bsd*): Likewise.
9061 (freebsd*): Likewise.
9065 (ultrix*): Likewise.
9066 (newsos*): Likewise.
9076 (solaris[2-9]*): Likewise.
9078 * configure: Regenerated.
9080 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9084 overflow or cancellation in calculating denominator.
9085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9087 down expression to avoid unexpected rounding in newer GCCs.
9088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9090 2012-04-26 David S. Miller <davem@davemloft.net>
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9093 long-double compat symbols.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9108 2012-04-25 David S. Miller <davem@davemloft.net>
9110 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9111 HWCAP_* values only after the memory barriers have been defined.
9112 (atomic_full_barrier): Define.
9113 (atomic_read_barrier): Define.
9114 (atomic_write_barrier): Define.
9116 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9118 * shlib-versions: Add libgcc_s version information.
9119 * sysdeps/generic/libgcc_s.h: Remove.
9120 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9122 * sysdeps/gnu/unwind-resume.c: Likewise.
9123 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9125 2012-04-25 David S. Miller <davem@davemloft.net>
9127 * sysdeps/unix/sparc/brk.S: Delete.
9128 * sysdeps/unix/sparc/dl-brk.S: Delete.
9129 * sysdeps/unix/sparc/pipe.S: Delete.
9130 * sysdeps/unix/sparc/sysdep.S: Delete.
9131 * sysdeps/unix/sparc/sysdep.h: Delete.
9132 * sysdeps/unix/sparc/vfork.S: Delete.
9133 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9134 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9136 ret_ERRVAL, r0, r1, MOVE): Define.
9137 (JUMPTARGET): Remove.
9138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9139 sysdeps/unix/sparc/sysdep.h
9140 (ENTRY, END): Remove.
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9143 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9145 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9146 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9149 * timezone/README: Update upstream location and email address for
9151 * timezone/zdump.c: Update from tzcode 2012b.
9152 * timezone/zic.c: Likewise.
9154 * configure.in (libc_cv_as_needed): Remove test.
9155 * configure: Regenerated.
9156 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9157 conditional definition.
9158 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9159 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9160 * config.make.in (have-as-needed): Remove variable.
9162 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9163 Paul Pluzhnikov <ppluzhnikov@google.com>
9165 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9168 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9170 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9171 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9172 * sysdeps/sh/strlen.S: Likewise.
9174 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9176 * sysdeps/unix/fork.S: Remove file.
9177 * sysdeps/unix/i386/fork.S: Likewise.
9178 * sysdeps/unix/sparc/fork.S: Likewise.
9180 * sysdeps/unix/system.c: Remove file.
9181 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9183 * sysdeps/unix/getegid.S: Remove file.
9184 * sysdeps/unix/geteuid.S: Likewise.
9186 2012-04-24 Roland McGrath <roland@hack.frob.com>
9188 * scripts/check-localplt.awk: New file.
9189 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9191 * scripts/data/localplt-generic.data: Add a comment.
9193 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9194 NODE when __dir_mkfile failed.
9195 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9196 Reported by Ludovic Courtès <ludo@gnu.org>.
9198 2012-04-24 Andreas Jaeger <aj@suse.de>
9200 * Makerules (common-clean): Also remove gen-as-const-headers
9203 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9205 * Makerules (native-compile): Do not change working directory for
9206 build. Use $(OUTPUT_OPTION) in command.
9207 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9209 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9212 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9213 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9214 * math/libm-test.inc (floor_test): Add more tests.
9215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9217 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9219 * sysdeps/unix/getdents.c: Remove file.
9220 * sysdeps/unix/sysv/getdents.c: Likewise.
9221 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9223 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9224 sysdeps/unix/mman/syscalls.list.
9226 (mprotect): Likewise.
9229 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9230 * sysdeps/unix/mman/syscalls.list: Remove.
9231 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9233 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9234 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9235 * configure: Regenerated.
9236 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9238 * config.make.in (libgcc_s_suffix): Remove variable.
9240 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/unix/sysv/gethostname.c: Move to ...
9243 * sysdeps/posix/gethostname.c: ... here.
9245 * sysdeps/unix/execve.S: Remove file.
9247 * sysdeps/unix/_exit.S: Remove file.
9249 2012-04-23 Andreas Jaeger <aj@suse.de>
9252 * manual/Makefile: Remove make dist support, there's no
9253 need for a stand-alone documentation tar ball.
9254 (TEXI2DVI): Define always, it's not in Makeconfig.
9258 (glibc-doc-$(edition).tar): Removed
9262 (ETAGS): Remove, it's in Makeconfig.
9263 (move-if-change): Remove, it's in Makeconfig.
9265 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9268 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9269 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9270 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9271 (strtod_l, strtof_l, strtold_l): Remove __wur.
9272 It is not necessarily an error to ignore strtol's return value.
9273 One can reliably look at the stored endptr to decide whether
9274 the number had valid syntax.
9276 2012-04-21 Andreas Jaeger <aj@suse.de>
9279 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9281 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9284 * sysdeps/unix/sysv/Versions: Remove file.
9286 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9291 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9295 version from __vm86.
9297 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/unix/common/lxstat.c: Remove file.
9300 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9302 * sysdeps/unix/sysv/Makefile: Remove file.
9304 * sysdeps/unix/sysv/direct.h: Remove file.
9306 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9307 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9308 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9309 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9310 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9311 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9312 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9314 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9316 * sysdeps/unix/xmknod.c: Remove file.
9317 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9319 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9321 * sysdeps/unix/sysv/i386/time.S: Remove file.
9323 * sysdeps/unix/fxstat.c: Remove file.
9324 * sysdeps/unix/xstat.c: Likewise.
9325 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9327 * sysdeps/unix/sysv/sigaction.c: Remove file.
9329 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9330 (sysdep_headers): Remove variable.
9331 [termio.h not in sysdep_headers] (generated): Likewise.
9332 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9333 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9334 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9335 * sysdeps/unix/sysv/tcflow.c: Likewise.
9336 * sysdeps/unix/sysv/tcflush.c: Likewise.
9337 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9338 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9339 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9340 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9341 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9343 * sysdeps/unix/siglist.c: Remove file.
9345 * sysdeps/unix/getppid.S: Remove file.
9347 * sysdeps/unix/mkdir.c: Remove file.
9348 * sysdeps/unix/rmdir.c: Likewise.
9350 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9352 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9355 errlist-compat value.
9357 2012-04-18 David S. Miller <davem@davemloft.net>
9359 * sysdeps/generic/memcopy.h (reg_char): Delete.
9360 * debug/strcat_chk.c: Use char, not reg_char.
9361 * debug/strcpy_chk.c: Likewise.
9362 * debug/strncat_chk.c: Likewise.
9363 * debug/strncpy_chk.c: Likewise.
9364 * string/memchr.c: Likewise.
9365 * string/memrchr.c: Likewise.
9366 * string/rawmemchr.c: Likewise.
9367 * string/strcat.c: Likewise.
9368 * string/strchr.c: Likewise.
9369 * string/strchrnul.c: Likewise.
9370 * string/strcmp.c: Likewise.
9371 * string/strcpy.c: Likewise.
9372 * string/strncat.c: Likewise.
9373 * string/strncmp.c: Likewise.
9374 * string/strncpy.c: Likewise.
9376 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9378 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9379 __builtin_memcopy is called when src and dest ranges are known to not
9382 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9384 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9385 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9386 fwd_align_merge macro call.
9387 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9388 bwd_align_merge macro call.
9389 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9391 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9394 bwd_align_merge macros.
9395 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9396 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9399 2012-04-18 David S. Miller <davem@davemloft.net>
9401 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9403 2012-04-18 Andreas Jaeger <aj@suse.de>
9406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9407 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9410 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9411 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9412 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9414 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9415 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9416 Adjust for changed ldbl-128 files.
9418 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9419 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9422 2012-04-17 David S. Miller <davem@davemloft.net>
9424 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9426 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9428 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9429 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9430 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9431 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9433 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9435 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9438 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9439 * math/libm-test.inc: Add ilogb errno and exception tests.
9440 * math/w_ilogb.c: New file: ilogb wrapper.
9441 * math/w_ilogbf.c: New file: ilogbf wrapper.
9442 * math/w_ilogbl.c: New file: ilogbl wrapper.
9443 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9444 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9445 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9446 exception being thrown with 0.0 as argument.
9447 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9448 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9449 exception being thrown with 0.0 as argument.
9450 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9451 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9452 exception being thrown with 0.0 as argument.
9453 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9454 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9455 exception being thrown with 0.0 as argument.
9456 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9457 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9459 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9461 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9462 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9463 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9464 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9466 2012-04-17 Petr Baudis <pasky@ucw.cz>
9468 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9471 2012-04-16 Marek Polacek <polacek@redhat.com>
9473 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9475 2012-04-16 Marek Polacek <polacek@redhat.com>
9477 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9478 operands of fdivp instruction.
9480 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9482 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9483 * elf/tst-auditmod3b.c: Likewise.
9484 * elf/tst-auditmod4b.c: Likewise.
9485 * elf/tst-auditmod5b.c: Likewise.
9486 * elf/tst-auditmod6b.c: Likewise.
9487 * elf/tst-auditmod6c.c: Likewise.
9488 * elf/tst-auditmod7b.c: Likewise.
9489 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9490 * sysdeps/x86_64/preconfigure.in: Likewise.
9491 * sysdeps/x86_64/preconfigure: Regenerated.
9493 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9495 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9498 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9501 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9503 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9506 * locale/iso-639.def: Fix gl language name. Spotted by
9509 2012-04-12 Roland McGrath <roland@hack.frob.com>
9512 * libio/libio.h (__io_write_fn): Update comment.
9514 2012-04-12 Petr Baudis <pasky@ucw.cz>
9517 * stdio.texi (Hook Functions): The user provided writer function
9518 is not allowed to return -1.
9520 2012-04-11 David S. Miller <davem@davemloft.net>
9522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9524 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9526 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9527 Add a leading slash to rtkaio.
9529 2012-04-11 Jim Meyering <meyering@redhat.com>
9532 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9533 It is not necessarily an error to ignore fwrite's return
9534 value. One can reliably use ferror to test for errors after
9537 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9539 * bits/types.h (__snseconds_t): New type.
9540 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9542 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9544 (__SNSECONDS_T_TYPE): Likewise.
9545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9546 (__SNSECONDS_T_TYPE): Likewise.
9547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9548 (__SNSECONDS_T_TYPE): Likewise.
9550 2012-04-10 Andreas Jaeger <aj@suse.de>
9553 * manual/time.texi (Processor Time): Return type of times is
9554 elapsed real time since an arbitrary point in the past.
9555 (CPU Time): Move CLK_TCK from here...
9556 (Processor Time): ...to here. Correct description.
9557 * manual/conf.texi (Constants for Sysconf): Correct description of
9560 2012-04-10 David S. Miller <davem@davemloft.net>
9563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9564 where the is a gap between DT_REL(A) and DT_JMPREL.
9566 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9568 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9569 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9570 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9572 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9574 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9575 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9576 (dl_main): Handle --inhibit-cache.
9577 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9579 * elf/dl-load.c (_dl_map_object): Use it.
9580 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9582 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9586 (__ieee754_powl): Saturate large exponents rather than testing for
9587 overflow of y*log2(x).
9588 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9589 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9593 * math/s_ctan.c: Include <float.h>.
9594 (__ctan): Avoid internal overflow or cancellation in calculating
9596 * math/s_ctanf.c: Likewise.
9597 * math/s_ctanl.c: Likewise.
9598 * math/s_ctanh.c: Likewise.
9599 * math/s_ctanhf.c: Likewise.
9600 * math/s_ctanhl.c: Likewise.
9601 * math/libm-test.inc (ctan_test): Add more tests.
9602 (ctanh_test): Likewise.
9603 * sysdeps/i386/fpu/libm-test-ulps: Update.
9604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9606 2012-04-09 Andreas Jaeger <aj@suse.de>
9609 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9610 is an optional BSD extension.
9613 * manual/stdio.texi (Opening Streams): Document additional fopen
9616 2012-04-09 Roland McGrath <roland@hack.frob.com>
9618 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9619 %eax without telling the compiler.
9621 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9624 * manual/install.texi: Use sourceware.org.
9626 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9629 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9630 (__ieee754_pow): Generate overflow and underflow using huge*huge
9631 and tiny*tiny rather than just returning constant infinity or zero
9632 for large exponents.
9633 * math/libm-test.inc (pow_test): Require overflow exceptions for
9634 applicable cases of large exponents.
9637 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9638 (__ieee754_pow): Use iterative multiplication algorithm only for
9639 integer exponents with absolute value below 1024. Check for odd
9640 integer exponents when using algorithm for real exponents.
9641 * math/libm-test.inc (pow_test): Add more tests.
9642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9644 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9647 * math/libm-test.inc (exp_test): Do not allow overflow exception
9650 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9653 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9654 instead of __kernel_standard_f.
9656 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9658 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9659 * sysdeps/x86_64/memset_chk.S: Likewise.
9661 2012-04-08 Andreas Jaeger <aj@suse.de>
9664 * manual/startup.texi (Environment Access): Describe return value
9665 for putenv and setenv.
9668 * manual/filesys.texi (Directory Entries): Add description for
9672 * manual/filesys.texi (Directory Entries): Clarify that it's file
9673 system not operating system in the description of DT_UNKNOWN.
9676 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9678 2012-04-08 Stephen Compall <s11@member.fsf.org>
9681 * manual/llio.texi (Opening and Closing Files): Add cross
9682 reference to explain mode argument.
9684 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9686 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9687 * sysdeps/x86_64/memset_chk.S: Likewise.
9689 2012-04-07 David S. Miller <davem@davemloft.net>
9691 * elf/elf.h (R_SPARC_WDISP10): Define.
9692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9695 R_SPARC_SIZE64 and R_SPARC_H34.
9697 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9700 conditions and remove no longer applicable assertion.
9702 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9704 * bits/byteswap.h: Include <features.h>.
9705 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9706 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9708 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9710 * bits/byteswap.h (__bswap_16): Removed.
9711 Include <bits/byteswap-16.h> to get __bswap_16.
9712 * sysdeps/i386/bits/byteswap.h: Likewise.
9713 * sysdeps/s390/bits/byteswap.h: Likewise.
9714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9715 * bits/byteswap-16.h: New file.
9716 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9717 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9718 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9719 * string/Makefile (headers): Add bits/byteswap-16.h.
9721 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9724 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9726 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9727 * nss/tst-nss-static.c: New.
9729 2012-04-06 Robert Millan <rmh@gnu.org>
9732 * manual/llio.texi (File Position Primitive): lseek
9733 refers to WHENCE when it really means OFFSET.
9735 2012-04-06 Andreas Jaeger <aj@suse.de>
9737 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9738 strncmp declarations.
9740 * abilist/libc.abilist: Add __poll and __ppoll.
9742 2012-04-05 David S. Miller <davem@davemloft.net>
9744 * scripts/check-local-headers.sh: Accept a host triplet in the
9745 path matched by the exclude regexp.
9747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9749 * sysdeps/powerpc/powerpc32/dl-machine.h
9750 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9751 * sysdeps/s390/s390-32/dl-machine.h
9752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9753 * sysdeps/sparc/sparc32/dl-machine.h
9754 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9755 * sysdeps/sparc/sparc64/dl-machine.h
9756 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9758 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9760 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9761 undefined symbol errors.
9763 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9766 2012-04-05 Michael Matz <matz@suse.de>
9769 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9771 2012-04-05 Andreas Jaeger <aj@suse.de>
9774 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9777 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9780 which ROUND is no valid rounding mode.
9782 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9784 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9786 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9788 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9791 an exception using FPU order intentionally.
9793 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9795 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9796 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9797 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9798 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9800 2012-04-05 Simon Josefsson <simon@josefsson.org>
9803 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9804 EINVAL when BUFLEN is too smal.
9806 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9809 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9810 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9812 2012-04-03 Andreas Jaeger <aj@suse.de>
9815 * manual/setjmp.texi (System V contexts): Fix sentence.
9818 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9819 New macro for this case.
9820 [!__GNUC__] (__bswap_64): New inline function for this case.
9821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9822 * bits/byteswap.h: Likewise.
9823 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9824 ull, guard with __GLIBC_HAVE_LONG_LONG.
9826 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9827 __GLIBC_HAVE_LONG_LONG.
9829 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9830 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9832 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9835 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9836 inptr and inend, rather than using last_ch.
9838 2012-04-02 David S. Miller <davem@davemloft.net>
9840 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9841 * stdio-common/printf-parse.h (read_int): Change return type to
9842 'int', return -1 on INT_MAX overflow.
9843 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9844 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9845 overflows INT_MAX. Check for overflow of in-format-string precision
9846 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9847 SIZE_MAX not INT_MAX for integer overflow test.
9848 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9849 skip the construct in the format string but do not record anything.
9850 * stdio-common/bug22.c: Adjust to test both width/prevision
9851 INT_MAX overflow as well as total length INT_MAX overflow. Check
9852 explicitly for proper errno values.
9854 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9856 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9858 * string/test-strcmp.c [! WIDE]: Likewise.
9859 * time/tst-mktime2.c: Likewise for INT_MAX.
9860 * string/test-string.h: #include <sys/param.h> for MIN.
9862 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9863 * sysdeps/i386/init-first.c (init): Likewise.
9864 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9865 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9866 * sysdeps/sh/init-first.c (init): Likewise.
9868 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9870 * po/ru.po: Update from translation team.
9871 * po/vi.po: Likewise.
9873 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9875 * resolv/nss_dns/dns-host.c: Merge copyright years.
9877 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9880 Optimize memcpy with prefetch if
9881 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9882 src, dst pointers have unequal 16 byte alignments.
9884 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9887 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9888 from a CNAME entry and return the minimum ttl for the query.
9889 (gaih_getanswer_slice): Likewise.
9891 2012-03-30 Jeff Law <law@redhat.com>
9893 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9895 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9896 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9898 * resolv/nss_dns/dns-host.c: Update copyright year.
9900 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9902 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9903 requests to save a system call. Fix check that all bytes are sent.
9905 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9906 comments for sendmmsg.
9908 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9911 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9912 with only 1 character between 0x0041 and 0x01b0.
9913 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9914 * wcsmbs/tst-mbsnrtowcs.c: New file.
9916 2012-03-29 David S. Miller <davem@davemloft.net>
9918 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9919 small copies by hand.
9921 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9924 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9925 _nss_compat_initgroups_dyn): Fall back to malloc/free
9926 for large group memberships.
9928 2012-03-28 David S. Miller <davem@davemloft.net>
9930 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9931 that branches into memcpy.
9932 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9935 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9938 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9940 * sysdeps/sparc/mempcpy.S: New file.
9942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9943 the IFUNC routine in the libc case.
9944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9947 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9949 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9950 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9951 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9952 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9953 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9955 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9956 loop to 256 bytes instead of 64 bytes and fix test signedness.
9958 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9959 * sysdeps/sparc/sparc32/Makefile: rather than here...
9960 * sysdeps/sparc/sparc64/Makefile: and here.
9962 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9964 * malloc/mallocbug.c: Avoid warnings about unused variables.
9966 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9969 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9970 in the right place. Discard and retry query if response is
9971 larger than input buffer size.
9973 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9979 x for large integer exponent.
9980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9981 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9982 sign of result as needed afterwards.
9983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9984 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9985 result for underflowing pow the same as for overflow.
9986 (__kernel_standard_l): Handle powl overflow and underflow here
9987 rather than calling __kernel_standard.
9988 * math/libm-test.inc (pow_test): Add more tests.
10003 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10004 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10005 (__kernel_standard_l): New function.
10006 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10008 * math/w_acosl.c (__acosl): Likewise.
10009 * math/w_asinl.c (__asinl): Likewise.
10010 * math/w_atan2l.c (__atan2l): Likewise.
10011 * math/w_atanhl.c (__atanhl): Likewise.
10012 * math/w_coshl.c (__coshl): Likewise.
10013 * math/w_exp10l.c (__exp10l): Likewise.
10014 * math/w_exp2l.c (__exp2l): Likewise.
10015 * math/w_fmodl.c (__fmodl): Likewise.
10016 * math/w_hypotl.c (__hypotl): Likewise.
10017 * math/w_j0l.c (__j0l, __y0l): Likewise.
10018 * math/w_j1l.c (__j1l, __y1l): Likewise.
10019 * math/w_jnl.c (__jnl, __ynl): Likewise.
10020 * math/w_lgammal.c (__lgammal): Likewise.
10021 * math/w_log10l.c (__log10l): Likewise.
10022 * math/w_log2l.c (__log2l): Likewise.
10023 * math/w_logl.c (__logl): Likewise.
10024 * math/w_powl.c (__powl): Likewise.
10025 * math/w_remainderl.c (__remainderl): Likewise.
10026 * math/w_scalbl.c (sysv_scalbl): Likewise.
10027 * math/w_sinhl.c (__sinhl): Likewise.
10028 * math/w_sqrtl.c (__sqrtl): Likewise.
10029 * math/w_tgammal.c (__tgammal): Likewise.
10030 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10031 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10032 * math/libm-test.inc (acos_test): Add more tests.
10033 (acosh_test): Likewise.
10034 (asin_test): Likewise.
10035 (atanh_test): Likewise.
10036 (exp_test): Likewise.
10037 (exp10_test): Likewise.
10038 (exp2_test): Likewise.
10039 (expm1_test): Likewise.
10040 (lgamma_test): Likewise.
10041 (log_test): Likewise.
10042 (log10_test): Likewise.
10043 (log1p_test): Likewise.
10044 (log2_test): Likewise.
10045 (pow_test): Do not allow some spurious overflow exceptions.
10046 (sqrt_test): Add more tests.
10047 (tgamma_test): Likewise.
10048 (y0_test): Likewise.
10049 (y1_test): Likewise.
10050 (yn_test): Likewise.
10052 2012-03-27 Anton Blanchard <anton@samba.org>
10054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10060 2012-03-27 David S. Miller <davem@davemloft.net>
10062 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10064 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10065 have-as-vis3 check.
10067 2012-03-27 Andreas Jaeger <aj@suse.de>
10069 * sysdeps/x86_64/elf/configure.in: Moved to ...
10070 * sysdeps/x86_64/configure.in: ... here.
10071 * sysdeps/x86_64/elf/start.S: Moved to ...
10072 * sysdeps/x86_64/start.S: ... here.
10073 * sysdeps/x86_64/elf/configure: Delete.
10075 * sysdeps/x86_64/configure.in: Merge contents from
10076 sysdeps/i386/configure.in (without i686 check).
10078 * sysdeps/i386/elf/Versions: Merge into ...
10079 * sysdeps/i386/Versions: ... this.
10080 * sysdeps/i386/elf/Versions: Delete file.
10081 * sysdeps/i386/elf/start.S: Moved to ...
10082 * sysdeps/i386/start.S: ...here.
10083 * sysdeps/i386/elf/configure.in: Merge into...
10084 * sysdeps/i386/configure.in: ...here.
10085 * sysdeps/i386/elf/configure.in: Delete file.
10086 * sysdeps/i386/elf/configure: Delete file.
10088 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10089 * debug/backtracesyms.c: ... here.
10090 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10091 * debug/backtracesymsfd.c: ... here.
10092 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10093 * sysdeps/generic/ifunc-sel.h: ... here.
10095 * sysdeps/unix/i386/start.c: Delete file.
10096 * sysdeps/unix/sparc/start.c: Delete file.
10097 * sysdeps/unix/start.c: Delete file.
10099 * sysdeps/sh/elf/configure.in: Moved to ...
10100 * sysdeps/sh/configure.in: ... here.
10101 * sysdeps/sh/elf/start.S: Moved to ...
10102 * sysdeps/sh/start.S: ... here.
10103 * sysdeps/sh/elf/configure: Delete file.
10105 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10106 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10107 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10108 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10109 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10110 * sysdeps/powerpc/powerpc64/start.S: here.
10111 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10112 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10113 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10114 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10115 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10117 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10118 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10119 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10120 * sysdeps/powerpc/powerpc32/start.S: ... here.
10121 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10122 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10123 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10125 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10126 * sysdeps/powerpc/ifunc-sel.h: ... here.
10127 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10128 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10130 * sysdeps/sparc/elf/configure.in: Moved to ...
10131 * sysdeps/sparc/configure.in: ... here.
10132 * sysdeps/sparc/elf/configure: Delete file.
10133 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10134 * sysdeps/sparc/sparc32/start.S: ... here.
10135 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10136 * sysdeps/sparc/sparc64/start.S: ... here.
10137 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10138 * sysdeps/sparc/sparc32/Makefile: ... this.
10139 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10140 * sysdeps/sparc/sparc64/Makefile: ... this.
10142 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10143 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10144 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10145 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10146 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10147 * sysdeps/s390/s390-32/setjmp.S: ... here.
10148 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10149 * sysdeps/s390/s390-32/configure.in: ... here.
10150 * sysdeps/s390/s390-32/elf/configure: Delete file.
10151 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10152 * sysdeps/s390/s390-32/start.S: ... here.
10154 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10155 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10156 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10157 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10158 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10159 * sysdeps/s390/s390-64/setjmp.S: ... here.
10160 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10161 * sysdeps/s390/s390-64/configure.in: ... here
10162 * sysdeps/s390/s390-64/elf/configure: Delete file.
10163 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10164 * sysdeps/s390/s390-64/start.S: ... here.
10165 * sysdeps/s390/s390-64/elf/configure: Delete.
10167 * configure.in: Remove support for elf directories in sysdeps.
10169 * configure: Regenerated.
10170 * sysdeps/i386/configure: Regenerated.
10171 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10172 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10173 * sysdeps/s390/s390-32/configure: Regenerated.
10174 * sysdeps/s390/s390-64/configure: Regenerated.
10175 * sysdeps/sh/configure: Regenerated.
10176 * sysdeps/sparc/configure: Regenerated.
10177 * sysdeps/x86_64/configure: Regenerated.
10179 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10184 denormal result into account.
10186 2012-03-25 Roland McGrath <roland@hack.frob.com>
10188 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10189 Reported by Allan McRae <allan@archlinux.org>.
10191 2012-03-23 Jeff Law <law@redhat.com>
10193 * nss/getnssent.c (__nss_getent): Fix typo.
10195 2012-03-23 David S. Miller <davem@davemloft.net>
10197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10199 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10201 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10202 to pad to uint64_t for each field.
10203 (dl_tls_index): Replace unsigned long with uint64_t.
10205 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10206 Paul Pluzhnikov <ppluzhnikov@google.com>
10209 * grp/Makefile (otherlibs): Don't set it.
10210 * inet/Makefile (otherlibs): Likewise.
10211 * login/Makefile (otherlibs): Likewise.
10212 * nscd/Makefile (otherlibs): Likewise.
10213 * posix/Makefile (otherlibs): Likewise.
10214 * pwd/Makefile (otherlibs): Likewise.
10215 * rt/Makefile (otherlibs): Likewise.
10216 * sunrpc/Makefile (otherlibs): Likewise.
10217 * nss/Makefile (otherlibs): Likewise.
10218 Add libnss_files to routines and static-only-routines.
10219 ($(objpfx)getent): Remove rule.
10220 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10221 static-only-routines.
10223 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10226 * math/s_cexp.c: Include <float.h>.
10227 (__cexp): Handle exp result overflowing not necessarily
10228 overflowing both real and imaginary parts of result.
10229 * math/s_cexpf.c: Likewise.
10230 * math/s_cexpl.c: Likewise.
10231 * math/libm-test.inc (cexp_test): Add more tests.
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10235 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10237 * include/link.h (ELFW): New macro.
10238 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10239 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10241 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10243 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10246 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10248 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10250 (struct La_x32_retval): Likewise.
10252 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10254 * sysdeps/x86_64/preconfigure.in: New file.
10255 * sysdeps/x86_64/preconfigure: New generated file.
10257 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10260 * math/e_exp2l.c: Include <float.h>.
10261 (__ieee754_exp2l): Handle overflow and underflow cases
10262 separately. Only pass fractional part of argument to
10264 * math/libm-test.inc (exp2_test): Add more tests.
10266 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10267 negating x to take absolute value.
10268 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10270 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10273 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10274 computing low part if x was negated.
10275 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10277 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10279 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10280 la_x32_gnu_pltexit.
10281 (pltexit): Cast int_retval to ptrdiff_t.
10282 * elf/tst-auditmod3b.c: Likewise.
10283 * elf/tst-auditmod4b.c: Likewise.
10284 * elf/tst-auditmod5b.c: Likewise.
10285 * elf/tst-auditmod6b.c: Likewise.
10286 * elf/tst-auditmod6c.c: Likewise.
10287 * elf/tst-auditmod7b.c: Likewise.
10289 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10290 and x32_gnu_pltexit.
10292 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10293 __ELF_NATIVE_CLASS.
10294 (La_x32_regs): New macro.
10295 (La_x32_retval): Likewise.
10296 (la_x32_gnu_pltenter): New function prototype.
10297 (la_x32_gnu_pltexit): Likewise.
10299 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10306 * configure.in (libc_cv_cc_nofma): Check for option to disable
10307 generation of FMA instructions.
10308 * configure: Regenerate.
10309 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10310 * sysdeps/ieee754/dbl-64/Makefile: New file.
10311 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10312 Remove brandred-fma4.
10313 (CFLAGS-brandred-fma4.c): Remove.
10314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10320 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10322 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10323 LLONG_MAX != LONG_MAX.
10324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10325 (_fitoa_word): Likewise.
10326 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10327 LLONG_MAX != LONG_MAX.
10328 * stdio-common/_itowa.h: Include <_itoa.h>.
10329 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10330 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10331 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10332 only if not defined.
10333 (_ITOA_WORD_TYPE): Likewise.
10334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10335 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10337 2012-03-21 David S. Miller <davem@davemloft.net>
10339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10341 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10343 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10344 of x86_64 when setting libc_cv_slibdir, libdir and
10346 * sysdeps/unix/sysv/linux/configure: Regenerated.
10348 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10350 * manual/lang.texi (Old Varargs): Remove section.
10351 (How Variadic): Update menu.
10352 (va_start): Do not mention varargs.h.
10354 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10355 Joseph Myers <joseph@codesourcery.com>
10357 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10359 * configure: Regenerated.
10361 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10363 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10364 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10367 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10370 * Makefile (files-for-dist): Remove NOTES.
10371 (NOTES): Remove rule.
10372 * README: Don't refer to NOTES.
10373 * manual/creature.texi: Don't include macros.texi.
10374 * manual/intro.texi (creature.texi): Remove comment referring to
10377 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10378 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10379 * configure: Regenerated.
10380 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10381 LIBC_TRY_CC_OPTION.
10382 (libc_cv_as_i686): Likewise.
10383 (libc_cv_cc_avx): Likewise.
10384 (libc_cv_cc_sse2avx): Likewise.
10385 (libc_cv_cc_fma4): Likewise.
10386 (libc_cv_cc_novzeroupper): Likewise.
10387 * sysdeps/i386/configure: Regenerated.
10390 * sysdeps/i386/fpu/s_cexp.S: Remove.
10391 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10393 * math/libm-test.inc (cexp_test): Add more tests.
10394 * sysdeps/i386/fpu/libm-test-ulps: Update.
10395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10397 2012-03-21 Allan McRae <allan@archlinux.org>
10399 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10401 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10404 * math/w_exp2.c: Do not include <float.h>.
10405 (o_threshold, u_threshold): Remove.
10406 (__exp2): Calculate result before checking finiteness and calling
10408 * math/w_exp2f.c: Likewise.
10409 * math/w_exp2l.c: Likewise.
10410 * math/libm-test.inc (exp2_test): Require overflow exception for
10414 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10415 range of signed 64-bit integers before using fistpll. Remove
10416 checks for whether integers fit in mantissa bits.
10417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10418 the range of signed 32-bit integers before using fistpl. Remove
10419 checks for whether integers fit in mantissa bits.
10420 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10421 (__ieee754_powl): Test for y outside the range of signed 64-bit
10422 integers before using fistpll. Reduce 64-bit values to 63-bit
10424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10425 divide-by-zero is raised for zero to large negative powers.
10426 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10427 (__ieee754_powl): Test for y outside the range of signed 64-bit
10428 integers before using fistpll. Reduce 64-bit values to 63-bit
10430 * math/libm-test.inc (pow_test): Add more tests.
10432 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10434 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10435 <stdio-common/_itoa.h>.
10436 * debug/segfault.c: Likewise.
10437 * elf/dl-cache.c: Likewise.
10438 * elf/dl-minimal.c: Likewise.
10439 * elf/dl-misc.c: Likewise.
10440 * elf/dl-sysdep.c: Likewise.
10441 * elf/dl-version.c: Likewise.
10442 * elf/rtld.c: Likewise.
10443 * hurd/hurdsock.c: Likewise.
10444 * hurd/lookup-retry.c: Likewise.
10445 * malloc/malloc.c: Likewise.
10446 * malloc/mtrace.c: Likewise.
10447 * nscd/nscd_getgr_r.c: Likewise.
10448 * nscd/nscd_getpw_r.c: Likewise.
10449 * nscd/nscd_getserv_r.c: Likewise.
10450 * posix/getopt_init.c: Likewise.
10451 * posix/wordexp.c: Likewise.
10452 * stdio-common/_itoa.c: Likewise.
10453 * stdio-common/printf_fphex.c: Likewise.
10454 * stdio-common/vfprintf.c: Likewise.
10455 * string/_strerror.c: Likewise.
10456 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10457 * sysdeps/i386/i686/hp-timing.h: Likewise.
10458 * sysdeps/mach/_strerror.c: Likewise.
10459 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10460 * sysdeps/mach/hurd/sethostid.c: Likewise.
10461 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10462 * sysdeps/mach/xpg-strerror.c: Likewise.
10463 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10465 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10466 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10467 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10468 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10470 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10471 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10472 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10474 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10475 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10476 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10477 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10478 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10479 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10481 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10482 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10485 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10487 * stdio-common/_itoa.h: Moved to ...
10488 * sysdeps/generic/_itoa.h: Here.
10490 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10492 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10493 instead of "_itoa.h" and "_itowa.h".
10494 * stdio-common/vfprintf.: Likewise.
10496 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10498 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10500 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10501 (__signbit): Likwise.
10502 (llrintf): Likwise.
10505 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10507 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10510 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10512 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10513 OVERFLOW_EXCEPTION_OK.
10514 * math/libm-test.inc ("Philosophy"): Update comment about
10516 (OVERFLOW_EXCEPTION): Define.
10517 (OVERFLOW_EXCEPTION_OK): Likewise.
10518 (INVALID_EXCEPTION_OK): Renumber.
10519 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10520 (IGNORE_ZERO_INF_SIGN): Likewise.
10521 (test_exceptions): Handle FE_OVERFLOW.
10522 (exp10_test): Expect overflow exceptions.
10523 (exp2_test): Likewise.
10524 (expm1_test): Likewise.
10525 (nextafter_test): Likewise.
10526 (pow_test): Likewise.
10527 (scalbn_test): Likewise.
10528 (scalbln_test): Likewise.
10530 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10532 * sysdeps/x86_64/bits/atomic.h
10533 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10535 (atomic_exchange_acq): Likewise.
10536 (__arch_exchange_and_add_body): Likewise.
10537 (__arch_add_body): Likewise.
10538 (atomic_add_negative): Likewise.
10539 (atomic_add_zero): Likewise.
10541 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10543 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10544 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10549 Check __x86_64__ instead of __WORDSIZE.
10551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10555 2012-03-19 David S. Miller <davem@davemloft.net>
10557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10559 * sysdeps/sparc/fpu/fenv_private.h: New file.
10560 * sysdeps/sparc/fpu/math_private.h: Use it.
10561 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10564 (libc_feholdexcept_setroundl): Remove.
10565 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10570 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10572 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10573 int64_t instead of long int.
10574 (INSERT_WORDS64): Likwise.
10576 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10578 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10579 _Unwind_GetCFA return to _Unwind_Ptr first.
10581 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10584 * math/s_clog.c: Include <float.h>.
10585 (__clog): Scale large or subnormal inputs.
10586 * math/s_clogf.c: Likewise.
10587 * math/s_clogl.c: Likewise.
10588 * math/s_clog10.c: Include <float.h>.
10589 (M_LOG10_2): Define.
10590 (__clog10): Scale large or subnormal inputs.
10591 * math/s_clog10f.c: Likewise.
10592 * math/s_clog10l.c: Likewise.
10593 * math/libm-test.inc (clog_test): Add more tests.
10594 (clog10_test): Likewise.
10595 * sysdeps/i386/fpu/libm-test-ulps: Update.
10596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10599 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10601 * math/libm-test.inc (atan2_test): Add another test.
10603 * Makerules (common-objdir-compile): Remove.
10604 * sysdeps/unix/Makefile (config-generated): Do not add
10605 $(unix-generated) to variable.
10606 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10607 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10609 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10611 [generic bits/local_lim.h] (before-compile): Do not append to
10613 [generic bits/local_lim.h] (common-generated): Likewise.
10614 [generic sys/param.h] (before-compile): Do not append to variable.
10615 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10616 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10618 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10620 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10621 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10622 [generic sys/param.h] ($(addprefix
10623 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10624 [generic sys/param.h] (common-generated): Do not append to
10626 [generic sys/param.h] (sysdep_headers): Likewise.
10627 [generic bits/errno.h] (before-compile): Do not append to
10629 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10631 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10632 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10633 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10634 [generic bits/errno.h] (common-generated): Do not append to
10636 [generic bits/ioctls.h] (before-compile): Do not append to
10638 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10640 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10641 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10642 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10644 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10645 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10646 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10647 [generic bits/ioctls.h] (common-generated): Do not append to
10649 [generic sys/syscall.h] (syscall.h): Remove variable.
10650 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10652 [generic sys/syscall.h] (before-compile): Do not append to
10654 [generic sys/syscall.h] (common-generated): Likewise.
10655 * sysdeps/unix/errnos-tmpl.c: Remove file.
10656 * sysdeps/unix/errnos.awk: Likewise.
10657 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10658 * sysdeps/unix/ioctls.awk: Likewise.
10659 * sysdeps/unix/mk-local_lim.c: Likewise.
10660 * sysdeps/unix/snarf-ioctls: Likewise.
10662 2012-03-19 Richard Henderson <rth@twiddle.net>
10664 * sysdeps/i386/fpu/fenv_private.h: New file.
10665 * sysdeps/i386/fpu/math_private.h: Use it.
10666 (math_opt_barrier, math_force_eval): Remove.
10667 (libc_feholdexcept_setround_53bit): Remove.
10668 (libc_feupdateenv_53bit): Remove.
10669 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10670 (math_opt_barrier, math_force_eval): Remove.
10671 (libc_feholdexcept): Remove.
10672 (libc_feholdexcept_setround): Remove.
10673 (libc_fetestexcept, libc_fesetenv): Remove.
10674 (libc_feupdateenv_test): Remove.
10675 (libc_feupdateenv, libc_feholdsetround): Remove.
10676 (libc_feresetround): Remove.
10678 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10679 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10681 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10682 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10683 (libc_feupdateenv_testl): New.
10684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10685 (libc_feupdateenv_testf): New.
10686 (libc_feupdateenv): Use libc_feupdateenv_test.
10687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10690 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10691 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10692 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10693 (libc_feresetround_noex): New.
10694 (libc_feresetround_noexf): New.
10695 (libc_feresetround_noexl): New.
10696 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10697 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10698 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10704 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10705 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10706 SET_RESTORE_ROUND_NOEX.
10707 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10708 SET_RESTORE_ROUND_NOEXF.
10709 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10710 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10711 (libc_feholdsetroundf): New.
10712 (libc_feresetround, libc_feresetroundf): New.
10714 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10715 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10716 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10718 * sysdeps/generic/math_private.h: Include <fenv.h>.
10719 (default_libc_feholdexcept): New.
10720 (default_libc_feholdexcept_setround): New.
10721 (default_libc_fesetenv, default_libc_feupdateenv): New.
10722 (libc_feholdexcept): Only define if undefined.
10723 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10725 (libc_feholdexcept_setroundl): Likewise.
10726 (libc_feholdexcept_setround_53bit): Likewise.
10727 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10730 (libc_feupdateenv_53bit): Likewise.
10731 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10732 (libc_feholdexcept): Convert from macro to inline function.
10733 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10734 (libc_fesetenv, libc_feupdateenv): Likewise.
10736 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10737 not previously defined.
10738 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10739 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10740 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10741 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10742 * sysdeps/ieee754/flt-32/math_private.h: New file.
10743 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10744 math_private.h below SET_FLOAT_WORD.
10745 (__isnan, __isinf_ns, __finite): Remove.
10746 (__isnanf, __isinf_nsf, __finitef): Remove.
10748 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10752 2012-03-17 David S. Miller <davem@davemloft.net>
10755 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10758 2012-03-16 David S. Miller <davem@davemloft.net>
10760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10764 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10766 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10767 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10768 sysdep_routines when subdir is sysvipc.
10769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10770 __getshmlba helper.
10772 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10776 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10779 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10783 (__lround): Renamed to ...
10784 (__llround): This. Replace long int with long long int.
10785 Define lround functions as aliases of llround functions.
10786 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10790 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10791 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10792 adresses to uintptr_t. Replace "long int" and "unsigned long
10793 int" with "greg_t" on va_arg.
10795 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10797 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10798 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10800 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10801 Move e_machine check before EI_CLASS check. Handle x32
10802 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10803 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10804 SKIP_EM_IA_64 and include
10805 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10807 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10808 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10809 (add_system_dir): New macro.
10811 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10812 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10814 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10825 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10827 * math/w_j0f.c (j0f): Likewise.
10829 * math/w_j0l.c (__j0l): Likewise.
10831 * math/w_j1.c (j1): Likewise.
10833 * math/w_j1f.c (j1f): Likewise.
10835 * math/w_j1l.c (__j1l): Likewise.
10837 * math/w_jn.c (jn): Likewise.
10839 * math/w_jnf.c (jnf): Likewise.
10841 * math/w_jnl.c (__jnl): Likewise.
10843 * math/libm-test.inc (j0_test): Add more tests.
10844 (j1_test): Likewise.
10845 (jn_test): Likewise. Add trailing semicolon to existing test.
10846 (y0_test): Likewise.
10847 (y1_test): Likewise.
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10854 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10855 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10857 (__tanl): Set errno for infinite argument.
10858 * sysdeps/i386/fpu/mptan.c: Remove.
10859 * sysdeps/i386/fpu/s_tan.S: Likewise.
10860 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10861 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10862 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10863 * math/libm-test.inc (tan_test): Add more tests and enable more
10864 tests for double and long double.
10865 * sysdeps/i386/fpu/libm-test-ulps: Update.
10866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10868 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10870 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10871 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10873 2012-03-16 Roland McGrath <roland@hack.frob.com>
10875 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10876 * configure.in: Use it for both main tree and add-ons.
10877 * configure: Regenerated.
10879 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10881 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10883 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10889 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10890 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10895 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10897 != 0 for prec == 2.
10898 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10899 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10900 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10901 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10902 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10903 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10904 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10905 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10906 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10907 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10908 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10909 * math/libm-test.inc (cos_test): Add more tests and enable more
10910 tests for long double.
10911 (sin_test): Likewise.
10912 (sincos_test): Likewise.
10913 * sysdeps/i386/fpu/libm-test-ulps: Update.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916 2012-03-16 David S. Miller <davem@davemloft.net>
10918 * sysdeps/sparc/fpu/math_private.h: New file.
10920 2012-03-15 David S. Miller <davem@davemloft.net>
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10936 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10937 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10939 * sysdeps/sparc/sparc-ifunc.h: New file.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10985 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10987 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10991 2012-03-15 Andreas Jaeger <aj@suse.de>
10994 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10995 ieee754/flt-32 implementation for sin, cos and sincos.
10996 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10997 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10998 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10999 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11000 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11001 ieee754/flt-32 implementation for tan.
11003 * math/libm-test.inc (cos_test): Enable some large input tests for
11005 (sin_test): Likewise.
11006 (sincos_test): Likewise.
11007 (tan_test): Add tests for large input.
11009 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 2012-03-15 Andreas Jaeger <aj@suse.de>
11014 * math/libm-test.inc (cos_test): Add more test cases.
11015 (sin_test): Likewise.
11016 (sincos_test): Likewise.
11018 2012-03-15 Andreas Jaeger <aj@suse.de>
11021 * math/libm-test.inc (cos_test): Add a test case for large input
11023 (sin_test): Likewise.
11024 (sincos_test): Likewise.
11026 2012-03-15 Andreas Jaeger <aj@suse.de>,
11027 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11031 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11032 * sysdeps/i386/fpu/branred.c: Likewise.
11033 * sysdeps/i386/fpu/dosincos.c: Likewise.
11034 * sysdeps/i386/fpu/mpa.c: Likewise.
11035 * sysdeps/i386/fpu/s_cos.S: Likewise.
11036 * sysdeps/i386/fpu/s_sin.S: Likewise.
11037 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11038 * sysdeps/i386/fpu/sincos32.c: Likewise.
11040 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11042 (libc_feupdateenv_53bit): Define.
11043 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11045 (libc_feupdateenv_53bit): Define.
11047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11048 53 bit (without extend i386 double precision).
11050 * math/libm-test.inc (sincos_test): Add tests for large input.
11054 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11056 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11060 2012-03-15 David S. Miller <davem@davemloft.net>
11062 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11063 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11064 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11065 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11090 fmin/fmax sysdep routines.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11093 2012-03-14 David S. Miller <davem@davemloft.net>
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11167 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11172 * sysdeps/sparc/configure.in: New file.
11173 * sysdeps/sparc/configure: Generate.
11174 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11175 * configure: Regenerate.
11176 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11177 * config.make.in (have-as-vis3): New.
11178 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11179 available use -Av9d instead of -Av9a.
11180 * sysdeps/sparc/sparc64/Makefile: Likewise.
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11196 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11197 fzeros/fnegs to load 0x80000000 into a float register instead of
11199 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11201 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11205 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11206 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11207 ($(inst_includedir)/bits/syscall.h): Remove rule.
11208 ($(objpfx)bits/syscall.d): Include instead of
11209 $(objpfx)syscall-list.d.
11210 (generated): Change syscall-list.h and syscall-list.d to
11211 bits/syscall.h and bits/syscall.d.
11213 2012-03-14 Roland McGrath <roland@hack.frob.com>
11216 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11218 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11221 * math/s_csqrt.c: Include <float.h>.
11222 (__csqrt): Scale large or subnormal inputs.
11223 * math/s_csqrtf.c: Likewise.
11224 * math/s_csqrtl.c: Likewise.
11225 * math/libm-test.inc (csqrt_test): Add more tests.
11226 * sysdeps/i386/fpu/libm-test-ulps: Update.
11227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11230 * math/libm-test.inc (hypot_test): Add more tests.
11232 2012-03-13 David S. Miller <davem@davemloft.net>
11235 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11236 double-precision for the calculation instead of scaling.
11238 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11241 manipulate bits before adding and subtracting TWO52[sx].
11242 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11247 2012-03-13 David S. Miller <davem@davemloft.net>
11249 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11250 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11252 rtld-global-offsets.h
11253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11255 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11260 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11261 'err' in the ifdef scope in which it is actually used.
11263 * nss/nss_db/db-init.c: Include string.h
11265 2012-03-12 David S. Miller <davem@davemloft.net>
11267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11268 masking out of the most significant byte of random value used.
11269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11270 Fix coding style in previous change.
11272 * sysdeps/unix/sysv/linux/kernel-features.h
11273 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11274 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11276 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11279 2012-03-11 David S. Miller <davem@davemloft.net>
11281 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11282 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11284 for 'resultvar' otherwise things get truncated on 64-bit.
11286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11287 Fix masking out of the most significant byte of random value used.
11289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11291 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11295 2012-03-09 David S. Miller <davem@davemloft.net>
11297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11298 variables with appropriate CPP guards.
11299 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11300 frame pointer, not the stack pointer. Correct layout comments. Fix test
11301 on resulting framesize and the management of the outregs buffer for pltexit.
11302 Preserve floating point return values across _dl_call_pltexit call.
11303 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11304 framesize and the management of the outregs buffer for pltexit.
11305 Preserve floating point return values across _dl_call_pltexit
11307 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11308 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11309 (print_exit): Fix format string for return register value.
11311 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11313 * sunrpc/Makefile (others): Add rpcgen.
11314 ($(objpfx)rpcgen): Remove special build rule and dependency on
11316 * sunrpc/rpcgen.c: New file.
11318 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11321 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11322 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11323 * sysdeps/i386/crti.S: Likewise.
11324 * sysdeps/i386/crtn.S: Likewise.
11325 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11326 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11328 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11329 * sysdeps/sh/crti.S: Likewise.
11330 * sysdeps/sh/crtn.S: Likewise.
11331 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11334 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11336 * locale/programs/locfile-kw.gperf: Likewise.
11337 * locale/programs/charmap-kw.h: Regenerated.
11338 * locale/programs/locfile-kw.h: Likewise.
11341 * intl/plural.y: Replace FSF snail mail address with URL.
11342 * intl/plural.c: Regenerated.
11344 2012-03-09 Richard Henderson <rth@twiddle.net>
11346 * include/math_private.h: Remove file.
11347 * math/math_private.h: Move file ...
11348 * sysdeps/generic/math_private.h: ... here.
11350 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11351 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11352 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11354 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11355 and <math_private.h>.
11356 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11357 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11358 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11359 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11360 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11451 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11453 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11454 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11458 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11484 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11492 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11493 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11494 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11495 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11497 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11499 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11502 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11505 * sysdeps/ieee754/k_standard.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11666 * sysdeps/ieee754/s_lib_version.c: Likewise.
11667 * sysdeps/ieee754/s_matherr.c: Likewise.
11668 * sysdeps/ieee754/s_signgam.c: Likewise.
11669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11671 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11672 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11674 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11675 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11676 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11677 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11678 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11679 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11680 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11683 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11686 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11691 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11693 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11694 * sunrpc/rpc_main.c: Likewise.
11695 * sunrpc/rpc_svcout.c: Likewise.
11697 2012-03-09 David S. Miller <davem@davemloft.net>
11699 * include/math_private.h: New file.
11701 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11703 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11704 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11705 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11706 from <bits/socket_type.h>.
11707 (enum __socket_type): Don't define here.
11708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11710 bits/socket_type.h.
11713 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11714 checking __USE_GNU.
11716 * Makerules ($(inst_includedir)/%.h): New rule.
11717 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11718 (install-others): Remove variable setting.
11719 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11721 2012-03-08 Richard Henderson <rth@twiddle.net>
11723 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11724 from macro to inline function; merge with the
11725 !__LIBC_INTERNAL_MATH_INLINES version.
11726 (__ieee754_sqrtf): Likewise.
11728 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11729 to inline function.
11730 (__rintf, __floor, __floorf): Likewise.
11732 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11733 macro to inline function.
11734 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11737 not <math/math_private.h>.
11739 2012-03-08 David S. Miller <davem@davemloft.net>
11741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11743 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11745 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11747 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11749 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11750 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11752 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11754 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11755 be defined individually, they must be defined as a block. Define
11756 S for printing a string instead of hidint the different by using a
11757 macro for adding the 'l'.
11758 * stdio-common/tst-fphex-wide.c: Adjust.
11760 2012-03-07 Marek Polacek <polacek@redhat.com>
11762 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11764 2012-03-08 Marek Polacek <polacek@redhat.com>
11767 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11768 * stdio-common/tst-fphex.c: Define a few macros to make the
11769 test reusable. Use them.
11770 * stdio-common/tst-fphex-wide.c: New file.
11772 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11775 * manual/macros.texi (gnusystems): New macro.
11776 (nongnusystems): Likewise.
11777 (gnulinuxhurdsystems): Likewise.
11778 (gnuhurdsystems): Likewise..
11779 (gnulinuxsystems): Likewise.
11780 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11781 variants of the GNU system, not "GNU system".
11782 * manual/conf.texi: Likewise.
11783 * manual/errno.texi: Likewise. Update example of errno macro
11785 * manual/filesys.texi: Likewise.
11786 (getumask): Document as specific to GNU/Hurd.
11787 * manual/install.texi: Likewise. Reword some references to
11789 * manual/intro.texi: Likewise.
11790 * manual/io.texi: Likewise.
11791 (File Name Portability): Detail which constraints are inapplicable
11792 to all GNU systems and which are only inapplicable to GNU/Hurd.
11793 * manual/job.texi: Likewise.
11794 * manual/llio.texi: Likewise.
11795 (O_NOCTTY): Document as present on GNU/Linux.
11796 * manual/maint.texi: Likewise.
11797 * manual/memory.texi: Likewise.
11798 * manual/pattern.texi: Likewise.
11799 * manual/pipe.texi: Likewise.
11800 * manual/process.texi: Likewise.
11801 * manual/resource.texi: Likewise.
11802 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11804 * manual/setjmp.texi: Likewise.
11805 * manual/signal.texi: Likewise.
11806 * manual/startup.texi: Likewise.
11807 * manual/stdio.texi: Likewise.
11808 * manual/terminal.texi: Likewise.
11809 (ONLCR): Document as POSIX.
11810 (OXTABS): Document availability on GNU/Linux as XTABS.
11811 (ONOEOT): Document availability separately from other bits.
11812 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11813 * manual/time.texi: Likewise.
11814 * manual/users.texi: Likewise.
11815 * INSTALL: Regenerated.
11816 * sysdeps/gnu/errlist.c: Regenerated.
11818 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11819 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11820 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11822 * configure: Regenerated.
11824 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11826 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11827 default includes instead of AC_HEADER_CHECK.
11828 * sysdeps/i386/configure: Regenerated.
11831 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11832 * math/s_cacoshf.c (__cacoshf): Likewise.
11833 * math/s_cacoshl.c (__cacoshl): Likewise.
11834 * math/s_casinh.c (__casinh): Set signs of result from argument.
11835 * math/s_casinhf.c (__casinhf): Likewise.
11836 * math/s_casinhl.c (__casinhl): Likewise.
11837 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11838 (casinh_test): Add more tests.
11839 * sysdeps/i386/fpu/libm-test-ulps: Update.
11840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11842 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11844 * po/zh_TW.po: Update from translation team.
11846 * login/Makefile (distribute): Remove variable.
11847 * catgets/Makefile: Likewise.
11848 * mach/Makefile: Likewise.
11849 * malloc/Makefile: Likewise.
11850 * misc/Makefile: Likewise.
11851 * iconv/Makefile: Likewise.
11852 * nscd/Makefile: Likewise.
11853 * hurd/Makefile: Likewise.
11854 * manual/Makefile: Likewise.
11855 * locale/Makefile: Likewise.
11856 * intl/Makefile: Likewise.
11857 * conform/Makefile: Likewise.
11858 * nss/Makefile: Likewise.
11859 * time/Makefile: Likewise.
11860 * soft-fp/Makefile: Likewise.
11861 * dirent/Makefile: Likewise.
11862 * gmon/Makefile: Likewise.
11863 * po/Makefile: Likewise.
11864 * rt/Makefile: Likewise.
11865 * socket/Makefile: Likewise.
11866 * math/Makefile: Likewise.
11867 * signal/Makefile: Likewise.
11868 * debug/Makefile: Likewise.
11869 * elf/Makefile: Likewise.
11870 * timezone/Makefile: Likewise.
11871 * stdlib/Makefile: Likewise.
11872 * iconvdata/Makefile: Likewise.
11873 * sunrpc/Makefile: Likewise.
11874 * io/Makefile: Likewise.
11875 * argp/Makefile: Likewise.
11876 * inet/Makefile: Likewise.
11877 * hesiod/Makefile: Likewise.
11878 * grp/Makefile: Likewise.
11879 * csu/Makefile: Likewise.
11880 * wctype/Makefile: Likewise.
11881 * crypt/Makefile: Likewise.
11882 * libio/Makefile: Likewise.
11883 * string/Makefile: Likewise.
11884 * nis/Makefile: Likewise.
11885 * resolv/Makefile: Likewise.
11886 * stdio-common/Makefile: Likewise.
11887 * wcsmbs/Makefile: Likewise.
11888 * dlfcn/Makefile: Likewise.
11889 * posix/Makefile: Likewise.
11892 * timezone/Makefile: Don't install timezone files, just the programs
11895 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11897 * nss/databases.def: Add missing gshadow entry.
11899 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11901 2012-03-06 Marek Polacek <polacek@redhat.com>
11904 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11905 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11906 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11907 * stdio-common/tst-long-dbl-fphex.c: New file.
11909 2012-03-06 David S. Miller <davem@davemloft.net>
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11912 (set_obp_int): New function.
11913 (get_obp_int): New function.
11914 (__get_clockfreq_via_dev_openprom): Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11916 Avoid unused variable warnings on 'val' and use builtin_expect.
11917 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11919 (INLINE_CLONE_SYSCALL): Likewise.
11921 2012-03-05 David S. Miller <davem@davemloft.net>
11923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11925 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11930 only for |x| >= 40.
11931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11933 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11936 Replace gettimeofday with __vdso_gettimeofday.
11938 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11939 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11940 __vdso_clock_gettime and __vdso_getcpu.
11942 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11943 time with __vdso_time.
11945 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11947 * manual/lang.texi (size_t): Note types to which size_t may be
11948 equivalent with the GNU C Library, but do not describe when
11949 differences between them are significant.
11951 2012-03-05 Andreas Jaeger <aj@suse.de>
11953 * sysdeps/i386/fpu/libm-test-ulps: Update.
11955 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11958 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11959 (__ieee754_pow): Save and restore rounding mode and use
11960 round-to-nearest for main computations.
11961 * math/libm-test.inc (pow_test_tonearest): New function.
11962 (pow_test_towardzero): Likewise.
11963 (pow_test_downward): Likewise.
11964 (pow_test_upward): Likewise.
11965 (main): Call the new functions.
11966 * sysdeps/i386/fpu/libm-test-ulps: Update.
11967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11970 * math/libm-test.inc (cosh_test_tonearest): New function.
11971 (cosh_test_towardzero): Likewise.
11972 (cosh_test_downward): Likewise.
11973 (cosh_test_upward): Likewise.
11974 (sinh_test_tonearest): Likewise.
11975 (sinh_test_towardzero): Likewise.
11976 (sinh_test_downward): Likewise.
11977 (sinh_test_upward): Likewise.
11978 (main): Call the new functions.
11979 * sysdeps/i386/fpu/libm-test-ulps: Update.
11980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982 2012-03-05 Tom de Vries <tom@codesourcery.com>
11984 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11985 default stack guard is set in last bytes.
11986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11988 2012-03-05 Kees Cook <keescook@chromium.org>
11990 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11993 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11994 possibly allocate from heap instead of stack.
11995 * stdio-common/bug-vfprintf-nargs.c: New file.
11996 * stdio-common/Makefile (tests): Add nargs overflow test.
11998 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12002 2012-03-03 Marek Polacek <polacek@redhat.com>
12004 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12005 * math/math_private.h: Likewise.
12006 * stdlib/tst-strtod.c: Likewise.
12007 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12008 * sysdeps/x86_64/bits/atomic.h: Likewise.
12010 2012-03-02 David S. Miller <davem@davemloft.net>
12012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12016 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12017 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12018 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12019 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12021 2012-03-02 Roland McGrath <roland@hack.frob.com>
12024 * manual/examples/README: New file, says the example source files
12025 can be used under GPL>=2.
12026 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12027 line containing just "*/".
12028 * manual/examples/add.c: Add copyright header (GPL>=2).
12029 * manual/examples/argp-ex1.c: Likewise.
12030 * manual/examples/argp-ex2.c: Likewise.
12031 * manual/examples/argp-ex3.c: Likewise.
12032 * manual/examples/argp-ex4.c: Likewise.
12033 * manual/examples/atexit.c: Likewise.
12034 * manual/examples/db.c: Likewise.
12035 * manual/examples/dir.c: Likewise.
12036 * manual/examples/dir2.c: Likewise.
12037 * manual/examples/execinfo.c: Likewise.
12038 * manual/examples/filecli.c: Likewise.
12039 * manual/examples/filesrv.c: Likewise.
12040 * manual/examples/fmtmsgexpl.c: Likewise.
12041 * manual/examples/genpass.c: Likewise.
12042 * manual/examples/inetcli.c: Likewise.
12043 * manual/examples/inetsrv.c: Likewise.
12044 * manual/examples/isockad.c: Likewise.
12045 * manual/examples/longopt.c: Likewise.
12046 * manual/examples/memopen.c: Likewise.
12047 * manual/examples/memstrm.c: Likewise.
12048 * manual/examples/mkfsock.c: Likewise.
12049 * manual/examples/mkisock.c: Likewise.
12050 * manual/examples/mygetpass.c: Likewise.
12051 * manual/examples/pipe.c: Likewise.
12052 * manual/examples/popen.c: Likewise.
12053 * manual/examples/rprintf.c: Likewise.
12054 * manual/examples/search.c: Likewise.
12055 * manual/examples/select.c: Likewise.
12056 * manual/examples/setjmp.c: Likewise.
12057 * manual/examples/sigh1.c: Likewise.
12058 * manual/examples/sigusr.c: Likewise.
12059 * manual/examples/stpcpy.c: Likewise.
12060 * manual/examples/strdupa.c: Likewise.
12061 * manual/examples/strftim.c: Likewise.
12062 * manual/examples/strncat.c: Likewise.
12063 * manual/examples/subopt.c: Likewise.
12064 * manual/examples/swapcontext.c: Likewise.
12065 * manual/examples/termios.c: Likewise.
12066 * manual/examples/testopt.c: Likewise.
12067 * manual/examples/testpass.c: Likewise.
12068 * manual/examples/timeval_subtract.c: Likewise.
12071 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12073 * manual/timeval_subtract.c.texi: ... here, new file.
12075 2012-03-02 David S. Miller <davem@davemloft.net>
12077 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12079 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12082 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12083 (__sin): Save and restore rounding mode and use round-to-nearest
12084 for all computations.
12085 (__cos): Save and restore rounding mode and use round-to-nearest
12086 for all computations.
12087 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12089 (tan): Save and restore rounding mode and use round-to-nearest for
12091 * math/libm-test.inc (cos_test_tonearest): New function.
12092 (cos_test_towardzero): Likewise.
12093 (cos_test_downward): Likewise.
12094 (cos_test_upward): Likewise.
12095 (sin_test_tonearest): Likewise.
12096 (sin_test_towardzero): Likewise.
12097 (sin_test_downward): Likewise.
12098 (sin_test_upward): Likewise.
12099 (tan_test_tonearest): Likewise.
12100 (tan_test_towardzero): Likewise.
12101 (tan_test_downward): Likewise.
12102 (tan_test_upward): Likewise.
12103 (main): Call the new functions.
12104 * sysdeps/i386/fpu/libm-test-ulps: Update.
12105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12109 small n, then large n, before computing and testing k+n.
12110 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12115 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12116 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12123 * math/libm-test.inc (scalbn_test): Add more tests.
12124 (scalbln_test): Likewise.
12126 * manual/filesys.texi (mode_t): Describe constraints on size and
12127 signedness, not exact equivalence to a particular type.
12129 (ino64_t): Likewise.
12131 (nlink_t): Likewise.
12132 (blkcnt_t): Likewise.
12133 (blkcnt64_t): Likewise.
12134 * manual/llio.texi (off_t): Likewise.
12137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12138 (__ieee754_exp): Save and restore rounding mode and use
12139 round-to-nearest for all computations.
12140 * math/libm-test.inc (exp_test_tonearest): New function.
12141 (exp_test_towardzero): Likewise.
12142 (exp_test_downward): Likewise.
12143 (exp_test_upward): Likewise.
12144 (main): Call the new functions.
12145 * sysdeps/i386/fpu/libm-test-ulps: Update.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12148 2012-03-01 Chris Demetriou <cgd@google.com>
12150 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12151 have predictable order.
12153 2012-03-01 David S. Miller <davem@davemloft.net>
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12157 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12158 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12160 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12162 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12163 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12164 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12166 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12167 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12168 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12169 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12170 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12175 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12178 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12179 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12181 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12182 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12185 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12187 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12188 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12192 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12194 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12195 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12196 * sysdeps/sparc/elf/configure: Regenerated.
12198 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12200 * configure.in (AS, LD): Require binutils 2.20 or later.
12201 * configure: Regenerated.
12202 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12203 as required minimum version.
12204 * INSTALL: Regenerated.
12208 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12209 before squaring exponent.
12210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12211 bottom long double and 27 bits of top long double before squaring
12213 * math/libm-test.inc (erfc_test): Add more tests.
12214 * sysdeps/i386/fpu/libm-test-ulps: Update.
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12218 2012-03-01 Kai Tietz <ktietz@redhat.com>
12220 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12221 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12222 containing bit-fields.
12223 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12224 * soft-fp/single.h (_FP_UNION_S): Likewise.
12225 * soft-fp/double.h (_FP_UNION_D): Likewise.
12227 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12230 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12231 not include ../strcmp.S.
12232 [USE_AS_STRNCASECMP_L]: Likewise.
12233 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12234 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12235 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12236 (__strncasecmp_l_ia32): Define as alias to
12237 __strncasecmp_l_nonascii.
12240 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12241 * sysdeps/i386/fpu/libm-test-ulps: Update.
12242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12247 2012-02-29 Jeff Law <law@redhat.com>
12249 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12250 out of bounds read.
12252 2012-02-29 Marek Polacek <polacek@redhat.com>
12255 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12256 * elf/Makefile: Add rules to run tst-unused-dep.out.
12258 2012-02-28 David S. Miller <davem@davemloft.net>
12260 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12261 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12264 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12265 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12267 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12269 * math/libm-test.inc (llround_test): Move one test from
12270 lround_test. Use TEST_f_L in moved test.
12271 (lround_test): Move misplaced test to llround_test. Add testcase
12274 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12276 * sysdeps/x86_64/fpu/e_expf.S: New file.
12277 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12279 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12282 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12283 of remain_len that may cause incomplete multi-byte character and
12285 * posix/bug-regex33.c: New file.
12286 * posix/Makefile (tests): Add bug-regex33.
12288 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12290 * manual/macros.texi: New file.
12291 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12292 * manual/libc.texinfo: Include macros.texi.
12293 * manual/creatute.texi: Likewise.
12294 * manual/install.texi: Likewise.
12295 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12296 @glibcadj{} in references to the GNU C Library.
12297 * manual/charset.texi: Likewise.
12298 * manual/conf.texi: Likewise.
12299 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12300 when not using those macros.
12301 * manual/creature.texi: Likewise.
12302 * manual/crypt.texi: Likewise.
12303 * manual/errno.texi: Likewise.
12304 * manual/filesys.texi: Likewise.
12305 * manual/header.texi: Likewise.
12306 * manual/install.texi: Likewise.
12307 * manual/intro.texi: Likewise.
12308 * manual/io.texi: Likewise.
12309 * manual/job.texi: Likewise.
12310 * manual/lang.texi: Likewise.
12311 * manual/libc.texiinfo: Likewise.
12312 * manual/llio.texi: Likewise.
12313 * manual/locale.texi: Likewise.
12314 * manual/maint.texi: Likewise.
12315 * manual/math.texi: Likewise.
12316 * manual/memory.texi: Likewise.
12317 * manual/message.texi: Likewise.
12318 * manual/nss.texi: Likewise.
12319 * manual/pattern.texi: Likewise.
12320 * manual/process.texi: Likewise.
12321 * manual/resource.texi: Likewise.
12322 * manual/search.texi: Likewise.
12323 * manual/setjmp.texi: Likewise.
12324 * manual/signal.texi: Likewise.
12325 * manual/socket.texi: Likewise.
12326 * manual/startup.texi: Likewise.
12327 * manual/stdio.texi: Likewise.
12328 * manual/string.texi: Likewise.
12329 * manual/sysinfo.texi: Likewise.
12330 * manual/syslog.texi: Likewise.
12331 * manual/terminal.texi: Likewise.
12332 * manual/time.texi: Likewise.
12333 * manual/users.texi: Likewise.
12334 * INSTALL: Regenerated.
12335 * NOTES: Regenerated.
12336 * sysdeps/gnu/errlist.c: Regenerated.
12338 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12340 * include/dirent.h: Include <dirstream.h> before
12343 2012-02-28 David S. Miller <davem@davemloft.net>
12345 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12346 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12347 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12350 2012-02-27 David S. Miller <davem@davemloft.net>
12352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12355 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12358 frame pointer instead of stack pointer relative arg slot.
12359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12363 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12366 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12368 2012-02-27 David S. Miller <davem@davemloft.net>
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12374 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12375 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12376 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12377 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12379 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12381 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12382 later. Allow versions 5-9.
12383 * configure: Regenerated.
12384 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12385 required minimum version and 4.6 as recommended version. Do not
12386 mention bugs in GCC 2.7 and 2.8.
12387 * INSTALL: Regenerated.
12389 2012-02-27 David S. Miller <davem@davemloft.net>
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12395 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12396 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12397 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12398 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12401 manipulate bits before adding and subtracting TWO112[sx].
12402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12404 2012-02-27 Roland McGrath <roland@hack.frob.com>
12407 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12408 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12409 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12410 being in POSIX, because they are in 1003.1-2008.
12412 * rt/tst-aio.c: Include <fcntl.h>.
12413 * rt/tst-aio7.c: Likewise.
12414 * rt/tst-aio64.c: Likewise.
12416 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12418 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12420 * manual/install.texi (--with-headers): Describe headers as
12421 interface headers, not private headers.
12422 (Specific advice for GNU/Linux systems): Describe use of headers
12423 from "make headers_install", not private headers from older
12425 * INSTALL: Regenerated.
12426 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12428 * sysdeps/unix/sysv/linux/configure: Regenerated.
12430 * manual/llio.texi (fclean): Remove documentation.
12432 * manual/Makefile (libc-texi-generated): New variable. Include
12434 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12435 $(libc-texi-generated), not duplicated list of files.
12436 (version.texi, stamp-version): New rules.
12437 (realclean): Remove $(libc-texi-generated), not individual files
12438 from that list. Do not remove dir-add.texinfo.
12439 * manual/libc.texinfo: Comment out uses of edition numbers and
12440 references to printed manual. Remove last-updated dates.
12441 (EDITION): Comment out.
12443 (VERSION, UPDATED): Remove.
12444 (version.texi): Include.
12446 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12448 * sysdeps/posix/spawni.c: Include <signal.h>.
12449 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12450 * sysdeps/pthread/aio_fsync.c: Likewise.
12452 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12454 * conform/Makefile (tests): Run only when not cross-compiling and
12455 when fast-check is not defined.
12457 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12458 * conform/data/limits.h-data: Fixes for POSIX2008.
12459 * conform/run-conformtest.sh: Run all tests.
12460 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12462 * include/bits/dlfcn.h: Likewise.
12463 * include/langinfo.h: Likewise.
12464 * include/monetary.h: Likewise.
12465 * include/sys/poll.h: Likewise.
12467 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12469 * posix/spawn.h: Define __need_sigset_t.
12470 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12471 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12472 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12473 to get sigevent_t only.
12474 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12475 only for __USE_GNU.
12476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12478 process_vm_writev only for __USE_GNU.
12479 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12481 * conform/Makefile: For now ignore errors from run-conformtest.
12482 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12483 POSIX to avoid namespace pollution. Don't prepend headers.
12484 * conform/data/aio.h-data: Fixes for POSIX testing.
12485 * conform/data/fcntl.h-data: Likewise.
12486 * conform/data/glob.h-data: Likewise.
12487 * conform/data/grp.h-data: Likewise.
12488 * conform/data/pthread.h-data: Likewise.
12489 * conform/data/pwd.h-data: Likewise.
12490 * conform/data/signal.h-data: Likewise.
12491 * conform/data/spawn.h-data: Likewise.
12492 * conform/data/stdio.h-data: Likewise.
12493 * conform/data/stdlib.h-data: Likewise.
12494 * conform/data/stropts.h-data: Likewise.
12495 * conform/data/sys/mman.h-data: Likewise.
12496 * conform/data/sys/stat.h-data: Likewise.
12497 * conform/data/sys/types.h-data: Likewise.
12498 * conform/data/sys/wait.h-data: Likewise.
12499 * conform/data/time.h-data: Likewise.
12500 * conform/data/unistd.h-data: Likewise.
12501 * conform/data/utime.h-data: Likewise.
12503 * io/sys/stat.h: fchmod was always in POSIX.
12504 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12505 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12506 * rt/aio.h: Define __need_timespec before including <time.h>.
12507 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12508 struct. Add forward declaration of pthread_attr_t and use it in
12510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12512 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12513 always remove CLK_TCK definition.
12515 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12517 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12519 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12521 * conform/run-conformtest.sh: New file.
12522 * conform/Makefile: Run run-conformtest for tests.
12523 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12526 * conform/data/uchar.h-data: New file.
12527 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12528 * conform/data/arpa/inet.h-data: Likewise.
12529 * conform/data/assert.h-data: Likewise.
12530 * conform/data/complex.h-data: Likewise.
12531 * conform/data/cpio.h-data: Likewise.
12532 * conform/data/ctype.h-data: Likewise.
12533 * conform/data/dirent.h-data: Likewise.
12534 * conform/data/dlfcn.h-data: Likewise.
12535 * conform/data/errno.h-data: Likewise.
12536 * conform/data/fcntl.h-data: Likewise.
12537 * conform/data/float.h-data: Likewise.
12538 * conform/data/fmtmsg.h-data: Likewise.
12539 * conform/data/fnmatch.h-data: Likewise.
12540 * conform/data/ftw.h-data: Likewise.
12541 * conform/data/glob.h-data: Likewise.
12542 * conform/data/grp.h-data: Likewise.
12543 * conform/data/iconv.h-data: Likewise.
12544 * conform/data/inttypes.h-data: Likewise.
12545 * conform/data/langinfo.h-data: Likewise.
12546 * conform/data/libgen.h-data: Likewise.
12547 * conform/data/limits.h-data: Likewise.
12548 * conform/data/locale.h-data: Likewise.
12549 * conform/data/math.h-data: Likewise.
12550 * conform/data/monetary.h-data: Likewise.
12551 * conform/data/mqueue.h-data: Likewise.
12552 * conform/data/ndbm.h-data: Likewise.
12553 * conform/data/net/if.h-data: Likewise.
12554 * conform/data/netdb.h-data: Likewise.
12555 * conform/data/netinet/in.h-data: Likewise.
12556 * conform/data/nl_types.h-data: Likewise.
12557 * conform/data/poll.h-data: Likewise.
12558 * conform/data/pthread.h-data: Likewise.
12559 * conform/data/pwd.h-data: Likewise.
12560 * conform/data/regex.h-data: Likewise.
12561 * conform/data/sched.h-data: Likewise.
12562 * conform/data/search.h-data: Likewise.
12563 * conform/data/semaphore.h-data: Likewise.
12564 * conform/data/setjmp.h-data: Likewise.
12565 * conform/data/signal.h-data: Likewise.
12566 * conform/data/spawn.h-data: Likewise.
12567 * conform/data/stdarg.h-data: Likewise.
12568 * conform/data/stdio.h-data: Likewise.
12569 * conform/data/stdlib.h-data: Likewise.
12570 * conform/data/string.h-data: Likewise.
12571 * conform/data/strings.h-data: Likewise.
12572 * conform/data/stropts.h-data: Likewise.
12573 * conform/data/sys/ipc.h-data: Likewise.
12574 * conform/data/sys/mman.h-data: Likewise.
12575 * conform/data/sys/msg.h-data: Likewise.
12576 * conform/data/sys/resource.h-data: Likewise.
12577 * conform/data/sys/select.h-data: Likewise.
12578 * conform/data/sys/sem.h-data: Likewise.
12579 * conform/data/sys/shm.h-data: Likewise.
12580 * conform/data/sys/socket.h-data: Likewise.
12581 * conform/data/sys/stat.h-data: Likewise.
12582 * conform/data/sys/statvfs.h-data: Likewise.
12583 * conform/data/sys/time.h-data: Likewise.
12584 * conform/data/sys/timeb.h-data: Likewise.
12585 * conform/data/sys/times.h-data: Likewise.
12586 * conform/data/sys/types.h-data: Likewise.
12587 * conform/data/sys/uio.h-data: Likewise.
12588 * conform/data/sys/un.h-data: Likewise.
12589 * conform/data/sys/utsname.h-data: Likewise.
12590 * conform/data/sys/wait.h-data: Likewise.
12591 * conform/data/syslog.h-data: Likewise.
12592 * conform/data/tar.h-data: Likewise.
12593 * conform/data/termios.h-data: Likewise.
12594 * conform/data/utime.h-data: Likewise.
12595 * conform/data/utmpx.h-data: Likewise.
12596 * conform/data/varargs.h-data: Likewise.
12597 * conform/data/wchar.h-data: Likewise.
12598 * conform/data/wctype.h-data: Likewise.
12599 * conform/data/wordexp.h-data: Likewise.
12601 * include/stropts.h: New file.
12602 * include/uchar.h: New file.
12603 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12604 * include/assert.h: Likewise.
12605 * include/ctype.h: Likewise.
12606 * include/dirent.h: Likewise.
12607 * include/dlfcn.h: Likewise.
12608 * include/fcntl.h: Likewise.
12609 * include/fnmatch.h: Likewise.
12610 * include/glob.h: Likewise.
12611 * include/grp.h: Likewise.
12612 * include/libio.h: Likewise.
12613 * include/locale.h: Likewise.
12614 * include/math.h: Likewise.
12615 * include/net/if.h: Likewise.
12616 * include/netdb.h: Likewise.
12617 * include/netinet/in.h: Likewise.
12618 * include/pthread.h: Likewise.
12619 * include/pwd.h: Likewise.
12620 * include/regex.h: Likewise.
12621 * include/sched.h: Likewise.
12622 * include/search.h: Likewise.
12623 * include/setjmp.h: Likewise.
12624 * include/signal.h: Likewise.
12625 * include/stdio.h: Likewise.
12626 * include/stdlib.h: Likewise.
12627 * include/string.h: Likewise.
12628 * include/sys/cdefs.h: Likewise.
12629 * include/sys/mman.h: Likewise.
12630 * include/sys/msg.h: Likewise.
12631 * include/sys/resource.h: Likewise.
12632 * include/sys/select.h: Likewise.
12633 * include/sys/socket.h: Likewise.
12634 * include/sys/stat.h: Likewise.
12635 * include/sys/statvfs.h: Likewise.
12636 * include/sys/time.h: Likewise.
12637 * include/sys/times.h: Likewise.
12638 * include/sys/uio.h: Likewise.
12639 * include/sys/utsname.h: Likewise.
12640 * include/sys/wait.h: Likewise.
12641 * include/termios.h: Likewise.
12642 * include/time.h: Likewise.
12643 * include/ulimit.h: Likewise.
12644 * include/unistd.h: Likewise.
12645 * include/utime.h: Likewise.
12646 * include/wchar.h: Likewise.
12647 * include/wctype.h: Likewise.
12648 * include/wordexp.h: Likewise.
12650 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12652 * time/time.h: TIME_UTC must be a macro.
12653 Make timespec_get available for ISO C11 only as well.
12655 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12657 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12658 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12660 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12662 * configure.in: Use -o not -a in test for unsupported multi-arch.
12664 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12666 * manual/texinfo.tex: Update to version 2012-01-19.16.
12668 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12670 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12672 2012-02-24 Roland McGrath <roland@hack.frob.com>
12675 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12676 * manual/fdl-1.3.texi: New file.
12677 * manual/fdl-1.1.texi: File removed.
12680 * manual/libc.texinfo (FDL_VERSION): New @set.
12681 Use it for mention of FDL in cover text.
12682 (Documentation License): Use it in @include file name.
12684 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12685 Roland McGrath <roland@hack.frob.com>
12688 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12689 not LONG_LONG_MAX and LONG_LONG_MIN.
12690 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12691 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12693 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12699 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12700 manipulate bits before adding and subtracting TWO23[sx].
12701 * math/libm-test.inc (nearbyint_test): Add more tests.
12703 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12706 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12707 bits before adding and subtracting TWO23[sx].
12708 * math/libm-test.inc (rint_test): Add more tests.
12709 (rint_test_tonearest): Likewise.
12710 (rint_test_towardzero): Likewise.
12711 (rint_test_downward): Likewise.
12712 (rint_test_upward: Likewise.
12714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12717 * include/stdc-predef.h: New file. Extracted from features.h.
12718 * include/features.h: Include stdc-predef.h.
12719 * Makefile (headers): Add stdc-predef.h.
12720 * CONFORMANCE (Compiler limitations): Update.
12722 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12724 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12726 2012-02-21 David S. Miller <davem@davemloft.net>
12728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12729 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12731 2012-02-20 David S. Miller <davem@davemloft.net>
12733 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12734 using a normal save/restore sequence, rather than allocating a
12735 dummy stack frame just to store a frame pointer and restore.
12736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12738 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12740 * manual/install.texi: Fix stray word in line-wrapped comment.
12742 2012-02-20 David S. Miller <davem@davemloft.net>
12744 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12745 both binutils and gcc support GOTDATA.
12747 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12748 "rd %pc" in the PIC register setup sequences.
12750 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12751 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12752 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12753 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12754 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12759 (SYSCALL_ERROR_HANDLER): Likewise.
12760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12763 (SYSCALL_ERROR_HANDLER): Likewise.
12765 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12766 (HAVE_GCC_GOTDATA): New.
12767 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12768 relocation support in both binutils and gcc.
12769 * sysdeps/sparc/elf/configure: Regenerate.
12771 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12772 * sysdeps/sparc/sparc32/elf/configure: Delete.
12773 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12774 * sysdeps/sparc/sparc64/elf/configure: Delete.
12775 * sysdeps/sparc/elf/configure.in: New file.
12776 * sysdeps/sparc/elf/configure: Generate.
12778 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12779 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12780 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12781 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12782 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12784 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12786 * manual/install.texi: Do not mention specific glibc version
12788 * manual/libc.texinfo (VERSION, UPDATED): Update.
12789 (@copying): Use @copyright{} and range of years.
12791 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12794 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12795 [crti.S not in sysdirs] (generated): Do not append.
12796 [crti.S not in sysdirs] (omit-deps): Likewise.
12797 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12798 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12799 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12800 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12801 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12803 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12804 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12805 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12806 * csu/defs.awk: Remove file.
12807 * sysdeps/generic/initfini.c: Likewise.
12808 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12810 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12813 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12815 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12816 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12817 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12820 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12822 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12823 (__EPOLL_PACKED): Define to empty if not defined by
12825 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12829 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12831 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12832 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12834 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12836 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12840 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12842 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12844 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12849 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12852 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12854 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12856 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12857 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12859 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12861 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12864 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12866 * math/w_acos.c: Use non-signaling floating-point comparisons.
12867 * math/w_acosf.c: Likewise.
12868 * math/w_acosh.c: Likewise.
12869 * math/w_acoshf.c: Likewise.
12870 * math/w_acoshl.c: Likewise.
12871 * math/w_acosl.c: Likewise.
12872 * math/w_asin.c: Likewise.
12873 * math/w_asinf.c: Likewise.
12874 * math/w_asinl.c: Likewise.
12875 * math/w_atanh.c: Likewise.
12876 * math/w_atanhf.c: Likewise.
12877 * math/w_atanhl.c: Likewise.
12878 * math/w_exp2.c: Likewise.
12879 * math/w_exp2f.c: Likewise.
12880 * math/w_exp2l.c: Likewise.
12881 * math/w_j0.c: Likewise.
12882 * math/w_j0f.c: Likewise.
12883 * math/w_j0l.c: Likewise.
12884 * math/w_j1.c: Likewise.
12885 * math/w_j1f.c: Likewise.
12886 * math/w_j1l.c: Likewise.
12887 * math/w_jn.c: Likewise.
12888 * math/w_jnf.c: Likewise.
12889 * math/w_log.c: Likewise.
12890 * math/w_log10.c: Likewise.
12891 * math/w_log10f.c: Likewise.
12892 * math/w_log10l.c: Likewise.
12893 * math/w_log2.c: Likewise.
12894 * math/w_log2f.c: Likewise.
12895 * math/w_log2l.c: Likewise.
12896 * math/w_logf.c: Likewise.
12897 * math/w_logl.c: Likewise.
12898 * math/w_sqrt.c: Likewise.
12899 * math/w_sqrtf.c: Likewise.
12900 * math/w_sqrtl.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12907 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12910 * manual/string.texi (strnlen): Use correct parameter name in
12911 equivalent expression.
12913 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12916 * manual/users.texi (seteuid): Consistently use neweuid for
12919 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12922 * manual/nss.texi (Services in the NSS configuration): Correct
12923 list of services in example configuration file.
12925 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12928 * manual/arith.texi: Remove statements about negative zero
12929 behaving identically to zero.
12931 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12934 * manual/install.texi: Do not document upgrading from libc5.
12936 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12939 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12941 2012-02-18 David S. Miller <davem@davemloft.net>
12943 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12944 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12945 %o7 across the call.
12946 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12949 SETUP_PIC_REG_LEAF.
12950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12951 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12952 * sysdeps/sparc/crtn.S: Likewise.
12954 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12956 * aout/Makefile: Remove.
12958 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12961 * manual/examples/argp-ex1.c (main): Format definition in GNU
12963 * manual/examples/argp-ex2.c (main): Likewise.
12964 * manual/examples/argp-ex3.c (main): Likewise.
12965 * manual/examples/argp-ex4.c (main): Likewise.
12966 * manual/examples/longopt.c (main): Use new-style prototype
12968 * manual/examples/strncat.c (main): Specify return type and use
12969 (void) for arguments.
12970 * manual/examples/subopt.c (main): Use char **argv argument.
12972 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12975 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12978 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12981 * manual/string.texi (strchr): Change when strchrnul is
12984 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12987 * manual/locale.texi (setlocale): Document LOCPATH.
12989 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12992 * manual/process.texi (execle): Move @dots{} before last argument.
12994 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12997 * manual/charset.texi (Generic Charset Conversion): Fix typo
12998 (LC_TYPE -> LC_CTYPE).
13000 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13003 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13004 (scalbnf): Likewise.
13005 (scalbnl): Likewise.
13006 (scalbln): Likewise.
13007 (scalblnf): Likewise.
13008 (scalblnl): Likewise.
13009 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13010 (vwarnx): Likewise.
13013 * manual/filesys.texi (telldir): Use braces around return type.
13014 * manual/llio.texi (mmap): Add space after comma.
13015 (mmap64): Likewise.
13016 * manual/math.texi (jn): Use @var{} on parameter names.
13022 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13024 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13026 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13027 (sched_get_priority_max): Likewise.
13028 * manual/signal.texi (sigvec): Add space after comma.
13029 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13031 (if_indextoname): Likewise.
13032 (if_freenameindex): Likewise.
13033 (sendto): Use ',' instead of '.' in prototype.
13034 * manual/startup.texi (syscall): Use @dots{} instead of literal
13036 * manual/stdio.texi (__fpending): Separate initial words of
13037 paragraph from @deftypefun line.
13038 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13040 (vsyslog): Use @var{} on parameter names.
13041 * manual/terminal.texi (stty): Use @var{} on parameter names.
13042 * manual/users.texi (getutmp): Use @var{} on parameter names.
13043 (getutmpx): Likewise.
13045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13048 * manual/stdio.texi (fopen): Fix typos in description of
13051 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13054 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13055 get clock_id definition.
13057 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13060 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13061 (madvise): Cast every argument to void on its own.
13063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13066 * manual/startup.texi (Exit Status): Fix typo.
13068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13071 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13072 * manual/examples/argp-ex2.c: Likewise.
13073 * manual/examples/argp-ex3.c: Likewise.
13075 2012-02-16 Richard Henderson <rth@redhat.com>
13077 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13078 * sysdeps/s390/s390-32/initfini.c: Remove.
13079 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13080 * sysdeps/s390/s390-64/initfini.c: Remove.
13082 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13084 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13085 compiler output for sysdeps/generic/initfini.c.
13086 * sysdeps/sh/elf/initfini.c: Remove file.
13088 2012-02-16 David S. Miller <davem@davemloft.net>
13091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13093 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13094 * sysdeps/sparc/crti.S: New file.
13095 * sysdeps/sparc/crtn.S: New file.
13096 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13097 * sysdeps/sparc/sparc64/Makefile: Likewise.
13099 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13102 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13104 2012-02-15 Roland McGrath <roland@hack.frob.com>
13107 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13109 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13110 (write, read, close): Likewise.
13111 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13113 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13115 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13116 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13117 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13118 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13120 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13124 2012-02-14 Marek Polacek <polacek@redhat.com>
13126 * sysdeps/x86_64/crti.S: New file.
13127 * sysdeps/x86_64/crtn.S: New file.
13128 * sysdeps/x86_64/elf/initfini.c: Remove file.
13130 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13132 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13133 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13134 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13135 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13137 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13141 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13143 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13144 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13146 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13148 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13152 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13154 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13155 __feraiseexcept instead of feraiseexcept.
13157 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13158 nanosleep invocations.
13159 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13160 strings, and add error checking for a nanosleep invocations.
13162 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13164 Replace FSF snail mail address with URLs, as per GNU coding standards.
13165 Most of the snail mail addresses were wrong anyway, and omitting
13166 them makes the source code easier to maintain. Almost all of the
13167 changes are to license notices and to locale LC_IDENTIFICATION
13168 addresses, except for this one:
13169 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13170 not its snail mail address.
13172 2012-02-09 Richard Henderson <rth@twiddle.net>
13174 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13175 of kernel-features.h.
13177 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13179 2012-02-08 Marek Polacek <polacek@redhat.com>
13181 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13182 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13183 * sysdeps/gnu/_G_config.h: Likewise.
13184 * sysdeps/generic/_G_config.h: Likewise.
13186 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13188 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13192 * sysdeps/powerpc/powerpc32/crti.S: New file.
13193 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13194 * sysdeps/powerpc/powerpc64/crti.S: New file.
13195 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13197 * Makeconfig (have-initfini): Don't set.
13198 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13199 * configure.in (nopic_initfini): Don't substitute.
13200 * config.h.in (HAVE_INITFINI): Don't #undef.
13201 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13202 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13204 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13206 Support crti.S and crtn.S provided directly by architectures.
13207 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13208 [crti.S in sysdirs] (omit-deps): Likewise.
13209 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13210 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13211 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13212 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13213 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13214 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13215 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13216 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13217 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13218 compiler output for sysdeps/generic/initfini.c.
13219 * sysdeps/i386/elf/Makefile: Remove file.
13220 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13222 2012-02-07 Marek Polacek <polacek@redhat.com>
13224 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13225 * sysdeps/gnu/_G_config.h: Likewise.
13226 * sysdeps/mach/hurd/_G_config.h: Likewise.
13228 2012-02-07 Marek Polacek <polacek@redhat.com>
13230 * math/Makefile (tests): Add tst-CMPLX2.
13231 * math/tst-CMPLX2.c: New file.
13233 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13237 * math/libm-test.inc (jn_test): Add missing L suffix.
13239 2012-02-06 Marek Polacek <polacek@redhat.com>
13241 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13242 * sysdeps/i386/fpu/e_powf.S: Likewise.
13243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13244 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13245 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13246 * sysdeps/i386/fpu/e_pow.S: Likewise.
13247 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13248 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13249 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13250 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13251 * sysdeps/i386/fpu/e_log2.S: Likewise.
13252 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13253 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13254 * sysdeps/i386/fpu/e_powl.S: Likewise.
13255 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13256 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13257 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13258 * sysdeps/i386/fpu/e_logl.S: Likewise.
13259 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13260 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13261 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13262 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13263 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13264 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13265 * sysdeps/i386/fpu/e_log.S: Likewise.
13266 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13268 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13269 * sysdeps/i386/fpu/e_logf.S: Likewise.
13270 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13272 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13274 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13275 * sysdeps/i386/fpu/e_log10.S: Likewise.
13276 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13277 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13278 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13279 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13280 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13282 * sysdeps/i386/asm-syntax.h: Likewise.
13283 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13286 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13287 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13289 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13290 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13291 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13292 * sysdeps/powerpc/sysdep.h: Likewise.
13293 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13296 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13299 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13301 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/i386/sysdep.h: Include <features.h>.
13304 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13307 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13309 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13311 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13314 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13316 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13317 (SETUP_PIC_REG): Use GET_PC_THUNK.
13318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13321 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13323 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13324 for non-PIC compilation.
13325 (SETUP_PIC_REG): Add .p2align directive.
13326 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13327 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13358 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13366 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13368 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13370 * math/tst-CMPLX.c: Include <stdio.h>.
13372 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13374 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13376 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13377 * sysdeps/sparc/bits/mathdef.h: Likewise.
13379 2012-01-31 Marek Polacek <polacek@redhat.com>
13381 * libio/libio.h: Don't define _PARAMS.
13382 * locale/programs/config.h: Don't define PARAMS.
13383 * stdlib/strtol_l.c: Likewise.
13384 (__strtol_l): Remove PARAMS from the prototype.
13386 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13388 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13389 names. Just use the correct names. Remove unnecessary wrapper
13391 * malloc/arena.c: Likewise.
13392 * malloc/hooks.c: Likewise.
13394 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13395 ARENA_TEST says not to. Simplify test for creation of a new arena.
13396 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13398 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13400 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13402 (update_get_addr): New function.
13403 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13404 GET_ADDR_MODULE parameter.
13406 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13408 * crypt/cert.c: Remove __STDC__ conditionals.
13409 * crypt/crypt-entry.c: Likewise.
13410 * crypt/crypt_util.c: Likewise.
13411 * libio/filedoalloc.c: Likewise.
13412 * libio/fileops.c: Likewise.
13413 * libio/genops.c: Likewise.
13414 * libio/iofclose.c: Likewise.
13415 * libio/iofdopen.c: Likewise.
13416 * libio/iofopen.c: Likewise.
13417 * libio/iofopen64.c: Likewise.
13418 * libio/iogetdelim.c: Likewise.
13419 * libio/iopopen.c: Likewise.
13420 * libio/obprintf.c: Likewise.
13421 * libio/oldfileops.c: Likewise.
13422 * libio/oldiofclose.c: Likewise.
13423 * libio/oldiofdopen.c: Likewise.
13424 * libio/oldiofopen.c: Likewise.
13425 * libio/oldiopopen.c: Likewise.
13426 * libio/wfiledoalloc.c: Likewise.
13427 * libio/wgenops.c: Likewise.
13428 * locale/programs/xmalloc.c: Likewise.
13429 * misc/syslog.c: Likewise.
13430 * stdio-common/xbug.c: Likewise.
13431 * string/memchr.c: Likewise.
13432 * string/memcmp.c: Likewise.
13433 * string/memrchr.c: Likewise.
13434 * string/rawmemchr.c: Likewise.
13435 * sysdeps/posix/getcwd.c: Likewise.
13436 * time/strftime_l.c: Likewise.
13438 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13440 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13441 * config.make.in (config-cflags-sse2avx): Define.
13442 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13445 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13447 * scripts/config.guess: Update from upstream config git repository.
13448 * scripts/config.sub: Likewise.
13450 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13452 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13454 (R_TILEPRO_*, R_TILEGX_*): New macros.
13456 * scripts/firstversions.awk: Fix bug in version range handling.
13458 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13460 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13462 * include/sys/epoll.h: New file.
13463 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13466 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13468 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13469 Avoid unnecessary __WORDSIZE == 64 test.
13470 (fmaxf): Use VEX format if possible.
13475 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13476 * math/math_private.h: Remove libc_fegetround* and
13478 * sysdeps/i386/configure.in: Check for -msse2avx.
13479 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13480 also if SSE2AVX is defined.
13481 Remove libc_fegetround* and libc_fesetround*.
13482 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13483 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13492 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13494 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13500 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13503 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13505 * Makeconfig (libm): Define.
13506 * elf/Makefile: Add rules to build and run tst-relsort1.
13507 * elf/tst-relsort1.c: New file.
13508 * elf/tst-relsort1mod1.c: New file.
13509 * elf/tst-relsort1mod2.c: New file.
13511 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13513 * math/s_ldexp.c: Remove __STDC__ conditionals.
13514 * math/s_ldexpf.c: Likewise.
13515 * math/s_ldexpl.c: Likewise.
13516 * math/s_nextafter.c: Likewise.
13517 * math/s_nexttowardf.c: Likewise.
13518 * math/s_significand.c: Likewise.
13519 * math/s_significandf.c: Likewise.
13520 * math/s_significandl.c: Likewise.
13521 * math/w_jnl.c: Likewise.
13522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13548 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13549 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13550 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13551 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13552 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13553 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13554 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13555 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13559 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13560 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13562 * sysdeps/ieee754/k_standard.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13612 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13637 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13638 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13642 * sysdeps/ieee754/s_matherr.c: Likewise.
13643 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13644 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13648 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13650 * crypt/md5.h: Remove __STDC__ conditionals.
13651 * libio/libioP.h: Likewise.
13652 * locale/programs/config.h: Likewise.
13653 * sysdeps/generic/sysdep.h: Likewise.
13654 * sysdeps/i386/asm-syntax.h: Likewise.
13655 * sysdeps/s390/asm-syntax.h: Likewise.
13656 * sysdeps/unix/sysdep.h: Likewise.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13660 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13662 * libio/libio.h: Remove __STDC__ conditionals.
13663 * malloc/obstack.h: Likewise.
13664 * math/complex.h: Likewise.
13665 * math/math.h: Likewise.
13666 * sysdeps/generic/_G_config.h: Likewise.
13667 * sysdeps/gnu/_G_config.h: Likewise.
13668 * sysdeps/mach/hurd/_G_config.h: Likewise.
13669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13670 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13671 * sysdeps/sparc/bits/mathdef.h: Likewise.
13673 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13677 Clean up HAS_* macros.
13678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13679 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13689 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13691 * elf/tst-unique3.cc (gets): Remove declaration.
13692 * elf/tst-unique3lib.cc (gets): Likewise.
13693 * elf/tst-unique3lib2.cc (gets): Likewise.
13694 * elf/tst-unique4.cc (gets): Likewise.
13696 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13698 * include/stdio.h: Add C++ protection. Add gets declarations and
13700 * debug/tst-chk1.c: Don't declare gets here.
13701 * stdio-common/tst-gets.c: Likewise.
13703 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13705 * posix/glob: Remove directory.
13707 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13709 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13711 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13713 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13714 of the non-standard EPFNOSUPPORT.
13716 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13718 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13719 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13720 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13722 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13724 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13726 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13728 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13730 * nscd/grpcache.c (cache_addgr): Likewise.
13731 * nscd/hstcache.c (cache_addhst): Likewise.
13732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13733 * nscd/pwdcache.c (cache_addpw): Likewise.
13734 * nscd/servicescache.c (cache_addserv): Likewise.
13736 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13738 * malloc/malloc.c: Various cleanups.
13739 * malloc/hooks.c: Likewise.
13741 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13742 * stdlib/bug-fmtmsg1.c: New file.
13744 * stdlib/fmtmsg.c (init): Add missing unlock.
13745 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13747 2012-01-12 Marek Polacek <polacek@redhat.com>
13749 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13752 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13754 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13756 macro to ensure uniqueness of label name.
13757 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13758 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13760 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13762 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13764 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13765 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13769 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13773 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13774 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13777 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13780 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13784 * math/bits/math-finite.h: Add ldexp support.
13786 2012-01-10 Marek Polacek <polacek@redhat.com>
13788 * locale/programs/localedef.h (show_archive_content): Add noreturn
13791 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13793 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13795 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13797 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13799 * io/Makefile (headers): Add bits/poll2.h.
13801 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13804 typo #include statement.
13806 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13808 * include/sys/cdefs.h: Define __attribute_alloc_size.
13809 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13810 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13811 * elf/pldd.c: Likewise.
13812 * iconv/iconv_charmap.c: Likewise.
13813 * iconv/iconvconfig.c: Likewise.
13814 * iconv/strtab.c: Likewise.
13815 * locale/programs/locale.c: Likewise.
13816 * locale/programs/localedef.h: Likewise.
13817 * locale/programs/simple-hash.c: Likewise.
13818 * nscd/nscd.h: Likewise.
13819 * nss/makedb.c: Likewise.
13820 * sysdeps/generic/ldconfig.h: Likewise.
13821 * locale/programs/localedef.c: Remove xmalloc prototype.
13822 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13824 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13826 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13829 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13831 * math/Makefile (tests): Add tst-CMPLX.
13832 * math/tst-CMPLX.c: New file.
13834 * math/complex.h (CMPLXL): Fix typo.
13836 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13837 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13839 * debug/tst-chk1.c: Add poll and ppoll tests.
13840 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13841 * include/sys/poll.h: Add hidden proto for ppoll.
13842 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13843 * sysdeps/mach/hurd/ppoll.c: Likewise.
13844 * io/ppoll.c: Likewise.
13845 * debug/poll_chk.c: New file.
13846 * debug/ppoll_chk.c: New file.
13847 * include/bits/poll2.h: New file.
13848 * io/bits/poll2.h: New file.
13851 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13853 * configure.in: static is always set to yes. Remove.
13854 * config.make.in: Don't set build-static.
13855 * Makeconfig: Remove use of build-static.
13856 * dlfcn/Makefile: Likewise.
13857 * elf/Makefile: Likewise.
13858 * math/Makefile: Likewise.
13859 * misc/Makefile: Likewise.
13860 * nptl/Makefile: Likewise.
13861 * sysdeps/mach/hurd/Makefile: Likewise.
13863 * configure.in: PWD_P is not used anymore.
13864 * config.make.in: Remove PWD_P entry.
13866 * configure.in: Remove last remnants of RANLIB.
13867 No need to check for signed size_t anymore.
13868 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13870 Remove __builtin_expect test because we require at least gcc 3.4.
13871 * aclocal.m4: Likewise.
13873 * wcsmbs/mbrtoc16.c: Implement using towc function.
13874 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13875 * wcsmbs/wcsmbsload.c: Likewise.
13876 * iconv/gconv_simple.c: Likewise.
13877 * iconv/gconv_int.h: Likewise.
13878 * iconv/gconv_builtin.h: Likewise.
13879 * iconv/iconv_prog.c: Remove CHAR16 handling.
13881 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13883 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13885 * configure.in: Remove --with-elf and --enable-bounded options.
13886 Dont set base_machine for ia64. More non-ELF conditions removed.
13887 Remove testing and setting of leading underscore information.
13888 * config.make.in (build-bounded): Set to no.
13889 * config.h.in: Remove NO_UNDERSCORES entry.
13890 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13892 * csu/start.c: Remove !NO_UNDERSCORE code.
13893 * locale/localeinfo.h: Likewise.
13894 * sysdeps/generic/machine-gmon.h: Likewise.
13895 * sysdeps/generic/sysdep.h: Likewise.
13896 * sysdeps/i386/sysdep.h: Likewise.
13897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13898 * sysdeps/mach/sysdep.h: Likewise.
13899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13901 * sysdeps/sh/sysdep.h: Likewise.
13902 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13903 * sysdeps/unix/i386/sysdep.S: Likewise.
13904 * sysdeps/unix/sparc/start.c: Likewise.
13905 * sysdeps/unix/sparc/sysdep.S: Likewise.
13906 * sysdeps/unix/sparc/sysdep.h: Likewise.
13907 * sysdeps/unix/start.c: Likewise.
13908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13909 * sysdeps/x86_64/sysdep.h: Likewise.
13911 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13914 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13916 * argp/argp-fmtstream.h: Use const instead __const.
13917 * argp/argp.h: Likewise.
13918 * assert/assert.h: Likewise.
13919 * bits/fenv.h: Likewise.
13920 * bits/sched.h: Likewise.
13921 * bits/sigset.h: Likewise.
13922 * bits/sigthread.h: Likewise.
13923 * catgets/nl_types.h: Likewise.
13924 * conform/data/pthread.h-data: Likewise.
13925 * crypt/crypt-private.h: Likewise.
13926 * crypt/crypt.h: Likewise.
13927 * crypt/crypt_util.c: Likewise.
13928 * ctype/ctype.h: Likewise.
13929 * debug/execinfo.h: Likewise.
13930 * debug/mbsnrtowcs_chk.c: Likewise.
13931 * debug/mbsrtowcs_chk.c: Likewise.
13932 * debug/wcsnrtombs_chk.c: Likewise.
13933 * debug/wcsrtombs_chk.c: Likewise.
13934 * debug/wcstombs_chk.c: Likewise.
13935 * dirent/dirent.h: Likewise.
13936 * dlfcn/dlfcn.h: Likewise.
13937 * elf/neededtest4.c: Likewise.
13938 * grp/grp.h: Likewise.
13939 * gshadow/gshadow.h: Likewise.
13940 * iconv/gconv.h: Likewise.
13941 * iconv/gconv_int.h: Likewise.
13942 * iconv/gconv_simple.c: Likewise.
13943 * iconv/iconv.h: Likewise.
13944 * iconv/loop.c: Likewise.
13945 * iconv/skeleton.c: Likewise.
13946 * include/aio.h: Likewise.
13947 * include/aliases.h: Likewise.
13948 * include/argz.h: Likewise.
13949 * include/arpa/inet.h: Likewise.
13950 * include/assert.h: Likewise.
13951 * include/dirent.h: Likewise.
13952 * include/dlfcn.h: Likewise.
13953 * include/execinfo.h: Likewise.
13954 * include/fcntl.h: Likewise.
13955 * include/fenv.h: Likewise.
13956 * include/glob.h: Likewise.
13957 * include/grp.h: Likewise.
13958 * include/libintl.h: Likewise.
13959 * include/mntent.h: Likewise.
13960 * include/netdb.h: Likewise.
13961 * include/pwd.h: Likewise.
13962 * include/rpc/netdb.h: Likewise.
13963 * include/sched.h: Likewise.
13964 * include/search.h: Likewise.
13965 * include/shadow.h: Likewise.
13966 * include/signal.h: Likewise.
13967 * include/stdio.h: Likewise.
13968 * include/stdlib.h: Likewise.
13969 * include/string.h: Likewise.
13970 * include/sys/socket.h: Likewise.
13971 * include/sys/stat.h: Likewise.
13972 * include/sys/statfs.h: Likewise.
13973 * include/sys/statvfs.h: Likewise.
13974 * include/sys/syslog.h: Likewise.
13975 * include/sys/time.h: Likewise.
13976 * include/sys/uio.h: Likewise.
13977 * include/time.h: Likewise.
13978 * include/unistd.h: Likewise.
13979 * include/utmp.h: Likewise.
13980 * include/wchar.h: Likewise.
13981 * include/wctype.h: Likewise.
13982 * inet/aliases.h: Likewise.
13983 * inet/arpa/inet.h: Likewise.
13984 * inet/netinet/ether.h: Likewise.
13985 * inet/netinet/in.h: Likewise.
13986 * intl/libintl.h: Likewise.
13987 * io/bits/fcntl2.h: Likewise.
13988 * io/fcntl.h: Likewise.
13989 * io/ftw.h: Likewise.
13990 * io/sys/poll.h: Likewise.
13991 * io/sys/stat.h: Likewise.
13992 * io/sys/statfs.h: Likewise.
13993 * io/sys/statvfs.h: Likewise.
13994 * io/utime.h: Likewise.
13995 * libio/bits/stdio.h: Likewise.
13996 * libio/bits/stdio2.h: Likewise.
13997 * libio/libio.h: Likewise.
13998 * libio/libioP.h: Likewise.
13999 * libio/stdio.h: Likewise.
14000 * locale/lc-ctype.c: Likewise.
14001 * locale/locale.h: Likewise.
14002 * login/utmp.h: Likewise.
14003 * malloc/arena.c: Likewise.
14004 * malloc/malloc.c: Likewise.
14005 * malloc/malloc.h: Likewise.
14006 * malloc/mcheck.c: Likewise.
14007 * malloc/mtrace.c: Likewise.
14008 * math/bits/mathcalls.h: Likewise.
14009 * math/fenv.h: Likewise.
14010 * math/math_private.h: Likewise.
14011 * misc/bits/error.h: Likewise.
14012 * misc/bits/syslog.h: Likewise.
14013 * misc/err.h: Likewise.
14014 * misc/error.h: Likewise.
14015 * misc/fstab.h: Likewise.
14016 * misc/mntent.h: Likewise.
14017 * misc/regexp.h: Likewise.
14018 * misc/search.h: Likewise.
14019 * misc/sgtty.h: Likewise.
14020 * misc/sys/mman.h: Likewise.
14021 * misc/sys/syslog.h: Likewise.
14022 * misc/sys/uio.h: Likewise.
14023 * misc/sys/xattr.h: Likewise.
14024 * misc/ttyent.h: Likewise.
14025 * nis/rpcsvc/ypclnt.h: Likewise.
14026 * nss/nss.h: Likewise.
14027 * posix/bits/unistd.h: Likewise.
14028 * posix/fnmatch.h: Likewise.
14029 * posix/glob.h: Likewise.
14030 * posix/sched.h: Likewise.
14031 * posix/spawn.h: Likewise.
14032 * posix/sys/wait.h: Likewise.
14033 * posix/unistd.h: Likewise.
14034 * posix/wordexp.h: Likewise.
14035 * pwd/pwd.h: Likewise.
14036 * resolv/netdb.h: Likewise.
14037 * resource/sys/resource.h: Likewise.
14038 * rt/aio.h: Likewise.
14039 * rt/bits/mqueue2.h: Likewise.
14040 * rt/mqueue.h: Likewise.
14041 * shadow/shadow.h: Likewise.
14042 * signal/signal.h: Likewise.
14043 * socket/send.c: Likewise.
14044 * socket/sendto.c: Likewise.
14045 * socket/sys/socket.h: Likewise.
14046 * stdio-common/printf.h: Likewise.
14047 * stdlib/bits/stdlib.h: Likewise.
14048 * stdlib/fmtmsg.h: Likewise.
14049 * stdlib/monetary.h: Likewise.
14050 * stdlib/stdlib.h: Likewise.
14051 * stdlib/ucontext.h: Likewise.
14052 * streams/stropts.h: Likewise.
14053 * string/argz.h: Likewise.
14054 * string/bits/string2.h: Likewise.
14055 * string/string.h: Likewise.
14056 * string/strings.h: Likewise.
14057 * sunrpc/rpc/auth.h: Likewise.
14058 * sunrpc/rpc/auth_des.h: Likewise.
14059 * sunrpc/rpc/clnt.h: Likewise.
14060 * sunrpc/rpc/netdb.h: Likewise.
14061 * sunrpc/rpc/pmap_clnt.h: Likewise.
14062 * sunrpc/rpc/xdr.h: Likewise.
14063 * sysdeps/generic/inttypes.h: Likewise.
14064 * sysdeps/generic/net/if.h: Likewise.
14065 * sysdeps/generic/sys/swap.h: Likewise.
14066 * sysdeps/gnu/net/if.h: Likewise.
14067 * sysdeps/gnu/utmpx.h: Likewise.
14068 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14069 * sysdeps/i386/i486/bits/string.h: Likewise.
14070 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14071 * sysdeps/s390/bits/string.h: Likewise.
14072 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14073 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14074 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14075 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14076 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14077 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14078 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14079 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14080 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14081 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14082 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14083 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14084 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14085 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14086 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14087 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14088 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14093 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14094 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14095 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14096 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14097 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14098 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14100 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14101 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14102 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14103 * sysvipc/sys/ipc.h: Likewise.
14104 * sysvipc/sys/msg.h: Likewise.
14105 * sysvipc/sys/sem.h: Likewise.
14106 * sysvipc/sys/shm.h: Likewise.
14107 * termios/termios.h: Likewise.
14108 * time/sys/time.h: Likewise.
14109 * time/time.h: Likewise.
14110 * wcsmbs/bits/wchar2.h: Likewise.
14111 * wcsmbs/uchar.h: Likewise.
14112 * wcsmbs/wchar.h: Likewise.
14113 * wctype/wctype.h: Likewise.
14116 * Makeconfig: Remove all but ELF support including AIX support.
14117 * Makerules: Likewise.
14118 * config.h.in: Likewise.
14119 * config.make.in: Likewise.
14120 * configure: Likewise.
14121 * configure.in: Likewise.
14122 * csu/Makefile: Likewise.
14123 * csu/version.c: Likewise.
14124 * debug/Makefile: Likewise.
14125 * dlfcn/Makefile: Likewise.
14126 * elf/Makefile: Likewise.
14127 * extra-lib.mk: Likewise.
14128 * iconv/Makefile: Likewise.
14129 * include/libc-symbols.h: Likewise.
14130 * include/shlib-compat.h: Likewise.
14131 * resolv/Makefile: Likewise.
14132 * resolv/res_libc.c: Likewise.
14133 * rt/Makefile: Likewise.
14134 * sysdeps/i386/asm-syntax.h: Likewise.
14135 * sysdeps/i386/sysdep.h: Likewise.
14136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14137 * sysdeps/mach/sysdep.h: Likewise.
14138 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14139 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14140 * sysdeps/s390/asm-syntax.h: Likewise.
14141 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14142 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14143 * sysdeps/sh/sysdep.h: Likewise.
14144 * sysdeps/unix/sparc/sysdep.h: Likewise.
14145 * sysdeps/wordsize-32/divdi3.c: Likewise.
14146 * sysdeps/x86_64/sysdep.h: Likewise.
14148 * argp/Versions: Remove _argp_unlock_xxx.
14151 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14152 * abilist/libBrokenLocale.abilist: Likewise.
14153 * abilist/libanl.abilist: Likewise.
14154 * abilist/libc.abilist: Likewise.
14155 * abilist/libcrypt.abilist: Likewise.
14156 * abilist/libdl.abilist: Likewise.
14157 * abilist/libm.abilist: Likewise.
14158 * abilist/libnsl.abilist: Likewise.
14159 * abilist/libpthread.abilist: Likewise.
14160 * abilist/libresolv.abilist: Likewise.
14161 * abilist/librt.abilist: Likewise.
14162 * abilist/libthread_db.abilist: Likewise.
14163 * abilist/libutil.abilist: Likewise.
14164 * abilist/libnss_db.abilist: New file.
14166 * scripts/abilist.awk: Add support for indirect functions.
14168 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14170 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14172 * shlib-versions: Remove entries for ports architectures.
14174 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14176 * elf/stackguard-macros.h: Remove support for IA-64.
14177 * elf/tst-auditmod1.c: Likewise.
14178 * sysdeps/generic/ldsodefs.h: Likewise.
14180 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14181 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14185 * configure.in: Remove --enable-omitfp support.
14187 * config.make.in: Likewise.
14188 * Makeconfig: Likewise.
14189 * manual/install.texi: Likewise.
14191 In case anyone cares, the IA-64 architecture could move to ports.
14192 * sysdeps/ia64/*: Removed.
14193 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14194 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14197 * configure.in: Remove entries for unsupported architectures.
14200 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14201 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14203 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14204 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14205 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14206 fall back to using wcrtomb.
14207 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14208 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14210 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14211 * wcsmbs/tst-c16c32-1.c: New file.
14213 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14216 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14218 * elf/tst-unique3.cc: Add explicit declaration of gets.
14219 * elf/tst-unique3lib.cc: Likewise.
14220 * elf/tst-unique3lib2.cc: Likewise.
14221 * elf/tst-unique4.cc: Likewise.
14223 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14225 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14228 * assert/assert.h (static_assert): Don't define for C++.
14229 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14230 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14232 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14234 * iconv/loop.c (single loop): Fix assertion in storing of
14237 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14239 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14241 * posix/getconf.c: Update copyright year.
14242 * nss/getent.c: Likewise.
14243 * nss/makedb.c: Likewise.
14244 * iconv/iconvconfig.c: Likewise.
14245 * iconv/iconv_prog.c: Likewise.
14246 * elf/ldconfig.c: Likewise.
14247 * elf/pldd.c: Likewise.
14248 * elf/sotruss.ksh: Likewise.
14249 * catgets/gencat.c: Likewise.
14250 * csu/version.c: Likewise.
14251 * elf/ldd.bash.in: Likewise.
14252 * elf/sprof.c (print_version): Likewise.
14253 * locale/programs/locale.c: Likewise.
14254 * locale/programs/localedef.c: Likewise.
14255 * login/programs/pt_chown.c: Likewise.
14256 * nscd/nscd.c (print_version): Likewise.
14257 * debug/xtrace.sh: Likewise.
14258 * malloc/memusage.sh: Likewise.
14259 * malloc/mtrace.pl: Likewise.
14260 * debug/catchsegv.sh: Likewise.
14262 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14264 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14267 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14270 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14271 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14273 * iconv/gconv_int.h: Likewise.
14274 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14275 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14276 from libc for GLIBC_2.16.
14277 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14278 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14279 * wcsmbs/uchar.h: Really define mbstate_t.
14280 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14281 * wcsmbs/c16rtomb.c: New file.
14282 * wcsmbs/mbrtoc16.c: New file.
14283 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14284 for C/POSIX locale.
14285 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14286 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14288 * wcsmbs/wchar.h: Add missing __restrict.
14290 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14293 * time/Makefile (routines): Add timespec_get.
14294 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14295 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14296 timespec for ISO C11.
14297 * time/timespec_get.c: New file.
14298 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14299 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14302 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14303 * stdlib/stdlib.h: Declare aligned_alloc.
14304 * Versions.def: Add GLIBC_2.16 for libc.
14305 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14308 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14311 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14315 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14318 * assert/assert.h (static_assert): Define.
14320 * version.h: Update for 2.16 development version.
14323 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14326 * version.h (RELEASE): Bump for 2.15 release.
14327 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14329 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14330 Patch by Marek Polacek <mpolacek@redhat.com>.
14332 * bits/byteswap.h: Protect long long constants with __extension__.
14333 * sysdeps/i386/bits/byteswap.h: Likewise.
14334 * sysdeps/ia64/bits/byteswap.h: Likewise.
14335 * sysdeps/s390/bits/byteswap.h: Likewise.
14336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14338 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14341 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14342 destination buffer.
14343 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14345 2011-12-23 Marek Polacek <polacek@redhat.com>
14347 * elf/dl-addr.c (determine_info): Add inline keyword.
14348 * elf/tst-auditmod4b.c (check_avx): Likewise.
14349 * elf/tst-auditmod6b.c (check_avx): Likewise.
14350 * elf/tst-auditmod6c.c (check_avx): Likewise.
14351 * elf/tst-auditmod7b.c (check_avx): Likewise.
14353 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14355 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14358 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14361 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14362 processing for last bytes.
14364 2011-08-06 Bruno Haible <bruno@clisp.org>
14367 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14368 U+0385, not to U+1FEE.
14371 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14372 entry for U+00A5 U+0301.
14374 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14377 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14378 buffer for the output is too small.
14380 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14384 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14385 SSE flags if possible.
14387 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14391 processing for last bytes.
14393 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14395 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14396 (syscall-list-default-options, syscall-list-default-condition)
14397 (syscall-list-includes): Define.
14398 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14399 list of ABIs and options and #if conditions for each ABI. Do not
14400 handle common syscalls between ABIs specially.
14401 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14403 (syscall-list-variants, syscall-list-32bit-options)
14404 (syscall-list-32bit-condition, syscall-list-64bit-options)
14405 (syscall-list-64bit-condition): Define.
14406 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14407 (syscall-list-variants, syscall-list-32bit-options)
14408 (syscall-list-32bit-condition, syscall-list-64bit-options)
14409 (syscall-list-64bit-condition): Define.
14410 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14412 (syscall-list-variants, syscall-list-32bit-options)
14413 (syscall-list-32bit-condition, syscall-list-64bit-options)
14414 (syscall-list-64bit-condition): Define.
14415 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14417 (syscall-list-variants, syscall-list-32bit-options)
14418 (syscall-list-32bit-condition, syscall-list-64bit-options)
14419 (syscall-list-64bit-condition): Define.
14421 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14423 * locale/iso-639.def: Add brx entry.
14426 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14427 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14429 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14430 __feraiseexcept_renamed.
14432 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14435 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14436 EPOLLET with unsigned values.
14437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14440 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14441 to large cancellation.
14442 * math/s_cacoshf.c: Likewise.
14443 * math/s_cacoshl.c: Likewise.
14445 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14449 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14450 * math/s_cacoshf.c: Likewise.
14451 * math/s_cacoshl.c: Likewise.
14453 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14456 * iconv/gconv.h: Define __GCONV_SWAP.
14457 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14458 * iconvdata/utf-16.c: Likewise.
14459 * iconvdata/utf-32.c: Likewise.
14461 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14465 numerator after shifting it by one limb.
14467 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14470 under [__USE_EXTERN_INLINES].
14472 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14475 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14477 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14479 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14480 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14482 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14483 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14484 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14485 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14486 for strncasecmp/strncasecmp_l compilation.
14487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14488 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14490 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14493 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14496 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14499 * time/tzfile.c (__tzfile_read): Check values from file header.
14501 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14503 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14504 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14505 * powerpc/powerpc32/dl-start.S: Likewise.
14506 * powerpc/powerpc32/elf/start.S: Likewise.
14507 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14508 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14509 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14510 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14511 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14512 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14513 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14514 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14515 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14516 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14517 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14518 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14519 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14520 * powerpc/powerpc32/memset.S: Likewise.
14521 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14522 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14523 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14524 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14525 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14526 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14527 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14528 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14529 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14530 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14532 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14533 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14535 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537 * math/libm-test.inc: Added more nearbyint tests.
14538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14543 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14545 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14548 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14550 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14551 Add wcscpy-ssse3 wcscpy-c.
14552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14553 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14554 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14555 * sysdeps/x86_64/wcschr.S: New file.
14556 * sysdeps/x86_64/wcsrchr.S: New file.
14557 * string/test-strcmp.c: Remove checking of wcscmp function for
14559 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14560 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14561 wcsrchr-sse2 wcsrchr-c.
14562 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14563 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14564 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14565 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14566 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14567 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14568 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14569 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14571 * wcsmbc/wcschr.c (WCSCHR): New macro.
14573 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14575 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14576 * wcsmbs/test-wcsrchr.c: New file.
14577 * string/test-strrchr.c: Add wcsrchr support.
14579 * wcsmbs/test-wcscpy.c: New file.
14580 * string/test-strcpy.c: Add wcscpy support.
14583 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14585 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14588 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14591 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14593 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14595 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14596 Minor optimizations.
14598 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14599 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14600 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14602 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14604 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14605 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14606 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14607 for gcc to avoid warnings.
14608 * inet/Makefile (tests): Add tst-checks.
14609 * inet/tst-checks.c: New file.
14611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14614 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14617 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14618 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14620 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14622 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14624 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14627 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14629 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14632 conditional on GCC version.
14633 (__arch_compare_and_exchange_val_8_acq)
14634 (__arch_compare_and_exchange_val_16_acq)
14635 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14636 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14637 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14639 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14641 * sysdeps/sh/backtrace.c: New file.
14643 2011-12-02 Andreas Schwab <schwab@redhat.com>
14645 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14648 2011-12-01 Andreas Schwab <schwab@redhat.com>
14650 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14651 falling back to utime.
14653 2011-11-30 Andreas Schwab <schwab@redhat.com>
14655 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14656 expectations for float.
14658 2011-11-29 Andreas Schwab <schwab@redhat.com>
14660 * locale/weight.h (findidx): Add parameter len.
14661 * locale/weightwc.h (findidx): Likewise.
14662 * posix/fnmatch_loop.c (FCT): Adjust caller.
14663 * posix/regcomp.c (build_equiv_class): Likewise.
14664 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14665 * posix/regexec.c (check_node_accept_bytes): Likewise.
14666 * string/strcoll_l.c (STRCOLL): Likewise.
14667 * string/strxfrm_l.c (STRXFRM): Likewise.
14669 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14671 * Makefile.in: Remove CVSOPT handling.
14672 * configure.in: Remove use of AC_REVISION.
14673 * iconvdata/Makefile (distribute): No need to filter out CVS.
14674 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14677 2011-11-16 Andreas Schwab <schwab@redhat.com>
14679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14680 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14681 [USE_AS_STRNCASECMP_L]: Likewise.
14682 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14683 NO_TLS_DIRECT_SEG_REFS.
14684 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14685 Fix argument offsets for non-PIC.
14686 [USE_AS_STRNCASECMP_L]: Likewise.
14687 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14688 NO_TLS_DIRECT_SEG_REFS.
14690 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14692 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14694 * locale/loadlocale.c (_nl_load_locale): Likewise.
14696 2011-11-15 Andreas Schwab <schwab@redhat.com>
14698 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14699 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14701 (SYSCALL_GETTIME): Set errno on error.
14703 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14704 count references to noai6ai_cached.
14706 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14708 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14710 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14711 FD_CLOEXEC for /proc/self/maps.
14713 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14714 FD_CLOEXEC for /proc/meminfo.
14716 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14719 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14720 FD_CLOEXEC for given file.
14722 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14724 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14725 FD_CLOEXEC for /etc/hosts.
14726 (_gethtent): Likewise.
14728 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14730 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14731 cancellation and set FD_CLOEXEC for /etc/netgroup.
14733 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14734 reading /etc/publickey.
14736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14737 allow cancellation when reading /etc/group.
14739 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14741 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14743 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14744 when using data file.
14746 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14748 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14749 (write_nis_obj): Use "c" and "e" in fopen.
14751 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14753 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14755 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14757 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14759 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14762 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14764 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14766 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14768 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14769 file parsing and set FD_CLOEXEC.
14771 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14773 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14775 2011-11-14 Andreas Schwab <schwab@redhat.com>
14777 * malloc/arena.c (arena_get2): Don't call reused_arena when
14778 _int_new_arena failed.
14780 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14782 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14783 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14785 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14788 to compile strcasecmp and strncasecmp.
14789 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14790 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14794 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14796 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14797 locale-defines.sym to gen-as-const-headers.
14798 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14799 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14801 to compile strcasecmp and strncasecmp.
14802 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14803 strcasecmp_l and strncasecmp_l.
14804 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14805 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14806 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14807 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14808 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14809 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14810 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14811 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14812 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14813 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14814 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14816 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14818 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14819 result of SYSDEP_GETTIME_CPU to retval.
14820 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14821 parameter list to macro. Remove trailing semicolon. Adjust users.
14823 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14826 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14828 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14830 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14831 from unused variable.
14833 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14835 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14838 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14841 * sunrpc/rpc_prot.c (rejected): Fix case value.
14843 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14844 unsigned long long int to avoid warnings in shift.
14846 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14848 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14852 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14853 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14855 * nis/nis_table.c (nis_list): Use variable of correct type for
14856 result of __follow_path call.
14858 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14860 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14861 of math functions ceil, trunc, floor, round, and sqrt, when
14862 avaliable on the platform.
14863 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14865 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14866 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14867 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14869 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14871 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14874 2011-11-11 Roland McGrath <roland@hack.frob.com>
14876 * include/unistd.h: Fix __readlink return type.
14877 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14879 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14881 * stdlib/ucontext.h: Undo last change for makecontext.
14883 2011-11-11 Andreas Schwab <schwab@redhat.com>
14885 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14887 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14888 * setjmp/setjmp.h: Mark functions as non-leaf.
14889 * setjmp/bits/setjmp2.h: Likewise.
14890 * stdlib/ucontext.h: Likewise.
14892 2011-11-10 Andreas Schwab <schwab@redhat.com>
14894 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14895 (reused_arena): Don't check arena limit.
14896 (arena_get2): Atomically check arena limit.
14898 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14900 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14901 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14906 2011-11-07 Andreas Schwab <schwab@redhat.com>
14908 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14909 handler when locking.
14911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14912 Fix size of allocated buffer.
14914 2011-11-04 Andreas Schwab <schwab@redhat.com>
14917 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14918 declarations for long double functions.
14919 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14921 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14923 2011-11-03 Andreas Schwab <schwab@redhat.com>
14925 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14928 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14931 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14933 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14935 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14937 * include/alloca.h (stackinfo_alloca_round): Define.
14938 (extend_alloca): Use it.
14939 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14940 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14943 * scripts/check-local-headers.sh: Ignore libaudit.h.
14945 * nscd/Makefile (extra-objs): Make recursively expanded.
14947 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14949 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14952 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14953 * posix/tst-rfc3484-2.c: Likewise.
14954 * posix/tst-rfc3484-3.c: Likewise.
14956 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14958 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14960 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14961 process_vm_writev from libc using GLIBC_2.15 version.
14963 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14965 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14967 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14970 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14973 * nss/getent.c (initgroups_keys): Show error message in case no group
14976 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14977 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14978 __bump_nl_timestamp.
14979 * nscd/connections (nscd_init): When host database is served open
14980 netlink socket and request notification about configuration changes.
14981 (main_loop_poll): Track netlink file descriptor and bump timestamp
14982 in case data becomes available.
14983 (main_loop_epoll): Likewise.
14984 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14985 (database_pers_head): Add extra_data fileds.
14986 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14988 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14991 in6ai data, call __free_in6ai.
14992 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14993 Add -DHAVE_NETLINK.
14994 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14995 interface information. Reuse previous data if netlink timestamp
14997 (__bump_nl_timestamp): New function.
14998 (__free_in6ai): New function.
15000 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15002 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15003 close_not_cancel_no_status here.
15004 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15006 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15009 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15012 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15013 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15014 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15016 2011-07-03 Andreas Jaeger <aj@suse.de>
15019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15020 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15021 * math/libm-test.inc (sin_test): Add test case.
15023 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15026 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15027 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15029 * elf/chroot_canon.c (chroot_canon): Cleanups.
15031 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15034 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15035 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15037 * string/test-strchr.c: Make usable for strchrnul testing.
15038 * string/test-strchrnul.c: New file.
15039 * string/Makefile (strop-tests): Add strchrnul.
15041 * po/it.po: Update from translation team.
15042 * po/es.po: Likewise.
15044 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15047 the three constants needed as parameters. Drop the others.
15048 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15049 __m128i_strloadu_tolower.
15050 Create and initialize variable zero and use it in all the places
15051 where _mm_setzero_si128 was used.
15053 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15054 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15055 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15058 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15059 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15060 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15061 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15062 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15063 __mpranred, __mptan.
15064 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15065 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15066 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15067 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15068 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15069 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15071 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15072 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15074 2011-10-28 Andreas Schwab <schwab@redhat.com>
15076 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15077 redefine if SHARED.
15078 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15081 wide char related routines to wcsmbs subdir.
15083 2011-10-27 Andreas Schwab <schwab@redhat.com>
15086 * misc/sys/cdefs.h (__THROWNL): Define.
15087 * posix/unistd.h: Use __THREADNL instead of __THREAD
15088 for memory synchronization functions.
15090 2011-10-26 Roland McGrath <roland@hack.frob.com>
15093 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15095 * manual/stdio.texi (Obstack Streams): Node removed.
15097 2011-10-26 Andreas Schwab <schwab@redhat.com>
15099 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15100 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15103 * math/math_private.h (math_force_eval): Allow non-addressable
15105 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15107 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15110 file is not needed.
15112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15119 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15121 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15123 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15124 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15125 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15126 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15127 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15129 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15130 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15131 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15132 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15134 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15135 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15136 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15138 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15139 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15141 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15142 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15145 place. Use VEX encoding when compiling for AVX.
15147 2011-10-25 Andreas Schwab <schwab@redhat.com>
15149 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15150 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15152 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15154 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15156 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15157 useless if() expression.
15158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15170 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15174 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15176 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15178 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15180 2011-10-25 Andreas Schwab <schwab@redhat.com>
15182 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15186 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15188 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15189 .text section. Avoid duplicate constants.
15190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15200 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15202 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15207 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15218 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15226 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15228 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15230 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15236 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15238 * sysdeps/x86_64/dla.h: Move to ...
15239 * sysdeps/x86_64/fpu/dla.h: ...here.
15240 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15241 situations. Use __builtin_fma only for gcc 4.6 and up.
15243 * config.make.in: Add have-mfma4 entry.
15244 * configure.in: Substitute libc_cv_cc_fma4.
15245 * math/Makefile (dbl-only-routines): Add sincostab.
15246 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15247 Use __sincostab not sincos.
15248 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15255 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15256 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15257 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15258 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15261 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15263 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15264 define aliases when function name is a macro.
15265 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15266 sysdeps/ieee754/dbl-64/sincos.tbl.
15267 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15268 fma4-enabled routines.
15269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15287 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15289 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15290 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15291 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15296 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15297 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15298 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15300 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15311 2011-10-24 Andreas Schwab <schwab@redhat.com>
15313 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15315 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15317 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15319 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15323 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15324 Remove unused variable magic_bits.
15325 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15327 * string/strnlen.c: Define and use STRNLEN macro.
15328 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15329 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15331 * wcsmbs/wcslen.c: Define and use WCSLEN.
15332 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15333 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15334 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15335 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15336 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15337 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15338 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15340 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15343 strnlen-sse2-no-bsf.
15344 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15346 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15347 Add strnlen support.
15348 (USE_AS_STRNLEN): New macro.
15349 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15351 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15352 * sysdeps/x86_64/wcslen.S: New file.
15354 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15357 XMM-moves are used for copying on small sizes.
15359 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15361 * wcsmbs/Makefile (strop-tests): Add wcschr.
15362 * wcsmbs/test-wcschr.c: New file.
15363 * string/test-strchr.c: Update.
15364 Add wcschr support.
15367 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15369 * wcsmbs/Makefile (strop-tests): Add wcslen.
15370 * wcsmbs/test-wcslen.c: New file.
15371 * string/test-strlen.c: Update.
15372 Add wcslen support.
15375 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15377 * po/it.po: Update from translation team.
15379 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15381 * sysdeps/x86_64/wcscmp.S: Update.
15382 Fix wrong comparison semantics.
15383 wcscmp shall use signed comparison not unsigned.
15384 Don't use substraction to avoid overflow bug.
15385 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15386 * wcsmbc/wcscmp.c: Likewise.
15387 * string/test-strcmp.c: Likewise.
15388 Add new tests to check cases with negative values.
15390 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15392 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15393 * sysdeps/x86_64/dla.h: ...here. New file.
15394 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15404 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15407 __ynl_finite aliases.
15409 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15413 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15415 [DLA_FMA] (EMULV): Use DLA_FMA.
15416 [DLA_FMA] (MUL12): Use EMULV.
15417 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15418 that are not needed.
15419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15427 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15429 * math/s_nan.c: Undef __nan.
15430 * math/s_nanf.c: Undef __nanf.
15431 * math/s_nanl.c: Undef __nanl.
15432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15435 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15437 * math/s_catan.c: Add branch predictions.
15438 * math/s_catanf.c: Likewise.
15439 * math/s_catanh.c: Likewise.
15440 * math/s_catanhf.c: Likewise.
15441 * math/s_catanhl.c: Likewise.
15442 * math/s_catanl.c: Likewise.
15443 * math/s_cexp.c: Likewise.
15444 * math/s_cexpf.c: Likewise.
15445 * math/s_cexpl.c: Likewise.
15446 * math/s_clog.c: Likewise.
15447 * math/s_clog10.c: Likewise.
15448 * math/s_clog10f.c: Likewise.
15449 * math/s_clog10l.c: Likewise.
15450 * math/s_clogf.c: Likewise.
15451 * math/s_clogl.c: Likewise.
15452 * math/s_csqrt.c: Likewise.
15453 * math/s_csqrtf.c: Likewise.
15454 * math/s_csqrtl.c: Likewise.
15455 * math/s_ctanf.c: Likewise.
15456 * math/s_ctanh.c: Likewise.
15457 * math/s_ctanhf.c: Likewise.
15458 * math/s_ctanhl.c: Likewise.
15459 * math/s_ctanl.c: Likewise.
15461 * math/math_private.h: Define __nan, __nanf, __nanl.
15462 * math/s_cacosh.c: Include <math_private.h>.
15463 * math/s_cacoshl.c: Likewise.
15464 * math/s_casinh.c: Likewise.
15465 * math/s_casinhf.c: Likewise.
15466 * math/s_casinhl.c: Likewise.
15467 * math/s_ccos.c: Rely entire on ccosh.
15468 * math/s_ccosf.c: Rely entire on ccoshf.
15469 * math/s_ccosl.c: Rely entirely on ccoshl.
15470 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15471 Remove tests for FE_INVALID.
15472 * math/s_ccoshf.c: Likewise.
15473 * math/s_ccoshl.c: Likewise.
15474 * math/s_csin.c: Likewise.
15475 * math/s_csinf.c: Likewise.
15476 * math/s_csinh.c Likewise.
15477 * math/s_csinhf.c: Likewise.
15478 * math/s_csinhl.c: Likewise.
15479 * math/s_csinl.c: Likewise.
15480 * math/s_ctan.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15482 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15483 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15485 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15488 compilation problems.
15490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15493 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15495 * sysdeps/i386/configure.in: Test for -mfma4 option.
15496 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15497 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15498 COMMON_CPUID_INDEX_80000001.
15499 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15500 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15501 use it if FMA3 is not supported.
15502 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15504 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15507 2011-10-20 Andreas Schwab <schwab@redhat.com>
15510 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15511 it would create a cycle with a link time dependency.
15513 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15515 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15517 * string/Makefile (strop-tests): Add rawmemchr.
15518 * string/test-rawmemchr.c: New file.
15520 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15522 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15523 when compiling str{,n}casecmp and when AVX is available. Hook up
15524 new optimized code in initializers.
15526 2011-10-19 Andreas Schwab <schwab@redhat.com>
15528 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15529 __feraiseexcept instead of feraiseexcept.
15531 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15533 * math/math_private.h: Define defaults for libc_fetestexcept and
15535 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15536 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15538 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15539 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15540 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15541 libc_fetestexcept and libc_feupdateenv.
15543 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15544 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15545 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15546 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15547 libc_feholdexcept_setround.
15549 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15550 Add s_nearbyint-c and s_nearbyintf-c.
15551 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15552 nearbyintf inlines.
15553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15554 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15556 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15558 * math/math_private.h: Define defaults for libc_fegetround,
15559 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15560 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15561 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15562 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15563 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15564 standard functions.
15565 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15566 Remove comments and hacks for old compiler versions.
15567 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15568 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15569 libc_feholdexceptl.
15571 2011-10-18 Andreas Schwab <schwab@redhat.com>
15573 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15574 (__feraiseexcept_renamed): Add __NTH.
15575 (feraiseexcept): Add __NTH. Rename local variables to fix
15576 namespace violations.
15578 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15582 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15584 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15585 recently added interfaces.
15586 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15588 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15589 about macro parameter expansion.
15591 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15592 __NO_MATH_INLINES is defined. Cleanups.
15594 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15595 and __floorf is target has SSE4.1.
15596 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15598 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15601 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15603 (floorf): Likewise.
15605 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15607 2011-10-17 Andreas Schwab <schwab@redhat.com>
15609 * misc/sys/cdefs.h: Fix last change.
15611 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15614 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15616 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15618 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15627 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15628 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15629 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15630 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15631 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15632 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15633 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15634 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15635 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15637 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15639 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15642 ceil, ceilf, floor, floorf.
15644 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15645 Perform IRELATIVE relocations last.
15647 * elf/do-rel.h: Add another parameter nrelative, replacing the
15648 local variable with the same name. Change name of the function
15649 to end in Rel or Rela (uppercase).
15650 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15651 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15652 elf_dynamic_do_##reloc function.
15654 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15656 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15657 is sufficient, at least on modern CPUs.
15659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15661 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15664 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15666 * math/bits/math-finite.h: Add entries for exp.
15667 * math/e_expl.c: Add __*_finite alias.
15668 * sysdeps/i386/fpu/e_exp.S: Likewise.
15669 * sysdeps/i386/fpu/e_expf.S: Likewise.
15670 * sysdeps/i386/fpu/e_expl.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15679 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15680 is sufficient, at least on modern CPUs.
15682 * ctype/ctype-info.c (__ctype_init): Define.
15683 * include/ctype.h (__ctype_init): Declare.
15684 (__ctype_b_loc): The variable is always initialized.
15685 (__ctype_toupper_loc): Likewise.
15686 (__ctype_tolower_loc): Likewise.
15687 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15688 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15690 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15692 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15694 * configure.in: Also look in $cxxmachine/include for C++ system
15697 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15699 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15700 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15701 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15702 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15703 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15704 (USE_AS_WMEMCMP): New macro.
15706 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15707 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15708 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15709 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15711 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15712 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15714 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15715 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15716 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15717 (USE_AS_WMEMCMP): New macro.
15718 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15719 * sysdeps/string/test-memcmp.c: Update.
15720 Fix simple_wmemcmp.
15722 * wcsmbs/wmemcmp.c: Update.
15723 (WMEMCMP): New macro.
15726 2011-10-12 Andreas Jaeger <aj@suse.de>
15729 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15731 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15733 * libio/iofwide.c (do_length): Avoid warning.
15735 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15737 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15739 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15741 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15742 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15743 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15744 * sysdeps/i386/i686/fpu/e_log.S: New file.
15745 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15746 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15748 * ctype/ctype.h: Add support for inlined isXXX functions when
15749 compiling C++ code.
15751 2011-10-14 Andreas Schwab <schwab@redhat.com>
15753 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15755 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15757 2011-10-13 Roland McGrath <roland@hack.frob.com>
15760 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15762 2011-10-13 Andreas Schwab <schwab@redhat.com>
15764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15765 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15768 * sysdeps/x86_64/memrchr.S: Check for zero size.
15770 * string/stratcliff.c: Add memrchr tests.
15772 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15775 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15776 rawmemchr-sse2 rawmemchr-sse2-bsf.
15777 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15778 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15779 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15780 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15781 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15782 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15783 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15784 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15786 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15787 * string/memrchr.c (MEMRCHR): New macro.
15789 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15791 Add integration with gcc's -ffinite-math-only and optimize wrapper
15793 * Versions.def: Define GLIBC_2.15 version for libm.
15794 * math/Makefile (headers): Add bits/math-finite.h.
15795 * math/bits/math-finite.h: New file.
15796 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15797 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15798 * math/e_acoshl.c: Add __*_finite alias.
15799 * math/e_acosl.c: Likewise.
15800 * math/e_asinl.c: Likewise.
15801 * math/e_atan2l.c: Likewise.
15802 * math/e_atanhl.c: Likewise.
15803 * math/e_coshl.c: Likewise.
15804 * math/e_exp10.c: Likewise.
15805 * math/e_exp10f.c: Likewise.
15806 * math/e_exp10l.c: Likewise.
15807 * math/e_exp2l.c: Likewise.
15808 * math/e_fmodl.c: Likewise.
15809 * math/e_gammal_r.c: Likewise.
15810 * math/e_hypotl.c: Likewise.
15811 * math/e_j0l.c: Likewise.
15812 * math/e_j1l.c: Likewise.
15813 * math/e_jnl.c: Likewise.
15814 * math/e_lgammal_r.c: Likewise.
15815 * math/e_log10l.c: Likewise.
15816 * math/e_log2l.c: Likewise.
15817 * math/e_logl.c: Likewise.
15818 * math/e_powl.c: Likewise.
15819 * math/e_sinhl.c: Likewise.
15820 * math/e_sqrtl.c: Likewise.
15821 * math/e_scalb.c: Completely rewritten and optimized.
15822 * math/e_scalbf.c: Likewise.
15823 * math/e_scalbl.c: Likewise.
15824 * math/w_acos.c: Likewise.
15825 * math/w_acosf.c: Likewise.
15826 * math/w_acosl.c: Likewise.
15827 * math/w_acosh.c: Likewise.
15828 * math/w_acoshf.c: Likewise.
15829 * math/w_acoshl.c: Likewise.
15830 * math/w_asin.c: Likewise.
15831 * math/w_asinf.c: Likewise.
15832 * math/w_asinl.c: Likewise.
15833 * math/w_atan2.c: Likewise.
15834 * math/w_atan2f.c: Likewise.
15835 * math/w_atan2l.c: Likewise.
15836 * math/w_atanh.c: Likewise.
15837 * math/w_atanhf.c: Likewise.
15838 * math/w_atanhl.c: Likewise.
15839 * math/w_exp10.c: Likewise.
15840 * math/w_exp10f.c: Likewise.
15841 * math/w_exp10l.c: Likewise.
15842 * math/w_fmod.c: Likewise.
15843 * math/w_fmodf.c: Likewise.
15844 * math/w_fmodl.c: Likewise.
15845 * math/w_j0.c: Likewise.
15846 * math/w_j0f.c: Likewise.
15847 * math/w_j0l.c: Likewise.
15848 * math/w_j1.c: Likewise.
15849 * math/w_j1f.c: Likewise.
15850 * math/w_j1l.c: Likewise.
15851 * math/w_jn.c: Likewise.
15852 * math/w_jnf.c: Likewise.
15853 * math/w_log.c: Likewise.
15854 * math/w_logf.c: Likewise.
15855 * math/w_logl.c: Likewise.
15856 * math/w_log10.c: Likewise.
15857 * math/w_log10f.c: Likewise.
15858 * math/w_log10l.c: Likewise.
15859 * math/w_log2.c: Likewise.
15860 * math/w_log2f.c: Likewise.
15861 * math/w_log2l.c: Likewise.
15862 * math/w_pow.c: Likewise.
15863 * math/w_powf.c: Likewise.
15864 * math/w_powl.c: Likewise.
15865 * math/w_remainder.c: Likewise.
15866 * math/w_remainderf.c: Likewise.
15867 * math/w_remainderl.c: Likewise.
15868 * math/w_scalb.c: Likewise.
15869 * math/w_scalbf.c: Likewise.
15870 * math/w_scalbl.c: Likewise.
15871 * math/w_sqrt.c: Likewise.
15872 * math/w_sqrtf.c: Likewise.
15873 * math/w_sqrtl.c: Likewise.
15874 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15875 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15877 * math/math_private.h: Declare __kernel_standard_f.
15878 * math/w_cosh.c: Remove cruft and optimize a bit.
15879 * math/w_coshf.c: Likewise.
15880 * math/w_coshl.c: Likewise.
15881 * math/w_exp2.c: Likewise.
15882 * math/w_exp2f.c: Likewise.
15883 * math/w_exp2l.c: Likewise.
15884 * math/w_hypot.c: Likewise.
15885 * math/w_hypotf.c: Likewise.
15886 * math/w_hypotl.c: Likewise.
15887 * math/w_lgamma.c: Likewise.
15888 * math/w_lgamma_r.c: Likewise.
15889 * math/w_lgammaf.c: Likewise.
15890 * math/w_lgammaf_r.c: Likewise.
15891 * math/w_lgammal.c: Likewise.
15892 * math/w_lgammal_r.c: Likewise.
15893 * math/w_sinh.c: Likewise.
15894 * math/w_sinhf.c: Likewise.
15895 * math/w_sinhl.c: Likewise.
15896 * math/w_tgamma.c: Likewise.
15897 * math/w_tgammaf.c: Likewise.
15898 * math/w_tgammal.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15901 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15902 Minor optimizations. Pretty printing. Remove cruft.
15903 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15905 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15906 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15907 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15908 * sysdeps/i386/fpu/e_asin.S: Likewise.
15909 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15910 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15911 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15912 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15913 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15916 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15917 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15918 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15919 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15920 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15921 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15922 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15923 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15924 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15925 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15926 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15927 * sysdeps/i386/fpu/e_log.S: Likewise.
15928 * sysdeps/i386/fpu/e_log10.S: Likewise.
15929 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15930 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15931 * sysdeps/i386/fpu/e_log2.S: Likewise.
15932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15934 * sysdeps/i386/fpu/e_logf.S: Likewise.
15935 * sysdeps/i386/fpu/e_logl.S: Likewise.
15936 * sysdeps/i386/fpu/e_pow.S: Likewise.
15937 * sysdeps/i386/fpu/e_powf.S: Likewise.
15938 * sysdeps/i386/fpu/e_powl.S: Likewise.
15939 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15940 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15941 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15942 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15943 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15945 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15946 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15947 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15969 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15973 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15977 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15979 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15982 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15983 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15984 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15986 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15988 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16033 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16036 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16039 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16040 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16041 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16045 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16046 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16047 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16048 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16049 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16050 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16051 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16053 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16056 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16058 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16059 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16060 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16061 (__isnanf): Likewise.
16062 (__isinf_ns): Likewise.
16063 (__isinf_nsf): Likewise.
16064 (__finite): Likewise.
16065 (__finitef): Likewise.
16066 (__ieee754_sqrt): Define as macro.
16067 (__ieee754_sqrtf): Define as macro.
16068 (__ieee754_sqrtl): Define as macro.
16069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16071 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16072 __FINITE_MATH_ONLY__ consistent.
16073 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16075 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16077 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16080 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16082 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16084 * po/ja.po: Update from translation team.
16086 2011-10-08 Roland McGrath <roland@hack.frob.com>
16088 * locale/programs/locarchive.c (prepare_address_space): New function.
16089 (create_archive, enlarge_archive, open_archive): Use it.
16091 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16092 inside [SHARED], where it is used.
16094 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16096 * nss/getent.c (netgroup_keys): Remove unused variable.
16097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16099 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16101 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16102 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16104 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16105 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16107 * math/Makefile (libm-calls): Add s_isinf_ns.
16108 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16109 * math/multc3.c: Likewise.
16110 * math/s_casin.c: Likewise.
16111 * math/s_casinf.c: Likewise.
16112 * math/s_casinl.c: Likewise.
16113 * math/s_ccos.c: Likewise.
16114 * math/s_ccosf.c: Likewise.
16115 * math/s_ccosl.c: Likewise.
16116 * math/s_ctan.c: Likewise.
16117 * math/s_ctanf.c: Likewise.
16118 * math/s_ctanh.c: Likewise.
16119 * math/s_ctanhf.c: Likewise.
16120 * math/s_ctanhl.c: Likewise.
16121 * math/s_ctanl.c: Likewise.
16122 * math/w_fmod.c: Likewise.
16123 * math/w_fmodf.c: Likewise.
16124 * math/w_fmodl.c: Likewise.
16125 * math/w_remainder.c: Likewise.
16126 * math/w_remainderf.c: Likewise.
16127 * math/w_remainderl.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16129 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16130 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16132 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16133 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16134 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16135 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16137 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16139 * stdio-common/printf_fphex.c: Likewise.
16140 * stdio-common/printf_size.c: Likewise.
16142 * math/e_exp10.c: Include math_private.h using <...> not "...".
16143 * math/e_exp10f.c: Likewise.
16144 * math/e_exp10l.c: Likewise.
16145 * math/e_exp2l.c: Likewise.
16146 * math/e_j0l.c: Likewise.
16147 * math/e_j1l.c: Likewise.
16148 * math/e_jnl.c: Likewise.
16149 * math/e_lgammal_r.c: Likewise.
16150 * math/e_rem_pio2l.c: Likewise.
16151 * math/e_scalb.c: Likewise.
16152 * math/e_scalbf.c: Likewise.
16153 * math/e_scalbl.c: Likewise.
16154 * math/k_cosl.c: Likewise.
16155 * math/k_sinl.c: Likewise.
16156 * math/k_tanl.c: Likewise.
16157 * math/s_cacoshf.c: Likewise.
16158 * math/s_catan.c: Likewise.
16159 * math/s_catanf.c: Likewise.
16160 * math/s_catanh.c: Likewise.
16161 * math/s_catanhf.c: Likewise.
16162 * math/s_catanhl.c: Likewise.
16163 * math/s_catanl.c: Likewise.
16164 * math/s_ccosh.c: Likewise.
16165 * math/s_ccoshf.c: Likewise.
16166 * math/s_ccoshl.c: Likewise.
16167 * math/s_cexp.c: Likewise.
16168 * math/s_cexpf.c: Likewise.
16169 * math/s_cexpl.c: Likewise.
16170 * math/s_clog.c: Likewise.
16171 * math/s_clog10.c: Likewise.
16172 * math/s_clog10f.c: Likewise.
16173 * math/s_clog10l.c: Likewise.
16174 * math/s_clogf.c: Likewise.
16175 * math/s_clogl.c: Likewise.
16176 * math/s_csin.c: Likewise.
16177 * math/s_csinf.c: Likewise.
16178 * math/s_csinh.c: Likewise.
16179 * math/s_csinhf.c: Likewise.
16180 * math/s_csinhl.c: Likewise.
16181 * math/s_csinl.c: Likewise.
16182 * math/s_csqrt.c: Likewise.
16183 * math/s_csqrtf.c: Likewise.
16184 * math/s_csqrtl.c: Likewise.
16185 * math/s_ctan.c: Likewise.
16186 * math/s_ctanf.c: Likewise.
16187 * math/s_ctanh.c: Likewise.
16188 * math/s_ctanhf.c: Likewise.
16189 * math/s_ctanhl.c: Likewise.
16190 * math/s_ctanl.c: Likewise.
16191 * math/s_ldexp.c: Likewise.
16192 * math/s_ldexpf.c: Likewise.
16193 * math/s_ldexpl.c: Likewise.
16194 * math/s_significand.c: Likewise.
16195 * math/s_significandf.c: Likewise.
16196 * math/s_significandl.c: Likewise.
16197 * math/w_acos.c: Likewise.
16198 * math/w_acosf.c: Likewise.
16199 * math/w_acosh.c: Likewise.
16200 * math/w_acoshf.c: Likewise.
16201 * math/w_acoshl.c: Likewise.
16202 * math/w_acosl.c: Likewise.
16203 * math/w_asin.c: Likewise.
16204 * math/w_asinf.c: Likewise.
16205 * math/w_asinl.c: Likewise.
16206 * math/w_atan2.c: Likewise.
16207 * math/w_atan2f.c: Likewise.
16208 * math/w_atan2l.c: Likewise.
16209 * math/w_atanh.c: Likewise.
16210 * math/w_atanhf.c: Likewise.
16211 * math/w_atanhl.c: Likewise.
16212 * math/w_cosh.c: Likewise.
16213 * math/w_coshf.c: Likewise.
16214 * math/w_coshl.c: Likewise.
16215 * math/w_dremf.c: Likewise.
16216 * math/w_exp10.c: Likewise.
16217 * math/w_exp10f.c: Likewise.
16218 * math/w_exp10l.c: Likewise.
16219 * math/w_exp2.c: Likewise.
16220 * math/w_exp2f.c: Likewise.
16221 * math/w_fmod.c: Likewise.
16222 * math/w_fmodf.c: Likewise.
16223 * math/w_fmodl.c: Likewise.
16224 * math/w_hypot.c: Likewise.
16225 * math/w_hypotf.c: Likewise.
16226 * math/w_hypotl.c: Likewise.
16227 * math/w_j0.c: Likewise.
16228 * math/w_j0f.c: Likewise.
16229 * math/w_j0l.c: Likewise.
16230 * math/w_j1.c: Likewise.
16231 * math/w_j1f.c: Likewise.
16232 * math/w_j1l.c: Likewise.
16233 * math/w_jn.c: Likewise.
16234 * math/w_jnf.c: Likewise.
16235 * math/w_jnl.c: Likewise.
16236 * math/w_lgamma.c: Likewise.
16237 * math/w_lgamma_r.c: Likewise.
16238 * math/w_lgammaf.c: Likewise.
16239 * math/w_lgammaf_r.c: Likewise.
16240 * math/w_lgammal.c: Likewise.
16241 * math/w_lgammal_r.c: Likewise.
16242 * math/w_log.c: Likewise.
16243 * math/w_log10.c: Likewise.
16244 * math/w_log10f.c: Likewise.
16245 * math/w_log10l.c: Likewise.
16246 * math/w_log2.c: Likewise.
16247 * math/w_log2f.c: Likewise.
16248 * math/w_log2l.c: Likewise.
16249 * math/w_logf.c: Likewise.
16250 * math/w_logl.c: Likewise.
16251 * math/w_pow.c: Likewise.
16252 * math/w_powf.c: Likewise.
16253 * math/w_powl.c: Likewise.
16254 * math/w_remainder.c: Likewise.
16255 * math/w_remainderf.c: Likewise.
16256 * math/w_remainderl.c: Likewise.
16257 * math/w_scalb.c: Likewise.
16258 * math/w_scalbf.c: Likewise.
16259 * math/w_scalbl.c: Likewise.
16260 * math/w_sinh.c: Likewise.
16261 * math/w_sinhf.c: Likewise.
16262 * math/w_sinhl.c: Likewise.
16263 * math/w_sqrt.c: Likewise.
16264 * math/w_sqrtf.c: Likewise.
16265 * math/w_sqrtl.c: Likewise.
16266 * math/w_tgamma.c: Likewise.
16267 * math/w_tgammaf.c: Likewise.
16268 * math/w_tgammal.c: Likewise.
16270 * po/ja.po: Update from translation team.
16272 2011-09-29 Andreas Jaeger <aj@suse.de>
16275 * sunrpc/netname.c (netname2host): Fix logic.
16279 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16281 * math/w_remainder.c (__remainder): Likewise.
16282 * math/w_remainderf.c (__remainderf): Likewise.
16283 * math/libm-test.inc (remainder_test): Add test cases.
16285 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16287 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16290 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16292 * string/test-memcmp.c: Avoid unncessary #defines.
16293 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16295 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16297 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16298 Use new sse2 version for core i3 - i7 as it's faster
16299 than sse42 version.
16300 (bit_Prefer_PMINUB_for_stringop): New.
16301 * sysdeps/x86_64/rawmemchr.S: Update.
16302 Replace with faster SSE2 version.
16303 * sysdeps/x86_64/memrchr.S: New file.
16304 * sysdeps/x86_64/memchr.S: Update.
16305 Replace with faster SSE2 version.
16307 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16309 * elf/dl-load.c (lose): Add cast to avoid warning.
16311 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16313 * po/ca.po: Update from translation team.
16315 * inet/getnetgrent_r.c: Hook up nscd.
16316 * nscd/Makefile (routines): Add nscd_netgroup.
16317 (nscd-modules): Add netgroupcache.
16318 (CFLAGS-netgroupcache.c): Define.
16319 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16320 (cache_search): Add const to second parameter.
16321 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16323 (dbs): Add netgrdb entry.
16324 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16325 (verify_persistent_db): Handle netgrdb.
16326 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16327 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16329 (netgroup_response_header): Define.
16330 (innetgroup_response_header): Define.
16331 (datahead): Add netgroup_response_header and innetgroup_response_header
16333 * nscd/nscd.conf: Add entries for netgroup cache.
16334 * nscd/nscd.h (dbtype): Add netgrdb.
16335 (_PATH_NSCD_NETGROUP_DB): Define.
16336 (netgroup_iov_disabled): Declare.
16337 (xmalloc, xcalloc, xrealloc): Move declarations here.
16338 (cache_search): Adjust prototype.
16339 Add netgroup-related prototypes.
16340 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16341 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16342 (__nscd_innetgr): Declare.
16343 * nscd/selinux.c (perms): Use access_vector_t as element type and
16344 add netgroup-related initializers.
16345 * nscd/netgroupcache.c: New file.
16346 * nscd/nscd_netgroup.c: New file.
16347 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16348 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16349 For four parameters use innetgr.
16350 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16351 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16352 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16353 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16355 * nscd/connections.c (register_traced_file): Don't register file
16356 for disabled databases.
16358 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16360 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16362 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16363 from tree and freeing node.
16365 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16367 * nss/nsswitch.c (__nss_database_lookup): Handle
16368 nss_parse_service_list out of memory case.
16370 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16372 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16373 out of memory case.
16375 2011-10-04 Andreas Schwab <schwab@redhat.com>
16377 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16378 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16380 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16381 elf_machine_rela, elf_machine_lazy_rel.
16382 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16383 (ELF_DYNAMIC_DO_REL): Likewise.
16384 (ELF_DYNAMIC_DO_RELA): Likewise.
16385 (ELF_DYNAMIC_RELOCATE): Likewise.
16386 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16387 to ELF_DYNAMIC_DO_REL.
16388 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16389 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16390 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16393 skip_ifunc, don't call ifunc function if non-zero.
16394 (elf_machine_rela): Likewise.
16395 (elf_machine_lazy_rel): Likewise.
16396 (elf_machine_lazy_rela): Likewise.
16397 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16398 (elf_machine_lazy_rel): Likewise.
16399 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16401 (elf_machine_lazy_rel): Likewise.
16402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16404 (elf_machine_lazy_rel): Likewise.
16405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16406 (elf_machine_lazy_rel): Likewise.
16407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16408 (elf_machine_lazy_rel): Likewise.
16409 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16410 (elf_machine_lazy_rel): Likewise.
16411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16412 (elf_machine_lazy_rel): Likewise.
16413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16414 (elf_machine_lazy_rel): Likewise.
16415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16416 (elf_machine_lazy_rel): Likewise.
16418 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16420 * nss/nss_files/files-init.c (_nss_files_init): Use static
16421 initialization for all the *_traced_file variables.
16423 2011-09-28 Andreas Schwab <schwab@redhat.com>
16425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16427 2011-09-27 Roland McGrath <roland@hack.frob.com>
16430 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16432 2011-09-27 Andreas Schwab <schwab@redhat.com>
16434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16435 Reread the line before reparsing it.
16437 2011-09-26 Andreas Schwab <schwab@redhat.com>
16439 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16441 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16442 Maxim Kuvyrkov <maxim@codesourcery.com>
16443 Joseph Myers <joseph@codesourcery.com>
16445 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16446 if needed for __stack_chk_guard.
16448 2011-09-19 Roland McGrath <roland@hack.frob.com>
16450 * sysdeps/posix/spawni.c (script_execute): Always define it.
16451 It will be optimized away if unused.
16452 (maybe_script_execute): New function.
16453 (__spawni): Call it.
16455 * Makerules: Don't include tls.make.
16456 (config-tls): Always set to thread.
16457 * tls.make.c: File removed.
16459 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16461 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16462 * config.make.in (CPPFLAGS-config): New substituted variable.
16464 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16469 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16470 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16472 2011-09-15 Roland McGrath <roland@hack.frob.com>
16474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16475 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16477 (CALL_FAIL): Likewise.
16478 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16479 (CALL_FAIL): Macro removed.
16480 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16482 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16484 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16485 for __FINITE_MATH_ONLY__ == 1.
16487 2011-09-15 Andreas Schwab <schwab@redhat.com>
16489 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16490 __ieee754_sqrt instead of sqrt.
16491 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16492 __ieee754_sqrtf instead of sqrtf.
16493 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16494 __floorf instead of floorf.
16495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16496 __floorf, __truncf instead of floorf, truncf.
16498 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16500 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16502 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16503 __extern_always_inline.
16504 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16507 2011-09-14 Andreas Schwab <schwab@redhat.com>
16509 * elf/rtld.c (dl_main): Also relocate in dependency order when
16510 doing symbol dependency testing.
16512 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16515 Always define `refsym'.
16517 2011-09-13 Andreas Schwab <schwab@redhat.com>
16519 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16520 (__FD_ELT): Renamed from __FDELT.
16521 * misc/bits/select2.h (__FD_ELT): Likewise.
16522 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16523 __FD_MASK instead of __FDELT, __FDMASK.
16524 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16526 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16529 * elf/Makefile (gen-ldd): Fix pattern.
16531 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16532 (init_tls): Likewise.
16534 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16538 2011-09-12 Andreas Schwab <schwab@redhat.com>
16540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16541 `struct cmsghdr *' instead of `void *'.
16542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16545 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16547 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16549 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16550 ldd_rewrite_script.
16552 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16554 * configure.in: Remove --with-tls option.
16555 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16556 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16557 out in case it is missing.
16558 * sysdeps/ia64/elf/configure.in: Likewise.
16559 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16560 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16561 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16562 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16563 * sysdeps/sh/elf/configure.in: Likewise.
16564 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16566 * sysdeps/x86_64/elf/configure.in: Likewise.
16567 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16568 * sysdeps/mach/hurd/tls.h: Likewise.
16571 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16574 * configure.in: Fix use of AC_INIT.
16576 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16578 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16580 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16582 * malloc/hooks.c: Likewise.
16585 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16586 variables statically.
16587 (narenas): Initialize.
16588 (list_lock): Initialize.
16589 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16590 initializtion of main_arena and list_lock. Small cleanups.
16591 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16592 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16593 Add initializers to main_arena and mp_.
16594 (malloc_state): Remove pagesize member. Change all users to use
16597 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16598 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16599 is always initialized.
16601 * malloc/malloc.c: Removed unused configurations and dead code.
16602 * malloc/arena.c: Likewise.
16603 * malloc/hooks.c: Likewise.
16604 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16606 * include/tls.h: Removed. USE___THREAD must always be defined.
16607 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16608 * elf/dl-libc.c: Likewise.
16609 * elf/dl-tsd.c: Likewise.
16610 * include/errno.h: Likewise.
16611 * include/netdb.h: Likewise.
16612 * include/resolv.h: Likewise.
16613 * inet/herrno-loc.c: Likewise.
16614 * inet/herrno.c: Likewise.
16615 * malloc/arena.c: Likewise.
16616 * malloc/hooks.c: Likewise.
16617 * malloc/malloc.c: Likewise.
16618 * resolv/res-state.c: Likewise.
16619 * resolv/res_libc.c: Likewise.
16620 * sysdeps/i386/dl-machine.h: Likewise.
16621 * sysdeps/ia64/dl-machine.h: Likewise.
16622 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16623 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16624 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16625 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16626 * sysdeps/sh/dl-machine.h: Likewise.
16627 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16629 * sysdeps/unix/i386/sysdep.S: Likewise.
16630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16631 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16636 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16640 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16641 * sysdeps/x86_64/dl-machine.h: Likewise.
16642 * tls.make.c: Likewise.
16644 * configure.in: Remove --with-__thread option. Make tests for
16645 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16646 tls_model attribute fail if no support is available. Remove
16648 * Makeconfig: Adjust for dropped configure option. All features are
16650 * Makerules: Likewise.
16651 * Versions.def: Likewise.
16652 * argp/argp-fmtstream.c: Likewise.
16653 * argp/argp-fmtstream.h: Likewise.
16654 * argp/argp-help.c: Likewise.
16655 * assert/assert.c: Likewise.
16656 * config.h.in: Likewise.
16657 * config.make.in: Likewise.
16658 * configure: Likewise.
16659 * configure.in: Likewise.
16660 * csu/Versions: Likewise.
16661 * csu/init.c: Likewise.
16662 * elf/tst-audit2.c: Likewise.
16663 * elf/tst-tls10.c: Likewise.
16664 * elf/tst-tls10.h: Likewise.
16665 * elf/tst-tls11.c: Likewise.
16666 * elf/tst-tls12.c: Likewise.
16667 * elf/tst-tls14.c: Likewise.
16668 * elf/tst-tlsmod11.c: Likewise.
16669 * elf/tst-tlsmod12.c: Likewise.
16670 * elf/tst-tlsmod13.c: Likewise.
16671 * elf/tst-tlsmod13a.c: Likewise.
16672 * elf/tst-tlsmod14a.c: Likewise.
16673 * elf/tst-tlsmod15b.c: Likewise.
16674 * elf/tst-tlsmod16a.c: Likewise.
16675 * elf/tst-tlsmod16b.c: Likewise.
16676 * elf/tst-tlsmod7.c: Likewise.
16677 * elf/tst-tlsmod8.c: Likewise.
16678 * elf/tst-tlsmod9.c: Likewise.
16679 * gmon/gmon.c: Likewise.
16680 * grp/fgetgrent_r.c: Likewise.
16681 * grp/putgrent.c: Likewise.
16682 * hurd/fopenport.c: Likewise.
16683 * include/libc-symbols.h: Likewise.
16684 * include/tls.h: Likewise.
16685 * intl/gettextP.h: Likewise.
16686 * intl/loadinfo.h: Likewise.
16687 * locale/global-locale.c: Likewise.
16688 * locale/localeinfo.h: Likewise.
16689 * mach/devstream.c: Likewise.
16690 * malloc/arena.c: Likewise.
16691 * malloc/set-freeres.c: Likewise.
16692 * misc/err.c: Likewise.
16693 * misc/getttyent.c: Likewise.
16694 * misc/mntent_r.c: Likewise.
16695 * posix/getopt.c: Likewise.
16696 * posix/wordexp.c: Likewise.
16697 * pwd/fgetpwent_r.c: Likewise.
16698 * resolv/Versions: Likewise.
16699 * resolv/res_hconf.c: Likewise.
16700 * shadow/fgetspent_r.c: Likewise.
16701 * shadow/putspent.c: Likewise.
16702 * stdio-common/printf_fphex.c: Likewise.
16703 * stdio-common/tmpfile.c: Likewise.
16704 * stdlib/abort.c: Likewise.
16705 * stdlib/fmtmsg.c: Likewise.
16706 * sunrpc/auth_unix.c: Likewise.
16707 * sunrpc/clnt_perr.c: Likewise.
16708 * sunrpc/clnt_tcp.c: Likewise.
16709 * sunrpc/clnt_udp.c: Likewise.
16710 * sunrpc/clnt_unix.c: Likewise.
16711 * sunrpc/openchild.c: Likewise.
16712 * sunrpc/svc_simple.c: Likewise.
16713 * sunrpc/svc_tcp.c: Likewise.
16714 * sunrpc/svc_udp.c: Likewise.
16715 * sunrpc/svc_unix.c: Likewise.
16716 * sunrpc/xdr.c: Likewise.
16717 * sunrpc/xdr_array.c: Likewise.
16718 * sunrpc/xdr_rec.c: Likewise.
16719 * sunrpc/xdr_ref.c: Likewise.
16720 * sunrpc/xdr_stdio.c: Likewise.
16722 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16724 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16726 2011-07-03 Andreas Jaeger <aj@suse.de>
16728 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16729 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16730 regenerate with gen-libm-tests.pl.
16732 2010-05-12 Petr Baudis <pasky@suse.cz>
16735 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16736 around j0() zero points by switching to j1().
16737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16742 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16749 Patch in part by Pavel Roskin <proski@gnu.org>.
16752 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16754 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16755 Free memory block if necessary.
16758 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16759 be NULL. Don't lock in this case.
16761 2011-09-09 Roland McGrath <roland@hack.frob.com>
16763 * elf/elf.h (ELFOSABI_GNU): New macro.
16764 (ELFOSABI_LINUX): Define to that.
16766 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16768 * string/strncat.c (strncat): Undef the symbol in case it has been
16769 defined in bits/string.h.
16771 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16773 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16778 2011-08-17 Andreas Jaeger <aj@suse.de>
16780 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16782 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16783 Ian Lance Taylor <iant@google.com>
16785 * math/libm-test.inc (lround_test): New testcase.
16786 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16788 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16790 * Makefile: Remove support for automatic cvs check-ins.
16791 * Makerules: Likewise.
16792 * config.make.in: Likewise.
16793 * configure.in: Likewise.
16794 * intl/Makefile: Likewise.
16795 * locale/Makefile: Likewise.
16796 * po/Makefile: Likewise.
16797 * posix/Makefile: Likewise.
16798 * sysdeps/gnu/Makefile: Likewise.
16799 * sysdeps/mach/hurd/Makefile: Likewise.
16800 * sysdeps/sparc/sparc32/Makefile: Likewise.
16803 * posix/Makefile (bug-regex32-ENV): Define.
16804 Patch by John Stanley <jpsinthemix@verizon.net>.
16806 * misc/Makefile (headers): Add bits/select2.h.
16807 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16808 * misc/bits/select2.h: New file.
16809 * include/bits/select2.h: New file.
16810 * debug/Makefile (routines): Add fdelt_chk.
16811 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16812 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16814 * debug/fdelt_chk.c: New file.
16816 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16817 * wcsmbs/test-wmemcmp.c: Likewise.
16818 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16819 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16821 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16823 * string/Makefile (strop-tests): Add memcmp.
16824 * string/test-wmemcmp.c: New file.
16825 * string/test-memcmp.c: Add wmemcmp support.
16827 2011-09-08 Roland McGrath <roland@hack.frob.com>
16830 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16833 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16834 garbage value in a __mach_port_mod_refs call in the cases of the
16835 task-self and thread-self ports.
16837 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16839 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16841 2011-09-08 Andreas Schwab <schwab@redhat.com>
16843 * elf/dl-load.c (lose): Check for non-null L.
16845 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16847 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16849 * elf/dl-libc.c (dlerror_run): Pass back error code from
16853 * elf/dl-load.c (lose): Free l_origin if it is valid.
16855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16861 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16862 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16864 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16866 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16867 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16869 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16870 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16871 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16872 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16873 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16874 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16875 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16877 2011-08-15 Alan Modra <amodra@gmail.com>
16880 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16881 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16882 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16883 ppc_mcount to static-only-routines.
16884 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16886 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16887 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16889 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16891 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16892 for finite and infinity parameters.
16894 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16897 and add nop instructions for throughput optimization.
16898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16900 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16903 aligned copy for power7 with vector-scalar instructions.
16904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16906 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16911 2011-09-07 Andreas Schwab <schwab@redhat.com>
16914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16917 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16920 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16921 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16922 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16925 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16927 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16928 Forgot to demangle the pointer.
16930 * sysdeps/i386/sysdep.h: Define atom_text_section.
16931 * sysdeps/x86_64/sysdep.h: Likewise.
16932 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16933 section with atom_text_section.
16934 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16936 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16942 already be defined. Change to take two parameters and don't assign
16943 result to variable. Adjust all users.
16944 Define INTERNAL_GETTIME if not already defined.
16945 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16948 HAVE_CLOCK_GETTIME_VSYSCALL.
16949 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16952 gettimeofday vsyscall, just use time.
16954 2011-09-06 Andreas Schwab <schwab@redhat.com>
16956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16959 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16961 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16965 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16967 syscall if possible.
16969 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16971 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16972 e_ident. Don't pass to find_mapsXX.
16973 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16975 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16978 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16979 * sysdeps/x86_64/multiarch/strchr.S: Update.
16980 Check bit_slow_BSF bit.
16981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16982 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16983 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16985 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16988 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16990 (tryshell): Define.
16991 (__spawni): Change last parameter to be flag. Test
16992 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16993 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16994 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16995 * posix/spawni.c: Likewise.
16996 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16997 * posix/spawnp.c: Likewise. Change normal version to use
16998 SPAWN_XFLAGS_USE_PATH.
16999 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17000 SPAWN_XFLAGS_TRY_SHELL.
17003 * posix/glob.h: Remove gcc 1.x support.
17006 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17008 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17011 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17013 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17014 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17015 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17020 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17022 * sysdeps/x86_64/wcscmp.S: New file.
17024 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17025 wcscmp-c wcscmp-sse2
17026 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17027 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17029 * wcsmbs/wcscmp.c: Allow renaming.
17031 2011-09-05 David S. Miller <davem@davemloft.net>
17033 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17034 stack slot, rather than the struct return pointer slot.
17035 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17036 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17040 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17042 * po/ja.po: Update from translation team.
17045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17046 kernel in 64-bit binaries.
17048 2011-09-01 David S. Miller <davem@davemloft.net>
17050 * elf/elf.h (HWCAP_SPARC_*): Move to..
17051 * sysdeps/sparc/sysdep.h: this new file and add new values.
17052 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17053 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17054 _DL_HWCAP_COUNT to 24.
17055 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17057 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17058 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17059 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17061 instead of magic constants.
17062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17064 2011-08-31 David S. Miller <davem@davemloft.net>
17066 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17068 Reimplement to do errno handling inline.
17069 (SYSCALL_ERROR_HANDLER): New macro.
17070 (__SYSCALL_STRING): Do not do errno handling in asm.
17071 (__CLONE_SYSCALL_STRING): Delete.
17072 (__INTERNAL_SYSCALL_STRING): Delete.
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17074 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17075 (PSEUDO): Reimplement to do errno handling inline.
17076 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17077 (SYSCALL_ERROR_HANDLER): New macro.
17078 (__SYSCALL_STRING): Do not do errno handling in asm.
17079 (__CLONE_SYSCALL_STRING): Delete.
17080 (__INTERNAL_SYSCALL_STRING): Delete.
17081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17082 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17084 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17085 (inline_syscall*): Add 'err' argument.
17086 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17087 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17088 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17089 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17091 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17092 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17094 2011-08-30 Andreas Schwab <schwab@redhat.com>
17096 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17098 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17100 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17103 2011-08-24 David S. Miller <davem@davemloft.net>
17105 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17107 2011-08-24 Andreas Schwab <schwab@redhat.com>
17109 * elf/Makefile: Add rules to build and run unload8 test.
17110 * elf/unload8.c: New file.
17111 * elf/unload8mod1.c: New file.
17112 * elf/unload8mod1x.c: New file.
17113 * elf/unload8mod2.c: New file.
17114 * elf/unload8mod3.c: New file.
17116 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17119 2011-08-23 David S. Miller <davem@davemloft.net>
17121 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17122 subtract stack bias.
17123 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17124 %sp not %fp in calculations.
17125 (_JMPBUF_UNWINDS_ADJ): Likewise.
17127 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17128 (aio_suspend): Call it to force an exception region around the
17129 AIO_MISC_WAIT() invocation.
17131 2011-08-23 Andreas Schwab <schwab@redhat.com>
17133 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17136 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17138 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17140 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17141 and <dl-machine.h>.
17142 (Elf64_FuncDesc): Remove.
17144 2011-08-22 David S. Miller <davem@davemloft.net>
17146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17147 sigaltstack check, add missing cfi directives.
17148 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17149 missing cfi directives, and sigaltstack handling.
17151 2011-08-16 Andreas Schwab <schwab@redhat.com>
17154 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17155 object is seen twice.
17156 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17158 * elf/Makefile (distribute): Add tst-initorder2.c.
17159 (tests): Add tst-initorder2.
17160 (modules-names): Add tst-initorder2a tst-initorder2b
17161 tst-initorder2c tst-initorder2d. Add rules to build them.
17162 ($(objpfx)tst-initorder2.out): New rule.
17163 * elf/tst-initorder2.c: New file.
17164 * elf/tst-initorder2.exp: New file.
17166 2011-08-22 Andreas Schwab <schwab@redhat.com>
17168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17170 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17171 dependencies back to end of function.
17173 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17174 $(elfobjdir)/ld.so.
17176 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17179 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17181 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17182 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17183 of __vdso_gettimeofday.
17184 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17185 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17187 (_libc_vdso_platform_setup): Remove initialization of
17188 __vdso_gettimeofday and __vdso_time.
17190 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17192 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17193 and fgetc_unlocked.
17194 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17197 * elf/dl-open.c (add_to_global): Report additions to the global scope
17198 for LD_DEBUG=scopes.
17199 (dl_open_worker): Also print scope of newly loaded dependencies.
17200 (_dl_show_scope): Indicate if there is no scope.
17203 * stdio-common/Makefile (tests): Add bug24.
17204 * stdio-common/bug24.c: New file.
17206 2011-08-19 Andreas Jaeger <aj@suse.de>
17209 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17210 non-existant file when using close-on-exec mode.
17212 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17215 the very first instruction.
17217 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17218 the CFI state in the end.
17219 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17220 inclusion of dl-trampoline.h.
17221 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17223 2011-08-19 Andreas Schwab <schwab@redhat.com>
17225 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17226 expectations for long double.
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17229 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17231 2011-08-14 David S. Miller <davem@davemloft.net>
17233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17234 artificual limit depends upon the system page size.
17236 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17238 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17239 * resolv/Makefile: Define CFLAGS-libresolv.
17241 2011-08-17 Andreas Schwab <schwab@redhat.com>
17243 * nss/makedb.c (compute_tables): Make variables used in nested
17246 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17248 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17249 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17250 if buffer was too small.
17252 * elf/pldd.c (main): Attach to all threads in the process.
17253 Rewrite /proc handling to use *at functions.
17255 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17257 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17258 specifies first scope to show.
17259 (dl_open_worker): Update callers. Move printing scope of new
17260 object to before the relocation.
17261 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17262 * sysdeps/generic/ldsodefs.h: Update declaration.
17264 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17265 string for the scope number.
17267 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17269 * nscd/servicescache.c (cache_addserv): Make sure written is always
17272 2011-08-14 Roland McGrath <roland@hack.frob.com>
17274 * sysdeps/i386/i486/bits/atomic.h
17275 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17276 statement expression, so as to suppress "set but not used" warning.
17277 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17279 * string/strncat.c (STRNCAT): Use prototype definition.
17281 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17282 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17284 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17285 (localedef-modules): Add localedef.
17286 (locale-modules): Add locale.
17288 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17289 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17290 to avoid a warning.
17292 2011-08-14 David S. Miller <davem@davemloft.net>
17294 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17295 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17297 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17299 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17300 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17301 * elf/rtld.c (dl_main): Set l_name of vDSO.
17302 Call _dl_show_scope when DL_DEBUG_SCOPES.
17303 (process_dl_debug): Recognize scopes flag and also set it for all.
17304 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17305 Declare _dl_show_scope.
17307 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17308 (do_dlopen): Pass caller_dlopen to dl_open.
17309 (__libc_dlopen_mode): Initialize caller_dlopen.
17311 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17312 of libc. Make tolower call locale-independent. Optimize a bit by
17313 using isdigit instead of isalnum.
17314 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17316 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17318 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17319 was a dependency or dynamically loaded.
17321 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17323 * intl/l10nflist.c: Allow architecture-specific pop function.
17324 * sysdeps/x86_64/l10nflist.c: New file.
17326 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17329 2011-08-10 Andreas Schwab <schwab@redhat.com>
17331 * include/dirent.h: Add libc_hidden_proto for scandirat and
17332 scandirat64. Don't declare __scandirat64.
17333 * dirent/scandirat.c: Add libc_hidden_def.
17334 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17335 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17337 2011-08-10 David S. Miller <davem@davemloft.net>
17339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17345 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17347 * Versions.def [libc]: Add GLIBC_2.15.
17348 * dirent/Makefile (routines): Add scandirat and scandirat64.
17349 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17351 * dirent/dirent.h: Declare scandirat and scandirat64.
17352 * dirent/scandirat.c: New file.
17353 * dirent/scandirat64.c: New file.
17354 * sysdeps/wordsize-64/scandirat.c: New file.
17355 * sysdeps/wordsize-64/scandirat64.c: New file.
17356 * dirent/opendir.c: Define opendirat.
17357 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17359 * dirent/scandir64.c: Adjust for scandir.c change.
17360 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17361 __scandirat64, and __scandir_cancel_handler.
17362 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17363 additional parameter and use openat instead of open (outside of ld.so).
17364 Add new __opendir as wrapper around __opendirat.
17365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17366 here without requiring old scandirat implementation.
17368 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17370 * dirent/scandir.c (cancel_handler): Renamed to
17371 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17372 defined. Adjust users.
17373 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17376 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17378 * string/test-string.h (IMPL): Use __STRING to expand name and then
17381 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17384 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17386 * string/Makefile: Update.
17387 (strop-tests): Append strncat.
17388 * string/test-wcscmp.c: New file.
17389 New comprehensive test for wcscmp.
17390 * string/test-strcmp.c: Update.
17391 (WIDE): New define.
17393 2011-07-22 Andreas Schwab <schwab@redhat.com>
17395 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17398 2011-07-26 Andreas Schwab <schwab@redhat.com>
17400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17401 encoding to ACE if AI_IDN.
17403 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17406 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17408 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17410 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17411 Fix overflow bug in strncat.
17412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17414 * string/test-strncat.c: Update.
17415 Add new tests for checking overflow bugs.
17417 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17420 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17421 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17422 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17424 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17425 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17426 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17427 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17430 (USE_AS_STRCAT): Define.
17431 Add strcat and strncat support.
17432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17434 2011-07-25 Andreas Schwab <schwab@redhat.com>
17436 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17437 __n bigger than INT_MAX+1.
17438 (__strncmp_g): Likewise.
17440 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17442 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17443 * libio/stido.h: Likewise.
17445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17450 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17451 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17457 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17462 (_dl_x86_64_save_sse): Likewise.
17464 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17468 (_dl_x86_64_save_sse): Likewise.
17470 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17472 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17474 2011-07-21 Andreas Schwab <schwab@redhat.com>
17476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17478 (_dl_x86_64_save_sse): Use correct AVX check.
17480 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17482 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17483 bug in strncpy/strncat.
17484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17486 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17488 * string/tester.c (test_strcat): Add tests for different alignments
17489 of source and destination.
17490 (test_strncat): Likewise.
17492 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17495 * posix/glob.c (glob): Check passed in values before using them in
17496 expressions to avoid some overflows.
17497 (glob_in_dir): Likewise.
17500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17501 check for AVX enablement so that we don't crash with old kernels and
17503 * elf/tst-audit4.c: Add same checks here.
17504 * elf/tst-audit6.c: Likewise.
17506 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17508 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17510 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17512 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17514 * po/cs.po: Update from translation team.
17515 * po/bg.po: Likewise.
17517 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17519 * misc/sys/cdefs.h: Add support for const attribute.
17520 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17521 to gnu_dev_{major,minor,makedev} functions.
17523 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17525 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17527 2011-07-20 Andreas Schwab <schwab@redhat.com>
17529 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17532 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17535 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17536 register in order to avoid conflicts with the soft frame pointer
17537 being held in r11 when necessary.
17538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17539 (INTERNAL_VSYSCALL_NCS): Likewise.
17541 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17543 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17544 * elf/dl-fini.c (_dl_fini): Adjust caller.
17545 * elf/dl-close.c (_dl_close_worker): Likewise.
17546 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17548 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17550 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17551 "aux_cache->nlibs < 0".
17553 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17554 in the reload-count case.
17556 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17559 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17560 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17562 * sysdeps/x86_64/multiarch/strcat.S: New file.
17563 * sysdeps/x86_64/multiarch/strncat.S: New file.
17564 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17565 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17566 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17567 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17569 (USE_AS_STRCAT): Define.
17570 Add strcat and strncat support.
17571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17573 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17574 * string/strncat.c: Update.
17575 (USE_AS_STRNCAT): Define.
17576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17577 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17579 * sysdeps/x86_64/multiarch/init-arch.h
17580 (bit_Prefer_PMINUB_for_stringop): New.
17581 (index_Prefer_PMINUB_for_stringop): Likewise.
17582 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17583 bit_Prefer_PMINUB_for_stringop.
17585 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17587 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17589 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17590 of casting of buffer.
17591 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17592 buffer32 and buffer64.
17593 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17594 writes instead of casting of buffer.
17595 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17597 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17600 2011-07-19 Andreas Schwab <schwab@redhat.com>
17602 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17604 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17606 * nscd/nscd.c (termination_handler): Don't do anything for a database
17607 if it has not yet been initialized.
17609 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17611 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17613 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17615 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17617 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17619 * po/nl.po: Update from translation team.
17620 * po/sv.po: Likewise.
17622 2011-07-16 Roland McGrath <roland@hack.frob.com>
17624 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17625 now disallowed by GCC.
17627 * configure.in (use-default-link): Default to yes if a test -shared
17628 link meets our qualifications.
17629 * configure: Regenerated.
17631 * config.make.in (output-format): New variable.
17632 * configure.in: Check for ld --print-output-format support.
17633 * configure: Regenerated.
17634 * Makerules ($(common-objpfx)format.lds)
17635 [$(output-format) != unknown]: Just use $(output-format),
17636 instead of the linker-script munging.
17638 2011-07-14 Roland McGrath <roland@hack.frob.com>
17640 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17641 of $(common-objpfx)shlib.lds.
17642 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17644 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17645 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17647 * configure.in (-z relro check): Adjust test code to add a large
17648 writable data section after it.
17649 * configure: Regenerated.
17651 2011-07-11 Roland McGrath <roland@hack.frob.com>
17653 * configure.in (-z relro check): Fix test code to make the variable
17655 * configure: Regenerated.
17657 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17659 * nscd/nscd.h (struct traced_file): Define.
17660 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17661 elements. Add traced_files.
17662 (inotify_fd): Declare.
17663 (register_traced_file): Declare.
17664 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17665 (inotify_fd): Export.
17666 (resolv_conf_descr): Remove.
17667 (nscd_init): Move inotify descriptor creation to main.
17668 Don't register files for notification here.
17669 (register_traced_file): New function.
17670 (invalidate_cache): Don't use reset_res to determine whether to call
17671 res_init, go through the list of registered files.
17672 (main_loop_poll): The inotify descriptors are now stored in the
17673 structures for the traced files.
17674 (main_loop_epoll): Likewise
17675 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17676 to __nss_disable_nscd.
17677 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17678 for a database anymore. Check the records for all the registered
17680 * nss/Makefile (libnss_files-routines): Add files-init.
17681 (libnss_db-routines): Add db-init.
17682 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17683 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17684 * nss/nss_db/db-init.c: New file.
17685 * nss/nss_files/files-init.c: New file.
17686 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17687 __nss_lookup_function.
17688 (__nss_lookup_function): Call nss_load_library.
17689 (nss_load_all_libraries): New function.
17690 (__nss_disable_nscd): Take parameter with callback function for files
17691 to register. Set is_nscd. Load all the DSOs for the NSS modules
17692 used for the cached services.
17693 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17694 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17695 options for features to all the files in nscd.
17697 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17699 2011-07-10 Roland McGrath <roland@hack.frob.com>
17701 * csu/elf-init.c (__libc_csu_init): Comment typo.
17703 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17705 * po/pl.po: Update from translation team.
17706 * po/ja.po: Likewise.
17707 * po/ru.po: Likewise.
17708 * po/ko.po: Likewise.
17709 * po/fr.po: Likewise.
17711 2011-07-09 Roland McGrath <roland@hack.frob.com>
17713 * configure.in (.ctors/.dtors header and trailer check):
17714 Use an empirical test on a built program.
17715 * configure: Regenerated.
17717 * configure.in (-z relro check): Use an empirical test on a built DSO.
17718 Detect, but do not require, on ia64.
17719 * configure: Regenerated.
17721 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17722 Update tests that use readelf to use $READELF instead.
17723 * configure: Regenerated.
17725 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17727 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17728 if the result is not used.
17730 2011-07-05 Andreas Jaeger <aj@suse.de>
17733 * stdlib/tst-strtod.c: Add testcase.
17735 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17737 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17738 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17739 The latter has a higher limit. Take additional parameter to pass to
17741 (__pathconf): Pass file to __statfs_link_max.
17742 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17744 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17748 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17752 (__statfs_filesize_max): Likewise.
17753 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17755 2011-07-05 Andreas Jaeger <aj@suse.de>
17757 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17759 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17761 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17763 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17766 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17768 * Makefile (strop-tests): Add strncat.
17769 * string/test-strncat.c: New file.
17771 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17773 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17775 2011-06-21 Andreas Jaeger <aj@suse.de>
17777 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17778 Copy rule from iconvdata/Makefile.
17780 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17783 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17784 but no long options are defined, just return 'W'.
17786 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17789 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17791 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17793 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17795 (innetgr): Likewise.
17797 2011-07-05 Roland McGrath <roland@hack.frob.com>
17799 * config.make.in (install_root): Default to $(DESTDIR).
17801 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17805 2011-07-02 Roland McGrath <roland@hack.frob.com>
17807 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17809 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17810 containing directory rather than embedding absolute directory names.
17812 * scripts/check-local-headers.sh: Rewritten using awk.
17813 Match by word, not by line. Print error messages for matches.
17814 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17816 * Makerules [shlib-lds-flags empty]:
17817 ($(common-objpfx)libc_pic.opts): New target.
17818 ($(common-objpfx)libc_pic.os.clean): New target.
17819 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17821 * config.make.in (OBJCOPY): New variable.
17822 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17823 * configure: Regenerated.
17825 * config.make.in (use-default-link): New variable.
17826 * configure.in (use_default_link): Grok --with-default-link to set it.
17827 * configure: Regenerated.
17828 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17829 (shlib-lds, shlib-lds-flags): Define to empty.
17831 * Makerules (shlib-lds): New variable.
17832 (shlib-lds-flags): New variable.
17833 (build-shlib, build-moduile, build-module-asneeded): Use it.
17834 ($(common-objpfx)libc.so): Use $(shlib-lds).
17835 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17836 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17838 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17839 DT_FLAGS/DT_FLAGS_1 with zero flags.
17841 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17842 linker script munging.
17844 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17846 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17848 * crypt/sha512.c (sha512_process_block): Perform total addition using
17849 128-bit if possible.
17850 (__sha512_finish_ctx): Likewise.
17851 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17853 * crypt/sha256.c (SWAP64): Define.
17854 (sha256_process_block): Perform total addition using 64-bit if
17856 (__sha256_finish_ctx): Likewise.
17858 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17860 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17862 * nscd/hstcache.c (cache_addhst): Likewise.
17863 * nscd/grpcache.c (cache_addgr): Likewise.
17864 * nscd/aicache.c (addhstaiX): Likewise
17865 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17867 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17869 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17871 * nscd/hstcache.c (cache_addhst): Likewise.
17872 * nscd/grpcache.c (cache_addgr): Likewise.
17873 * nscd/aicache.c (addhstaiX): Likewise
17875 2011-07-01 Andreas Schwab <schwab@redhat.com>
17877 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17878 domain only when needed.
17880 2011-06-30 Andreas Schwab <schwab@redhat.com>
17882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17883 is always restored.
17885 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17887 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17888 are re-adding the entry.
17889 * nscd/servicescache.c (cache_addserv): Likewise.
17891 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17893 * sysdeps/generic/dl-irel.h: fix protection against multiple
17895 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17897 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17900 * malloc/memusage.sh: Fix quoting in message.
17901 * debug/xtrace.sh: Likewise.
17903 * configure.in: Remove support for --experimental-malloc option, make
17905 * config.make.in: Likewise.
17906 * malloc/Makefile: Likewise.
17908 2011-06-27 Andreas Schwab <schwab@redhat.com>
17910 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17911 two-byte characters.
17913 2011-06-27 Roland McGrath <roland@hack.frob.com>
17915 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17916 AC_CACHE_CHECK invocation.
17917 * configure: Regenerated.
17919 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17921 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17924 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17925 bit from old_res_options.
17927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17929 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17930 value type for setfct.
17932 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17935 __gettimeofday instead of gettimeofday.
17937 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17939 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17941 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17948 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17951 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17952 strcpy-sse2-unaligned strncpy-sse2-unaligned
17953 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17954 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17955 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17956 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17957 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17958 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17960 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17961 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17962 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17963 (STRCPY): Support SSE2 and SSSE3 versions.
17965 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17968 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17969 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17970 kernels which artificially limit size of requests.
17972 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17975 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17976 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17977 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17978 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17979 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17980 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17981 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17984 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17985 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17986 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17987 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17988 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17990 Enable unaligned load optimization for Intel Core i3, i5 and i7
17992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17994 (index_Fast_Unaligned_Load): Define.
17995 (HAS_FAST_UNALIGNED_LOAD): Define.
17997 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17999 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18001 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18005 until it is clear that the information is realy needed.
18006 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18008 2011-06-22 Andreas Schwab <schwab@redhat.com>
18010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18012 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18015 /sys/devices/system/cpu/online if it is usable.
18017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18018 reading the information from the /proc filesystem to once a second.
18020 2011-06-21 Andreas Jaeger <aj@suse.de>
18022 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18023 NULL after inclusion of kernel headers.
18025 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18027 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18028 calls to internal_setent.
18031 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18032 addresses using gethostbyname4_r ignore IPv4 addresses.
18034 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18035 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18037 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18039 2011-06-20 David S. Miller <davem@davemloft.net>
18041 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18043 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18045 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18046 (elf_irel): Use it.
18047 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18048 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18049 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18050 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18051 * sysdeps/x86_64/dl-irel.h: Likewise.
18053 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18054 * elf/dl-sym.c: Likewise.
18056 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18058 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18059 need to dereference resplen2.
18061 2011-06-14 Andreas Schwab <schwab@redhat.com>
18063 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18065 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18067 * Makeconfig: Define vardbdir and inst_vardbdir.
18068 * nss/Makefile: Add rules to install db-Makefile.
18070 * nss/nss_db/db-XXX.c: Cleanup.
18072 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18073 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18075 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18076 * nss/makedb.c: Implement -g option to specify that value strings
18077 are generated and should not be added to table iterated over for
18079 * nss/nss_db/db-initgroups.c: New file.
18081 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18084 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18085 (internal_getgrouplist): Adjust to name change.
18086 Update use_initgroups_entry if this is not the first call.
18087 * nss/databases.def: Add initgroups entry.
18089 * nss/makedb.c (compute_tables): Check result of multiple hash table
18090 sizes to minimize maximum chain length.
18092 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18094 * Versions.def: Add entry for libnss_db.
18095 * shlib-versions: Likewise.
18096 * nss/Makefile: Add rules to build libnss_db.
18097 * nss/Versions: Add libnss_db information. Organize libnss_files
18099 * nss/db-Makefile: Add gshadow support. Change rules for the new
18100 makedb progra. Some minor improvements to generate smaller files.
18101 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18103 * nss/makedb.c: ...here.
18104 Improve database format to be smaller and require less memory at
18106 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18108 * nss/nss_db/db-netgrp.c: Likewise.
18109 * nss/nss_db/db-open.c: Likewise.
18110 * nss/nss_files/flies-XXX.x: Adjust comments.
18111 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18112 * nss/nss_files/files-grp.c: Likewise.
18113 * nss/nss_files/files-hosts.c: Likewise.
18114 * nss/nss_files/files-network.c: Likewise.
18115 * nss/nss_files/files-proto.c: Likewise.
18116 * nss/nss_files/files-pwd.c: Likewise.
18117 * nss/nss_files/files-rpc.c: Likewise.
18118 * nss/nss_files/files-service.c: Likewise.
18119 * nss/nss_files/files-sgrp.c: Likewise.
18120 * nss/nss_files/files-spwd.c: Likewise.
18121 * nss/nss_db/db-alias.c: Removed.
18122 * nss/nss_db/dummy-db.h: Removed.
18124 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18126 * nss/makedb.c: Rewritten to not use database library.
18127 * nss/Makefile: Update to build new makedb program.
18129 2011-06-14 Andreas Jaeger <aj@suse.de>
18131 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18132 memset declaration.
18134 2011-06-10 Andreas Schwab <schwab@redhat.com>
18136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18139 2011-06-10 Roland McGrath <roland@hack.frob.com>
18141 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18142 * elf/Makefile ($(objpfx)ld.so): Likewise.
18144 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18145 Don't list ld.so twice in dependencies.
18147 * posix/bug-regex31.c: Include <stdlib.h>.
18149 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18151 * nis/nss_compat/compat-spwd.c
18152 (getspent_next_nss_netgr): Remove unused variable.
18153 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18155 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18156 nonmembers" output to use the right array.
18158 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18160 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18162 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18163 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18164 * catgets/gencat.c (read_input_file): Likewise.
18165 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18167 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18168 variable definition inside #if's controlling its use.
18170 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18172 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18174 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18176 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18179 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18181 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18182 * configure: Regenerated.
18184 * Makerules: Revert last change.
18185 * elf/Makefile: Likewise.
18187 2011-06-09 Roland McGrath <roland@hack.frob.com>
18189 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18190 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18191 (reloc-link): Likewise.
18193 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18195 * elf/Makefile: Add rules to build pldd.
18196 * elf/pldd.c: New file.
18197 * elf/pldd-xx.c: New file.
18199 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18201 * version.h: Update for 2.15 development version.
18203 2011-06-07 David S. Miller <davem@davemloft.net>
18205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18208 elf_machine_lazy_rel): Likewise.
18209 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18211 elf_machine_lazy_rel): Likewise.
18212 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18213 dl_hwcap via passed in argument.
18214 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18217 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18219 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18221 2011-06-06 Roland McGrath <roland@hack.frob.com>
18224 * manual/fdl-1.1.texi: New file, verbatim from:
18225 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18226 * manual/lgpl-2.1.texi: New file, verbatim from:
18227 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18228 * manual/Makefile (licenses): New variable, list those new file names.
18230 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18232 * manual/fdl.texi: File removed.
18233 * manual/lesser.texi: File removed.
18234 * manual/libc.texinfo (Copying, Documentation License):
18235 Use new @include file names, put @appendix directive before @include.
18237 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18240 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18241 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18242 (mq_open): Add __NTH.
18244 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18247 Assume Intel Core i3/i5/i7 processor if AVX is available.
18249 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18254 2011-05-31 Andreas Schwab <schwab@redhat.com>
18256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18257 memory. Use alloca_account. Fix memory leak when retrying.
18259 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18261 * version.h (RELEASE): Bump for 2.14 release.
18262 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18264 * config.make.in (RANLIB): Remove entry.
18266 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18268 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18269 (libc.pot): Work around missing support for .ksh extension in xgettext.
18272 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18273 if both request failed.
18274 (send_dg): In case of server errors clear resplen or *resplen2.
18277 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18278 when there are multiple maps.
18279 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18280 (_dl_fini): Remove test here.
18282 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18284 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18287 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18288 bit from old_res_options.
18289 (gaih_inet): Likewise.
18292 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18295 * resolv/res_init.c (res_setoptions): Make the code more compact.
18298 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18302 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18304 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18307 * malloc/malloc.h: Declare malloc hook variables as volatile.
18309 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18313 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18314 raise in the comment.
18315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18317 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18319 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18322 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18323 grow the buffers more if it already has to be sufficient.
18324 (build_wcs_upper_buffer): Likewise.
18325 * posix/regexec.c (check_matching): Likewise.
18326 (clean_state_log_if_needed): Likewise.
18327 (extend_buffers): Don't enlarge buffers beyond size of the input
18329 Patches mostly by Emil Wojak <emil@wojak.eu>.
18330 * posix/bug-regex32.c: New file.
18331 * posix/Makefile (tests): Add bug-regex32.
18333 * locale/findlocale.c (_nl_find_locale): Return right away if
18334 _nl_explode_name failed.
18335 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18337 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18339 * debug/xtrace.sh: Unify messages.
18340 * malloc/memusage.sh: Likewise.
18343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18344 time symbol from vDSO. Substitute with vsyscall if not available.
18345 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18348 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18349 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18350 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18351 Add sendmmsg and internal_sendmmsg.
18352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18353 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18354 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18356 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18357 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18360 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18363 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18364 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18370 * iconvdata/Makefile (tests): Add bug-iconv9.
18371 * iconvdata/bug-iconv9.c: New file.
18373 2011-05-27 Andreas Schwab <schwab@redhat.com>
18376 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18378 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18381 (struct user_regs_struct): Change intcs field back to cs.
18383 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18385 * po/ja.po: Update from translation team.
18387 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18390 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18393 2011-05-20 Andreas Schwab <schwab@redhat.com>
18395 * stdlib/longlong.h: Update from GCC.
18397 2011-05-23 Andreas Schwab <schwab@redhat.com>
18399 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18401 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18402 Add parameter name.
18403 (__sysconf): Pass it down.
18405 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18408 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18411 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18412 add in in __libc_use_alloca calls. Adjust callers.
18413 (glob): Use malloc in some situations.
18415 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18416 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18419 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18421 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18422 and CLOCK_BOOTTIME_ALARM.
18425 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18428 * string/_strerror.c (__strerror_r): Print negative errors as signed
18432 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18433 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18434 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18436 * configure.in: Fix typo in redirection and correct removal of test
18437 files in two cases.
18440 * locale/setlocale.c (new_composite_name): Fix test to check for
18441 identical name of all categories.
18444 * libio/filedoalloc.c (local_isatty): New function.
18445 (_IO_file_doallocate): Use local_isatty.
18446 * stdio-common/perror.c (perror): In case a new stream is used
18447 forward the stream error.
18448 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18451 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18456 * include/alloca.h (extend_alloca_account): Define.
18459 * posix/regex.h: Fix comments with documentation of user-accessible
18460 fields after compilation and describe correct free'ing of pattern
18461 after re_compile_pattern.
18462 Patch by Reuben Thomas <rrt@sc3d.org>.
18464 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18466 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18467 and -mno-altivec to prevent the compiler from using Altivec and/or
18468 VSX instructions when the corresponding registers are not available.
18470 2011-05-19 Andreas Schwab <schwab@redhat.com>
18472 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18474 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18476 * libio/freopen.c (freopen): Use __dup2, not dup2.
18477 * libio/freopen64.c (freopen64): Likewise.
18479 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18482 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18483 * math/Makefile (tests): Add test-powl.
18484 (CFLAGS-test-powl.c): Define.
18485 * math/test-powl.c: New file.
18487 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18489 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18491 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18494 * iconvdata/gb18030.c: Update to GB18020-2005.
18496 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18498 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18499 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18500 Patch by Aharon Robbins <arnold@skeeve.com>.
18503 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18507 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18508 through underflows.
18511 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18512 point to strings before performing equality test for error_one_per_line
18516 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18520 (struct user_fpregs_struct): Avoid __uint*_t types.
18523 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18524 symbol info. Use it instead of calling _dl_addr locally.
18525 (lock_and_info): New function.
18526 (tr_freehook): Call lock_and_info and pass symbol info as additional
18527 parameter to tr_where.
18528 (tr_mallochook): Likewise.
18529 (tr_reallochook): Likewise.
18530 (tr_memalignhook): Likewise.
18532 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18533 used and couldn't be at all thread-safe.
18535 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18537 * libio/freopen.c (freopen): Don't close old file descriptor
18538 before the new one is opened. Instead dup the new file descriptor
18539 to the old one after the new stream is created.
18540 * libio/freopen64.c (freopen64): Likewise.
18541 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18542 * libio/fileops.c (_IO_new_file_close_it): Handle new
18543 _IO_FLAGS2_NOCLOSE flag.
18544 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18545 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18546 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18547 _IO_FLAGS2_NOCLOSE flag.
18548 * include/unistd.h: Add hidden_proto for dup3.
18549 Define __have_dup3.
18550 * io/dup3.c: Define hidden symbol.
18551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18554 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18555 when an incomplete long option is used.
18556 * posix/tst-getopt_long1.c: New file.
18557 * posix/Makefile (tests): Add tst-getopt_long1.
18560 * scripts/config.guess: Update from autoconf-2.68.
18561 * scripts/config.sub: Likewise.
18564 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18566 (has_cpuclock): ...this. New function.
18567 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18568 macro here based on has_cpuclock code.
18571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18572 First byte (not low byte) is now always NUL.
18573 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18576 Use non-cancelable interfaces.
18579 * locale/iso-639.def: Add entry for Sorani.
18582 * include/stdlib.h: Move include protection to the right place.
18583 Define abort_msg_s. Declare __abort_msg with it.
18584 * stdlib/abort.c (__abort_msg): Adjust type.
18585 * assert/assert.c (__assert_fail_base): New function. Majority
18586 of code from __assert_fail. Allocate memory for __abort_msg with
18588 (__assert_fail): Now call __assert_fail_base.
18589 * assert/assert-perr.c: Remove bulk of implementation. Use
18590 __assert_fail_base.
18591 * include/assert.hL Declare __assert_fail_base.
18592 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18594 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18596 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18600 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18601 until all modules are registered in the DTV.
18602 * elf/Makefile: Add rules to build and run tst-tls19.
18603 * elf/tst-tls19.c: New file.
18604 * elf/tst-tls19mod1.c: New file.
18605 * elf/tst-tls19mod2.c: New file.
18606 * elf/tst-tls19mod3.c: New file.
18607 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18610 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18614 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18615 two-byte sequence errors.
18616 * iconvdata/Makefile (tests): Add bug-iconv8.
18617 * iconvdata/bug-iconv8.c: New file.
18620 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18623 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18626 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18627 (dummy_getcfa): New function.
18628 (init): Get _Unwind_GetCFA address, use dummy if not found.
18629 (backtrace_helper): In recursion check, also check whether CFA changes.
18630 (__backtrace): Completely initialize arg.
18632 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18633 storing incomplete byte sequence in state object. Avoid testing for
18634 guaranteed too small input if we know there is enough data available.
18636 2011-05-11 Andreas Schwab <schwab@redhat.com>
18638 * Makeconfig (+link-pie): Indent.
18639 * Rules (binaries-pie): Define if $(have-fpie) and
18641 (binaries-shared): Also filter out $(binaries-pie).
18642 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18643 * nscd/Makefile (others-pie): Add nscd.
18644 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18645 ($(objpfx)nscd): Remove command override.
18646 * login/Makefile (others-pie): Add pt_chown.
18647 ($(objpfx)pt_chown): Remove command override.
18648 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18649 remove command overrides.
18651 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18653 * libio/tst_putwc.c: Fix error messages.
18656 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18657 currently writing and seek to current position when not.
18658 * libio/Makefile (tests): Add bug-fclose1.
18659 * libio/bug-fclose1.c: New file.
18661 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18664 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18665 don't set DF_1_NODELETE here.
18666 (do_lookup_x): When entering new entry test for copy relocation
18667 and if necessary set DF_1_NODELETE flag.
18668 * elf/tst-unique4.cc: New file.
18669 * elf/tst-unique4.h: New file.
18670 * elf/tst-unique4lib.cc: New file.
18671 * elf/Makefile: Add rules to build and run tst-unique4.
18672 Patch by Piotr Bury <pbury@goahead.com>.
18674 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18677 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18680 * misc/mntent_r.c (addmntent): Flush the stream after the output
18683 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18684 (is_trusted_path_normalize): Skip initial colon. Append slash
18685 to empty buffer. Duplicate is_trusted_path code but allow
18686 constructed patch to be prefix.
18687 (is_dst): Allow $ORIGIN followed by /.
18688 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18689 Correct testing of result of is_trusted_path_normalize
18690 (decompose_rpath): Fix warning.
18692 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18695 * grp/initgroups.c (internal_getgrouplist): When we found the service
18696 list through the initgroups entry in nsswitch.conf do not always
18697 continue on a successful lookup. Don't always use the
18698 __nss_group_database value if it is set.
18699 * nss/nsswitch.conf (initgroups): Change action for successful db
18700 lookup to continue for compatibility.
18702 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18705 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18707 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18709 * iconvdata/tst-tables.sh: Likewise.
18710 * iconvdata/cp770.c: New file.
18711 * iconvdata/cp771.c: New file.
18712 * iconvdata/cp772.c: New file.
18713 * iconvdata/cp773.c: New file.
18714 * iconvdata/cp774.c: New file.
18715 * iconvdata/testdata/CP770: New file.
18716 * iconvdata/testdata/CP770..UTF8: New file.
18717 * iconvdata/testdata/CP771: New file.
18718 * iconvdata/testdata/CP771..UTF8: New file.
18719 * iconvdata/testdata/CP772: New file.
18720 * iconvdata/testdata/CP772..UTF8: New file.
18721 * iconvdata/testdata/CP773: New file.
18722 * iconvdata/testdata/CP773..UTF8: New file.
18723 * iconvdata/testdata/CP774: New file.
18724 * iconvdata/testdata/CP774..UTF8: New file.
18726 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18728 * iconvdata/gen-8bit-gap.sh: Likewise.
18729 * iconvdata/gen-8bit.sh: Likewise.
18731 * locale/iso-639.def: Add ary entry.
18734 * locale/C-translit.h.in: Add U20A1 transliteration.
18737 * locale/iso-639.def: Add wae entry.
18738 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18741 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18745 * locale/C-translit.h.in: Add entry for U20B9.
18746 Patch by pravin.d.s@gmail.com.
18748 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18751 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18752 ENAMETOOLONG use generic getcwd.
18753 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18754 in rtld. Use *stat64.
18755 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18756 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18757 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18758 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18759 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18760 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18761 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18762 __fstatat64 macros.
18763 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18764 * dirent/rewinddir.c: Add libc_hidden_def.
18765 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18766 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18768 * include/dirent.h (__alloc_dir): Add flags parameter.
18769 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18770 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18772 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18773 from fdopendir if O_CLOEXEC is already set.
18775 2011-03-15 Alan Modra <amodra@gmail.com>
18777 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18778 l_tls_firstbyte_offset non-zero. Save padding offset in
18779 l_tls_firstbyte_offset for later use.
18780 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18781 freeing static tls block.
18783 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18785 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18786 where #ifdef was intended. The intent is to prevent ARG_MAX from
18787 being defined by the kernel headers.
18789 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18792 * resolv/resolv.h: Define RES_NOTLDQUERY.
18793 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18794 no-tld-query and set RES_NOTLDQUERY.
18795 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18796 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18797 modern BIND to search name as TLD unless forbidden.
18799 2011-05-07 Petr Baudis <pasky@suse.cz>
18800 Ulrich Drepper <drepper@gmail.com>
18803 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18804 (is_trusted_path): ...to here.
18805 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18806 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18807 using is_trusted_path_normalize() in setuid scripts.
18809 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18811 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18812 __BEGIN/__END_DECLS.
18814 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18817 NSS_STATUS_NOTFOUND if no record was found.
18819 2011-05-05 Andreas Schwab <schwab@redhat.com>
18821 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18822 (headers-not-in-tirpc): Remove rpc/netdb.h
18823 * resolv/netdb.h: Revert last change.
18825 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18827 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18828 circular dependency between libgcc.a and libc.a.
18830 2011-05-05 Andreas Schwab <schwab@redhat.com>
18832 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18833 * nis/Makefile: Don't install rpcsvc/*.
18834 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18835 instead of <rpc/types.h>.
18836 (MAXHOSTNAMELEN): Define.
18838 2011-05-03 Andreas Schwab <schwab@redhat.com>
18840 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18842 2011-04-28 Maciej Babinski <mbabinski@google.com>
18845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18846 gethostbyname4_r when IPv6 results are possible.
18848 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18851 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18852 _PC_PIPE_BUF handling.
18854 2011-04-30 Bruno Haible <bruno@clisp.org>
18857 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18858 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18860 * inet/getnameinfo.c (getnameinfo): Likewise.
18862 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18864 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18865 to groups setting in database lookup.
18866 * nss/nsswitch.conf: Add initgroups entry.
18868 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18871 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18873 Patch by Eric Blake <eblake@redhat.com>.
18875 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18877 * sunrpc/Makefile (need-export-routines): Add svc_run.
18878 (routines): Remove svc_run.
18879 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18880 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18881 * sunrpc/svc_run.c (svc_run): Likewise.
18882 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18884 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18887 problem in reallocation in last patch.
18889 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18891 * sunrpc/Makefile: Move inclusion of Rules.
18893 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18895 * nss/nss_files/files-initgroups.c: New file.
18896 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18897 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18898 _nss_files_initgroups_dyn.
18900 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18902 * elf/elf.h (R_ARM_IRELATIVE): Define.
18904 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18906 * po/ru.po: Update from translation team.
18908 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18910 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18913 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18917 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18922 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18924 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18927 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18930 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18935 * stdlib/bug-getcontext.c: New file.
18936 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18938 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18940 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18941 instructions into .machine "z9-109".
18942 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18943 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18945 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18947 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18948 between environment variables and auxiliary vector.
18950 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18952 * Makefile: Add rules to build linkobj/libc.so.
18953 * include/libc-symbols.h: Define libc_hidden_nolink.
18954 * include/rpc/auth.h: Mark functions which are to be hidden.
18955 * include/rpc/auth_des.h: Likewise.
18956 * include/rpc/auth_unix.h: Likewise.
18957 * include/rpc/clnt.h: Likewise.
18958 * include/rpc/des_crypt.h: Likewise.
18959 * include/rpc/key_prot.h: Likewise.
18960 * include/rpc/pmap_clnt.h: Likewise.
18961 * include/rpc/pmap_prot.h: Likewise.
18962 * include/rpc/pmap_rmt.h: Likewise.
18963 * include/rpc/rpc_msg.h: Likewise.
18964 * include/rpc/svc.h: Likewise.
18965 * include/rpc/svc_auth.h: Likewise.
18966 * include/rpc/xdr.h: Likewise.
18967 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18968 * nss/Makefile: Likewise.
18969 * sunrpc/Makefile: Don't install headers. Build library with normal
18970 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18971 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18972 for the compat linking library. Remove use of INTDEF/INTUSE.
18973 * sunrpc/auth_none.c: Likewise.
18974 * sunrpc/auth_unix.c: Likewise.
18975 * sunrpc/authdes_prot.c: Likewise.
18976 * sunrpc/authuxprot.c: Likewise.
18977 * sunrpc/clnt_gen.c: Likewise.
18978 * sunrpc/clnt_perr.c: Likewise.
18979 * sunrpc/clnt_raw.c: Likewise.
18980 * sunrpc/clnt_simp.c: Likewise.
18981 * sunrpc/clnt_tcp.c: Likewise.
18982 * sunrpc/clnt_udp.c: Likewise.
18983 * sunrpc/clnt_unix.c: Likewise.
18984 * sunrpc/des_crypt.c: Likewise.
18985 * sunrpc/des_soft.c: Likewise.
18986 * sunrpc/get_myaddr.c: Likewise.
18987 * sunrpc/key_call.c: Likewise.
18988 * sunrpc/key_prot.c: Likewise.
18989 * sunrpc/netname.c: Likewise.
18990 * sunrpc/pm_getmaps.c: Likewise.
18991 * sunrpc/pm_getport.c: Likewise.
18992 * sunrpc/pmap_clnt.c: Likewise.
18993 * sunrpc/pmap_prot.c: Likewise.
18994 * sunrpc/pmap_prot2.c: Likewise.
18995 * sunrpc/pmap_rmt.c: Likewise.
18996 * sunrpc/publickey.c: Likewise.
18997 * sunrpc/rpc_cmsg.c: Likewise.
18998 * sunrpc/rpc_common.c: Likewise.
18999 * sunrpc/rpc_dtable.c: Likewise.
19000 * sunrpc/rpc_prot.c: Likewise.
19001 * sunrpc/rpc_thread.c: Likewise.
19002 * sunrpc/rtime.c: Likewise.
19003 * sunrpc/svc.c: Likewise.
19004 * sunrpc/svc_auth.c: Likewise.
19005 * sunrpc/svc_authux.c: Likewise.
19006 * sunrpc/svc_raw.c: Likewise.
19007 * sunrpc/svc_run.c: Likewise.
19008 * sunrpc/svc_simple.c: Likewise.
19009 * sunrpc/svc_tcp.c: Likewise.
19010 * sunrpc/svc_udp.c: Likewise.
19011 * sunrpc/svc_unix.c: Likewise.
19012 * sunrpc/svcauth_des.c: Likewise.
19013 * sunrpc/xcrypt.c: Likewise.
19014 * sunrpc/xdr.c: Likewise.
19015 * sunrpc/xdr_array.c: Likewise.
19016 * sunrpc/xdr_float.c: Likewise.
19017 * sunrpc/xdr_intXX_t.c: Likewise.
19018 * sunrpc/xdr_mem.c: Likewise.
19019 * sunrpc/xdr_rec.c: Likewise.
19020 * sunrpc/xdr_ref.c: Likewise.
19021 * sunrpc/xdr_sizeof.c: Likewise.
19022 * sunrpc/xdr_stdio.c: Likewise.
19024 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19027 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19028 * sysdeps/ia64/dl-tls.h: Likewise.
19029 * sysdeps/powerpc/dl-tls.h: Likewise.
19030 * sysdeps/s390/dl-tls.h: Likewise.
19031 * sysdeps/sh/dl-tls.h: Likewise.
19032 * sysdeps/sparc/dl-tls.h: Likewise.
19033 * sysdeps/x86_64/dl-tls.h: Likewise.
19034 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19036 2011-03-14 Andreas Schwab <schwab@redhat.com>
19038 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19039 rpath element also skip the following colon.
19040 (expand_dynamic_string_token): Add is_path parameter and pass
19041 down to DL_DST_REQUIRED and _dl_dst_substitute.
19042 (decompose_rpath): Call expand_dynamic_string_token with
19043 non-zero is_path. Ignore empty rpaths.
19044 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19047 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19052 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19055 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19056 Patch by Filipe David Manana <fdmanana@apache.org>.
19058 2011-04-07 Andreas Schwab <schwab@redhat.com>
19060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19061 Maintain aligned stack.
19062 (CHECK_RSP): Remove unused macro.
19064 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19066 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19069 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19071 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19073 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19075 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19078 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19079 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19080 * sysdeps/x86_64/memmove.c: New file.
19081 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19082 (memcpy): Renamed to ...
19083 (__new_memcpy): This.
19084 (memcpy): Provide GLIBC_2_14 memcpy.
19085 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19086 (memcpy): Provide GLIBC_2_2_5 memcpy.
19088 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19091 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19093 2011-03-30 Andreas Schwab <schwab@redhat.com>
19095 * misc/syncfs.c: New file.
19096 * misc/Makefile (routines): Add syncfs.
19097 * posix/unistd.h: Declare syncfs.
19098 * sysdeps/unix/syscalls.list: Add syncfs.
19100 2011-04-01 Andreas Schwab <schwab@redhat.com>
19102 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19109 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19122 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19123 sync_file_range.c with -fexceptions.
19124 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19125 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19126 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19127 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19128 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19129 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19131 sync_file_range as cancellation point
19132 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19133 now a wrapper around __call_sync_file_range with cancellation handling.
19134 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19135 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19136 function name to __call_sync_file_range.
19137 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19138 Add call_sync_file_range.
19140 2011-04-01 Andreas Schwab <schwab@redhat.com>
19142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19145 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19147 * iconv/iconv.h: Fix typo in comment.
19148 * io/fcntl.h: Likewise.
19149 * libio/stdio.h: Likewise.
19150 * posix/spawn.h: Likewise.
19151 * posix/unistd.h: Likewise.
19152 * stdlib/stdlib.h: Likewise.
19153 * time/time.h: Likewise.
19154 * wcsmbs/wchar.h: Likewise.
19156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19157 open_by_handle): Add.
19158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19159 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19160 Augment a few comments.
19161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19166 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19169 * io/fcntl.h (AT_EMPTY_PATH): Define.
19171 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19173 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19174 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19175 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19177 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19178 * Versions.def: Add GLIBC_2.14.
19179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19182 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19184 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19188 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19191 * string/test-strncmp.c (do_page_test): New function.
19192 (check2): Likewise.
19193 (test_main): Call check2.
19194 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19196 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19200 Handle cache information in CPU leaf 4.
19201 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19203 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19206 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19207 character representation.
19208 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19210 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19212 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19213 END(__isnan) to END(__isnanf) to match function entry point/label
19214 EALIGN(__isnanf,...).
19216 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19218 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19220 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19223 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19224 copy from the symbol referenced in the relocation to initialize the
19226 Patch by Piotr Bury <pbury@goahead.com>.
19227 * elf/Makefile: Add rules to build and tst-unique3.
19228 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19229 * elf/tst-unique3.cc: New file.
19230 * elf/tst-unique3.h: New file.
19231 * elf/tst-unique3lib.cc: New file.
19232 * elf/tst-unique3lib2.cc: New file.
19234 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19236 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19238 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19239 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19242 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19244 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19245 to-be-loaded object along a path to loader is ld.so.
19247 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19248 Ulrich Drepper <drepper@gmail.com>
19250 * sysdeps/x86_64/memset.S: After aligning destination, code
19251 branches to different locations depending on the value of
19252 misalignment, when multiarch is enabled. Fix this.
19254 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19256 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19257 Set _x86_64_preferred_memory_instruction for AMD processsors.
19258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19259 Set bit_Prefer_SSE_for_memop for AMD processors.
19261 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19263 * libio/fmemopen.c (fmemopen): Optimize a bit.
19265 2011-03-03 Andreas Schwab <schwab@redhat.com>
19267 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19269 2011-03-03 Roland McGrath <roland@redhat.com>
19271 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19273 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19275 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19276 __bzero_ultra1 instead of __memset_ultra1.
19278 2011-02-23 Andreas Schwab <schwab@redhat.com>
19279 Ulrich Drepper <drepper@gmail.com>
19282 * include/link.h (struct link_map): Add l_orig_initfini.
19283 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19284 returning unsuccessfully.
19285 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19286 close of a file loaded at startup, restore the original l_initfini
19288 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19289 list, store the pointer.
19290 * elf/Makefile ($(objpfx)noload-mem): New rule.
19291 (noload-ENV): Define.
19292 (tests): Add $(objpfx)noload-mem.
19293 * elf/noload.c: Include <memcheck.h>.
19294 (main): Call mtrace. Close all opened handles.
19296 2011-02-17 Andreas Schwab <schwab@redhat.com>
19299 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19300 dependencies are missing.
19302 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19304 Fix __if_freereq crash: Unlike the generic version which uses free,
19306 * sysdeps/mach/hurd/ifreq.h: New file.
19308 2011-01-27 Petr Baudis <pasky@suse.cz>
19309 Ulrich Drepper <drepper@gmail.com>
19312 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19313 to extend_alloca().
19314 * stdio-common/bug23.c: New file.
19315 * stdio-common/Makefile (tests): Add bug23.
19317 2010-09-28 Andreas Schwab <schwab@redhat.com>
19318 Ulrich Drepper <drepper@gmail.com>
19321 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19322 before performing relro protection. At old place add assertion
19323 to make sure nothing changed.
19325 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19326 Glauber de Oliveira Costa <glommer@gmail.com>
19328 * elf/elf.h: Add new ARM TLS relocs.
19330 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19333 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19335 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19337 * sysdeps/wordsize-64/tst-writev.c: New file.
19339 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19341 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19342 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19343 insns in _dl_start to prevent a TOC reference before relocs are
19346 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19349 * Makeconfig: Remove RANLIB definition.
19350 * Makerules: Don't use RANLIB.
19351 * aclocal.m4: Remove ranlib test.
19352 * configure.in: No need to check for ranlib.
19353 * elf/rtld-Rules: Don't use RANLIB.
19355 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19357 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19359 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19360 inclusion protection macro.
19362 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19363 SIGRTMIN and SIGRTMAX and print information in that case only when
19364 SIGRTMIN is defined.
19366 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19368 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19369 arginfo fn returning -1.
19371 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19372 and thousands string is zero terminated.
19374 2011-02-03 Andreas Schwab <schwab@redhat.com>
19376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19377 sysdeps/unix/sysv/linux/bits/socket.h.
19379 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19381 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19382 (__CPU_COUNT): Remove old macros.
19383 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19384 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19385 (__CPU_ALLOC, __CPU_FREE): Add macros.
19386 (__sched_cpualloc, __sched_cpufree): Add declarations.
19388 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19390 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19391 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19392 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19393 (readdhstai): Return value of addhstaiX call.
19394 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19395 (addgrbyX): Return value returned by cache_addgr.
19396 (readdgrbyname): Return value returned by addgrbyX.
19397 (readdgrbygid): Likewise.
19398 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19399 (addpwbyX): Return value returned by cache_addpw.
19400 (readdpwbyname): Return value returned by addhstbyX.
19401 (readdpwbyuid): Likewise.
19402 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19403 (addservbyX): Return value returned by cache_addserv.
19404 (readdservbyname): Return value returned by addservbyX:
19405 (readdservbyport): Likewise.
19406 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19407 (addhstbyX): Return value returned by cache_addhst.
19408 (readdhstbyname): Return value returned by addhstbyX.
19409 (readdhstbyaddr): Likewise.
19410 (readdhstbynamev6): Likewise.
19411 (readdhstbyaddrv6): Likewise.
19412 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19413 (readdinitgroups): Return value returned by addinitgroupsX.
19414 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19415 (prune_cache): Keep track of timeout value of re-added entries.
19416 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19417 * nscd/nscd.h: Adjust prototypes of readd* functions.
19419 2011-02-04 Roland McGrath <roland@redhat.com>
19421 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19422 (nis_stats): Likewise.
19423 * nis/nis_modify.c (nis_modify): Likewise.
19424 * nis/nis_remove.c (nis_remove): Likewise.
19425 * nis/nis_add.c (nis_add): Likewise.
19427 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19429 * posix/fnmatch_loop.c: Add some consts.
19431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19433 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19436 * config.make.in (config-cflags-novzeroupper): Define.
19437 * configure.in: Substitute libc_cv_cc_novzeroupper.
19438 * elf/Makefile (AVX-CFLAGS): Define.
19439 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19440 (CFLAGS-tst-auditmod4a.c): Likewise.
19441 (CFLAGS-tst-auditmod4b.c): Likewise.
19442 (CFLAGS-tst-auditmod6b.c): Likewise.
19443 (CFLAGS-tst-auditmod6c.c): Likewise.
19444 (CFLAGS-tst-auditmod7b.c): Likewise.
19445 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19447 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19449 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19450 function to the callback.
19451 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19453 2011-02-02 Andreas Schwab <schwab@redhat.com>
19455 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19458 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19461 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19463 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19465 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19468 * elf/Makefile: Add rules to build and run new test.
19469 * elf/tst-initorder.c: New file.
19470 * elf/tst-initorder.exp: New file.
19471 * elf/tst-initordera1.c: New file.
19472 * elf/tst-initordera2.c: New file.
19473 * elf/tst-initordera3.c: New file.
19474 * elf/tst-initordera4.c: New file.
19475 * elf/tst-initorderb1.c: New file.
19476 * elf/tst-initorderb2.c: New file.
19477 * elf/tst-order-a1.c: New file.
19478 * elf/tst-order-a2.c: New file.
19479 * elf/tst-order-a3.c: New file.
19480 * elf/tst-order-a4.c: New file.
19481 * elf/tst-order-b1.c: New file.
19482 * elf/tst-order-b2.c: New file.
19483 * elf/tst-order-main.c: New file.
19484 New test case by George Gensure <werkt0@gmail.com>.
19486 2010-10-01 Andreas Schwab <schwab@redhat.com>
19488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19489 decoding ACE if AI_CANONIDN.
19491 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19493 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19495 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19497 * version.h (RELEASE): Bump for 2.13 release.
19498 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19500 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19502 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19504 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19505 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19511 * posix/getconf.c: Update copyright year.
19512 * catgets/gencat.c: Likewise.
19513 * csu/version.c: Likewise.
19514 * debug/catchsegv.sh: Likewise.
19515 * debug/xtrace.sh: Likewise.
19516 * elf/ldconfig.c: Likewise.
19517 * elf/ldd.bash.in: Likewise.
19518 * elf/sprof.c (print_version): Likewise.
19519 * iconv/iconv_prog.c: Likewise.
19520 * iconv/iconvconfig.c: Likewise.
19521 * locale/programs/locale.c: Likewise.
19522 * locale/programs/localedef.c: Likewise.
19523 * malloc/memusage.sh: Likewise.
19524 * malloc/mtrace.pl: Likewise.
19525 * nscd/nscd.c (print_version): Likewise.
19526 * nss/getent.c: Likewise.
19528 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19529 PF_CAIF, and PF_ALG.
19530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19532 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19534 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19535 (modules-names): Use them.
19536 (ifunc-test-modules, ifunc-pie-tests): Define.
19537 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19538 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19539 (test-extras): Likewise.
19540 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19541 $(compile-command.c).
19542 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19543 (all-built-dso): Define.
19544 (check-textrel.out, check-execstack.out): Depend on it.
19546 * configure.in: Don't override --enable-multi-arch.
19548 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19551 * nscd/hstcache.c (tryagain): Define.
19552 (cache_addhst): Return tryagain not notfound for temporary errors.
19553 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19556 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19559 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19560 to make the syscall.
19561 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19564 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19565 and fall back to matching as normal character if the string ends before
19566 the matching ']' is found. This is what POSIX requires.
19567 * posix/testfnm.c: Adjust test result.
19568 * posix/globtest.sh: Adjust test result. Add new test.
19569 * posix/tst-fnmatch.input: Likewise.
19570 * posix/tst-fnmatch2.c: Add new test.
19572 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19574 * elf/Makefile (check-execstack): Revert last change. Depend on
19576 (check-execstack.h): New target.
19577 (generated): Add check-execstack.h.
19578 * elf/check-execstack.c: Include "check-execstack.h".
19579 (main): Revert last change.
19580 (handle_file): Return zero if GNU_STACK is absent and
19581 DEFAULT_STACK_PERMS doesn't include PF_X.
19583 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19585 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19586 in child fails because the descriptor is already closed.
19587 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19588 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19592 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19596 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19597 temporary buffer used to handle multi lookups locally.
19598 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19600 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19602 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19605 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19607 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19608 alignment for SSE2.
19610 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19613 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19614 characters. When rounding increased number of integer digits recompute
19616 * stdio-common/tst-grouping.c: New file.
19617 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19619 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19621 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19622 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19624 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19626 * bits/select.h: Likewise.
19628 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19630 * po/ja.po: Update from translation team.
19632 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19636 implementation just like for lxstat, fxstatat, et al.
19638 2010-12-27 Jim Meyering <meyering@redhat.com>
19641 * posix/regexec.c (build_trtable): Return failure indication upon
19642 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19644 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19647 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19648 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19653 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19656 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19657 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19659 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19661 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19662 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19663 script has SORT_BY_INIT_PRIORITY.
19664 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19665 NO_CTORS_DTORS_SECTIONS is defined.
19666 * elf/soinit.c: Likewise.
19667 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19668 NO_CTORS_DTORS_SECTIONS is defined.
19669 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19670 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19671 * sysdeps/sh/init-first.c: Likewise.
19672 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19674 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19676 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19677 always use the slow path.
19679 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19681 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19682 similar rule which adds the sysdep directories to the header search in
19683 order to pick up the correct platform stackinfo.h.
19684 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19685 perform test if it is, otherwise return successfully without testing.
19686 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19687 DEFAULT_STACK_PERMS define in stackinfo.h.
19688 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19689 defined in stackinfo.h.
19690 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19691 DEFAULT_STACK_PERMS defined in stackinfo.h.
19692 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19693 * sysdeps/ia64/stackinfo.h: Likewise.
19694 * sysdeps/s390/stackinfo.h: Likewise.
19695 * sysdeps/sh/stackinfo.h: Likewise.
19696 * sysdeps/sparc/stackinfo.h: Likewise.
19697 * sysdeps/x86_64/stackinfo.h: Likewise.
19698 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19699 PF_X for powerpc64. Retain PF_X for powerpc32.
19701 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19703 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19705 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19706 GETDENTS_64BIT_ALIGNED.
19708 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19710 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19712 2010-12-10 Andreas Schwab <schwab@redhat.com>
19714 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19717 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19718 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19720 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19721 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19723 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19726 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19729 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19731 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19733 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19735 * po/it.po: Update from translation team.
19737 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19742 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19744 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19746 2010-11-24 Andreas Schwab <schwab@redhat.com>
19748 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19750 (gaih_getanswer_slice): Likewise.
19752 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19756 2010-05-31 Petr Baudis <pasky@suse.cz>
19759 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19760 silently even in the chroot mode.
19762 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19764 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19765 last patch a bit. Pretty printing
19767 2010-05-31 Petr Baudis <pasky@suse.cz>
19770 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19771 initialization of skip_initgroups_dyn.
19773 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19778 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19780 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19782 2010-11-11 Andreas Schwab <schwab@redhat.com>
19784 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19785 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19786 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19787 ($(objpfx)tst-fnmatch-mem): New rule.
19788 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19789 * posix/tst-fnmatch.c (main): Call mtrace.
19791 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19794 Support Intel processor model 6 and model 0x2c.
19796 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19798 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19801 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19804 * string/test-strncasecmp.c (check_result): New function.
19805 (do_one_test): Use it.
19806 (check1): New function.
19807 (test_main): Use it.
19808 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19809 Support strcasecmp and strncasecmp.
19811 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19814 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19817 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19819 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19823 * sysdeps/x86_64/multiarch/bzero.S: New file.
19824 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19825 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19826 * sysdeps/x86_64/multiarch/memset.S: New file.
19827 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19829 Set bit_Prefer_SSE_for_memop for Intel processors.
19830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19832 (index_Prefer_SSE_for_memop): Define.
19833 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19835 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19837 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19840 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19843 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19844 (__x86_64_raw_data_cache_size_half): Likewise.
19845 (__x86_64_raw_shared_cache_size): Likewise.
19846 (__x86_64_raw_shared_cache_size_half): Likewise.
19848 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19849 (__x86_64_raw_data_cache_size_half): Likewise.
19850 (__x86_64_raw_shared_cache_size): Likewise.
19851 (__x86_64_raw_shared_cache_size_half): Likewise.
19852 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19853 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19854 and __x86_64_raw_shared_cache_size_half. Round
19855 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19856 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19857 to multiple of 256 bytes.
19859 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19863 of inacessible symlinks. Verify result of symlink before returning it.
19864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19865 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19867 2010-10-28 Erich Ritz <erichritz@gmail.com>
19869 * math/math.h (isinf): Fix typo in comment.
19871 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19873 * po/da.po: Update from translation team.
19875 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19877 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19878 is added to the list.
19880 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19881 Ulrich Drepper <drepper@gmail.com>
19883 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19884 the global list here. Move code to...
19885 (_dl_add_to_namespace_list): ...here. New function.
19886 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19887 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19888 * elf/dl-load.c (lose): Don't remove the element from the list.
19889 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19890 (_dl_map_object): Likewise.
19892 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19895 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19896 into all bytes of SSE register.
19897 Patch by Richard Li <richardpku@gmail.com>.
19899 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19902 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19905 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19907 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19908 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19909 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19915 2010-10-22 Andreas Schwab <schwab@redhat.com>
19917 * include/dlfcn.h (__RTLD_SECURE): Define.
19918 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19919 mode & __RTLD_SECURE instead.
19920 (open_path): Rename preloaded parameter to secure.
19921 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19922 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19923 * elf/dl-deps.c (openaux): Likewise.
19924 * elf/rtld.c (struct map_args): Remove is_preloaded.
19925 (map_doit): Don't use it.
19926 (dl_main): Likewise.
19927 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19928 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19930 2010-09-09 Andreas Schwab <schwab@redhat.com>
19932 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19933 (sysd-rules-targets): Remove duplicates.
19934 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19935 rtld-%.$o dependency.
19937 2010-10-18 Andreas Schwab <schwab@redhat.com>
19939 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19940 _dl_map_object do it.
19942 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19944 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19945 fast fma builtins, define the macros in the C99 standard.
19946 (FP_FAST_FMAF): Likewise.
19947 (FP_FAST_FMAL): Likewise.
19948 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19950 * bits/mathdef.h: Update copyright year.
19951 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19953 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19955 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19956 builtins, define the macros in the C99 standard.
19957 (FP_FAST_FMAF): Likewise.
19958 (FP_FAST_FMAL): Likewise.
19959 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19961 (FP_FAST_FMAF): Likewise.
19963 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19966 * math/libm-test.inc (fma_test): Some new testcases.
19967 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19969 y and infinite z. Do multiplication by C already in long double.
19970 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19972 y and infinite z. Do bitwise or of inexact bit into u.d.
19973 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19974 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19975 * sysdeps/i386/fpu/s_fma.S: Removed.
19976 * sysdeps/i386/fpu/s_fmal.S: Removed.
19978 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19981 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19983 computation is not scheduled after fetestexcept. Fix value
19984 of minimum denormal long double.
19986 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19989 * math/libm-test.inc (fma_test): Add some more tests.
19990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19993 2010-10-15 Andreas Schwab <schwab@redhat.com>
19995 * scripts/data/localplt-s390-linux-gnu.data: New file.
19996 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19998 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20001 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20002 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20004 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20006 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20008 if one of x and y is very large and the other is subnormal.
20009 * sysdeps/s390/fpu/s_fmaf.c: New file.
20010 * sysdeps/s390/fpu/s_fma.c: New file.
20011 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20012 * sysdeps/powerpc/fpu/s_fma.S: New file.
20013 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20014 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20015 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20017 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20020 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20023 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20024 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20025 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20026 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20027 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20028 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20030 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20033 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20034 * posix/bug-regex31.input: Add test case.
20036 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20038 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20039 * posix/bug-regex31.input: New file.
20042 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20043 (parse_sub_exp): Fix last change, use postorder.
20045 * posix/bug-regex31.c: New file.
20046 * posix/Makefile: Add rules to build and run bug-regex31.
20048 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20051 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20054 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20055 to have entries in sys_siglist.
20058 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20061 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20064 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20065 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20066 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20067 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20068 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20069 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20070 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20071 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20072 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20073 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20074 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20075 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20076 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20077 * math/ftestexcept.c (fetestexcept): Likewise.
20078 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20079 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20080 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20081 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20082 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20083 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20084 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20086 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20089 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20092 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20094 * string/bug-strstr1.c: New file.
20095 * string/Makefile: Add rules to build and run bug-strstr1.
20097 2010-10-05 Eric Blake <eblake@redhat.com>
20100 * string/str-two-way.h (two_way_long_needle): Always clear memory
20101 when skipping input due to the shift table.
20103 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20106 * malloc/mcheck.c: Handle large requests.
20109 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20110 for strncmp and strncasecmp.
20111 * string/stratcliff.c: Add tests for strcmp and strncmp.
20112 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20114 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20116 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20119 2010-09-30 Andreas Jaeger <aj@suse.de>
20121 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20122 (CGROUP_SUPER_MAGIC): Define.
20123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20124 Handle btrfs and cgroup file systems.
20125 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20128 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20130 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20131 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20133 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20136 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20137 trying to locate the ELF header.
20139 2010-09-27 Andreas Schwab <schwab@redhat.com>
20142 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20143 Mask out sign-bit copies when constructing f_fsid.
20145 2010-09-24 Petr Baudis <pasky@suse.cz>
20147 * debug/stack_chk_fail_local.c: Add missing licence exception.
20148 * debug/warning-nop.c: Likewise.
20150 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20153 implementing getdents64 using getdents syscall, set d_type if
20154 __ASSUME_GETDENTS32_D_TYPE.
20156 2010-09-16 Andreas Schwab <schwab@redhat.com>
20158 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20159 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20161 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20164 * posix/unistd.h: Undo change of feature selection for ftruncate from
20167 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20169 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20172 2010-09-20 Andreas Schwab <schwab@redhat.com>
20174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20176 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20178 2010-09-14 Andreas Schwab <schwab@redhat.com>
20180 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20181 variables after CHECK_SP call.
20182 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20184 2010-09-13 Andreas Schwab <schwab@redhat.com>
20185 Ulrich Drepper <drepper@redhat.com>
20187 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20188 re-relocationg ld.so.
20189 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20190 _dl_init_paths call.
20191 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20194 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20196 * resolv/res_init.c (__res_vinit): Count the default server we added.
20198 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20199 Ulrich Drepper <drepper@redhat.com>
20202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20203 (____longjmp_chk): Use %ebx for saving value across system call.
20206 2010-09-06 Andreas Schwab <schwab@redhat.com>
20208 * manual/Makefile: Don't mix pattern rules with normal rules.
20210 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20212 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20214 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20215 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20216 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20217 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20221 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20224 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20225 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20227 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20229 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20230 * sysdeps/x86_64/addmul_1.S: Likewise.
20231 * sysdeps/x86_64/lshift.S: Likewise.
20232 * sysdeps/x86_64/mul_1.S: Likewise.
20233 * sysdeps/x86_64/rshift.S: Likewise.
20234 * sysdeps/x86_64/sub_n.S: Likewise.
20235 * sysdeps/x86_64/submul_1.S: Likewise.
20237 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20239 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20240 Define __sched_param instead of SCHED_* and sched_param when
20241 <bits/sched.h> is included with __need_schedparam defined.
20242 * bits/sched.h [__need_schedparam]
20243 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20244 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20245 (__defined_schedparam): Define to 1.
20246 (__sched_param): New structure, identical to sched_param.
20247 (__need_schedparam): Undefine.
20249 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20251 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20252 (epoll_create1): Declare.
20254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20256 2010-08-31 Andreas Schwab <schwab@redhat.com>
20259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20260 shifting retval into place.
20262 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20264 * nis/rpcsvc/nis.h: Update copyright notice.
20265 * nis/rpcsvc/nis.x: Likewise.
20266 * nis/rpcsvc/nis_callback.h: Likewise.
20267 * nis/rpcsvc/nis_callback.x: Likewise.
20268 * nis/rpcsvc/nis_object.x: Likewise.
20269 * nis/rpcsvc/nis_tags.h: Likewise.
20270 * nis/rpcsvc/yp.h: Likewise.
20271 * nis/rpcsvc/yp.x: Likewise.
20272 * nis/rpcsvc/ypupd.h: Likewise.
20273 * nis/yp_xdr.c: Likewise.
20274 * nis/ypupdate_xdr.c: Likewise.
20276 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20277 mainly the body of pmap_getport. Add parameters to specify timeouts.
20278 (pmap_getport): Use __libc_rpc_getport.
20279 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20280 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20281 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20283 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20288 2010-08-27 Roland McGrath <roland@redhat.com>
20290 * sysdeps/i386/i686/multiarch/Makefile
20291 (CFLAGS-varshift.c): New variable.
20293 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20295 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20296 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20300 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20302 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20304 * sysdeps/x86_64/strlen.S: Unroll the loop.
20305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20306 strlen-sse2 strlen-sse2-bsf.
20307 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20308 __strlen_no_bsf if bit_Slow_BSF is set.
20309 (__strlen_sse42): Removed.
20310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20311 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20313 2010-08-25 Roland McGrath <roland@redhat.com>
20315 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20316 * sysdeps/x86_64/multiarch/varshift.c: New file.
20317 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20318 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20319 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20320 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20322 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20325 strlen-sse2 strlen-sse2-bsf.
20326 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20327 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20328 (__strlen_sse2): Removed.
20329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20332 bit_Slow_BSF for Atom.
20333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20334 (index_Slow_BSF): Define.
20335 (HAS_SLOW_BSF): Define.
20337 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20340 * resolv/res_init.c (__res_vinit): When no server address at all
20341 is given default to loopback.
20343 2010-08-24 Roland McGrath <roland@redhat.com>
20345 * configure.in: Remove config-name.h generation.
20346 * configure: Regenerated.
20347 * config-name.in: File removed.
20348 * scripts/config-uname.sh: New file.
20349 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20350 ($(objdir)config-name.h): New target.
20352 * sunrpc/rpc_parse.h: Avoid nested comment.
20354 2010-08-24 Richard Henderson <rth@redhat.com>
20355 Ulrich Drepper <drepper@redhat.com>
20356 H.J. Lu <hongjiu.lu@intel.com>
20358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20360 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20361 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20362 _mm_alignr_epi8 with _mm_loadu_si128.
20363 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20364 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20365 (__m128i_shift_right): Removed.
20366 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20367 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20368 * sysdeps/x86_64/multiarch/varshift.h: New file.
20369 * sysdeps/x86_64/multiarch/varshift.S: New file.
20371 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20373 * configure.in: Move assembler checks to before sysdep dir checking.
20375 2010-08-20 Petr Baudis <pasky@suse.cz>
20377 * LICENSES: Sync the sunrpc license.
20379 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20381 * sunrpc/auth_des.c: Update copyright notice once again.
20382 * sunrpc/auth_none.c: Likewise.
20383 * sunrpc/auth_unix.c: Likewise.
20384 * sunrpc/authdes_prot.c: Likewise.
20385 * sunrpc/authuxprot.c: Likewise.
20386 * sunrpc/bindrsvprt.c: Likewise.
20387 * sunrpc/clnt_gen.c: Likewise.
20388 * sunrpc/clnt_perr.c: Likewise.
20389 * sunrpc/clnt_raw.c: Likewise.
20390 * sunrpc/clnt_simp.c: Likewise.
20391 * sunrpc/clnt_tcp.c: Likewise.
20392 * sunrpc/clnt_udp.c: Likewise.
20393 * sunrpc/clnt_unix.c: Likewise.
20394 * sunrpc/des_crypt.c: Likewise.
20395 * sunrpc/des_soft.c: Likewise.
20396 * sunrpc/get_myaddr.c: Likewise.
20397 * sunrpc/getrpcport.c: Likewise.
20398 * sunrpc/key_call.c: Likewise.
20399 * sunrpc/key_prot.c: Likewise.
20400 * sunrpc/openchild.c: Likewise.
20401 * sunrpc/pm_getmaps.c: Likewise.
20402 * sunrpc/pm_getport.c: Likewise.
20403 * sunrpc/pmap_clnt.c: Likewise.
20404 * sunrpc/pmap_prot.c: Likewise.
20405 * sunrpc/pmap_prot2.c: Likewise.
20406 * sunrpc/pmap_rmt.c: Likewise.
20407 * sunrpc/rpc/auth.h: Likewise.
20408 * sunrpc/rpc/auth_unix.h: Likewise.
20409 * sunrpc/rpc/clnt.h: Likewise.
20410 * sunrpc/rpc/des_crypt.h: Likewise.
20411 * sunrpc/rpc/key_prot.h: Likewise.
20412 * sunrpc/rpc/netdb.h: Likewise.
20413 * sunrpc/rpc/pmap_clnt.h: Likewise.
20414 * sunrpc/rpc/pmap_prot.h: Likewise.
20415 * sunrpc/rpc/pmap_rmt.h: Likewise.
20416 * sunrpc/rpc/rpc.h: Likewise.
20417 * sunrpc/rpc/rpc_des.h: Likewise.
20418 * sunrpc/rpc/rpc_msg.h: Likewise.
20419 * sunrpc/rpc/svc.h: Likewise.
20420 * sunrpc/rpc/svc_auth.h: Likewise.
20421 * sunrpc/rpc/types.h: Likewise.
20422 * sunrpc/rpc/xdr.h: Likewise.
20423 * sunrpc/rpc_clntout.c: Likewise.
20424 * sunrpc/rpc_cmsg.c: Likewise.
20425 * sunrpc/rpc_common.c: Likewise.
20426 * sunrpc/rpc_cout.c: Likewise.
20427 * sunrpc/rpc_dtable.c: Likewise.
20428 * sunrpc/rpc_hout.c: Likewise.
20429 * sunrpc/rpc_main.c: Likewise.
20430 * sunrpc/rpc_parse.c: Likewise.
20431 * sunrpc/rpc_parse.h: Likewise.
20432 * sunrpc/rpc_prot.c: Likewise.
20433 * sunrpc/rpc_sample.c: Likewise.
20434 * sunrpc/rpc_scan.c: Likewise.
20435 * sunrpc/rpc_scan.h: Likewise.
20436 * sunrpc/rpc_svcout.c: Likewise.
20437 * sunrpc/rpc_tblout.c: Likewise.
20438 * sunrpc/rpc_util.c: Likewise.
20439 * sunrpc/rpc_util.h: Likewise.
20440 * sunrpc/rpcinfo.c: Likewise.
20441 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20442 * sunrpc/rpcsvc/key_prot.x: Likewise.
20443 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20444 * sunrpc/rpcsvc/mount.x: Likewise.
20445 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20446 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20447 * sunrpc/rpcsvc/rex.x: Likewise.
20448 * sunrpc/rpcsvc/rstat.x: Likewise.
20449 * sunrpc/rpcsvc/rusers.x: Likewise.
20450 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20451 * sunrpc/rpcsvc/spray.x: Likewise.
20452 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20453 * sunrpc/rtime.c: Likewise.
20454 * sunrpc/svc.c: Likewise.
20455 * sunrpc/svc_auth.c: Likewise.
20456 * sunrpc/svc_authux.c: Likewise.
20457 * sunrpc/svc_raw.c: Likewise.
20458 * sunrpc/svc_run.c: Likewise.
20459 * sunrpc/svc_simple.c: Likewise.
20460 * sunrpc/svc_tcp.c: Likewise.
20461 * sunrpc/svc_udp.c: Likewise.
20462 * sunrpc/svc_unix.c: Likewise.
20463 * sunrpc/svcauth_des.c: Likewise.
20464 * sunrpc/xcrypt.c: Likewise.
20465 * sunrpc/xdr.c: Likewise.
20466 * sunrpc/xdr_array.c: Likewise.
20467 * sunrpc/xdr_float.c: Likewise.
20468 * sunrpc/xdr_mem.c: Likewise.
20469 * sunrpc/xdr_rec.c: Likewise.
20470 * sunrpc/xdr_ref.c: Likewise.
20471 * sunrpc/xdr_sizeof.c: Likewise.
20472 * sunrpc/xdr_stdio.c: Likewise.
20474 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20477 2010-08-19 Andreas Schwab <schwab@redhat.com>
20479 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20481 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20483 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20486 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20487 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20488 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20489 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20490 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20492 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20493 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20494 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20495 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20496 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20498 2010-07-26 Anton Blanchard <anton@samba.org>
20500 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20501 * malloc/arena.c (heap_trim): Likewise.
20503 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20505 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20508 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20510 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20512 * sysdeps/i386/elf/Makefile: New file.
20514 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20516 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20517 from fanotify_init.
20518 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20521 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20523 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20525 * sysdeps/multiarch/strcmp.S: Likewise.
20527 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20530 strncase_l-nonascii.
20531 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20532 Add strncase_l-ssse3.
20533 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20534 * sysdeps/x86_64/strcmp.S: Likewise.
20535 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20536 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20537 * sysdeps/x86_64/strncase.S: New file.
20538 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20539 * sysdeps/x86_64/strncase_l.S: New file.
20540 * string/Makefile (strop-tests): Add strncasecmp.
20541 * string/test-strncasecmp.c: New file.
20543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20546 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20547 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20549 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20551 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20553 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20555 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20559 2010-05-01 Alan Modra <amodra@gmail.com>
20561 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20562 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20563 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20564 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20565 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20566 tidying. Don't tail-call __sigjmp_save for static lib.
20567 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20569 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20570 (CALL_MCOUNT): Add eh info, and nop after bl.
20571 (TAIL_CALL_SYSCALL_ERROR): New macro.
20572 (PSEUDO_RET): Use it.
20573 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20574 Correct save location of integer regs and cr.
20575 (_dl_profile_resolve): Correct cr save location. Delete nops
20576 after bl when SHARED. Reduce cfi size a little by better
20577 placement of cfi directives.
20578 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20579 make a stack frame. Instead use parm save area as a temp.
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20581 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20583 Don't make a stack frame for parent, use parm save area.
20584 Increase child stack frame to 112 bytes. Don't save unused reg,
20585 and adjust reg usage. Set up cfi on error recovery and
20586 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20588 (__makecontext): Add dummy nop after jump to exit.
20589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20590 Use correct parm save area and cr save, reduce stack frame.
20591 Correct cfi for possible PSEUDO_RET frame setup.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20593 Branch to local label emitted by PSEUDO_RET rather than
20596 2010-08-12 Andreas Schwab <schwab@redhat.com>
20599 * locale/programs/locale.c (print_assignment): New function.
20600 (show_locale_vars): Use it.
20602 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20604 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20606 (struct statfs64): Likewise.
20607 (_STATFS_F_FLAGS): Define.
20608 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20610 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20611 (ST_VALID): Define locally.
20612 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20613 __statvfs_getflags, use the provided value.
20614 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20615 __ASSUME_STATFS_F_FLAGS.
20617 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20619 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20620 Add sys/fanotify.h.
20621 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20622 fanotify_mask for GLIBC_2.13.
20623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20624 fanotify_init and fanotify_mark.
20625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20626 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20630 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20631 prlimit64 for GLIBC_2.13.
20632 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20638 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20642 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20645 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20646 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20648 * nss/Makefile: Add rules to build and run tst-nss-test1.
20649 * shlib-versions: Add entry for libnss_test1.
20650 * nss/nss_test1.c: New file.
20651 * nss/tst-nss-test1.c: New file.
20653 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20654 (__nss_configure_lookup): Set appropriate entry in
20655 __nss_configure_lookup to true.
20656 * nss/nsswitch.h: Define enum with indeces of databases in
20657 databases and __nss_database_custom arrays. Declare
20658 __nss_database_custom.
20659 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20660 to avoid using nscd when custom rules are installed.
20661 * nss/getXXbyYY_r.c: Likewise.
20662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20664 * nss/nss_files/files-parse.c: Whitespace fixes.
20666 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20669 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20670 * posix/fnmatch_loop.c: Likewise.
20672 2010-07-17 Andi Kleen <ak@linux.intel.com>
20674 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20675 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20676 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20677 * Versions.def [GLIBC_2.13]: Add.
20679 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20682 Also fail if tpwd after pwuid call is NULL.
20684 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20686 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20687 when converting to ms.
20689 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20691 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20692 EOPNOTSUPP errors with ENOTTY.
20693 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20694 EOPNOTSUPP errors with ENOTTY.
20696 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20698 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20699 Add strcasecmp_l-ssse3.
20700 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20702 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20703 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20706 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20708 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20710 * string/Makefile (strop-tests): Add strcasecmp.
20711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20712 strcasecmp_l-nonascii.
20713 (gen-as-const-headers): Add locale-defines.sym.
20714 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20715 * sysdeps/x86_64/strcasecmp.S: New file.
20716 * sysdeps/x86_64/strcasecmp_l.S: New file.
20717 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20718 * sysdeps/x86_64/locale-defines.sym: New file.
20719 * string/test-strcasecmp.c: New file.
20721 * string/test-strcasestr.c: Test both ends of the range of characters.
20722 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20724 2010-07-29 Roland McGrath <roland@redhat.com>
20727 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20729 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20731 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20734 2010-07-27 Andreas Schwab <schwab@redhat.com>
20736 * manual/memory.texi (Malloc Tunable Parameters): Document
20739 2010-07-26 Roland McGrath <roland@redhat.com>
20742 * configure.in (-fgnu89-inline check): Set and substitute
20743 gnu89_inline, not libc_cv_gnu89_inline.
20744 * configure: Regenerated.
20745 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20747 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20749 * string/test-strnlen.c: New file.
20750 * string/Makefile (strop-tests): Add strnlen.
20751 * string/tester.c (test_strnlen): Add a few more test cases.
20752 * string/tst-strlen.c: Better error reporting.
20754 * sysdeps/x86_64/strnlen.S: New file.
20756 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20758 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20759 lower-latency instructions.
20761 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20763 * string/test-strcasestr.c: New file.
20764 * string/test-strstr.c: New file.
20765 * string/Makefile (strop-tests): Add strstr and strcasestr.
20766 * string/str-two-way.h: Don't undefine MAX.
20767 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20769 2010-07-21 Andreas Schwab <schwab@redhat.com>
20771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20772 strcasestr-nonascii.
20773 (CFLAGS-strcasestr-nonascii.c): Define.
20774 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20776 Remove unused attribute.
20778 2010-07-20 Roland McGrath <roland@redhat.com>
20780 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20781 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20782 ld.so.cache was broken. With it, there is no way to disable dsocaps
20783 like LD_HWCAP_MASK can disable hwcaps.
20785 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20787 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20789 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20791 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20792 call in strcasestr.
20793 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20794 __strcasestr_sse42_nonascii.
20795 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20796 strcasestr-nonascii.c.
20797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20799 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20806 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20808 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20811 2010-07-06 Andreas Schwab <schwab@redhat.com>
20814 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20817 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20820 _PC_PIPE_BUF using F_GETPIPE_SZ.
20822 2010-07-05 Roland McGrath <roland@redhat.com>
20824 * manual/arith.texi (Rounding Functions): Fix rint description
20825 implicit in round description.
20827 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20829 * elf/Makefile: Fix linking for a few tests to make recent linker
20832 2010-06-30 Andreas Schwab <schwab@redhat.com>
20834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20835 $(common-objpfx)libc_nonshared.a.
20837 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20839 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20840 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20841 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20842 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20843 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20844 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20845 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20846 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20861 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20862 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20863 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20864 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20865 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20866 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20867 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20868 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20869 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20870 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20871 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20872 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20888 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20890 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20891 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20892 * string/memmove.c (memmove): Renamed to ...
20893 (MEMMOVE): ...this. Default to memmove.
20894 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20895 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20898 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20899 mempcpy-ssse3-back memmove-ssse3-back.
20900 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20903 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20904 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20905 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20906 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20907 * sysdeps/x86_64/multiarch/memmove.c: New file.
20908 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20909 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20910 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20911 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20912 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20915 (index_Fast_Copy_Backward): Define.
20916 (HAS_ARCH_FEATURE): Define.
20917 (HAS_FAST_REP_STRING): Define.
20918 (HAS_FAST_COPY_BACKWARD): Define.
20920 2010-06-21 Andreas Schwab <schwab@redhat.com>
20922 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20923 Restore proper fallback handling.
20925 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20928 * posix/group_member.c (__group_member): Correct checking loop.
20930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20931 OOM in getpwuid_r correctly. Return error number when the caller
20932 should return, otherwise -1.
20933 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20934 call returning > 0 value.
20935 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20937 2010-06-07 Andreas Schwab <schwab@redhat.com>
20939 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20940 libc_nonshared.a from targets in modules-names.
20942 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20944 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20947 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20949 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20950 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20954 2010-06-02 Andreas Schwab <schwab@redhat.com>
20956 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20958 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20960 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20969 2010-06-14 Roland McGrath <roland@redhat.com>
20971 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20973 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20975 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20976 __REDIRECT followed by __THROW.
20977 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20978 * posix/getopt.h (getopt): Likewise.
20980 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20982 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20983 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20984 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20986 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20987 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20989 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20993 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20997 Properly check family and model.
20999 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21001 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21003 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21005 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21007 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21009 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21012 2010-05-19 Andreas Schwab <schwab@redhat.com>
21014 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21017 2010-05-21 Andreas Schwab <schwab@redhat.com>
21019 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21020 and internal_recvmmsg.
21021 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21023 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21024 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21026 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21027 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21028 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21030 2010-05-20 Andreas Schwab <schwab@redhat.com>
21032 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21034 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21036 POWER7 optimizations.
21037 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21038 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21040 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21042 * version.h: Update for 2.13 development version.
21044 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21046 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21047 exceptions. Return 0.
21049 2010-05-07 Roland McGrath <roland@redhat.com>
21051 * elf/ldconfig.c (main): Add a const.
21053 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21055 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21056 (args_options): Add no-idn option.
21057 (ahosts_keys_int): Add idn_flags to ai_flags.
21058 (parse_option): Handle 'i' option to clear idn_flags.
21060 * malloc/malloc.c (_int_free): Possible race in the most recently
21061 added check. Only act on the data if no current modification
21064 See ChangeLog.17 for earlier changes.