1 2012-09-28 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5 2012-09-28 Roland McGrath <roland@hack.frob.com>
7 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10 * sysdeps/gnu/_G_config.h: Moved to ...
11 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13 * sysdeps/generic/_G_config.h: ... here.
15 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20 Conditionalize target on [libnss_test1.so-version].
22 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25 (elfobjdir): Move out of conditionals.
27 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29 (__nss_lookup_function): Conditionalize label remove_from_tree on
30 [!DO_STATIC_NSS || SHARED], matching its only use.
32 2012-09-28 David S. Miller <davem@davemloft.net>
34 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41 when HWCAP_SPARC_CRYPTO is present.
43 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45 * io/tst-mknodat.c: Create a FIFO instead of a socket.
47 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
50 * stdio-common/vfprintf.c (process_string_arg): Revert
53 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
55 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57 * stdio-common/tst-sprintf.c: Include <locale.h>
58 (main): Test sprintf's handling of incomplete multibyte
61 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
63 * elf/dl-runtime.c (VERSYMIDX): Removed.
64 * elf/dl-version.c (VERSYMIDX): Likewise.
65 * elf/do-rel.h (VERSYMIDX): Likewise.
67 * elf/dynamic-link.h (VERSYMIDX): Likewise.
68 * elf/rtld.c (VALIDX): Likewise.
70 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
79 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
81 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
84 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
86 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
87 addresses are in the same scope as 192.0.2/24.
88 * posix/gai.conf: Document new scope table defaults.
90 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
93 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
94 for ftell. Compute offsets from write pointers instead.
95 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
97 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
100 * libio/Makefile (tests): New test case tst-fseek.
101 * libio/tst-fseek.c: New test case to verify that fseek/ftell
102 combination works in wide mode.
103 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
104 state when the external buffer state changes.
106 2012-09-27 David S. Miller <davem@davemloft.net>
109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
110 pass reloc->r_addend in as the 'high' argument to
111 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
115 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
117 * rt/tst-aio2.c: Include <pthread.h>.
118 * rt/tst-aio3.c: Likewise.
120 2012-09-27 Steve Ellcey <sellcey@mips.com>
122 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
124 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
126 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
127 contents on [SHARED].
129 2012-09-26 Marek Polacek <polacek@redhat.com>
133 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
134 for C++ and GCC <4.3 as well as for non GCC compilers.
136 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
140 2012-09-25 Roland McGrath <roland@hack.frob.com>
142 * Makefile.in (all, install): Declare with .PHONY.
143 Reported by Michael Hope <michael.hope@linaro.org>.
145 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
147 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
148 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
150 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
152 (sydep_routines): Add the new and the internal functions.
153 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
154 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
156 (GLIBC_2.17): Add the new function.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
158 (GLIBC_2.17): Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
160 (GLIBC_2.17): Likewise.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
162 (GLIBC_2.17): Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
165 2012-09-25 Alan Modra <amodra@gmail.com>
167 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
168 Add release barrier before setting once_control to say
169 initialisation is done. Add hints on lwarx. Use macro in
171 (clear_once_control): Add release barrier.
173 2012-09-25 Joseph Myers <joseph@codesourcery.com>
176 * math/s_clog.c (__clog): Handle more values close to |z| = 1
178 * math/s_clog10.c (__clog10): Likewise.
179 * math/s_clog10f.c (__clog10f): Likewise.
180 * math/s_clog10l.c (__clog10l): Likewise.
181 * math/s_clogf.c (__clogf): Likewise.
182 * math/s_clogl.c (__clogl): Likewise.
183 * math/Makefile (libm-calls): Add x2y2m1.
184 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
185 (__x2y2m1): Likewise.
186 (__x2y2m1l): Likewise.
187 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
188 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
189 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
190 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
191 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
192 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
193 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
194 * sysdeps/i386/fpu/libm-test-ulps: Update.
195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
198 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
199 int as type of variable DEPTH.
200 (glob): Use size_t instead of int as type of variables NEWCOUNT
203 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
205 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
207 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
208 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
209 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
210 macros for using routine as __sincosf_ia32.
211 Use macro for function declaration and weak_alias.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
217 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
219 * math/s_cexpf.c (__cexpf): Likewise.
220 * math/s_csinf.c (__csinf): Likewise.
221 * math/s_csinhf.c (__csinhf): Likewise.
222 * math/s_ctanf.c (__ctanf): Likewise.
223 * math/s_ctanhf.c (__ctanhf): Likewise.
224 * math/s_ccosh.c (__ccoshf): Likewise.
225 * math/s_cexp.c (__cexpl): Likewise.
226 * math/s_csin.c (__csin): Likewise.
227 * math/s_csinh.c (__csinh): Likewise.
228 * math/s_ctan.c (__ctan): Likewise.
229 * math/s_ctanh.c (ctanh): Likewise.
230 * math/s_ccoshl.c (__ccoshl): Likewise.
231 * math/s_cexpl.c (__cexpl): Likewise.
232 * math/s_csinl.c (__csinl): Likewise.
233 * math/s_csinhl.c (__csinhl): Likewise.
234 * math/s_ctanl.c (__ctanl): Likewise.
235 * math/s_ctanhl.c (__ctanhl): Likewise.
237 2012-09-25 Joseph Myers <joseph@codesourcery.com>
239 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
240 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
241 (_IO_off_t): Define to __off_t, not _G_off_t.
242 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
243 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
244 (_IO_wint_t): Define to wint_t, not _G_wint_t.
245 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
246 type of __dummy and __dummy2 fields.
247 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
248 (_G_ssize_t): Likewise.
249 (_G_off_t): Likewise.
250 (_G_pid_t): Likewise.
251 (_G_uid_t): Likewise.
252 (_G_wchar_t): Likewise.
253 (_G_wint_t): Likewise.
254 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
255 (_G_ssize_t): Likewise.
256 (_G_off_t): Likewise.
257 (_G_pid_t): Likewise.
258 (_G_uid_t): Likewise.
259 (_G_wchar_t): Likewise.
260 (_G_wint_t): Likewise.
261 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
262 (_G_ssize_t): Likewise.
263 (_G_off_t): Likewise.
264 (_G_pid_t): Likewise.
265 (_G_uid_t): Likewise.
266 (_G_wchar_t): Likewise.
267 (_G_wint_t): Likewise.
269 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
271 * malloc/arena.c: Include malloc-sysdep.h.
272 (shrink_heap): Use check_may_shrink_heap to decide if madvise
273 is sufficient to shrink the heap or an unmap is needed.
274 * sysdeps/generic/malloc-sysdep.h: New file. Define
275 new function check_may_shrink_heap.
276 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
277 new function check_may_shrink_heap.
279 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
281 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
284 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
286 * catgets/test-gencat.sh: Add "set -e".
287 * elf/tst-pathopt.sh: Likewise.
288 * grp/tst_fgetgrent.sh: Likewise.
289 * iconvdata/run-iconv-test.sh: Likewise.
290 * intl/tst-gettext.sh: Likewise.
291 * intl/tst-gettext2.sh: Likewise.
292 * intl/tst-gettext4.sh: Likewise.
293 * intl/tst-gettext6.sh: Likewise.
294 * intl/tst-translit.sh: Likewise.
295 * io/ftwtest-sh: Likewise.
296 * libio/test-freopen.sh: Likewise.
297 * malloc/tst-mtrace.sh: Likewise.
298 * posix/globtest.sh: Likewise.
299 * posix/tst-getconf.sh: Likewise.
300 * posix/wordexp-tst.sh: Likewise.
301 * stdio-common/tst-printf.sh: Likewise.
302 * stdio-common/tst-unbputc.sh: Likewise.
303 * stdlib/tst-fmtmsg.sh: Likewise.
304 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
305 * catgets/Makefile: Do not specify -e option when running
306 testsuite shell scripts.
307 * elf/Makefile: Likewise.
308 * grp/Makefile: Likewise.
309 * iconvdata/Makefile: Likewise.
310 * intl/Makefile: Likewise.
311 * io/Makefile: Likewise.
312 * libio/Makefile: Likewise.
313 * malloc/Makefile: Likewise.
314 * posix/Makefile: Likewise.
315 * stdio-common/Makefile: Likewise.
316 * stdlib/Makefile: Likewise.
317 * sysdeps/x86_64/Makefile: Likewise.
319 * io/ftwtest-sh: Add copyright header.
320 * posix/globtest.sh: Likewise.
321 * posix/tst-getconf.sh: Likewise.
322 * posix/wordexp-tst.sh: Likewise.
323 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
325 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
328 * Makeconfig (+link): Defined as $(+link-static) if
329 $(build-shared) isn't yes.
330 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
332 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
334 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
337 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
338 new chunk size with MALLOC_ALIGN_MASK.
340 2012-09-24 Joseph Myers <joseph@codesourcery.com>
343 * stdio-common/printf_fphex.c: Include <stdbool.h> and
345 (__printf_fphex): Determine rounding using get_rounding_mode and
347 * stdio-common/tst-printf-round.c (struct hex_test): New
349 (hex_tests): New variable.
350 (test_hex_in_one_mode): New function.
351 (do_test): Also run tests for hex float output.
353 2012-09-21 Joseph Myers <joseph@codesourcery.com>
355 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
356 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
357 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
358 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
359 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
360 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
361 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
364 2012-09-20 Joseph Myers <joseph@codesourcery.com>
366 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
367 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
368 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
369 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
371 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
374 * elf/rtld.c (dl_main): Limit the check for self loading to normal
376 * elf/tst-rtld-load-self.sh: New test.
377 * elf/Makefile: Run it.
379 2012-09-18 Joseph Myers <joseph@codesourcery.com>
381 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
382 (tst-writev-ENV): Remove.
383 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
385 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
387 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
389 2012-09-17 Joseph Myers <joseph@codesourcery.com>
391 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
393 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
395 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
396 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
400 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
403 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
404 * config.make.in (have-cpp-asm-debuginfo): Removed.
405 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
406 * configure: Regenerated.
408 2012-09-14 Joseph Myers <joseph@codesourcery.com>
411 * stdio-common/printf_fp.c: Include <stdbool.h> and
413 (___printf_fp): Determine rounding using get_rounding_mode and
415 * stdio-common/tst-printf-round.c: New file.
416 * stdio-common/Makefile (tests): Add tst-printf-round.
417 (link-libm): New variable.
418 ($(objpfx)tst-printf-round): Depend in $(link-libm).
420 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
423 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
424 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
426 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
429 2012-09-13 Joseph Myers <joseph@codesourcery.com>
431 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
432 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
433 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
436 2012-09-12 Joseph Myers <joseph@codesourcery.com>
439 * include/rounding-mode.h: New file.
440 * sysdeps/generic/get-rounding-mode.h: Likewise.
441 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
442 * stdlib/strtod_l.c: Include <rounding-mode.h>.
443 (MAX_VALUE): New macro.
444 (MIN_VALUE): Likewise.
445 (overflow_value): New function.
446 (underflow_value): Likewise.
447 (round_and_return): Use overflow_value and underflow_value to
448 determine return values in overflow and underflow cases. Use
449 round_away to determine rounding depending on rounding mode.
450 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
451 determine return values in overflow and underflow cases.
452 * stdlib/tst-strtod-round.c: Include <fenv.h>.
453 (struct test_results): New structure.
454 (struct test): Use struct test_results to store expected results
455 for all rounding modes.
456 (TEST): Include expected results for all rounding modes.
457 (test_in_one_mode): New function.
458 (do_test): Use test_in_one_mode to compute and check results.
459 Check results for all rounding modes.
460 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
463 2012-12-09 Allan McRae <allan@archlinux.org>
465 * sysdeps/i386/fpu/libm-test-ulps: Update
467 2012-09-11 Joseph Myers <joseph@codesourcery.com>
469 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
470 (_G_int32_t): Likewise.
471 (_G_uint16_t): Likewise.
472 (_G_uint32_t): Likewise.
473 (_G_HAVE_BOOL): Likewise.
474 (_G_HAVE_ATEXIT): Likewise.
475 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
476 (_G_HAVE_IO_FILE_OPEN): Likewise.
477 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
478 (_G_int32_t): Likewise.
479 (_G_uint16_t): Likewise.
480 (_G_uint32_t): Likewise.
481 (_G_HAVE_BOOL): Likewise.
482 (_G_HAVE_ATEXIT): Likewise.
483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
484 (_G_HAVE_IO_FILE_OPEN): Likewise.
485 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
486 (_G_int32_t): Likewise.
487 (_G_uint16_t): Likewise.
488 (_G_uint32_t): Likewise.
489 (_G_HAVE_BOOL): Likewise.
490 (_G_HAVE_ATEXIT): Likewise.
491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
492 (_G_HAVE_IO_FILE_OPEN): Likewise.
494 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
496 * csu/libc-tls.c: Update copyright years.
498 2012-09-10 Joseph Myers <joseph@codesourcery.com>
500 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
501 [!_G_USING_THUNKS]: Remove conditional code.
502 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
503 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
505 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
506 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
507 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
508 (_G_VTABLE_LABEL_PREFIX): Likewise.
509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
510 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
511 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
512 (_G_VTABLE_LABEL_PREFIX): Likewise.
513 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
514 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
515 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
516 (_G_VTABLE_LABEL_PREFIX): Likewise.
517 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
519 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
521 * libio/Makefile: Include ../Makeconfig before tests.
522 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
523 only if $(build-shared) is yes.
525 * iconv/gconv_db.c: Update copyright years.
527 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
530 unwind info if defined PIC. Fix special cases description.
531 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
533 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
535 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
537 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
539 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
541 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
544 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
545 (LDLIBS-tst-chk4): This.
546 (LDFLAGS-tst-chk5): Renamed to ...
547 (LDLIBS-tst-chk5): This.
548 (LDFLAGS-tst-chk6): Renamed to ...
549 (LDLIBS-tst-chk6): This.
550 (LDFLAGS-tst-lfschk4): Renamed to ...
551 (LDLIBS-tst-lfschk4): This.
552 (LDFLAGS-tst-lfschk5): Renamed to ...
553 (LDLIBS-tst-lfschk5): This.
554 (LDFLAGS-tst-lfschk6): Renamed to ...
555 (LDLIBS-tst-lfschk6): This.
557 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
558 on $(common-objpfx)soversions.mk.
560 2012-09-07 Joseph Myers <joseph@codesourcery.com>
563 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
566 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
568 * malloc/arena.c (arena_get_retry): New function that gets
569 another arena for the caller to try its request on.
570 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
571 current arena cannot fulfill the request.
572 (__libc_memalign): Likewise.
573 (__libc_memalign): Likewise.
574 (__libc_pvalloc): Likewise.
575 (__libc_calloc): Likewise.
577 2012-09-05 John Tobey <john.tobey@gmail.com>
580 * manual/arith.texi (Operations on Complex): Fix description
583 2012-09-06 Joseph Myers <joseph@codesourcery.com>
586 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
590 * manual/memory.texi (Memory): Make order of menu items match
593 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
595 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
596 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
597 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
601 * csu/libc-tls.c (static_dtv): Renamed to ...
602 (_dl_static_dtv): This. Make it global.
603 (_dl_initial_dtv): Removed.
604 (__libc_setup_tls): Updated.
605 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
606 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
609 2012-09-06 Petr Machata <pmachata@redhat.com>
611 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
612 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
613 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
614 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
616 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
619 * csu/libc-tls.c (_dl_initial_dtv): New variable.
620 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
623 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
626 * Makeconfig (link-static-before-libc): Replace $(+prector)
628 (link-static-after-libc): Replace $(+postctor) with
630 (link-bounded): Replace $(+prector)/$(+postctor) with
631 $(+prectorT)/$(+postctorT).
632 (+prectorT): New macro.
633 (+postctorT): Likewise.
635 2012-09-06 Joseph Myers <joseph@codesourcery.com>
637 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
638 (round_str): Handle values above the maximum for IBM long double
640 * stdlib/tst-strtod-round.c (tests): Regenerated.
642 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
644 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
646 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
647 zarch_nohighgprs around the zarch optimized routines.
648 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
649 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
653 2012-09-05 David S. Miller <davem@davemloft.net>
655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
657 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
658 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
659 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
660 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
665 * malloc/arena.c: Fold copyright years.
666 * malloc/mcheck.c, malloc/memusage.c: Likewise.
668 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
670 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
672 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
674 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
678 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
679 change internal state upon failure.
681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
683 * malloc/mcheck.c (mcheck_check_all): Fix typo.
684 * malloc/memusage.c (mmap): Likewise.
685 (mmap64, mremap): Likewise. Adjust name in comment.
687 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
689 * libio/fileops.c: Fix typos in comments.
690 * libio/oldfileops.c: Likewise.
691 * libio/wfileops.c: Likewise.
693 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
696 * malloc/Makefile (tests): Add tst-malloc-usable test case.
697 (tst-malloc-usable-ENV): Set environment for test case.
698 * malloc/hooks.c (malloc_check_get_size): New function to get
700 * malloc/malloc.c (musable): Use malloc_check_get_size.
701 * malloc/tst-malloc-usable.c: New test case.
703 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
705 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
707 2012-09-05 Allan McRae <allan@archlinux.org>
710 * configure.in (CXX_SYSINCLUDES): Use compiler output to
711 determine header location.
712 * configure: Regenerated.
714 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
716 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
718 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
719 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
723 2012-09-04 David S. Miller <davem@davemloft.net>
725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
729 2012-09-04 Florian Weimer <fweimer@redhat.com>
731 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
734 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
736 2012-09-04 Joseph Myers <joseph@codesourcery.com>
739 * libio/iogetdelim.c: Include <limits.h>.
740 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
741 + len + 1 would overflow.
743 2012-09-03 Andreas Jaeger <aj@suse.de>
745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
746 * sysdeps/i386/fpu/libm-test-ulps: Update.
748 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
750 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
751 Add s_sinf-sse2, s_conf-sse2.
753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
754 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
755 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
756 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
758 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
759 for using routine as __sinf_ia32.
760 Use macro for function declaration and weak_alias.
761 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
762 for using routine as __cosf_ia32.
763 Use macro for function declaration and weak_alias.
765 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
766 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
768 * sysdeps/x86_64/fpu/s_sinf.S: New file.
769 * sysdeps/x86_64/fpu/s_cosf.S: New file.
770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
772 * math/libm-test.inc (cos_test): Add more test cases.
773 (sin_test): Likewise.
774 (sincos_test): Likewise.
776 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
778 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
779 (IFUNC_RESOLVE): Make pointers to the specialized implementations
781 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
783 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
786 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
787 first element of the GOT.
788 (elf_machine_load_address): Return the difference between
789 the runtime address of _DYNAMIC and elf_machine_dynamic ().
791 2012-09-01 Allan McRae <allan@archlinux.org>
794 * configure.in (AWK): Require gawk version 3.0 or later.
795 * configure: Regenerated.
797 2012-09-01 Joseph Myers <joseph@codesourcery.com>
799 * sysdeps/unix/sysv/linux/kernel-features.h
800 (__ASSUME_POSIX_CPU_TIMERS): Remove.
801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
802 [__NR_clock_getres]: Make code unconditional.
803 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
804 (clock_getcpuclockid): Remove code left unreachable by removal of
806 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
808 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
809 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
810 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
811 Make code unconditional.
812 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
813 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
814 * sysdeps/unix/sysv/linux/clock_settime.c
815 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
817 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
820 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
823 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
824 scripts/test-installation.pl.
826 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
827 and $ld_so_version if it is set.
829 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
832 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
833 failure if reading from procfs failed.
834 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
836 2012-08-27 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/unix/sysv/linux/kernel-features.h
839 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
840 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
841 Remove conditional code.
842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
843 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
844 Remove conditional code.
845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
846 * sysdeps/unix/sysv/linux/i386/fxstat.c
847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
849 * sysdeps/unix/sysv/linux/i386/fxstatat.c
850 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
852 * sysdeps/unix/sysv/linux/i386/lxstat.c
853 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
855 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
856 Remove conditional code.
857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
858 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
859 Remove conditional code.
860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
863 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
865 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
866 Remove conditional code.
867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
868 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
871 2012-08-27 Mike Frysinger <vapier@gentoo.org>
874 * NEWS: Add fixed bug number.
876 2012-08-27 Joseph Myers <joseph@codesourcery.com>
879 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
880 underflowing exponent in case of negative sign.
881 * stdlib/tst-strtod-round-data: Add more tests.
882 * stdlib/tst-strtod-round.c (tests): Regenerated.
885 * stdlib/strtod_l.c (NDIG): Remove.
887 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
888 smallest representable value.
889 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
890 lie within an exact representation of 1/2 ulp of the result.
891 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
893 (TENS_P9_IDX): Define unconditionally.
894 (TENS_P9_SIZE): Likewise.
895 (TENS_P10_IDX): Likewise.
896 (TENS_P10_SIZE): Likewise.
897 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
898 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
899 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
900 entries for 10^2^13 and 10^2^14.
901 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
902 (TENS_P13_IDX): Define.
903 (TENS_P13_SIZE): Likewise.
904 (TENS_P14_IDX): Likewise.
905 (TENS_P14_SIZE): Likewise.
906 (_fpioconst_pow10): Change array size to
907 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
909 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
910 1024]: Add entries for 10^2^13 and 10^2^14.
911 [LAST_POW10 > _LAST_POW10]: Remove #error.
912 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
913 (_fpioconst_pow10): Change array size to
914 FPIOCONST_POW10_ARRAY_SIZE.
915 * stdlib/gen-fpioconst.c: New file.
916 * stdlib/gen-tst-strtod-round.c: Likewise.
917 * stdlib/tst-strtod-round-data: Likewise.
918 * stdlib/tst-strtod-round.c: Likewise.
919 * stdlib/Makefile (tests): Add tst-strtod-round.
922 * stdlib/strtod_l.c: Include <stdint.h>.
923 (NDEBUG): Do not define.
924 (round_and_return): Change EXPONENT parameter to type intmax_t.
925 Rearrange calculations to avoid internal overflow possibilities.
926 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
927 Rearrange calculations to avoid internal overflow possibilities.
928 Assert that number fits inside MPNSIZE limbs.
929 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
930 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
931 calculations and add assertions to avoid internal overflow
932 possibilities. Add casts to avoid signed/unsigned operations.
933 * stdlib/tst-strtod-overflow.c: New file.
934 * stdlib/Makefile (tests): Add tst-strtod-overflow.
936 2012-08-25 Marek Polacek <polacek@redhat.com>
938 * time/time.h: Fix some typos in comments.
940 2012-08-23 Roland McGrath <roland@hack.frob.com>
942 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
943 * posix/tst-rfc3484-2.c: Likewise.
944 * posix/tst-rfc3484-3.c: Likewise.
946 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
948 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
949 (EF_ARM_ABI_FLOAT_HARD): Likewise.
951 2012-08-23 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
954 #include of fxstatat64.c.
956 2012-08-22 Roland McGrath <roland@hack.frob.com>
958 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
959 * shadow/getspent_r.c: Likewise.
960 * shadow/getspnam.c: Likewise.
961 * shadow/getspnam_r.c: Likewise.
962 * gshadow/getsgent.c: Likewise.
963 * gshadow/getsgent_r.c: Likewise.
964 * gshadow/getsgnam.c: Likewise.
965 * gshadow/getsgnam_r.c: Likewise.
966 * inet/getnetbyad.c: Likewise.
967 * inet/getnetbyad_r.c: Likewise.
968 * inet/getnetbynm.c: Likewise.
969 * inet/getnetbynm_r.c: Likewise.
970 * inet/getnetent.c: Likewise.
971 * inet/getnetent_r.c: Likewise.
972 * inet/getproto.c: Likewise.
973 * inet/getproto_r.c: Likewise.
974 * inet/getprtent.c: Likewise.
975 * inet/getprtent_r.c: Likewise.
976 * inet/getprtname.c: Likewise.
977 * inet/getprtname_r.c: Likewise.
978 * inet/getrpcbyname.c: Likewise.
979 * inet/getrpcbyname_r.c: Likewise.
980 * inet/getrpcbynumber.c: Likewise.
981 * inet/getrpcbynumber_r.c: Likewise.
982 * inet/getrpcent.c: Likewise.
983 * inet/getrpcent_r.c: Likewise.
984 * inet/getaliasent.c: Likewise.
985 * inet/getaliasent_r.c: Likewise.
986 * inet/getaliasname.c: Likewise.
987 * inet/getaliasname_r.c: Likewise.
988 * nscd/getgrgid_r.c: Likewise.
989 * nscd/getgrnam_r.c: Likewise.
990 * nscd/gethstbyad_r.c: Likewise.
991 * nscd/gethstbynm3_r.c: Likewise.
992 * nscd/getpwnam_r.c: Likewise.
993 * nscd/getpwuid_r.c: Likewise.
994 * nscd/getsrvbynm_r.c: Likewise.
995 * nscd/getsrvbypt_r.c: Likewise.
996 * nscd/gai.c: Likewise.
998 * configure.in (build_nscd): New substituted variable, set
999 by --disable-build-nscd and defaults to $use_nscd.
1000 * configure: Regenerated.
1001 * config.make.in (build-nscd): New substituted variable.
1002 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1003 Change conditional to require [$(build-nscd) = yes] as well.
1004 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1007 * configure.in (use_nscd): New substituted variable, set by
1008 --disable-nscd. If enabled, define USE_NSCD.
1009 * configure: Regenerated.
1010 * config.h.in: Add USE_NSCD.
1011 * config.make.in (use-nscd): New substituted variable.
1012 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1013 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1014 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1015 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1016 (CFLAGS-getgrnam_r.c): Likewise.
1017 (CFLAGS-initgroups.c): Likewise.
1018 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1019 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1021 * inet/getnetgrent_r.c
1022 (nscd_setnetgrent): New function, broken out of ...
1023 (setnetgrent): ... here. Call it.
1024 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1025 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1026 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1027 * nscd/Makefile (routines, aux): Move definitions after include of
1028 Makeconfig. Conditionalize on [$(use-nscd) != no].
1029 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1030 Conditionalize on [USE_NSCD].
1031 (is_nscd, nscd_init_cb): Likewise.
1032 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1033 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1034 * nss/nss_db/db-init.c: Likewise.
1035 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1037 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1038 (make_request): Use it.
1039 (cache_valid_p): New function.
1040 (__check_pf): Use it.
1041 * NEWS: Add item for --disable-nscd.
1043 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1045 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1046 to support sed >= 4.2.1-20-ga9bf076.
1047 * configure: Regenerated.
1049 2012-08-22 Roland McGrath <roland@hack.frob.com>
1051 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1052 Conditionalize whole body on [IREL].
1054 2012-08-22 Jeff Law <law@redhat.com>
1057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1058 if the family is PF_UNSPEC.
1060 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1062 * Makerules (lib-version): Rename from V.
1063 (install-lib-nosubdir): Change V to lib-version.
1065 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1068 * powerpc32/power6/wcschr.c: New file.
1069 * powerpc32/power6/wcscpy.c: New file.
1070 * powerpc32/power6/wcsrchr.c: New file.
1071 * powerpc64/power6/wcschr.c: New file.
1072 * powerpc64/power6/wcscpy.c: New file.
1073 * powerpc64/power6/wcsrchr.c: New file.
1075 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1077 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1078 (two_way_short_needle): Use it.
1079 * string/strstr.c (AVAILABLE1_USES_J): Define.
1080 * string/strcasestr.c: Likewise.
1082 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1084 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1087 * NEWS: Add an entry.
1088 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1089 define their defaults.
1090 (two_way_short_needle): Detect end-of-string on-the-fly.
1091 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1092 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1093 * string/bug-strcasestr1.c: New test.
1094 * string/Makefile: Run it.
1096 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1099 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1100 the first character.
1102 2012-08-21 Roland McGrath <roland@hack.frob.com>
1104 * csu/elf-init.c (__libc_csu_irel): Function removed.
1105 * csu/libc-start.c (apply_irel): New function.
1106 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1108 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/unix/sysv/linux/kernel-features.h
1111 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1112 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1113 <kernel-features.h>.
1114 [__NR_fadvise64_64]: Make code unconditional.
1115 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1116 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1117 !__NR_fadvise64_64)]: Likewise.
1118 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1119 !__NR_fadvise64_64))]: Likewise.
1120 [__NR_fadvise64]: Make code unconditional.
1121 [!__NR_fadvise64]: Remove conditional code.
1122 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1123 <kernel-features.h>.
1124 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1126 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1129 not include <kernel-features.h>.
1130 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1132 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1134 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1135 include <kernel-features.h>.
1136 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1138 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1141 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1144 slight instruction rearrangements per scrollpipe analysis.
1145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1147 2012-08-20 Roland McGrath <roland@hack.frob.com>
1149 * manual/syslog.texi (syslog; vsyslog, closelog):
1150 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1151 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1153 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1154 DSOCAPS to match condition on defining it.
1156 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1158 * sysdeps/unix/sysv/linux/kernel-features.h
1159 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1164 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1165 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1167 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1168 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1170 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1171 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1173 * sysdeps/unix/sysv/linux/kernel-features.h
1174 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1175 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1177 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1178 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1179 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1180 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1181 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1182 Make code unconditional.
1183 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1184 (__mmap64) [!__NR_mmap2]: Likewise.
1185 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1186 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1187 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1188 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1189 [__NR_mmap2]: Make code unconditional.
1190 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1191 (__mmap64) [!__NR_mmap2]: Likewise.
1193 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1195 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1197 2012-08-18 Andreas Jaeger <aj@suse.de>
1199 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1201 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1203 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1204 * include/unistd.h (__have_sock_cloexec): Likewise.
1205 (__have_pipe2): Likewise.
1206 (__have_dup3): Likewise.
1208 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1211 * include/unistd.h (__have_pipe2): Change define into an extern int.
1212 (__have_dup3): Likewise.
1213 * socket/have_sock_cloexec.c: Include fcntl.h.
1214 (__have_pipe2): New variable.
1215 (__have_dup3): Likewise.
1217 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1219 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1221 2012-08-17 Marek Polacek <polacek@redhat.com>
1223 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1224 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1226 2012-08-17 Roland McGrath <roland@hack.frob.com>
1228 * configure.in: Add AC_SUBST for sysheaders.
1229 * configure: Regenerated.
1230 * config.make.in (sysheaders): New substituted variable.
1232 * sysdeps/unix/mkfifo.c: Moved ...
1233 * sysdeps/posix/mkfifo.c: ... here.
1234 * sysdeps/unix/mkfifoat.c: Moved ...
1235 * sysdeps/posix/mkfifoat.c: ... here.
1237 * sysdeps/unix/utime.c: Moved ...
1238 * sysdeps/posix/utime.c: ... here.
1240 * sysdeps/unix/time.c: Moved ...
1241 * sysdeps/posix/time.c: ... here.
1242 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1243 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1245 * sysdeps/unix/nice.c: Moved ...
1246 * sysdeps/posix/nice.c: ... here.
1248 * sysdeps/unix/alarm.c: Moved ...
1249 * sysdeps/posix/alarm.c: ... here.
1251 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1253 2012-08-17 Jeff Law <law@redhat.com>
1255 * intl/Makefile (codeset_mo): New variable.
1256 ($(codeset_mo)): New target.
1257 (tst-codeset.out): Depend on that. Remove explicit rule.
1258 (tst-gettext3.out, tst-gettext5.out): Likewise.
1259 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1260 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1261 * intl/tst-codeset.sh: Remove.
1262 * intl/tst-gettext3.sh: Likewise.
1263 * intl/tst-gettext5.sh: Likewise.
1265 2012-08-17 Roland McGrath <roland@hack.frob.com>
1267 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1268 * sysdeps/unix/syscalls.list: ... here.
1270 * sysdeps/posix/getaddrinfo.c
1271 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1272 (gaiconf_init, gaiconf_reload): Use them.
1274 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1275 Define using time_t rather than struct timespec.
1277 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1278 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1280 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1282 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1283 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1286 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1287 __libc_cleanup_push argument.
1289 * bits/param.h: New file.
1290 * misc/sys/param.h: New file.
1291 * include/sys/param.h: New file.
1292 * misc/Makefile (headers): Add bits/param.h.
1293 * sysdeps/generic/sys/param.h: File removed.
1294 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1295 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1296 * sysdeps/mach/hurd/bits/param.h: New file.
1297 * sysdeps/mach/hurd/sys/param.h: New file.
1299 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1302 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1304 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1305 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1308 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1309 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1310 rather than -D_IO_MTSAFE_IO conditionally.
1311 * stdio-common/Makefile (CPPFLAGS): Likewise.
1312 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1313 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1314 Use $(libio-mtsafe).
1315 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1317 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1318 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1319 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1320 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1321 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1322 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1323 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1324 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1325 (CFLAGS-fread_u_chk.c): Likewise.
1326 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1327 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1328 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1329 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1330 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1331 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1332 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1333 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1334 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1336 * libio/Makefile: Test [$(libc-reentrant) = yes]
1337 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1340 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1341 * sysdeps/pthread/configure: File removed.
1342 * sysdeps/pthread/Makeconfig: New file.
1343 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1344 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1346 2012-08-16 Gary Benson <gbenson@redhat.com>
1348 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1349 unmapping the first object in a namespace.
1351 2012-08-16 Roland McGrath <roland@hack.frob.com>
1353 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1354 (__internal_setnetgrent): ... this. Add internal_function to
1355 definition. Add libc_hidden_def.
1356 (setnetgrent): Update caller.
1357 (internal_endnetgrent): Renamed to ...
1358 (__internal_endnetgrent): ... this. Add internal_function to
1359 definition. Add libc_hidden_def.
1360 (endnetgrent): Update caller.
1361 (internal_getnetgrent_r): Renamed to ...
1362 (__internal_getnetgrent_r): ... this. Add internal_function to
1363 definition. Add libc_hidden_def.
1364 (__getnetgrent_r): Update caller.
1365 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1367 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1369 * stdlib/longlong.h: Update from GCC.
1371 2012-08-16 Roland McGrath <roland@hack.frob.com>
1373 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1374 on _QL, which is set by umul_ppmm but never used.
1375 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1376 variables, which are set by GMP macros but never used.
1377 * stdio-common/_itowa.c (_itowa): Likewise.
1378 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1379 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1381 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1383 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1384 struct La_sh_regs is not constant.
1385 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1386 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1387 and struct La_sparc64_regs are not constant.
1389 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1391 * sysdeps/unix/sysv/linux/kernel-features.h
1392 (__ASSUME_POSIX_TIMERS): Remove.
1393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1395 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1396 Make code unconditional.
1397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1398 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1399 Make code unconditional.
1400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1401 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1402 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1403 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1404 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1405 Make code unconditional.
1406 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1407 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1408 (__libc_missing_posix_timers): Remove.
1410 2012-08-15 Roland McGrath <roland@hack.frob.com>
1412 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1413 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1415 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1417 * elf/dl-sym.c: Include <stdlib.h>.
1419 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1420 constants, which avoids warnings in 32-bit builds.
1422 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1423 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1425 * misc/lseek.c: File moved to ...
1426 * io/lseek.c: ... here.
1428 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1430 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1431 shifting LEN more than 31 bits at once.
1433 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1436 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1437 segmentation fault for a case of two empty input strings.
1438 * string/test-strncasecmp.c (check1): Renamed to...
1440 (bz14195): Add new testcase for two empty input strings and N > 0.
1441 (test_main): Call new testcase, adapt for renamed function.
1443 2012-08-15 Andreas Jaeger <aj@suse.de>
1446 * crypt/md5test2.c: New test, based on test supplied by Serge
1447 Belyshev <belyshev@depni.sinp.msu.ru>.
1448 * crypt/Makefile (xtests): Add md5test-giant..
1449 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1451 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1454 * crypt/md5.c (md5_process_block): Don't assume the buffer
1455 length is less than 2**32.
1456 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1457 length is less than 2**64.
1459 2012-08-15 Roland McGrath <roland@hack.frob.com>
1461 * string/str-two-way.h: Include <sys/param.h>.
1462 (MAX): Macro removed.
1464 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1465 Move #define and #undef of memmove to just before and after
1466 including <string.h>.
1468 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1469 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1470 and after including <string.h>. Move declarations of
1471 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1472 to before #include "string/memmove.c".
1474 * include/dirent.h: Declare __getdirentries.
1476 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1477 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1479 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1481 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1482 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1483 * sysdeps/i386/configure: Regenerated.
1484 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1485 STABS_CURRENT_FILE, and STABS_FUN.
1486 (END): Remove call to STABS_FUN_END.
1487 (STABS_CURRENT_FILE1): Delete.
1488 (STABS_CURRENT_FILE): Likewise.
1489 (STABS_FUN): Likewise.
1490 (STABS_FUN_END): Likewise.
1491 (STABS_FUN2): Likewise.
1492 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1493 * sysdeps/x86_64/configure: Regenerated.
1495 2012-08-14 Roland McGrath <roland@hack.frob.com>
1497 * elf/dl-open.c: Include <atomic.h>.
1498 * elf/dl-lookup.c: Likewise.
1500 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1502 * sysdeps/unix/sysv/linux/kernel-features.h
1503 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1504 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1506 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1508 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1509 condition on __ASSUME_CLONE_THREAD_FLAGS.
1511 2012-08-14 Andreas Jaeger <aj@suse.de>
1513 * sysdeps/i386/fpu/libm-test-ulps: Update.
1515 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1517 * include/atomic.h (atomic_exchange_and_add): Split into ...
1518 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1521 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1525 2012-08-13 Jeff Law <law@redhat.com>
1527 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1528 null byte in the output string.
1530 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1532 * sysdeps/unix/sysv/linux/kernel-features.h
1533 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1534 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1535 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1536 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1537 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1538 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1539 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1541 2012-08-09 Jeff Law <law@redhat.com>
1544 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1545 When avoid_arena is set, don't retry in the that arena. Pick the
1546 next one, whatever it might be.
1547 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1548 (arena_lock): Pass in new parameter to arena_get2.
1549 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1551 (__libc_malloc): Unify retrying after main arena failure with
1552 __libc_memalign version.
1553 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1555 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1558 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1559 to __redirect_strstr.
1560 (__strstr_sse42): Use typeof __redirect_strstr.
1561 (__strstr_ia32): Likewise.
1562 (__libc_strstr): New prototype.
1563 (strstr): Renamed to ...
1564 (__libc_strstr): This.
1565 (strstr): New strong alias of __libc_strstr.
1566 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1567 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1570 (__libc_time): New prototype.
1571 (time_ifunc): Replace time with __libc_time.
1572 (time): New strong alias and hidden definition of __libc_time.
1573 (__GI_time): Remove strong alias.
1574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1576 (memmove): Redefined to __redirect_memmove.
1577 (__memmove_sse2): Use typeof __redirect_memmove.
1578 (__memmove_ssse3): Likewise.
1579 (__memmove_ssse3_back): Likewise.
1580 (__libc_memmove): New prototype.
1581 (memmove): Renamed to ...
1582 (__libc_memmove): This.
1583 (memmove): New strong alias of __libc_memmove.
1585 2012-08-08 Mark Salter <msalter@redhat.com>
1588 (R_MN10300_TLS_GD): Define.
1589 (R_MN10300_TLS_LD): Likewise.
1590 (R_MN10300_TLS_LDO): Likewise.
1591 (R_MN10300_TLS_GOTIE): Likewise.
1592 (R_MN10300_TLS_IE): Likewise.
1593 (R_MN10300_TLS_LE): Likewise.
1594 (R_MN10300_TLS_DTPMOD): Likewise.
1595 (R_MN10300_TLS_DTPOFF): Likewise.
1596 (R_MN10300_TLS_TPOFF): Likewise.
1597 (R_MN10300_SYM_DIFF): Likewise.
1598 (R_MN10300_ALIGN): Likewise.
1599 (R_MN10300_NUM): Update.
1601 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1606 2012-08-08 Roland McGrath <roland@hack.frob.com>
1608 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1610 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1611 sysdeps/unix -> sysdeps/posix move.
1612 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1614 2012-08-07 Allan McRae <allan@archlinux.org>
1617 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1618 (SUNOS_CPP): Likewise.
1619 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1621 (open_input): Call CPP using execvp.
1623 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1625 * sysdeps/unix/sysv/linux/kernel-features.h
1626 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1627 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1628 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1629 (__ASSUME_WAITID_SYSCALL): Likewise.
1630 * sysdeps/unix/sysv/linux/dl-execstack.c
1631 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1633 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1636 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1637 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1639 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1641 [__ASSUME_WAITID_SYSCALL]: Likewise.
1642 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1644 2012-08-07 Roland McGrath <roland@hack.frob.com>
1646 * sysdeps/unix/closedir.c: Renamed to ...
1647 * sysdeps/posix/closedir.c: ... here.
1648 * sysdeps/unix/dirfd.c: Renamed to ...
1649 * sysdeps/posix/dirfd.c: ... here.
1650 * sysdeps/unix/dirstream.h: Renamed to ...
1651 * sysdeps/posix/dirstream.h: ... here.
1652 * sysdeps/unix/fdopendir.c: Renamed to ...
1653 * sysdeps/posix/fdopendir.c: ... here.
1654 * sysdeps/unix/opendir.c: Renamed to ...
1655 * sysdeps/posix/opendir.c: ... here.
1656 * sysdeps/unix/readdir.c: Renamed to ...
1657 * sysdeps/posix/readdir.c: ... here.
1658 * sysdeps/unix/readdir_r.c: Renamed to ...
1659 * sysdeps/posix/readdir_r.c: ... here.
1660 * sysdeps/unix/rewinddir.c: Renamed to ...
1661 * sysdeps/posix/rewinddir.c: ... here.
1662 * sysdeps/unix/seekdir.c: Renamed to ...
1663 * sysdeps/posix/seekdir.c: ... here.
1664 * sysdeps/unix/telldir.c: Renamed to ...
1665 * sysdeps/posix/telldir.c: ... here.
1666 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1667 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1668 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1669 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1671 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1672 * bits/fcntl.h: ... here.
1674 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1676 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1677 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1678 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1679 (struct flock): Move l_start, l_len to the beginning.
1680 Use __pid_t for l_pid.
1681 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1682 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1683 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1684 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1685 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1686 [__USE_LARGEFILE64] (struct flock64): New type.
1687 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1689 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1690 * bits/dirent.h: ... here.
1692 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1693 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1695 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1698 Change from 2.6.0 to 2.6.16.
1699 * sysdeps/unix/sysv/linux/configure: Regenerated.
1700 * sysdeps/unix/sysv/linux/kernel-features.h
1701 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1702 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1704 (__ASSUME_UTIMES): Likewise.
1705 (__ASSUME_CLONE_STOPPED): Remove.
1706 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1707 architectures, not kernel version.
1708 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1709 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1710 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1711 (__ASSUME_WAITID_SYSCALL): Likewise.
1712 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1713 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1714 * README: State 2.6.16 as minimum Linux kernel version. Do not
1715 refer to older versions.
1717 2012-08-06 Roland McGrath <roland@hack.frob.com>
1719 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1720 Define alphasort64 as an alias.
1721 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1722 Define versionsort64 as an alias.
1723 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1724 Define scandir64 as an alias.
1725 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1726 Define scandirat64 as an alias.
1727 * dirent/alphasort64.c (alphasort64):
1728 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1729 * dirent/versionsort64.c: Likewise.
1730 * dirent/scandir64.c: Likewise.
1731 * dirent/scandirat64.c: Likewise.
1732 * sysdeps/wordsize-64/alphasort.c: File removed.
1733 * sysdeps/wordsize-64/alphasort64.c: File removed.
1734 * sysdeps/wordsize-64/scandir.c: File removed.
1735 * sysdeps/wordsize-64/scandir64.c: File removed.
1736 * sysdeps/wordsize-64/scandirat.c: File removed.
1737 * sysdeps/wordsize-64/scandirat64.c: File removed.
1738 * sysdeps/wordsize-64/versionsort.c: File removed.
1739 * sysdeps/wordsize-64/versionsort64.c: File removed.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1749 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1751 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1753 [defined __arch64__ || defined __sparcv9]
1754 (__INO_T_MATCHES_INO64_T): New macro.
1755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1756 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1757 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1758 * sysdeps/unix/sysv/linux/bits/dirent.h
1759 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1760 (_DIRENT_MATCHES_DIRENT64): New macro.
1762 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1763 Define lockf64 as an alias.
1764 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1765 Define fseeko64 as an alias.
1766 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1767 Define ftello64 as an alias.
1768 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1769 Define _IO_fgetpos64 and fgetpos64 as aliases.
1770 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1771 Define _IO_fsetpos64 and fsetpos64 as aliases.
1772 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1773 Conditionalize body on this.
1774 * libio/fseeko64.c: Likewise.
1775 * libio/ftello64.c: Likewise.
1776 * libio/iofgetpos64.c: Likewise.
1777 * libio/iofsetpos64.c: Likewise.
1778 * sysdeps/wordsize-64/lockf.c: File removed.
1779 * sysdeps/wordsize-64/lockf64.c: File removed.
1780 * sysdeps/wordsize-64/fseeko.c: File removed.
1781 * sysdeps/wordsize-64/fseeko64.c: File removed.
1782 * sysdeps/wordsize-64/ftello.c: File removed.
1783 * sysdeps/wordsize-64/ftello64.c: File removed.
1784 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1785 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1786 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1787 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1795 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1799 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1801 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1803 [defined __arch64__ || defined __sparcv9]
1804 (__OFF_T_MATCHES_OFF64_T): New macro.
1805 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1806 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1808 (__OFF_T_MATCHES_OFF64_T): New macro.
1810 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1812 * stdlib/secure-getenv.c (__secure_getenv): Replace
1813 GLIBC_2_16 with GLIBC_2_17.
1815 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1820 2012-08-03 David S. Miller <davem@davemloft.net>
1822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1824 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1828 (__ASSUME_CORRECT_SI_PID): Likewise.
1829 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1830 (__ASSUME_TMPFS_NAME): Likewise.
1831 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1832 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1833 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1834 (HAVE_AUX_SECURE): Make definition unconditional.
1835 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1836 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1838 2012-08-03 Roland McGrath <roland@hack.frob.com>
1840 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1841 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1842 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1843 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1844 __eloop_threshold instead of SYMLOOP_MAX.
1846 * sysdeps/generic/eloop-threshold.h: New file.
1847 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1849 * elf/chroot_canon.c (chroot_canon): Likewise.
1851 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1855 Change to 2.6.0 everywhere.
1856 * sysdeps/unix/sysv/linux/configure: Regenerated.
1857 * sysdeps/unix/sysv/linux/kernel-features.h
1858 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1859 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1861 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1862 (__ASSUME_FUTEX_REQUEUE): Remove.
1863 (__ASSUME_STATFS64): Define unconditionally.
1864 (__ASSUME_AT_SECURE): Likewise.
1865 (__ASSUME_CORRECT_SI_PID): Likewise.
1866 (__ASSUME_TGKILL): Define without depending on kernel version for
1868 (__ASSUME_UTIMES): Likewise.
1869 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1871 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1872 (__ASSUME_TMPFS_NAME): Likewise.
1873 * README: Update reference to Linux kernel versions.
1875 2012-08-02 Marek Polacek <polacek@redhat.com>
1878 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1879 libc_cv_asm_type_prefix with %.
1880 * configure: Regenerated.
1881 * include/libc-symbols.h: Remove comment about
1882 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1883 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1884 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1885 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1886 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1887 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1888 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1889 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1890 * elf/tst-unique2mod1.c: Likewise.
1891 * elf/tst-unique1mod2.c: Likewise.
1892 * elf/tst-unique1mod1.c: Likewise.
1893 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1894 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1895 Replace ASM_TYPE_DIRECTIVE with .type.
1896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1897 * sysdeps/i386/sysdep.h: Likewise.
1898 * sysdeps/x86_64/sysdep.h: Likewise.
1899 * sysdeps/sh/sysdep.h: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1901 Do not define ASM_TYPE_DIRECTIVE.
1902 * sysdeps/powerpc/sysdep.h: Likewise.
1903 * sysdeps/powerpc/powerpc32/sysdep.h:
1904 Replace ASM_TYPE_DIRECTIVE with .type.
1905 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1906 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1907 * sysdeps/i386/fpu/e_powf.S: Likewise.
1908 * sysdeps/i386/fpu/e_expl.S: Likewise.
1909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1911 * sysdeps/i386/fpu/e_pow.S: Likewise.
1912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1916 * sysdeps/i386/fpu/e_log2.S: Likewise.
1917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1919 * sysdeps/i386/fpu/e_powl.S: Likewise.
1920 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1921 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1922 * sysdeps/i386/fpu/e_logl.S: Likewise.
1923 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1928 * sysdeps/i386/fpu/e_log.S: Likewise.
1929 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1930 * sysdeps/i386/fpu/e_logf.S: Likewise.
1931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1933 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1934 * sysdeps/i386/fpu/e_log10.S: Likewise.
1935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1941 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1942 * sysdeps/i386/i686/strtok.S: Likewise.
1943 * sysdeps/i386/i386-mcount.S: Likewise.
1944 * sysdeps/i386/strtok.S: Likewise.
1945 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1950 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1951 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1952 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1953 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1954 * sysdeps/x86_64/_mcount.S: Likewise.
1955 * sysdeps/x86_64/strtok.S: Likewise.
1956 * sysdeps/sh/_mcount.S: Likewise.
1958 2012-08-01 Roland McGrath <roland@hack.frob.com>
1960 * libio/iofopen.c: Include <fcntl.h>.
1961 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1962 (_IO_fopen64, fopen64): Define as aliases.
1963 * libio/iofopen64.c: Include <fcntl.h>.
1964 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1965 Conditionalize body on this.
1966 * sysdeps/wordsize-64/iofopen.c: File removed.
1967 * sysdeps/wordsize-64/iofopen64.c: File removed.
1969 2012-08-01 Marek Polacek <polacek@redhat.com>
1971 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1972 Use dlfcn directly instead of a variable.
1973 (binfmt-subdir): Do not define.
1976 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1979 Remove all definitions.
1980 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1981 <kernel-features.h>.
1982 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1983 (miss_F_GETOWN_EX): Remove all definitions.
1984 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1986 [!__ASSUME_FCNTL64]: Remove conditional code.
1987 [__ASSUME_FCNTL64]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1989 <kernel-features.h>.
1990 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1991 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1992 (lockf64) [__NR_fcntl64]: Make code unconditional.
1993 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1995 * sysdeps/unix/sysv/linux/kernel-features.h
1996 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1997 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1998 Make code unconditional.
1999 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2000 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2002 [__NR_vfork]: Make code unconditional.
2003 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2004 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2006 [__NR_vfork]: Make code unconditional.
2007 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2008 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2010 2012-08-01 Roland McGrath <roland@hack.frob.com>
2012 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2013 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2015 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2016 Define mkstemp64 as an alias.
2017 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2018 Define mkstemps64 as an alias.
2019 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2020 Define mkostemp64 as an alias.
2021 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2022 Define mkostemps64 as an alias.
2023 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2024 Conditionalize body on this.
2025 * misc/mkostemp64.c: Likewise.
2026 * misc/mkostemps64.c: Likewise.
2027 * misc/mkstemps64.c: Likewise.
2028 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2029 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2030 * sysdeps/wordsize-64/mkostemp.c: File removed.
2031 * sysdeps/wordsize-64/mkstemp.c: File removed.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2033 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2035 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2038 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2039 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2040 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2041 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2043 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2044 compat_symbol macros from <shlib-compat.h> rather than the underlying
2045 default_symbol_version and symbol_version macros, so that DEFAULT
2046 lines in shlib-versions are respected.
2047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2049 2012-08-01 Florian Weimer <fweimer@redhat.com>
2051 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2052 Declare with warn_unused_result.
2053 (setgid, setregid, setegid, setresgid): Likewise.
2054 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2056 * WUR-REPORT: Remove set*id functions.
2058 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2060 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2062 2012-07-31 Roland McGrath <roland@hack.frob.com>
2064 * include/sys/socket.h (__libc_accept, __libc_accept4):
2065 Add attribute_hidden.
2066 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2068 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2070 * inet/getnetgrent_r.c (setup): Likewise.
2072 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2074 2012-07-31 David S. Miller <davem@davemloft.net>
2076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2078 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2081 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2082 value between 1.0 and 2.0 and smaller part has absolute value less
2084 * math/s_clog10.c (__clog10): Likewise.
2085 * math/s_clog10f.c (__clog10f): Likewise.
2086 * math/s_clog10l.c (__clog10l): Likewise.
2087 * math/s_clogf.c (__clogf): Likewise.
2088 * math/s_clogl.c (__clogl): Likewise.
2089 * math/libm-test.inc (clog_test): Add more tests.
2090 (clog10_test): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2094 2012-07-31 Florian Weimer <fweimer@redhat.com>
2096 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2097 Exit with zero in case no suitable GID is found, and write a
2098 message to standard error.
2100 2012-07-30 Roland McGrath <roland@hack.frob.com>
2102 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2104 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2105 (MAXPATHLEN): Removed.
2106 (NOGROUP, NODEV): New macros.
2107 (setbit, clrbit, isset, isclr): New macros.
2108 (howmany, roundup, powerof2): New macros.
2109 (DEV_BSIZE): New macro.
2111 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2112 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2114 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2115 definition on [!__NO_LONG_DOUBLE_MATH].
2117 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2118 PTR_MANGLE and PTR_DEMANGLE.
2120 * socket/accept4.c (accept4): Rename to __libc_accept4.
2121 Define accept4 as a weak alias.
2123 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2124 on [_DIRENT_HAVE_D_TYPE].
2125 * io/ftw.c (ftw_dir): Likewise.
2127 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2129 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2131 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2132 Use the BSD numbers rather than the arbitrary ones we had.
2133 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2134 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2135 (SIGXCPU, SIGXFSZ): New macros.
2138 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2139 initializer on [_LIBC_REENTRANT].
2141 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2142 definitions inside [_POSIX_MAPPED_FILES].
2144 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2146 * dirent/opendir.c: Include <fcntl.h>.
2148 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2149 (__libc_getspecific): Likewise.
2150 (__libc_key_create): Likewise.
2152 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2153 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2154 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2155 (tmpfile64): Define as alias.
2156 * sysdeps/wordsize-64/tmpfile.c: File removed.
2157 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2161 * stdio-common/vfscanf.c: Include <stdbool.h>.
2162 * nss/makedb.c: Likewise.
2163 * stdio-common/_i18n_number.h: Likewise.
2164 * argp/argp-help.c: Likewise.
2165 * posix/wordexp.c: Likewise.
2166 * sysdeps/posix/spawni.c: Likewise.
2167 * nss/nss_files/files-initgroups.c: Likewise.
2168 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2169 * nss/nss_files/files-initgroups.c: Likewise.
2170 * nss/nss_db/db-netgrp.c: Likewise.
2171 * nss/nss_db/db-initgroups.c: Likewise.
2172 * io/fchmodat.c: Include <sys/stat.h>.
2174 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2175 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2177 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2180 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2181 Add multiple inclusion protection.
2183 2012-07-27 David S. Miller <davem@davemloft.net>
2185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2187 2012-07-27 Gary Benson <gbenson@redhat.com>
2190 * elf/rtld.c: Include <stap-probe.h>.
2191 (dl_main): Added static probes "init_start" and "init_complete".
2192 * elf/dl-load.c: Include <stap-probe.h>.
2193 (lose): Take new parameter "nsid".
2194 Added static probe "map_failed".
2195 (_dl_map_object_from_fd): Pass namespace id to lose.
2196 Added static probe "map_start".
2197 (open_verify): Pass namespace id to lose.
2198 * elf/dl-open.c: Include <stap-probe.h>.
2199 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2200 and "reloc_complete".
2201 * elf/dl-close.c: Include <stap-probe.h>.
2202 (_dl_close_worker): Added static probes "unmap_start" and
2204 * elf/rtld-debugger-interface.txt: New file documenting the above.
2206 2012-07-26 Roland McGrath <roland@hack.frob.com>
2208 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2209 rather than a string variable.
2210 * sunrpc/rpc_main.c (h_output): Likewise.
2211 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2213 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2215 * inet/check_native.c: New file.
2217 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2220 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2221 if larger part has absolute value 1.0.
2222 * math/s_clog10.c (__clog10): Likewise.
2223 * math/s_clog10f.c (__clog10f): Likewise.
2224 * math/s_clog10l.c (__clog10l): Likewise.
2225 * math/s_clogf.c (__clogf): Likewise.
2226 * math/s_clogl.c (__clogl): Likewise.
2227 * math/libm-test.inc (clog_test): Add more tests.
2228 (clog10_test): Likewise.
2229 * sysdeps/i386/fpu/libm-test-ulps: Update.
2230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2232 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2233 (pltexit): Likewise.
2234 (La_regs): Likewise.
2235 (La_retval): Likewise.
2236 (int_retval): Likewise.
2237 Update #error for removed macros to refer only to definitions in
2239 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2241 (pltexit): Likewise.
2242 (La_regs): Likewise.
2243 (La_retval): Likewise.
2244 (int_retval): Likewise.
2245 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2247 (pltexit): Likewise.
2248 (La_regs): Likewise.
2249 (La_retval): Likewise.
2250 (int_retval): Likewise.
2251 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2253 (pltexit): Likewise.
2254 (La_regs): Likewise.
2255 (La_retval): Likewise.
2256 (int_retval): Likewise.
2257 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2259 (pltexit): Likewise.
2260 (La_regs): Likewise.
2261 (La_retval): Likewise.
2262 (int_retval): Likewise.
2263 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2265 (pltexit): Likewise.
2266 (La_regs): Likewise.
2267 (La_retval): Likewise.
2268 (int_retval): Likewise.
2269 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2271 (pltexit): Likewise.
2272 (La_regs): Likewise.
2273 (La_retval): Likewise.
2274 (int_retval): Likewise.
2275 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2276 macro definitions in tst-audit.h.
2277 * sysdeps/i386/tst-audit.h: New file.
2278 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2279 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2280 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2281 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2282 * sysdeps/sh/tst-audit.h: Likewise.
2283 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2284 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2285 * sysdeps/x86_64/tst-audit.h: Likewise.
2287 2012-07-26 Andreas Jaeger <aj@suse.de>
2289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2292 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2293 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2294 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2296 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2300 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2303 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2305 (si_call_addr, si_syscall, si_arch): Define new macro.
2306 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2308 (si_call_addr, si_syscall, si_arch): Define new marcro.
2309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2311 (si_call_addr, si_syscall, si_arch): Define new macro.
2312 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2314 (si_call_addr, si_syscall, si_arch): Define new macro.
2316 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2320 Change to 2.4.21 where previously 2.4.1.
2321 * sysdeps/unix/sysv/linux/configure: Regenerated.
2322 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2323 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2324 Linux kernel version.
2325 (__ASSUME_STD_AUXV): Remove.
2326 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2328 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2329 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2330 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2331 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2332 (__ASSUME_NETLINK_SUPPORT): Likewise.
2333 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2334 (__no_netlink_support): Remove conditional definition.
2335 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2337 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2338 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2339 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2340 (if_nameindex_ioctl): Remove.
2341 (if_nameindex_netlink): Do not handle __no_netlink_support.
2342 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2344 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2345 Remove conditional code.
2346 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2348 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2350 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2351 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2352 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2354 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2355 [!__ASSUME_STD_AUXV]: Remove conditional code.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2357 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2358 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2360 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2361 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2363 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2365 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2366 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2368 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2370 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2373 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2376 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2378 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2380 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2382 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2385 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2387 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2390 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2392 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2394 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2396 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2399 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2401 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2403 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2405 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2408 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2410 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2411 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2412 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2413 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2414 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2415 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2416 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2417 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2418 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2419 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2420 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2421 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2422 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2423 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2428 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2430 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2431 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2434 2012-07-25 Florian Weimer <fweimer@redhat.com>
2436 * Versions.def: Add GLIBC_2.17.
2437 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2438 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2439 Introduce __libc_secure_getenv.
2440 * stdlib/Versions (2.17): Add secure_getenv
2441 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2442 * stdlib/secure-getenv.c: Rename __secure_getenv to
2443 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2444 symbol __secure_getenv for GLIBC_2.0.
2445 * stdlib/tst-secure-getenv.c: New.
2446 * stdlib/Makefile (tests): Add testcase.
2447 * manual/startup.texi (Environment Access): Document
2449 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2450 __libc_secure_getenv.
2451 * inet/ruserpass.c (ruserpass): Likewise.
2452 * malloc/mtrace.c (mtrace): Likewise.
2453 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2454 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2455 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2456 * sysdeps/posix/tempname.c: Likewise. Evaluate
2458 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2459 __secure_getenv to __libc_secure_getenv.
2460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2473 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2475 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2476 (struct La_i86_retval): Likewise.
2477 (struct La_x86_64_regs): Likewise.
2478 (struct La_x86_64_retval): Likewise.
2479 (struct La_x32_regs): Likewise.
2480 (struct La_x32_retval): Likewise.
2481 (struct La_ppc32_regs): Likewise.
2482 (struct La_ppc32_retval): Likewise.
2483 (struct La_ppc64_regs): Likewise.
2484 (struct La_ppc64_retval): Likewise.
2485 (struct La_sh_regs): Likewise.
2486 (struct La_sh_retval): Likewise.
2487 (struct La_s390_32_regs): Likewise.
2488 (struct La_s390_32_retval): Likewise.
2489 (struct La_s390_64_regs): Likewise.
2490 (struct La_s390_64_retval): Likewise.
2491 (struct La_sparc32_regs): Likewise.
2492 (struct La_sparc32_retval): Likewise.
2493 (struct La_sparc64_regs): Likewise.
2494 (struct La_sparc64_retval): Likewise.
2495 (struct audit_ifaces): Remove architecture-specific pltenter and
2497 * sysdeps/i386/ldsodefs.h: New file.
2498 * sysdeps/powerpc/ldsodefs.h: Likewise.
2499 * sysdeps/s390/ldsodefs.h: Likewise.
2500 * sysdeps/sh/ldsodefs.h: Likewise.
2501 * sysdeps/sparc/ldsodefs.h: Likewise.
2502 * sysdeps/x86_64/ldsodefs.h: Likewise.
2504 2012-07-25 Marek Polacek <polacek@redhat.com>
2507 * math/libm-test.inc (yn_test): Add another test.
2508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2509 to ERANGE when the result is +-Inf.
2510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2512 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2515 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2517 * conform/data/time.h-data (NULL): Use macro-constant. Require
2519 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2521 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2523 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2525 * configure.in <sysdeps resolving>: Correct printing
2527 * configure: Regenerate.
2529 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2531 * math/w_ilogb.c: Include <limits.h>.
2532 * math/w_ilogbl.c: Likewise.
2534 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2536 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2537 va_copy. Document allowing for unavailable va_copy only as
2538 pre-C99 compatibility.
2539 * manual/string.texi (Copying and Concatenation): Use va_copy
2540 instead of __va_copy in concat example.
2542 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2544 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2545 (__sendto): Use create_address_port. Initialize APORT and deallocate
2548 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2549 with O_NOLINK passed to __file_name_lookup.
2551 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2552 with O_NOLINK passed to __file_name_lookup.
2554 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2555 negative N or less than NGIDS.
2557 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2558 type to string_t. Set ERANGE as errno and return it if NAME is not big
2559 enough. Use memcpy instead of strncpy.
2561 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2563 * elf/Makefile (check-data): Remove.
2564 (localplt.data): New vpath directive.
2565 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2566 instead of $(check-data).
2567 * scripts/data/localplt-generic.data: Move to ...
2568 * sysdeps/generic/localplt.data: ... here.
2569 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2570 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2571 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2574 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2577 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2580 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2583 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2586 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2590 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2593 PPC32 and PPC64 files.
2594 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2595 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2597 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2599 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2600 __makecontext_ret to ...
2601 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2602 ... here and call exit if uc_link is NULL. New file.
2603 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2604 __makecontext_ret.S.
2605 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2606 __makecontext_ret to ...
2607 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2608 ... here and call exit if uc_link is NULL. New file.
2609 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2610 __makecontext_ret.S.
2612 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2614 * elf/elf.h (R_390_IRELATIVE): New definition.
2615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2616 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2617 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2618 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2619 (elf_machine_lazy_rel): Likewise.
2620 * sysdeps/s390/dl-irel.h: New file.
2621 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2622 * sysdeps/s390/s390-64/memset.S: New asm code.
2623 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2624 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2625 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2626 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2627 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2628 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2630 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2631 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2632 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2633 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2634 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2635 * sysdeps/s390/s390-32/memset.S: New asm code.
2636 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2638 2012-07-17 Marek Polacek <polacek@redhat.com>
2641 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2642 * sysdeps/s390/s390-64/configure.in: Likewise.
2643 * sysdeps/sparc/configure.in: Likewise.
2644 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2645 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2646 * sysdeps/i386/configure.in: Likewise.
2647 * sysdeps/x86_64/configure.in: Likewise.
2648 * sysdeps/sh/configure.in: Likewise.
2649 * sysdeps/s390/s390-32/configure: Regenerated.
2650 * sysdeps/s390/s390-64/configure: Likewise.
2651 * sysdeps/x86_64/configure: Likewise.
2652 * sysdeps/sh/configure: Likewise.
2653 * sysdeps/powerpc/powerpc64/configure: Likewise.
2654 * sysdeps/powerpc/powerpc32/configure: Likewise.
2655 * sysdeps/sparc/configure: Likwise.
2656 * sysdeps/i386/configure: Likewise.
2658 * elf/dl-open.c: Comment fixes.
2660 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2662 * Makefile [CXX] (check-data): Remove.
2663 [CXX] (c++-types.data): New vpath directive.
2664 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2665 vpath. Do not allow for C++ type data being missing.
2666 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2667 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2668 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2669 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2670 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2671 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2672 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2675 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2678 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2681 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2684 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2687 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2690 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2693 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2696 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2697 definitions to architecture-specific files.
2701 * sysdeps/i386/tls-macros.h: New file.
2702 * sysdeps/powerpc/tls-macros.h: Likewise.
2703 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2704 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2705 * sysdeps/sh/tls-macros.h: Likewise.
2706 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2707 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2708 * sysdeps/x86_64/tls-macros.h: Likewise.
2710 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2712 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2713 zero value for regular exit case.
2715 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2716 (__start_context): Preserve zero value for regular exit case.
2718 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2719 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2721 * manual/setjmp.texi (setcontext): Clarify normal process
2722 termination when uc_link is the null pointer.
2723 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2726 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2728 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2729 preprocessor. Test for each exception mask separately.
2731 2012-07-16 Andreas Jaeger <aj@suse.de>
2733 * po/ru.po: Update from translation team.
2735 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2737 * conform/data/string.h-data (NULL): Use macro-constant. Require
2739 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2740 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2741 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2742 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2745 2012-07-13 Andreas Jaeger <aj@suse.de>
2747 * po/fr.po: Update from translation team.
2749 2012-07-12 Marek Polacek <polacek@redhat.com>
2752 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2756 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2760 Change to 2.4.1 where previously 2.4.0.
2761 * sysdeps/unix/sysv/linux/configure: Regenerated.
2762 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2763 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2765 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2766 (__ASSUME_AT_CLKTCK): Remove.
2767 (__ASSUME_AT_PAGESIZE): Likewise.
2768 (__ASSUME_AT_XID): Likewise.
2769 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2770 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2771 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2773 (HAVE_AUX_PAGESIZE): Likewise.
2774 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2775 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2776 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2778 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2782 the temporary buffer used to invoke __gethostbyname2_r,
2783 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2784 host_data / struct gaih_addrtuple.
2785 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2786 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2787 header file nss/nsswitch.h.
2788 * nss/nsswitch.h (global scope): Add definition of implementation
2789 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2790 resolv/nss_dns/dns-host.c).
2792 2012-07-11 Andreas Jaeger <aj@suse.de>
2794 * po/fr.po: Update from translation team.
2796 * po/sv.po: Update from translation team
2797 * po/fr.po: Another update from translation team.
2799 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2802 for subnormals or multiply small sinh result by itself.
2803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2806 2012-07-11 David S. Miller <davem@davemloft.net>
2808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2810 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2813 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2814 (INTERNAL_MARK): Shift it here.
2816 2012-07-10 Marek Polacek <polacek@redhat.com>
2819 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2820 libc_cv_asm_global_directive with .globl.
2821 * configure: Regenerated.
2822 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2824 * sysdeps/i386/configure: Regenerated.
2825 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2827 * sysdeps/x86_64/configure: Regenerated.
2828 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2829 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2830 * elf/tst-unique2mod2.c: Likewise.
2831 * elf/tst-unique2mod1.c: Likewise.
2832 * elf/tst-unique1mod2.c: Likewise.
2833 * elf/tst-unique1mod1.c: Likewise.
2834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2835 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2838 * sysdeps/mach/sysdep.h: Likewise.
2839 * sysdeps/i386/sysdep.h: Likewise.
2840 * sysdeps/i386/i386-mcount.S: Likewise.
2841 * sysdeps/x86_64/_mcount.S: Likewise.
2842 * sysdeps/x86_64/sysdep.h: Likewise.
2843 * sysdeps/sh/_mcount.S: Likewise.
2844 * sysdeps/sh/sysdep.h: Likewise.
2845 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2846 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2847 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2848 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2849 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2850 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2851 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2852 * locale/localeinfo.h: Likewise.
2853 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2854 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2856 2012-07-09 Roland McGrath <roland@hack.frob.com>
2859 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2861 * manual/message.texi (The Uniforum approach): Likewise.
2862 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2863 (glibc iconv Implementation): Likewise.
2865 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2868 * math/s_clog.c (__clog): Avoid scaling a value down where that
2869 could result in underflow.
2870 * math/s_clog10.c (__clog10): Likewise.
2871 * math/s_clog10f.c (__clog10f): Likewise.
2872 * math/s_clog10l.c (__clog10l): Likewise.
2873 * math/s_clogf.c (__clogf): Likewise.
2874 * math/s_clogl.c (__clogl): Likewise.
2875 * math/libm-test.inc (clog_test): Add more tests.
2876 (clog10_test): Likewise.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2880 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2883 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2884 by 7 not 8 to examine high bit of fractional part.
2887 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2888 for call to __mcount_internal.
2889 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2890 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2891 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2893 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2897 approximation for values within 0x1p-13f of an odd multiple of
2899 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2900 exception. Add more tests.
2901 * sysdeps/i386/fpu/libm-test-ulps: Update.
2904 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2905 inputs and return -1 for them. Do not check for +Inf in case not
2907 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2908 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2910 and return -1 for them. Do not check for +Inf in case not
2912 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2915 and return -1 for them. Do not check for +Inf in case not
2917 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2922 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2924 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2926 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2930 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2931 could result in spurious underflow. Scale down values above
2932 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2933 * math/s_csqrtf.c (__csqrtf): Likewise.
2934 * math/s_csqrtl.c (__csqrtl): Likewise.
2935 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2937 * sysdeps/i386/fpu/libm-test-ulps: Update.
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2942 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2944 * catgets/xopen-msg.awk: New file.
2945 * catgets/xopen-msg.sed: Removed.
2947 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2949 * intl/po2test.awk: New file.
2950 * intl/po2test.sed: Removed.
2952 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2955 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2956 or multiply small sinh result by itself.
2957 * math/s_ctanf.c (__ctanf): Likewise.
2958 * math/s_ctanh.c (__ctanh): Likewise.
2959 * math/s_ctanhf.c (__ctanhf): Likewise.
2960 * math/s_ctanhl.c (__ctanhl): Likewise.
2961 * math/s_ctanl.c (__ctanl): Likewise.
2962 * math/libm-test.inc (ctan_test_tonearest): New function.
2963 (ctan_test_towardzero): Likewise.
2964 (ctan_test_downward): Likewise.
2965 (ctan_test_upward): Likewise.
2966 (ctanh_test_tonearest): Likewise.
2967 (ctanh_test_towardzero): Likewise.
2968 (ctanh_test_downward): Likewise.
2969 (ctanh_test_upward): Likewise.
2970 (main): Call these new functions.
2971 * sysdeps/i386/fpu/libm-test-ulps: Update.
2972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2974 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2976 * .gitignore: Delete /ports entry.
2978 2012-07-03 Andreas Jaeger <aj@suse.de>
2980 * po/bg.po: Update from translation team.
2981 * po/cs.po: Likewise.
2982 * po/de.po: Likewise.
2983 * po/hr.po: Likewise.
2984 * po/nl.pl: Likewise.
2985 * po/pl.po: Likewise.
2986 * po/vi.po: Likewise.
2988 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2990 * Makeconfig [!+link] (+link-before-libc): New variable.
2991 [!+link] (+link-after-libc): Likewise.
2992 [!+link] (+link-tests): Likewise.
2993 [!+link] (+link): Define in terms of $(+link-before-libc) and
2994 $(+link-after-libc).
2995 [!+link-static] (+link-static-before-libc): New variable.
2996 [!+link-static] (+link-static-after-libc): Likewise.
2997 [!+link-static] (+link-static-tests): Likewise.
2998 [!+link-static] (+link-static): Define in terms of
2999 $(+link-static-before-libc) and $(+link-static-after-libc).
3000 [build-shared] (link-libc-before-gnulib): New variable.
3001 [build-shared] (link-libc-tests): Likewise.
3002 [build-shared] (link-libc): Define in terms of
3003 $(link-libc-before-gnulib).
3004 [!build-shared] (link-libc-tests): New variable.
3005 (link-libc-static-tests): New variable.
3006 [!gnulib] (gnulib-arch): New variable.
3007 [!gnulib] (gnulib-tests): Likewise.
3008 [!gnulib] (static-gnulib-arch): Likewise.
3009 [!gnulib] (static-gnulib-tests): Likewise.
3010 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3011 Define with "=" instead of ":=".
3012 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3013 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3014 * Rules (binaries-all-notests): New variable.
3015 (binaries-all-tests): Likewise.
3016 (binaries-static-notests): Likewise.
3017 (binaries-static-tests): Likewise.
3018 (binaries-all): Define using $(binaries-all-notests) and
3019 $(binaries-all-tests).
3020 (binaries-static): Define using $(binaries-static-notests) and
3021 $(binaries-static-tests).
3022 (binaries-shared-tests): New variable.
3023 (binaries-shared-notests): Likewise.
3024 (binaries-shared): Remove variable.
3025 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3026 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3027 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3028 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3029 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3030 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3031 * elf/Makefile (sln-modules): New variable.
3032 (extra-objs): Add $(sln-modules:=.o).
3033 (ldconfig-modules): Add static-stubs.
3034 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3035 * elf/static-stubs.c: New file.
3038 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3039 by 7 not 8 to examine high bit of fractional part. Use volatile
3040 variables when splitting into final array of floats if
3041 __FLT_EVAL_METHOD__ != 0.
3042 * math/libm-test.inc (cos_test): Add another test.
3043 (sin_test): Likewise.
3044 * sysdeps/i386/fpu/libm-test-ulps: Update.
3047 * math/libm-test.inc (cosh_test): Add more tests.
3049 * version.h (RELEASE): Set to "development".
3050 (VERSION): Set to "2.16.90".
3052 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3054 * NEWS: Update copyright. Remove last-updated date.
3055 Mention math library bug fixes and timezone data changes.
3056 * README: Mention GNU/Hurd, x32, and HPPA support status.
3058 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3060 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3062 2012-06-27 Andreas Jaeger <aj@suse.de>
3064 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3066 2012-06-25 Andreas Jaeger <aj@suse.de>
3068 * sysdeps/s390/fpu/libm-test-ulps: Update.
3070 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3071 Thomas Schwinge <thomas@codesourcery.com>
3073 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3074 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3075 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3078 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3080 * sysdeps/mach/start.c: Remove file.
3081 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3082 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3083 * sysdeps/sh/init-first.c: Likewise.
3085 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3086 registers for frame unwinding purposes, add CFI directives.
3087 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3089 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3092 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3093 __fortify_fail returning.
3094 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3096 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3097 sysdeps/sh/____longjmp_chk.S.
3098 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3099 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3100 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3101 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3103 * sysdeps/sh/abort-instr.h: New file.
3104 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3105 process in case exit returns.
3107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3108 initialize the GOT register before use.
3110 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3111 calculation of ARGC > 4.
3113 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3114 meaningful names to some local labels.
3116 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3117 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3119 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3120 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3121 (__arch_compare_and_exchange_val_16_acq): Likewise.
3122 (__arch_compare_and_exchange_val_32_acq): Likewise.
3123 (atomic_exchange_and_add): Fix gUSA sequence.
3124 (atomic_add): Likewise.
3125 (atomic_add_negative): Likewise.
3126 (atomic_add_zero): Likewise.
3127 (atomic_bit_test_set): Likewise.
3129 2012-06-22 Andreas Schwab <schwab@redhat.com>
3132 * include/link.h (struct link_map): Add l_free_initfini.
3133 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3135 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3136 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3137 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3140 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3142 * configure.in: Use AC_LANG_SOURCE.
3143 * configure: Regenerate.
3145 2012-06-22 Roland McGrath <roland@hack.frob.com>
3147 * configure.in (libc_cv_localstatedir): New substituted variable.
3148 * configure: Regenerated.
3149 * config.make.in (localstatedir): New variable, substituted from
3150 libc_cv_localstatedir.
3151 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3152 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3153 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3154 * sysdeps/gnu/configure: Regenerated.
3156 2012-06-21 Jeff Law <law@redhat.com>
3159 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3160 free. Simplify list management for _LIBC case.
3162 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3166 Clear sign bit of 64-bit integer value before comparing against
3169 * sysdeps/mach/configure: Regenerated.
3171 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3174 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3176 2012-06-21 Jeff Law <law@redhat.com>
3179 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3180 uint16_t for elements in the "seen" array to avoid char overflows.
3181 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3182 * elf/dl-open.c (dl_open_worker): Likewise.
3184 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3186 * scripts/list-sources.sh: Scan PORTS for translations.
3187 * po/libc.pot: Regenerated.
3189 2012-06-21 Andreas Jaeger <aj@suse.de>
3192 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3194 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3195 * bits/byteswap-16.h (__bswap_16): Likewise.
3196 * bits/byteswap.h (__bswap_constant_16): Likewise.
3198 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3201 * sysdeps/i386/fpu_control.h: Removed.
3202 * sysdeps/x86_64/fpu_control.h: Moved to ...
3203 * sysdeps/x86/fpu_control.h: Here.
3205 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3206 (_FPU_SETCW): Likewise.
3208 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3211 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3212 * sysdeps/x86/fpu/bits/mathinline.h: This.
3213 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3217 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3218 functions if __x86_64__ is defined.
3220 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3222 * string/endian.h: Add !__ASSEMBLER__ condition for including
3223 conversion interfaces.
3225 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3229 of ABS(x) in calculating zero to negative powers other than odd
3231 * math/libm-test.inc (pow_test): Add more tests.
3233 2012-06-15 Andreas Jaeger <aj@suse.de>
3235 * manual/contrib.texi (Contributors): Update entry of Liubov
3236 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3239 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3241 * string/string.h: Add __wur to GNU version of strerror_r.
3243 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3246 * string/Makefile (tests): Add tst-strtok_r.
3247 * string/tst-strtok_r.c: New file.
3248 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3249 RAX_LP/RDX_LP on SAVE_PTR.
3251 2012-06-14 Roland McGrath <roland@hack.frob.com>
3253 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3255 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3257 * libm_test.inc (csqrt_test): Allow more spurious underflow
3259 (j0_test): Likewise.
3260 (j1_test): Likewise.
3261 (y0_test): Likewise.
3262 (y1_test): Likewise.
3264 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3266 * po/Makefile (libc.pot): Use UTF-8 charset.
3268 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3271 Suppress sign-conversion warning from FD_SET.
3272 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3273 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3274 not unsigned long int.
3275 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3277 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3281 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3282 __extern_always_inline instead of __extern_inline.
3283 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3284 (__signbit): Likewise.
3285 (__signbitl): Support C++ namespace.
3286 (lrintf): New inline function.
3288 (llrintf): Likewise.
3300 (nearbyint): Likewise.
3301 (nearbyintf): Likewise.
3303 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3306 non-default versions.
3308 2012-06-11 Roland McGrath <roland@hack.frob.com>
3311 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3313 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3315 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3316 (FE_UPWARD, FE_DOWNWARD): Don't define.
3317 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3318 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3320 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3322 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3323 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3325 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3327 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3328 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3329 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3330 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3332 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3335 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3336 * sysdeps/i386/fpu/Implies: New file.
3337 * sysdeps/x86_64/fpu/Implies: Likewise.
3338 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3339 * sysdeps/x86/fpu/bits/fenv.h: This.
3341 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3344 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3347 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3348 character 0xffff that matches the last element of the
3351 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3356 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3359 values higher than 25.6283.
3361 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3364 subnormal exponent extraction and add some __builtin_expect.
3365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3366 Fix for subnormal mantissa calculation.
3368 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3370 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3371 cpu2 is -1 and errno is not ENOSYS.
3373 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3376 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3377 * sysdeps/x86/bits/string.h: This.
3378 * sysdeps/x86_64/bits/string.h: Removed.
3380 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3381 if not compiling for x86-64, but compiling for >= i486.
3383 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3384 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3386 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3387 New macro from Linux kernel 3.4.0.
3388 (FP_XSTATE_MAGIC2): Likewise.
3389 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3390 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3391 (struct _fpx_sw_bytes): New struct.
3392 (struct _xsave_hdr): Likewise.
3393 (struct _ymmh_state): Likewise.
3394 (struct _xstate): Likewise.
3396 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3397 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3398 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3399 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3400 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3401 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3403 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3405 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3406 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3407 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3408 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3410 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3413 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3414 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3415 (sysdep_headers): Include sys/platform/ppc.h.
3416 * sysdeps/powerpc/test-gettimebase.c: Test for
3417 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3418 * manual/Makefile (appendices): Include platform.texi.
3419 * manual/contrib.texi (Contributors): Update @node pointers.
3420 * manual/maint.texi (Maintenance): Likewise.
3421 (Platform): New node.
3422 * manual/platform.texi: New file. Document the new features.
3424 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3425 Jakub Jelinek <jakub@redhat.com>
3428 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3429 where __builtin_expect is unavailable.
3431 2012-06-03 David S. Miller <davem@davemloft.net>
3433 * stdlib/longlong.h: Updated from GCC.
3435 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3438 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3439 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3442 (GLIBC_2.16): Likewise.
3444 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3446 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3448 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3451 (default-abi): New variable.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3453 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3455 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3462 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3463 definition. Document in comment.
3465 2012-06-01 David S. Miller <davem@davemloft.net>
3467 * stdlib/longlong.h: Updated from GCC.
3469 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3472 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3473 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3474 sys/debugreg.h sys/io.h here.
3475 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3476 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3478 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3479 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3480 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3481 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3482 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3483 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3485 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3486 Define only if __x86_64__ is defined.
3488 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3491 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3492 Use int64_t for variable i.
3493 * math/libm-test.inc (fmod_test): Add more tests.
3495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3496 z computation is not scheduled after fetestexcept.
3497 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3498 Use math_force_eval instead of asm to ensure calculation scheduled
3499 before exception test.
3500 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3501 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3503 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3506 computation is not scheduled after fetestexcept.
3508 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3511 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3512 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3514 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3516 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3517 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3519 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3522 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3524 (__WCHAR_MIN): Support __WORDSIZE == 64.
3525 (__WCHAR_MAX): Likewise.
3527 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3532 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3535 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3536 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3538 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3539 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3542 Defined to 1 if __x86_64__ isn't defined.
3543 (_STAT_VER_LINUX_OLD): New.
3544 (st_atime): Remove duplicate.
3545 (st_mtime): Likewise.
3546 (st_ctime): Likewise.
3548 2012-05-31 David S. Miller <davem@davemloft.net>
3550 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3553 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3555 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3559 * elf/dl-reloc.c: Include <_itoa.h>.
3560 (_dl_reloc_bad_type): Remove use of INTUSE.
3561 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3562 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3563 * stdio-common/psiginfo.c (psiginfo): Likewise.
3564 * stdio-common/psignal.c (psignal): Likewise.
3565 * string/strsignal.c (strsignal): Likewise.
3566 * include/signal.h (_sys_siglist): Declare hidden proto.
3567 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3568 INTVARDEF with libc_hidden_data_def.
3569 * stdio-common/itoa-udigits.c: Likewise.
3570 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3571 (_itoa_lower_digits_internal): Remove declaration.
3572 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3573 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3574 (_sys_sigabbrev_internal): Remove aliases.
3575 (_sys_siglist): Define hidden alias.
3577 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3582 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3585 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3586 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3588 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3589 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3590 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3591 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3593 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3595 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3597 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3599 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3607 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3611 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3612 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3613 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3614 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3615 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3616 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3618 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3619 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3621 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3622 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3626 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3628 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3629 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3631 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3633 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3634 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3635 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3637 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3639 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3641 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3643 * math/math.h (M_El): Use two more decimal places.
3644 (M_LOG2El): Likewise.
3645 (M_LOG10El): Likewise.
3647 (M_LN10l): Likewise.
3649 (M_PI_2l): Likewise.
3650 (M_PI_4l): Likewise.
3651 (M_1_PIl): Likewise.
3652 (M_2_PIl): Likewise.
3653 (M_2_SQRTPIl): Likewise.
3654 (M_SQRT2l): Likewise.
3655 (M_SQRT1_2l): Likewise.
3657 2012-05-31 David S. Miller <davem@davemloft.net>
3659 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3660 values between float registers.
3661 * sysdeps/sparc/sparc64/memset.S: Likewise.
3662 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3664 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3666 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3667 -D_FORTIFY_SOURCE=1.
3668 (CPPFLAGS-tst-longjmp_chk.c): Define.
3669 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3670 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3671 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3672 CFLAGS-tst-wchar-h.c.
3674 2012-05-31 Marek Polacek <polacek@redhat.com>
3677 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3678 __endmntent_internal): Remove declaration.
3679 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3680 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3681 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3683 2012-05-30 David S. Miller <davem@davemloft.net>
3685 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3686 (___Q_simulate_exceptions): Use real FP ops rather than writing
3688 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3694 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3695 * sysdeps/x86/bits/xtitypes.h: This.
3697 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3698 * sysdeps/x86/bits/wordsize.h: This.
3700 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3701 * sysdeps/x86/bits/huge_vall.h: This.
3703 * sysdeps/i386/bits/select.h: Removed.
3704 * sysdeps/x86_64/bits/select.h: Renamed to ...
3705 * sysdeps/x86/bits/select.h: This.
3707 * sysdeps/i386/bits/setjmp.h: Removed.
3708 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3709 * sysdeps/x86/bits/setjmp.h: This.
3711 * sysdeps/i386/bits/mathdef.h: Removed.
3712 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3713 * sysdeps/x86/bits/mathdef.h: This.
3715 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3718 * include/sys/socket.h (__connect_internal)
3719 (__libc_sa_len_internal): Remove declaration.
3720 (__connect, __libc_sa_len): Declare hidden_proto.
3721 (SA_LEN): Remove use of INTUSE.
3722 * socket/connect.c: Add libc_hidden_def.
3723 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3724 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3725 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3727 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3729 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3730 of adding _internal alias.
3732 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3735 * sysdeps/i386/bits/link.h: Removed.
3736 * sysdeps/i386/bits/linkmap.h: Likewise.
3737 * sysdeps/x86_64/bits/link.h: Renamed to ...
3738 * sysdeps/x86/bits/link.h: This.
3739 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3740 * sysdeps/x86/bits/linkmap.h: This.
3742 * sysdeps/i386/bits/endian.h: Removed.
3743 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3744 * sysdeps/x86/bits/endian.h: This.
3746 * sysdeps/i386/bits/byteswap.h: Removed.
3747 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3748 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3749 * sysdeps/x86/bits/byteswap.h: This.
3750 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3751 * sysdeps/x86/bits/byteswap-16.h: This.
3752 * sysdeps/i386/Implies: Add x86.
3753 * sysdeps/x86_64/Implies: Likewise.
3755 2012-05-30 David S. Miller <davem@davemloft.net>
3757 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3758 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3760 (FP_TRAPPING_EXCEPTIONS): Define.
3761 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3762 (FP_TRAPPING_EXCEPTIONS): Define.
3763 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3764 subnormals only when inexact has been signalled or underflow
3765 exceptions are enabled.
3766 (_FP_PACK_CANONICAL): Likewise.
3768 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3772 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3774 2012-05-30 Richard Henderson <rth@twiddle.net>
3776 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3777 with #ifndef NOT_IN_libc.
3779 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3780 marked to avoid plt entry.
3782 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3785 * Makeconfig (default-abi): New macro.
3786 (abi-includes): Likewise.
3787 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3788 $(abi-$(default-abi)-lib-soname) for soname if defined.
3789 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3791 * Makefile (installed-stubs): Likewise.
3792 * include/stubs-biarch.h: Removed.
3793 * scripts/lib-names.awk: Only handle one library at a time.
3794 * scripts/soversions.awk: Remove WORDSIZE support.
3795 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3797 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3799 (syscall-list-default-condition): Likewise.
3800 (syscall-list-default-condition): Likewise.
3801 (syscall-list-includes): Likewise.
3802 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3803 syscall-list-* with abi-*. Handle undefined abi-variants.
3804 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3805 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3806 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3809 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3811 (syscall-list-32-options): Likewise.
3812 (syscall-list-32-condition): Likewise.
3813 (syscall-list-64-options): Likewise.
3814 (syscall-list-64-condition): Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3817 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3820 (abi-64-ld-soname): New macro.
3821 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3822 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3825 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3826 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3828 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3830 * sysdeps/unix/sysv/linux/kernel-features.h
3831 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3832 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3833 include <kernel-features.h>.
3834 [!__NR_ftruncate64]: Remove conditional code.
3835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3836 [__NR_ftruncate64]: Make code unconditional.
3837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3838 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3839 include <kernel-features.h>.
3840 [!__NR_ftruncate64]: Remove conditional code.
3841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3842 [__NR_ftruncate64]: Make code unconditional.
3843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3845 include <kernel-features.h>.
3846 [!__NR_ftruncate64]: Remove conditional code.
3847 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3848 [__NR_ftruncate64]: Make code unconditional.
3849 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3851 include <kernel-features.h>.
3852 [!__NR_ftruncate64]: Remove conditional code.
3853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3854 [__NR_ftruncate64]: Make code unconditional.
3855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3857 * configure.in (libc_cv_fpie): Weaken to a compile test using
3859 * configure: Regenerated.
3861 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3876 2012-05-27 David S. Miller <davem@davemloft.net>
3878 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3880 (__Q_simulate_exceptions): Return void. Change to simulate
3881 exceptions by writing into the %fsr.
3882 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3883 (__Qp_handle_exceptions): Likewise.
3885 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3886 __Qp_handle_exceptions.
3887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3888 __Qp_handle_exceptions.
3889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3890 as unused and give dummy FP_RND_NEAREST initializer.
3891 (FP_INHIBIT_RESULTS): Define.
3892 (___Q_simulate_exceptions): Update declaration.
3893 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3896 as unused and give dummy FP_RND_NEAREST initializer.
3897 (__Qp_handle_exceptions): Update declaration.
3898 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3901 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3903 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3904 the temporary FPU control word.
3905 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3906 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3907 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3908 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3909 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3910 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3911 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3913 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3914 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3915 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3917 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3919 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3922 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3924 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3925 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3926 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3927 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3929 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3930 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3933 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3935 * po/h.po: Update from translation team.
3937 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3939 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3942 handling of denormals.
3943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3944 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3946 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3952 2012-05-26 Marek Polacek <polacek@redhat.com>
3955 * math/libm-test.inc (fma_test): Don't always expect underflow
3958 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3961 * elf/tst-execstack.c: Include stackinfo.h.
3962 (do_test): Adjust test case to ensure that pthread_getattr_np
3963 behaviour remains the same after marking stack executable.
3965 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3967 * sysdeps/unix/sysv/linux/kernel-features.h
3968 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3969 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3971 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3972 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3973 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3975 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3976 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3978 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3980 * configure.in: Define the default includes to being none.
3981 * configure: Regenerated.
3983 2012-05-25 Roland McGrath <roland@hack.frob.com>
3985 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3986 * sysdeps/x86_64/setjmp.S: Likewise.
3987 * sysdeps/i386/bsd-setjmp.S: Likewise.
3988 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3989 * sysdeps/i386/setjmp.S: Likewise.
3990 * sysdeps/i386/__longjmp.S: Likewise.
3991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3992 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3994 * include/stap-probe.h: New file.
3995 * configure.in: Handle --enable-systemtap.
3996 * configure: Regenerated.
3997 * config.h.in (USE_STAP_PROBE): New #undef.
3998 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3999 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4000 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4002 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4006 to 2.4.0 where earlier.
4007 * sysdeps/unix/sysv/linux/configure: Regenerated.
4008 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4009 <kernel-features.h>.
4010 [__ASSUME_32BITUIDS]: Make code unconditional.
4011 [!__ASSUME_32BITUIDS]: Remove conditional code.
4012 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4013 <kernel-features.h>.
4014 [__ASSUME_32BITUIDS]: Make code unconditional.
4015 [!__ASSUME_32BITUIDS]: Remove conditional code.
4016 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4017 [__ASSUME_32BITUIDS]: Make code unconditional.
4018 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4019 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4020 <kernel-features.h>.
4021 [__ASSUME_32BITUIDS]: Make code unconditional.
4022 [!__ASSUME_32BITUIDS]: Remove conditional code.
4023 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4024 <kernel-features.h>.
4025 [__ASSUME_32BITUIDS]: Make code unconditional.
4026 [!__ASSUME_32BITUIDS]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4028 <kernel-features.h>.
4029 [__ASSUME_32BITUIDS]: Make code unconditional.
4030 [!__ASSUME_32BITUIDS]: Remove conditional code.
4031 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4032 <kernel-features.h>.
4033 [__ASSUME_32BITUIDS]: Make code unconditional.
4034 [!__ASSUME_32BITUIDS]: Remove conditional code.
4035 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4036 <kernel-features.h>.
4037 [__ASSUME_32BITUIDS]: Make code unconditional.
4038 [!__ASSUME_32BITUIDS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4040 <kernel-features.h>.
4041 [__ASSUME_32BITUIDS]: Make code unconditional.
4042 [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4044 <kernel-features.h>.
4045 [__ASSUME_32BITUIDS]: Make code unconditional.
4046 [!__ASSUME_32BITUIDS]: Remove conditional code.
4047 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4048 <kernel-features.h>.
4049 [__ASSUME_32BITUIDS]: Make code unconditional.
4050 [!__ASSUME_32BITUIDS]: Remove conditional code.
4051 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4052 <kernel-features.h>.
4053 [__ASSUME_32BITUIDS]: Make code unconditional.
4054 [!__ASSUME_32BITUIDS]: Remove conditional code.
4055 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4056 <kernel-features.h>.
4057 [__ASSUME_32BITUIDS]: Make code unconditional.
4058 [!__ASSUME_32BITUIDS]: Remove conditional code.
4059 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4060 <kernel-features.h>.
4061 [__NR_setresgid] (__setresgid): Do not declare.
4062 [__ASSUME_32BITUIDS]: Make code unconditional.
4063 [!__ASSUME_32BITUIDS]: Remove conditional code.
4064 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4065 <kernel-features.h>.
4066 [__NR_setresuid] (__setresuid): Do not declare.
4067 [__ASSUME_32BITUIDS]: Make code unconditional.
4068 [!__ASSUME_32BITUIDS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4070 <kernel-features.h>.
4071 [__ASSUME_32BITUIDS]: Make code unconditional.
4072 [!__ASSUME_32BITUIDS]: Remove conditional code.
4073 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4074 <kernel-features.h>.
4075 [__ASSUME_32BITUIDS]: Make code unconditional.
4076 [!__ASSUME_32BITUIDS]: Remove conditional code.
4077 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4078 <kernel-features.h>.
4079 [__ASSUME_32BITUIDS]: Make code unconditional.
4080 [!__ASSUME_32BITUIDS]: Remove conditional code.
4081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4082 <kernel-features.h>.
4083 [__ASSUME_32BITUIDS]: Make code unconditional.
4084 [!__ASSUME_32BITUIDS]: Remove conditional code.
4085 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4086 <kernel-features.h>.
4087 [__ASSUME_32BITUIDS]: Make code unconditional.
4088 [!__ASSUME_32BITUIDS]: Remove conditional code.
4089 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4090 <kernel-features.h>.
4091 [__ASSUME_32BITUIDS]: Make code unconditional.
4092 [!__ASSUME_32BITUIDS]: Remove conditional code.
4093 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4094 <kernel-features.h>.
4095 [__ASSUME_32BITUIDS]: Make code unconditional.
4096 [!__ASSUME_32BITUIDS]: Remove conditional code.
4097 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4098 <kernel-features.h>.
4099 [__ASSUME_32BITUIDS]: Make code unconditional.
4100 [!__ASSUME_32BITUIDS]: Remove conditional code.
4101 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4102 <kernel-features.h>.
4103 [__ASSUME_32BITUIDS]: Make code unconditional.
4104 [!__ASSUME_32BITUIDS]: Remove conditional code.
4105 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4106 <kernel-features.h>.
4107 [__ASSUME_32BITUIDS]: Make code unconditional.
4108 [!__ASSUME_32BITUIDS]: Remove conditional code.
4109 * sysdeps/unix/sysv/linux/kernel-features.h
4110 (__ASSUME_SETRESUID_SYSCALL): Remove.
4111 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4112 (__ASSUME_32BITUIDS): Likewise.
4113 (__ASSUME_LDT_WORKS): Likewise.
4114 (__ASSUME_O_DIRECTORY): Likewise.
4115 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4116 architecture but not kernel version.
4117 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4118 (__ASSUME_MMAP2_SYSCALL): Likewise.
4119 (__ASSUME_STAT64_SYSCALL): Likewise.
4120 (__ASSUME_IPC64): Likewise.
4121 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4122 <kernel-features.h>.
4123 [__ASSUME_32BITUIDS]: Make code unconditional.
4124 [!__ASSUME_32BITUIDS]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4126 <kernel-features.h>.
4127 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4128 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4129 132096]: Remove conditional code.
4130 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4131 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4132 <kernel-features.h>.
4133 [__ASSUME_32BITUIDS]: Make code unconditional.
4134 [!__ASSUME_32BITUIDS]: Remove conditional code.
4135 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4136 <kernel-features.h>.
4137 [__ASSUME_32BITUIDS]: Make code unconditional.
4138 [!__ASSUME_32BITUIDS]: Remove conditional code.
4139 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4140 <kernel-features.h>.
4141 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4143 (__setresgid): Do not declare.
4144 [__ASSUME_32BITUIDS]: Make code unconditional.
4145 [!__ASSUME_32BITUIDS]: Remove conditional code.
4146 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4147 <kernel-features.h>.
4148 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4150 (__setresuid): Do not declare.
4151 [__ASSUME_32BITUIDS]: Make code unconditional.
4152 [!__ASSUME_32BITUIDS]: Remove conditional code.
4153 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4154 <kernel-features.h>.
4155 [__ASSUME_32BITUIDS]: Make code unconditional.
4156 [!__ASSUME_32BITUIDS]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4158 <kernel-features.h>.
4159 [__ASSUME_32BITUIDS]: Make code unconditional.
4160 [!__ASSUME_32BITUIDS]: Remove conditional code.
4162 2012-05-25 Richard Henderson <rth@twiddle.net>
4164 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4165 dl_hwcap to ifunc resolver.
4166 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4169 dl_hwcap to ifunc resolver.
4170 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4172 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4175 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4176 for |x| <= 2**-26, not 2**-57.
4177 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4180 2012-05-24 Jeff Law <law@redhat.com>
4182 * stdio-common/Makefile (tests): Add bug25.
4183 * stdio-common/bug25.c: New test.
4185 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4188 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4189 multiple of MALLOC_ALIGNMENT in size.
4190 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4192 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4194 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4196 (FILENAME_MAX): Use macro-int-constant.
4197 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4198 (_IOFBF): Use macro-int-constant.
4201 (SEEK_CUR): Likewise.
4202 (SEEK_END): Likewise.
4203 (SEEK_SET): Likewise.
4204 (TMP_MAX): Likewise.
4205 (EOF): Use macro-int-constant. Require < 0.
4206 (NULL): Use macro-constant. Require == 0.
4207 (stdin): Require type to be FILE *.
4210 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4212 (EXIT_SUCCESS): Likewise.
4213 (NULL): Use macro-constant. Require == 0.
4214 (RAND_MAX): Use macro-int-constant.
4215 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4216 [C99-based standards] (strtof): Require function.
4217 [C99-based standards] (strtold): Likewise.
4218 [C99-based standards] (strtoll): Likewise.
4219 [C99-based standards] (strtoull): Likewise.
4220 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4221 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4222 [ISO || ISO99 || ISO11] (math.h): Likewise.
4223 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4224 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4227 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4230 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4231 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4232 * intl/dgettext.c (DCGETTEXT): Likewise.
4233 * intl/gettext.c (DCGETTEXT): Likewise.
4234 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4235 * posix/regex_internal.h (gettext): Likewise.
4236 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4238 * include/argz.h (__argz_count_internal)
4239 (__argz_stringify_internal): Remove declaration.
4240 (__argz_count, __argz_stringify): Declare hidden proto.
4241 * intl/dcgettext.c: Remove use of INTDEF.
4242 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4243 * string/argz-stringify.c: Likewise.
4244 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4245 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4246 Declare hidden proto.
4247 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4248 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4249 Declare hidden proto.
4250 * include/stdio.h (__asprintf_internal): Don't declare.
4251 (__asprintf): Don't define as macro. Declare hidden proto.
4252 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4253 (__fsetlocking): Declare hidden proto.
4254 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4255 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4257 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4258 (_IO_setlinebuf): Remove use of INTUSE.
4259 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4260 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4261 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4263 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4264 (_IO_do_flush): Remove use of INTUSE.
4265 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4266 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4267 (_IO_adjust_column, _IO_least_wmarker)
4268 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4269 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4270 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4271 (_IO_default_doallocate, _IO_wdefault_doallocate)
4272 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4273 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4274 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4275 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4276 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4277 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4278 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4279 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4280 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4281 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4282 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4283 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4284 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4286 (_IO_flush_all_internal, _IO_adjust_column_internal)
4287 (_IO_default_uflow_internal, _IO_default_finish_internal)
4288 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4289 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4290 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4291 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4292 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4293 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4294 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4295 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4296 (_IO_file_close_internal, _IO_file_close_it_internal)
4297 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4298 (_IO_file_init_internal, _IO_file_attach_internal)
4299 (_IO_file_fopen_internal, _IO_file_read_internal)
4300 (_IO_file_sync_internal, _IO_file_seek_internal)
4301 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4302 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4303 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4304 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4305 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4306 (_IO_list_all_internal, _IO_link_in_internal)
4307 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4308 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4309 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4310 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4311 (_IO_do_write_internal, _IO_padn_internal)
4312 (_IO_getline_info_internal, _IO_getline_internal)
4313 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4314 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4315 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4316 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4317 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4318 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4319 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4320 with libc_hidden_ver, remove use of INTUSE.
4321 * libio/genops.c: Likewise.
4322 * libio/freopen.c: Likewise.
4323 * libio/freopen64.c: Likewise.
4324 * libio/iofclose.c: Likewise.
4325 * libio/iofdopen.c: Likewise.
4326 * libio/iofflush.c: Likewise.
4327 * libio/iofflush_u.c: Likewise.
4328 * libio/iofgets.c: Likewise.
4329 * libio/iofgets_u.c: Likewise.
4330 * libio/iofopen.c: Likewise.
4331 * libio/iofopncook.c: Likewise.
4332 * libio/iofread.c: Likewise.
4333 * libio/iofread_u.c: Likewise.
4334 * libio/ioftell.c: Likewise.
4335 * libio/iofwrite.c: Likewise.
4336 * libio/iogetline.c: Likewise.
4337 * libio/iogets.c: Likewise.
4338 * libio/iogetwline.c: Likewise.
4339 * libio/iopadn.c: Likewise.
4340 * libio/iopopen.c: Likewise.
4341 * libio/ioseekoff.c: Likewise.
4342 * libio/ioseekpos.c: Likewise.
4343 * libio/iosetbuffer.c: Likewise.
4344 * libio/iosetvbuf.c: Likewise.
4345 * libio/ioungetc.c: Likewise.
4346 * libio/ioungetwc.c: Likewise.
4347 * libio/iovdprintf.c: Likewise.
4348 * libio/iovsprintf.c: Likewise.
4349 * libio/iovsscanf.c: Likewise.
4350 * libio/memstream.c: Likewise.
4351 * libio/obprintf.c: Likewise.
4352 * libio/oldfileops.c: Likewise.
4353 * libio/oldiofclose.c: Likewise.
4354 * libio/oldiofdopen.c: Likewise.
4355 * libio/oldiofopen.c: Likewise.
4356 * libio/oldiopopen.c: Likewise.
4357 * libio/oldstdfiles.c: Likewise.
4358 * libio/putc.c: Likewise.
4359 * libio/setbuf.c: Likewise.
4360 * libio/setlinebuf.c: Likewise.
4361 * libio/stdfiles.c: Likewise.
4362 * libio/strops.c: Likewise.
4363 * libio/vasprintf.c: Likewise.
4364 * libio/vscanf.c: Likewise.
4365 * libio/vsnprintf.c: Likewise.
4366 * libio/vswprintf.c: Likewise.
4367 * libio/wfiledoalloc.c: Likewise.
4368 * libio/wfileops.c: Likewise.
4369 * libio/wgenops.c: Likewise.
4370 * libio/wmemstream.c: Likewise.
4371 * libio/wstrops.c: Likewise.
4372 * libio/__fpurge.c: Likewise.
4373 * libio/__fsetlocking.c: Likewise.
4374 * assert/assert.c: Likewise.
4375 * debug/fgets_chk.c: Likewise.
4376 * debug/fgets_u_chk.c: Likewise.
4377 * debug/fread_chk.c: Likewise.
4378 * debug/fread_u_chk.c: Likewise.
4379 * debug/gets_chk.c: Likewise.
4380 * debug/obprintf_chk.c: Likewise.
4381 * debug/vasprintf_chk.c: Likewise.
4382 * debug/vdprintf_chk.c: Likewise.
4383 * debug/vsnprintf_chk.c: Likewise.
4384 * debug/vsprintf_chk.c: Likewise.
4385 * malloc/mtrace.c: Likewise.
4386 * misc/error.c: Likewise.
4387 * misc/syslog.c: Likewise.
4388 * stdio-common/asprintf.c: Likewise.
4389 * stdio-common/fxprintf.c: Likewise.
4390 * stdio-common/getw.c: Likewise.
4391 * stdio-common/isoc99_fscanf.c: Likewise.
4392 * stdio-common/isoc99_scanf.c: Likewise.
4393 * stdio-common/isoc99_vfscanf.c: Likewise.
4394 * stdio-common/isoc99_vscanf.c: Likewise.
4395 * stdio-common/isoc99_vsscanf.c: Likewise.
4396 * stdio-common/printf-prs.c: Likewise.
4397 * stdio-common/printf_fp.c: Likewise.
4398 * stdio-common/printf_fphex.c: Likewise.
4399 * stdio-common/printf_size.c: Likewise.
4400 * stdio-common/putw.c: Likewise.
4401 * stdio-common/scanf.c: Likewise.
4402 * stdio-common/sprintf.c: Likewise.
4403 * stdio-common/tmpfile.c: Likewise.
4404 * stdio-common/vfprintf.c: Likewise.
4405 * stdio-common/vfscanf.c: Likewise.
4406 * stdlib/strfmon_l.c: Likewise.
4407 * sunrpc/openchild.c: Likewise.
4408 * sunrpc/xdr_stdio.c: Likewise.
4409 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4410 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4412 2012-05-24 Roland McGrath <roland@hack.frob.com>
4414 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4416 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4417 in the third column, to generate for the shared library an IFUNC
4418 that uses _dl_vdso_vsym.
4419 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4420 * Makeconfig (object-suffixes-noshared): New variable.
4422 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4423 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4424 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4425 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4428 * include/sys/time.h (__gettimeofday): Remove macro.
4429 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4430 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4432 (__gettimeofday): Add libc_hidden_def.
4433 (gettimeofday): Add libc_hidden_weak.
4434 * sysdeps/mach/gettimeofday.c: Likewise.
4435 * sysdeps/posix/gettimeofday.c: Likewise.
4436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4437 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4439 (__gettimeofday_internal): Remove strong_alias.
4440 (__gettimeofday): Add libc_hidden_def.
4441 (gettimeofday): Add libc_hidden_weak.
4442 * sysdeps/unix/syscalls.list (gettimeofday):
4443 Remove __gettimeofday_internal alias.
4445 2012-05-24 Daniel Jacobowitz <drow@false.org>
4446 H.J. Lu <hongjiu.lu@intel.com>
4449 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4450 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4451 (largebin_index_32_big): New.
4452 (largebin_index): Use it for 16-byte alignment.
4453 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4454 correction with front_misalign.
4456 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4484 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4485 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4487 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4491 * math/libm-test.inc (exp_test): Add test from bug 14036.
4492 (pow_test): Add test from bug 10846.
4494 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4496 (special_function): Do not include flags in test name.
4497 (parse_args): Likewise.
4498 * sysdeps/i386/fpu/libm-test-ulps: Update.
4499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4500 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4501 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4506 * math/libm-test.inc ("Philosophy"): Update comment about
4508 (UNDERFLOW_EXCEPTION): New macro.
4509 (UNDERFLOW_EXCEPTION_OK): Likewise.
4510 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4511 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4512 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4513 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4514 (INVALID_EXCEPTION_OK): Update value.
4515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4516 (OVERFLOW_EXCEPTION_OK): Likewise.
4517 (IGNORE_ZERO_INF_SIGN): Likewise.
4518 (test_exceptions): Handle underflow exceptions.
4519 (acos_test): Update for underflow exception expectations.
4520 (cexp_test): Likewise.
4521 (clog_test): Likewise.
4522 (clog10_test): Likewise.
4523 (csqrt_test): Likewise.
4524 (ctan_test): Likewise.
4525 (ctanh_test): Likewise.
4526 (exp_test): Likewise.
4527 (exp10_test): Likewise.
4528 (exp2_test): Likewise.
4529 (expm1_test): Likewise.
4530 (fma_test): Likewise.
4531 (j0_test): Likewise.
4532 (jn_test): Likewise.
4533 (nexttoward_test): Likewise.
4534 (pow_test): Likewise.
4535 (scalbn_test): Likewise.
4536 (scalbln_test): Likewise.
4537 (tan_test): Likewise.
4538 (y1_test): Likewise.
4539 * sysdeps/i386/fpu/libm-test-ulps: Update.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 2012-05-23 David S. Miller <davem@davemloft.net>
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4545 (__libc_sigaction): Remove unused local variables.
4547 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4549 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4551 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4553 mktime: avoid signed integer overflow
4554 * time/mktime.c (__mktime_internal): Do not mishandle the case
4555 where diff == INT_MIN.
4557 mktime: simplify computation of average
4558 * time/mktime.c (ranged_convert): Use new time_t_avg function
4559 instead of rolling our own (probably-slower) code.
4561 mktime: do not assume signed right shift propagates sign bit
4562 * time/mktime.c (isdst_differ): New static function.
4563 (__mktime_internal): No need to normalize tm_isdst now.
4564 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4567 mktime: merge another wrapv change from gnulib
4568 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4569 from some compilers.
4571 mktime: remove incorrect attempt at unusual arithmetics
4572 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4573 The code didn't really work on such machines anyway.
4574 (TYPE_MINIMUM): Assume two's complement.
4575 (twos_complement_arithmetic): Verify that long_int and time_t
4576 are two's complement (or unsigned, in the latter case).
4578 mktime: check signed shifts on long_int and time_t, too
4579 * time/mktime.c (SHR): Check that shifts work as desired
4580 on the types long_int and time_t too, as SHR is used on
4583 mktime: do not assume 'long' is wide enough
4584 * time/mktime.c (verify): Move decl up.
4585 (long_int): New type.
4586 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4587 to remove assumption in the code that 'long' is wide enough to
4588 store year values. This assumption is not true on x32 and on
4589 some non-glibc platforms.
4591 mktime: merge wrapv change from gnulib
4592 * time/mktime.c (WRAPV): New macro.
4593 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4594 (guess_time_tm, __mktime_internal): Do not assume that signed
4595 integer overflow wraps around; modern compilers generate code
4596 where this assumption is no longer valid.
4598 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4600 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4601 Replace "jmp L(pseudo_end)" with "ret".
4602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4605 2012-05-23 Andreas Jaeger <aj@suse.de>
4607 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4608 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4610 2012-05-23 Andreas Jaeger <aj@suse.de>
4611 Maximilian Attems <max@stro.at>
4613 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4616 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4619 code so that pseudo_end is just ret and the stack pointer is
4620 correct also for static library in error case.
4622 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4624 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4625 move to syscalls.list.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4631 * manual/install.texi (Running make install): Do not mention Linux
4632 kernel version for which pt_chown is not needed.
4633 (Linux): Do not mention problems with nscd with 2.0 kernels.
4634 * INSTALL: Regenerated.
4636 2012-05-23 Andreas Jaeger <aj@suse.de>
4638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4639 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4641 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4643 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4645 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4646 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4650 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4651 * sysdeps/unix/sysv/linux/bits/in.h
4652 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4654 2012-05-22 Roland McGrath <roland@hack.frob.com>
4656 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4657 (PREPARE_VERSION): Just use assert instead, it will be elided
4658 under [NDEBUG] anyway.
4660 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4662 * sysdeps/unix/sysv/linux/Makefile: Include
4663 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4664 (sysdep_routines): Remove sysctl.
4665 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4666 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4669 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4671 2012-05-22 Andreas Jaeger <aj@suse.de>
4673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4674 that pseudo_end is just ret and the stack pointer is correct also
4675 for static library in error case.
4677 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4680 * nss/nsswitch.c (defconfig_entries): New variable.
4681 (__nss_database_lookup): Don't leak defconfig entries.
4682 (nss_parse_service_list): Don't leak on error paths.
4683 (free_database_entries): New function.
4684 (free_defconfig): New function.
4685 (free_mem): Move common code to free_database_entries.
4687 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4691 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4693 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4694 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4697 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4698 (INTERNAL_SYSCALL_TYPES): Likewise.
4699 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4700 (LOAD_REGS_TYPES_[1-6]): Likewise.
4701 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4702 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4704 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4706 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4707 copysignl for GLIBC_2_0.
4708 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4709 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4711 logbl for GLIBC_2_0.
4712 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4715 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4718 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4720 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4723 * time/mktime.c: Update copyright years.
4725 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4727 mktime: merge comment-quoting-style change from gnulib
4728 * time/mktime.c: Quote 'like this' in comments.
4729 The GNU coding standards suggest that we no longer quote `like this',
4730 as "`" and "'" are typically rendered asymmetrically nowadays.
4731 The typical gnulib style is to quote 'like this' when quoting
4732 code, and "like this" when quoting English.
4734 * time/mktime.c (compile-command): Add "-I.".
4736 mktime: merge mktime-internal.h change from gnulib
4737 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4739 mktime: merge time_r change from gnulib
4740 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4742 mktime: merge DEBUG change from gnulib
4743 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4744 case system <time.h> has a #define.
4746 mktime: merge <sys/types.h> change from gnulib
4747 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4748 since <time.t> is now guaranteed to define time_t.
4750 mktime: merge HAVE_CONFIG_H change from gnulib
4751 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4753 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4758 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4760 (struct rusage): Use anonymous union to pad each field to
4763 2012-05-21 David S. Miller <davem@davemloft.net>
4765 * Makefules (o-iterator): Remove .s cases.
4766 (compile-command.s): Delete.
4767 (COMPILE.s): Delete.
4768 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4770 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4772 * configure.in (libc_cv_predef_stack_protector): Only consider
4773 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4774 * configure: Regenerated.
4776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4779 New macro. Use R*LP on int and pointer.
4780 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4781 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4782 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4783 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4785 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4786 [__WORDSIZE_TIME64_COMPAT32] instead of
4787 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4788 (struct utmp): Likewise.
4789 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4790 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4792 (__WORDSIZE_TIME64_COMPAT32): This.
4793 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4794 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4795 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4797 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4798 (__WORDSIZE_TIME64_COMPAT32): New macro.
4800 2012-05-21 Andreas Jaeger <aj@suse.de>
4802 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4803 only if [SHARED]. Add prototype for __wcschr_ia32.
4805 2012-05-21 Roland McGrath <roland@hack.frob.com>
4807 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4808 of %rbp unmolested in the jmp_buf while mangling the low bits.
4809 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4810 unmolested high bits of %rbp while demangling the low bits.
4811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4813 2012-05-21 Andreas Jaeger <aj@suse.de>
4815 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4816 * sunrpc/svc_simple.c: Use it for registerrpc.
4817 * sunrpc/xcrypt.c: Use it for passwd2des.
4819 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4821 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4823 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4824 Don't define if [__SYSCALL_WORDSIZE != 32].
4825 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4828 2012-05-21 Bruno Haible <bruno@clisp.org>
4829 Andreas Jaeger <aj@suse.de>
4831 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4832 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4833 inptr and inend for must_buffer_ch.
4834 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4835 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4836 * stdio-common/Makefile (tests): Remove bug15.
4837 (bug15-ENV): Remove macro.
4838 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4841 2012-05-19 Andreas Jaeger <aj@suse.de>
4842 Roland McGrath <roland@hack.frob.com>
4844 * manual/contrib.texi: Completely rewritten. It contains now an
4845 alphabetical list of contributors and their contributions.
4847 2012-05-21 Richard Henderson <rth@twiddle.net>
4849 * misc/getauxval.c (__getauxval): Use unsigned long int.
4850 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4851 (getauxval): Use unsigned long int.
4853 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4855 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4857 2012-05-21 Roland McGrath <roland@hack.frob.com>
4859 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4860 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4861 __alignof__ (long double).
4863 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4867 2012-05-20 Richard Henderson <rth@twiddle.net>
4869 * misc/getauxval.c: New file.
4870 * misc/sys/auxv.h: New file.
4871 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4872 (routines): Add getauxval.
4873 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4874 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4875 * elf/dl-sysdep.c (_dl_auxv): Remove.
4876 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4877 * elf/dl-support.c (_dl_auxv): New variable.
4878 (_dl_aux_init): Initialize it.
4879 * manual/startup.texi (Auxiliary Vector): New node.
4880 * sysdeps/generic/bits/hwcap.h: New file.
4881 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4882 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4883 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4884 * sysdeps/sparc/sysdep.h: ... here. Include it.
4885 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4898 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4902 2012-05-19 David S. Miller <davem@davemloft.net>
4904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4906 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4909 * math/s_ccosh.c: Include <float.h>
4910 (__ccosh): Avoid internal overflow calculating sinh and cosh
4911 values before multiplying by sin and cos values.
4912 * math/s_ccoshf.c: Likewise.
4913 * math/s_ccoshl.c: Likewise.
4914 * math/s_csin.c: Likewise.
4915 * math/s_csinf.c: Likewise.
4916 * math/s_csinl.c: Likewise.
4917 * math/s_csinh.c: Likewise.
4918 * math/s_csinhf.c: Likewise.
4919 * math/s_csinhl.c: Likewise.
4920 * math/libm-test.inc (ccos_test): Add more tests.
4921 (ccosh_test): Likewise.
4922 (csin_test): Likewise.
4923 (csinh_test): Likewise.
4924 * sysdeps/i386/fpu/libm-test-ulps: Update.
4925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4927 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4929 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4930 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4932 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4934 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4936 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4937 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4938 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4939 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4940 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4941 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4942 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4943 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4944 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4945 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4946 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4947 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4948 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4949 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4950 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4951 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4952 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4953 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4954 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4955 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4956 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4957 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4958 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4959 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4960 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4961 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4962 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4963 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4964 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4965 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4966 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4968 2012-05-18 Andreas Jaeger <aj@suse.de>
4970 * csu/.gitignore: Delete.
4972 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4974 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4975 (timex): Use __syscall_slong_t.
4977 2012-05-18 Andreas Jaeger <aj@suse.de>
4978 Carlos O'Donell <carlos_odonell@mentor.com>
4980 * manual/install.texi (Configuring and compiling): Update
4981 description about files modified in the source directory.
4982 * INSTALL: Regenerated.
4984 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4986 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4987 value. Use "or" to set return value to -1.
4988 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4989 negate return value.
4991 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4993 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4994 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4995 failure if the compiler has Graphite support disabled.
4996 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4998 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4999 CFLAGS-memmove.c): Likewise.
5000 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5003 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5005 * sysdeps/x86_64/x32/_itoa.h: New file.
5007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5008 getdents system call only if kernel and user dirents have the
5009 same d_ino and d_off.
5011 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5012 LLONG_MAX != LONG_MAX.
5013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5014 (_fitoa_word): Likewise.
5016 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5018 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5022 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5023 include <bits/wordsize.h>. Check __x86_64__ instead of
5025 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5026 if __x86_64__ is defined. Use anonymous union on fpstate.
5028 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5031 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5033 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5034 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5035 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5036 Refer to _rtld_local_ro instead of _rtld_global_ro.
5037 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5039 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5041 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5043 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5044 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5045 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5047 * sysdeps/powerpc/powerpc32/dl-machine.c
5048 (__elf_machine_runtime_setup) [PROF]: Don't reference
5051 2012-05-18 Andreas Jaeger <aj@suse.de>
5053 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5054 function only available for GCCs before 3.4 since GCC 3.4
5055 introduced a builtin.
5057 (llrintf): Likewise.
5065 (nearbyint): Likewise.
5066 (nearbyintf): Likewise.
5072 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5074 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5075 on both fields and cast pointer to __syscall_ulong_t.
5077 * bits/types.h (__fsword_t): New type.
5078 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5079 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5081 (__FSWORD_T_TYPE): Likewise.
5082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5083 (__FSWORD_T_TYPE): Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5085 (__FSWORD_T_TYPE): Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5087 (__FSWORD_T_TYPE): Likewise.
5088 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5089 __SWORD_TYPE with __fsword_t.
5090 (statfs64): Likewise.
5092 2012-05-17 David S. Miller <davem@davemloft.net>
5094 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5096 2012-05-17 Andreas Jaeger <aj@suse.de>
5098 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5101 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5103 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5105 2012-05-17 Andreas Jaeger <aj@suse.de>
5107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5110 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5112 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5114 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5116 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5117 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5119 2012-05-17 Andreas Jaeger <aj@suse.de>
5120 Carlos O'Donell <carlos_odonell@mentor.com>
5123 * sysdeps/x86_64/multiarch/init-arch.h
5124 (bit_YMM_Usable): Rename to...
5125 (bit_AVX_Usable): ... this.
5126 (bit_FMA4_Usable): New macro.
5127 (bit_XMM_state): New macro.
5128 (bit_YMM_state): New macro.
5129 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5130 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5131 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5132 (CPUID_OSXSAVE): New macro.
5133 (CPUID_AVX): New macro.
5134 (CPUID_FMA4): New macro.
5135 (index_YMM_Usable): Rename to...
5136 (index_AVX_Usable): ... this.
5137 (HAS_AVX): Use HAS_ARCH_FEATURE.
5138 (HAS_FMA4): Likewise.
5139 (HAS_YMM_USABLE): Remove.
5140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5141 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5143 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5144 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5145 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5146 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5147 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5149 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5151 * math/libm-test.c: Support platforms without multiple rounding modes.
5152 * math/bug-nextafter.c: Support platforms without FP exceptions.
5153 * math/bug-nexttoward.c: Likewise.
5154 * math/test-fenv.c: Likewise.
5155 * math/test-misc.c: Likewise.
5156 * stdlib/bug-getcontext.c: Likewise.
5158 2012-05-17 Andreas Jaeger <aj@suse.de>
5160 * manual/examples/search.c (critter_cmp): Change signature to
5162 * manual/string.texi (Collation Functions): Likewise.
5164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5166 * bits/types.h: Fold copyright years.
5167 * bits/typesizes.h: Likewise.
5168 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5172 * time/time.h: Likewise.
5174 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5177 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5178 in instead of returning them. Return void.
5179 (__libc_mallinfo): Accumulate over all arenas.
5180 (__malloc_stats): Adjust for change in int_mallinfo interface.
5182 2012-05-16 Roland McGrath <roland@hack.frob.com>
5185 * configure.in (NM): Add AC_CHECK_TOOL for it.
5186 (libc_extra_cflags): New substituted variable.
5187 Check for -fstack-protector being used implicitly.
5188 * configure: Regenerated.
5189 * config.make.in (config-extra-cflags): New variable,
5190 gets @libc_extra_cflags@.
5191 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5194 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5195 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5196 * configure: Regenerated.
5197 * config.make.in (CPPUNDEFS): New substituted variable.
5198 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5199 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5200 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5202 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5204 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5205 (mq_attr): Use __syscall_slong_t.
5207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5209 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5210 Check __x86_64__ instead of __WORDSIZE.
5211 (_STAT_VER_LINUX): Likewise.
5212 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5213 __syscall_ulong_t and __syscall_slong_t.
5216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5218 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5222 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5224 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5226 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5229 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5230 include <bits/wordsize.h>. Check __x86_64__ instead of
5232 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5234 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5237 include <bits/wordsize.h>. Check __x86_64__ instead of
5239 (user_regs_struct): Use "__extension__ unsigned long long"
5240 instead of "unsigned long" if __x86_64__ is defined.
5241 (user): Likewise. Pad after pointer field if __ILP32__ is
5244 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5246 * configure.in (makeinfo): Require version 4.5 or later. Allow
5248 * configure: Regenerated.
5249 * manual/install.texi (texinfo): Increase version requirement to
5251 * INSTALL: Regenerated.
5253 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5257 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5259 * sysdeps/x86_64/x32/ffs.c: New file.
5261 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5263 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5264 defined. Use __syscall_ulong_t.
5265 (shminfo): Use __syscall_ulong_t.
5266 (shm_info): Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5271 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5273 (msgqnum_t): Use __syscall_ulong_t.
5274 (msglen_t): Likewise.
5275 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5278 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5279 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5281 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5283 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5284 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5286 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5289 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5290 include <bits/wordsize.h>. Check __x86_64__ instead of
5293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5294 "unsigned long long int" if __x86_64__ is defined.
5295 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5298 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5299 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5301 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5303 (GET_PC): Cast to uintptr_t first.
5304 (GET_FRAME): Likewise.
5305 (GET_STACK): Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5326 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5332 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5337 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5339 * Makerules (+depfiles): Also collect depfiles from .oS in
5341 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5342 .oS, $(libnldbl-routines)).
5344 * Makerules (native-compile-mkdep-flags): Define.
5345 * sunrpc/Makefile (extra-objs): Add $(addprefix
5346 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5347 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5348 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5349 calling $(make-target-directory).
5351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5353 * bits/types.h (__snseconds_t): Removed.
5354 * time/time.h (struct timespec): Replace __snseconds_t with
5356 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5357 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5360 (__SNSECONDS_T_TYPE): Likewise.
5361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5362 (__SNSECONDS_T_TYPE): Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5364 (__SNSECONDS_T_TYPE): Likewise.
5366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5368 * sysdeps/mach/hurd/bits/typesizes.h
5369 (__SYSCALL_SLONG_TYPE): New macro.
5370 (__SYSCALL_ULONG_TYPE): Likewise.
5372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5374 * bits/types.h (__syscall_slong_t): New type.
5375 (__syscall_ulong_t): Likewise.
5377 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5378 (__SYSCALL_ULONG_TYPE): Likewise.
5379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5380 (__SYSCALL_SLONG_TYPE): Likewise.
5381 (__SYSCALL_ULONG_TYPE): Likewise.
5382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5383 (__SYSCALL_SLONG_TYPE): Likewise.
5384 (__SYSCALL_ULONG_TYPE): Likewise.
5385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5386 (__SYSCALL_SLONG_TYPE): Likewise.
5387 (__SYSCALL_ULONG_TYPE): Likewise.
5389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5391 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5392 Add sigaltstack-offsets.sym.
5393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5394 <sigaltstack-offsets.h>.
5395 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5396 longjmp_msg pointer.
5397 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5398 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5400 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5402 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5404 * elf/stackguard-macros.h: Remove file.
5405 * sysdeps/generic/stackguard-macros.h: New file.
5406 * sysdeps/i386/stackguard-macros.h: Likewise.
5407 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5408 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5409 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5410 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5411 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5412 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5413 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5414 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5415 <elf/stackguard-macros.h>.
5418 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5419 __aligned__ in attribute.
5420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5421 (gregset_t): Likewise.
5423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5425 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5426 * sysdeps/x86_64/64/Implies-after: Here. New file.
5427 * sysdeps/x86_64/x32/Implies-after: New file.
5429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5431 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5432 and access return value for _dl_profile_fixup. Use R10_LP to
5435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5437 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5441 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5442 * sysdeps/x86_64/x32/sysdep.h: New file.
5444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5446 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5447 * sysdeps/x86_64/setjmp.S: Likewise.
5449 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5453 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5454 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5455 remove unused global constant.
5457 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5459 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5460 include of <not-cancel.h>.
5462 2012-05-15 Roland McGrath <roland@hack.frob.com>
5464 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5466 2012-05-15 Jeff Law <law@redhat.com>
5467 Andreas Jaeger <aj@suse.de>
5470 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5472 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5473 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5474 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5475 code changing __hst_map_handle.map.
5477 2012-05-15 Roland McGrath <roland@hack.frob.com>
5479 * configure.in (sysnames): Look for Implies-before and Implies-after
5481 * configure: Regenerated.
5483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5485 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5486 8-byte data alignment with LP_SIZE alignment.
5488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5490 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5495 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5508 (stackinfo_sub_sp): Likewise.
5510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5512 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5527 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5531 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5532 into R11_LP and load __x86_64_shared_cache_size_half into
5535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5537 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5540 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5549 powerpc32/power7/fpu/s_logb.c via #include.
5550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5551 powerpc32/power7/fpu/s_logbf.c via #include.
5552 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5553 powerpc32/power7/fpu/s_logbl.c via #include.
5555 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5557 * README.libm: Remove file.
5559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5562 count for x32. Use R*_LP and omit operand-size suffix.
5564 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5566 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5567 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5568 * sysdeps/x86_64/x32/shlib-versions: New file.
5570 2012-05-14 Roland McGrath <roland@hack.frob.com>
5572 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5573 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5574 Use _dl_fatal_printf instead.
5576 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5579 set if not set by the user. Do not allow for being unset.
5580 * sysdeps/unix/sysv/linux/configure: Regenerated.
5582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5584 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5585 the `q' suffix from lea and replace .quad with ASM_ADDR.
5587 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5590 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5592 (PTR_DEMANGLE): Likewise.
5594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5596 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5598 (ASM_ADDR): Likewise.
5616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5618 * sysdeps/x86_64/x32/dl-machine.h: New file.
5620 2012-05-14 Andreas Jaeger <aj@suse.de>
5622 * manual/Makefile (subdir): Remove export of subdir.
5623 (all): Remove target.
5624 (.PHONY): Remove all from list.
5625 (mkinstalldirs): Remove.
5626 (.PHONY): Remove installdirs from list.
5627 ($(inst_infodir)/libc.info): Use make-target-directory.
5628 (installdirs): Remove.
5630 (glibc-targets): Remove.
5633 ($(objpfx)stubs ../po/manual.pot): Remove.
5634 ($(objpfx)stamp%): Remove.
5635 (make-target-directory): Remove.
5636 (subdir_install): Remove.
5644 * manual/.gitignore: Remove, it's not needed anymore.
5645 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5647 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5649 (texis): Renamed to $(objpfx)texis.
5650 (texis-path): New, contains path to generated files.
5651 (chapters.%): Use texis-path for complete path, add extra argument
5653 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5654 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5655 (summary,texi, stamp-summary): Use complete path of
5656 files. Generate files in build dir.
5657 (dir-add.texi): Build in build dir.
5658 (libm-err.texi,stamp-libm-err): Likewise.
5659 (version.texi, stamp-version): Likewise.
5660 (.%c.texi): Likewise.
5661 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5662 (mostlyclean): Remove target.
5663 (realclean): Remove target.
5664 (generated): Add new variable with contents from mostlyclean and
5665 realclean, remove entries duplicated in common-mostlyclean, add
5666 stamp-libm-err and stamp-version.
5667 (generated-dirs): Add libc directory.
5668 ($(inst_infodir)/libc.info): Install files from build dir.
5670 * manual/install.texi (Configuring and compiling): Adjust since
5671 the info files are not part of the tar ball anymore.
5673 2012-05-14 Andreas Jaeger <aj@suse.de>
5675 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5678 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5682 to 2.2.0 where earlier.
5683 * sysdeps/unix/sysv/linux/configure: Regenerated.
5684 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5685 Remove conditional code.
5686 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5687 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5688 Remove conditional code.
5689 [!__NR_lchown]: Likewise.
5690 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5691 [__NR_lchown]: Likewise.
5692 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5693 comment referencing __ASSUME_LCHOWN_SYSCALL.
5694 * sysdeps/unix/sysv/linux/i386/sigaction.c
5695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5697 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5698 Remove conditional code.
5699 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5700 (__protocol_available): Remove #if 0 code.
5701 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5703 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5704 * sysdeps/unix/sysv/linux/kernel-features.h
5705 (__ASSUME_GETCWD_SYSCALL): Don't define.
5706 (__ASSUME_REALTIME_SIGNALS): Likewise.
5707 (__ASSUME_PREAD_SYSCALL): Likewise.
5708 (__ASSUME_PWRITE_SYSCALL): Likewise.
5709 (__ASSUME_POLL_SYSCALL): Likewise.
5710 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5711 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5713 (__ASSUME_SIOCGIFNAME): Don't define.
5714 (__ASSUME_MSG_NOSIGNAL): Likewise.
5715 (__ASSUME_SENDFILE): Define unconditionally.
5716 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5717 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5719 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5720 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5721 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5722 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5723 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5724 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5725 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5739 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5742 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5745 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5750 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5751 Remove conditional code.
5752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5753 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5754 Remove conditional code.
5755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5756 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5757 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5758 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5759 Remove conditional code.
5760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5761 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5762 Remove conditional code.
5763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5764 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5765 Remove conditional code.
5766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5767 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5768 Remove conditional code.
5769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5770 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5771 Remove conditional code.
5772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5773 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5776 * sysdeps/unix/sysv/linux/sigaction.c
5777 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5778 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5779 * sysdeps/unix/sysv/linux/sigpending.c
5780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5782 * sysdeps/unix/sysv/linux/sigprocmask.c
5783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5785 * sysdeps/unix/sysv/linux/sigsuspend.c
5786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5789 (__libc_missing_rt_sigs): Remove.
5790 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5791 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5792 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5793 Remove conditional code.
5794 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5795 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5799 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5800 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5802 2012-05-14 Andreas Jaeger <aj@suse.de>
5804 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5805 it's not used in glibc.
5806 (__coshm1): Likewise.
5807 (__acosh1p): Likewise.
5810 * manual/string.texi (Copying and Concatenation): Add missing
5811 variable in concat example.
5812 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5818 __builtin_clzl with __builtin_clzll.
5820 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5823 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5826 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5828 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5829 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5830 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5831 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5833 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5835 * NEWS: Update ia64 info.
5837 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5839 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5842 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5844 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5845 * sysdeps/unix/syscalls.list (dup3): Likewise.
5846 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5847 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5849 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5851 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5852 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5854 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5856 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5858 (TLS_IE): Use mov/add instead of movq/addq to load thread
5860 (TLS_GD_PREFIX): New.
5863 2012-05-11 David S. Miller <davem@davemloft.net>
5865 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5866 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5867 (_FPU_SETCW): Likewise.
5869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5871 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5874 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5877 * iconvdata/gb18030.c: Update tables.
5878 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5879 characters specially.
5880 (BODY for TO_LOOP): Add encoding of missing ranges.
5882 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5885 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5886 * sysdeps/mach/hurd/dup3.c: Likewise.
5887 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5888 * sysdeps/powerpc/memmove.c:: Likewise.
5890 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5893 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5895 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5897 * elf/elf.h (R_X86_64_RELATIVE64): New.
5898 (R_X86_64_NUM): Updated.
5899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5900 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5901 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5902 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5903 tst-quad1pie tst-quad2pie
5904 (modules-names): Add tst-quadmod1 tst-quadmod2.
5905 ($(objpfx)tst-quad1): New dependency.
5906 ($(objpfx)tst-quad2): Likewise.
5907 ($(objpfx)tst-quad1pie): Likewise.
5908 ($(objpfx)tst-quad2pie): Likewise.
5909 * sysdeps/x86_64/tst-quad1.c: New file.
5910 * sysdeps/x86_64/tst-quad1pie.c: New file.
5911 * sysdeps/x86_64/tst-quad2.c: Likewise.
5912 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5913 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5914 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5915 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5916 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5920 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5921 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5922 * streams/stropts.h (t_scalar_t): Define type.
5924 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5925 (_PATH_PRESERVE): Set to "/var/lib".
5926 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5928 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5931 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5932 if __dir_mkfile succeeded.
5934 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5935 checking for _hurd_dtablesize. Unlock it right after having
5936 finished _hurd_dtable allocation.
5938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5940 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5941 * sysdeps/mach/hurd/configure: Regenerated.
5942 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5943 special-casing to...
5944 * sysdeps/gnu/configure.in: ... this new file.
5945 * sysdeps/unix/sysv/linux/configure: Regenerated.
5946 * sysdeps/gnu/configure: New generated file.
5948 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5949 for Linux: use nsec instead of usec, as well as:
5950 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5951 members of type struct timespec.
5952 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5954 (struct stat64): Likewise.
5955 (_STATBUF_ST_NSEC): New macro.
5956 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5958 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5959 __strtoul_internal rather than strtoul.
5961 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5963 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5968 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5969 which preserves existing values.
5970 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5972 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5974 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5975 TIMEOUT values. Return EINVAL for NFDS values either negative or
5976 greater than FD_SETSIZE.
5978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5980 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5981 allocated, call __vm_protect to finish enabling the existing space, and
5982 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5983 allocate the remainder.
5985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5987 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5988 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5992 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5993 sysdeps/mach/hurd/readlink.c.
5995 * posix/tst-sysconf.c (posix_options): Only use
5996 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5997 _POSIX_SYNCHRONIZED_IO when they are defined
5998 * sysdeps/mach/hurd/bits/posix_opt.h:
5999 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6000 (_XOPEN_REALTIME): Undefine macro.
6001 (_XOPEN_REALTIME_THREADS): Undefine macro.
6002 (_XOPEN_SHM): Undefine macro.
6003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6005 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6007 (_POSIX_ASYNC_IO): Undefine macro.
6008 (_POSIX_PRIORITIZED_IO): Undefine macro.
6009 (_POSIX_SPIN_LOCKS): Define macro to -1.
6011 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6012 SA_NODEFER, SA_RESETHAND.
6013 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6014 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6019 * elf/Makefile (pldd-modules): Define unconditionally.
6021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6023 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6027 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6028 Return ENOENT when name is empty.
6029 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6033 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6035 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6039 Fix mlock in all cases except non-readable pages.
6040 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6041 instead of VM_PROT_ALL as parameter to __vm_wire function.
6043 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6044 (__mkdir): When path is `/', just fail with EEXIST.
6045 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6049 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6050 <sys/uio.h> (for writev).
6051 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6052 and <sys/param.h> (for MIN).
6054 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6056 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6057 REQUESTED_TIME. Properly set the remaining time and return EINTR
6060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6062 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6063 Depend on against $(link-rpcuserlibs).
6065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6067 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6068 (__libc_stack_end): Do not use attribute_relro.
6069 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6070 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6071 to libthread-provided value.
6072 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6078 * bits/libc-lock.h (__libc_once_get): New macro.
6079 * sysdeps/mach/bits/libc-lock.h: Likewise.
6080 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6081 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6082 instead of using implementation details.
6084 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6085 * libio/freopen.c: Likewise.
6086 * libio/freopen64.c: Likewise.
6087 * misc/syslog.c: Likewise.
6088 * nscd/connections.c: Likewise.
6089 * nscd/netgroupcache.c: Likewise.
6090 * sysdeps/posix/getcwd.c: Likewise.
6092 2012-05-10 Roland McGrath <roland@hack.frob.com>
6094 * math/w_ilogbf.c: Add #include <limits.h>.
6096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6098 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6099 path instead of returning without unlocking.
6101 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6102 immediate-write ioctls.
6103 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6107 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6108 __builtin_frame_address instead of making assumptions about the
6109 location of the return address relative to DATA. Force early load of
6111 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6112 __builtin_frame_address.
6115 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6116 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6117 implement dup3 and do some further code clean-ups.
6118 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6119 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6123 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6125 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6126 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6127 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6128 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6129 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6132 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6133 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6134 when handler == SIG_ERR, not when handler != SIG_ERR.
6136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6138 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6139 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6142 accept4 for GNU Hurd.
6143 * include/sys/socket.h (__libc_accept4): New prototype.
6144 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6145 to implement __libc_accept4.
6146 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6148 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6150 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6151 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6152 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6157 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6161 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6162 assertion on O_CLOEXEC flag.
6163 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6164 * hurd/intern-fd.c: Likewise.
6165 * hurd/port2fd.c: Likewise.
6167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6170 * bits/in.h (IPV6_PKTINFO): Define new macro.
6171 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6173 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6180 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6181 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6183 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6184 * math/libm-test.inc (logb_test) : Additional logb tests.
6186 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6187 Andreas Jaeger <aj@suse.de>
6189 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6190 * configure: Regenerated.
6191 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6192 * config.make.in (link-obsolete-rpc): New substituted variable.
6193 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6194 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6195 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6196 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6197 so that libc.a contains the symbols.
6198 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6199 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6200 * sunrpc/auth_none.c: Likewise.
6201 * sunrpc/auth_unix.c: Likewise.
6202 * sunrpc/authdes_prot.c: Likewise.
6203 * sunrpc/authuxprot.c: Likewise.
6204 * sunrpc/clnt_gen.c: Likewise.
6205 * sunrpc/clnt_perr.c: Likewise.
6206 * sunrpc/clnt_raw.c: Likewise.
6207 * sunrpc/clnt_simp.c: Likewise.
6208 * sunrpc/clnt_tcp.c: Likewise.
6209 * sunrpc/clnt_udp.c: Likewise.
6210 * sunrpc/clnt_unix.c: Likewise.
6211 * sunrpc/des_crypt.c: Likewise.
6212 * sunrpc/des_soft.c: Likewise.
6213 * sunrpc/get_myaddr.c: Likewise.
6214 * sunrpc/key_call.c: Likewise.
6215 * sunrpc/key_prot.c: Likewise.
6216 * sunrpc/netname.c: Likewise.
6217 * sunrpc/pm_getmaps.c: Likewise.
6218 * sunrpc/pm_getport.c: Likewise.
6219 * sunrpc/pmap_clnt.c: Likewise.
6220 * sunrpc/pmap_prot.c: Likewise.
6221 * sunrpc/pmap_prot2.c: Likewise.
6222 * sunrpc/pmap_rmt.c: Likewise.
6223 * sunrpc/publickey.c: Likewise.
6224 * sunrpc/rpc_cmsg.c: Likewise.
6225 * sunrpc/rpc_common.c: Likewise.
6226 * sunrpc/rpc_dtable.c: Likewise.
6227 * sunrpc/rpc_prot.c: Likewise.
6228 * sunrpc/rpc_thread.c: Likewise.
6229 * sunrpc/rtime.c: Likewise.
6230 * sunrpc/svc.c: Likewise.
6231 * sunrpc/svc_auth.c: Likewise.
6232 * sunrpc/svc_raw.c: Likewise.
6233 * sunrpc/svc_run.c: Likewise.
6234 * sunrpc/svc_tcp.c: Likewise.
6235 * sunrpc/svc_udp.c: Likewise.
6236 * sunrpc/svc_unix.c: Likewise.
6237 * sunrpc/svcauth_des.c: Likewise.
6238 * sunrpc/xcrypt.c: Likewise.
6239 * sunrpc/xdr.c: Likewise.
6240 * sunrpc/xdr_array.c: Likewise.
6241 * sunrpc/xdr_float.c: Likewise.
6242 * sunrpc/xdr_intXX_t.c: Likewise.
6243 * sunrpc/xdr_mem.c: Likewise.
6244 * sunrpc/xdr_rec.c: Likewise.
6245 * sunrpc/xdr_ref.c: Likewise.
6246 * sunrpc/xdr_sizeof.c: Likewise.
6247 * sunrpc/xdr_stdio.c: Likewise.
6249 2012-05-10 Roland McGrath <roland@hack.frob.com>
6251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6252 change. Update copyright years.
6254 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6256 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6258 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6259 Joseph Myers <joseph@codesourcery.com>
6260 Paul Pluzhnikov <ppluzhnikov@google.com>
6263 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6265 [cross-compiling] (extra-libs): Likewise.
6266 [cross-compiling] (extra-libs-others): Likewise.
6267 [cross-compiling] (librpcsvc-routines): Likewise.
6268 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6269 [cross-compiling] (omit-deps): Likewise.
6270 (sunrpc-CPPFLAGS): New variable.
6271 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6272 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6273 (cross-rpcgen-objs): New variable.
6274 (extra-objs): Append $(cross-rpcgen-objs).
6275 ($(cross-rpcgen-objs)): New rule.
6276 ($(objpfx)cross-rpcgen): Likewise.
6277 (rpcgen-cmd): Define to use $(built-program-file). Expand
6279 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6280 ($(objpfx)x%.stmp): Likewise.
6281 * sunrpc/proto.h [IS_IN_build] (_): Define.
6282 [IS_IN_build] (_libc_intl_domainname): Likewise.
6284 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6287 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6288 and R_X86_64_TPOFF64.
6290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6292 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6293 sysdeps/unix/sysv/syscalls.list.
6296 * sysdeps/unix/sysv/syscalls.list: Remove file.
6298 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6301 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6302 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6303 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6304 (__LC_IDENTIFICATION): Make these macros useful in #if
6305 expressions, as required by C99.
6307 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6309 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6310 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6313 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6315 * stdlib/longlong.h: Updated from GCC.
6317 2012-05-09 Andreas Jaeger <aj@suse.de>
6319 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6320 default is first entry.
6321 (run_mode): Set type.
6322 (main): Remove informal message about syslog.
6323 (options): Fix typo.
6326 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6329 (llrintf): Likewise.
6333 (nearbyint): Likewise.
6334 (nearbyintf): Likewise.
6336 2012-05-09 Andreas Jaeger <aj@suse.de>
6337 Pedro Alves <palves@redhat.com>
6339 * nscd/nscd.c (run_mode): Use enum.
6340 (main): Cleanup coding style issue.
6342 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6343 Andreas Jaeger <aj@suse.de>
6345 * nscd/nscd.c (go_background): Replaced with...
6346 (run_mode): ... this.
6347 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6348 (options): Add -F --foreground.
6349 (main): Implement it.
6350 (parse_opt): Parse it.
6352 2012-05-09 Andreas Jaeger <aj@suse.de>
6355 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6356 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6357 -Wconversion warning.
6358 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6361 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6363 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6365 (LC_ALL): Use macro-int-constant.
6366 (LC_COLLATE): Likewise.
6367 (LC_CTYPE): Likewise.
6368 (LC_MESSAGES): Likewise.
6369 (LC_MONETARY): Likewise.
6370 (LC_NUMERIC): Likewise.
6371 (LC_TIME): Likewise.
6372 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6373 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6375 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6377 [C99-based standards] (float_t): Expect type.
6378 [C99-based standards] (double_t): Expect type.
6379 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6381 [C99-based standards] (HUGE_VALL): Likewise.
6382 [C99-based standards] (INFINITY): Likewise.
6383 [C99-based standards] (NAN): Likewise.
6384 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6385 [C99-based standards] (FP_NAN): Likewise.
6386 [C99-based standards] (FP_NORMAL): Likewise.
6387 [C99-based standards] (FP_SUBNORMAL): Likewise.
6388 [C99-based standards] (FP_ZERO): Likewise.
6389 [C99-based standards] (FP_FAST_FMA): Use
6390 optional-macro-int-constant. Specify type. Require == 1.
6391 [C99-based standards] (FP_FAST_FMAF): Likewise.
6392 [C99-based standards] (FP_FAST_FMAL): Likewise.
6393 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6394 [C99-based standards] (FP_ILOGBNAN): Likewise.
6395 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6397 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6398 [C99-based standards] (math_errhandling): Specify type.
6399 [ISO99 || ISO11] (signgam): Do not allow.
6400 [non-C99-based standards] (copysignf): Do not allow.
6401 [non-C99-based standards] (exp2f): Likewise.
6402 [non-C99-based standards] (log2f): Likewise.
6403 [non-C99-based standards] (modff): Allow.
6404 [non-C99-based standards] (erff): Do not allow.
6405 [non-C99-based standards] (erfcf): Likewise.
6406 [non-C99-based standards] (gammaf): Likewise.
6407 [non-C99-based standards] (hypotf): Likewise.
6408 [non-C99-based standards] (j0f): Likewise.
6409 [non-C99-based standards] (j1f): Likewise.
6410 [non-C99-based standards] (jnf): Likewise.
6411 [non-C99-based standards] (lgammaf): Likewise.
6412 [non-C99-based standards] (tgammaf): Likewise.
6413 [non-C99-based standards] (y0f): Likewise.
6414 [non-C99-based standards] (y1f): Likewise.
6415 [non-C99-based standards] (ynf): Likewise.
6416 [non-C99-based standards] (isnanf): Likewise.
6417 [non-C99-based standards] (acoshf): Likewise.
6418 [non-C99-based standards] (asinhf): Likewise.
6419 [non-C99-based standards] (atanhf): Likewise.
6420 [non-C99-based standards] (cbrtf): Likewise.
6421 [non-C99-based standards] (expm1f): Likewise.
6422 [non-C99-based standards] (ilogbf): Likewise.
6423 [non-C99-based standards] (log1pf): Likewise.
6424 [non-C99-based standards] (logbf): Likewise.
6425 [non-C99-based standards] (nextafterf): Likewise.
6426 [non-C99-based standards] (remainderf): Likewise.
6427 [non-C99-based standards] (rintf): Likewise.
6428 [non-C99-based standards] (scalbf): Likewise.
6429 [non-C99-based standards] (copysignl): Likewise.
6430 [non-C99-based standards] (exp2l): Likewise.
6431 [non-C99-based standards] (log2l): Likewise.
6432 [non-C99-based standards] (modfl): Allow.
6433 [non-C99-based standards] (erfl): Do not allow.
6434 [non-C99-based standards] (erfcl): Likewise.
6435 [non-C99-based standards] (gammal): Likewise.
6436 [non-C99-based standards] (hypotl): Likewise.
6437 [non-C99-based standards] (j0l): Likewise.
6438 [non-C99-based standards] (j1l): Likewise.
6439 [non-C99-based standards] (jnl): Likewise.
6440 [non-C99-based standards] (lgammal): Likewise.
6441 [non-C99-based standards] (tgammal): Likewise.
6442 [non-C99-based standards] (y0l): Likewise.
6443 [non-C99-based standards] (y1l): Likewise.
6444 [non-C99-based standards] (ynl): Likewise.
6445 [non-C99-based standards] (isnanl): Likewise.
6446 [non-C99-based standards] (acoshl): Likewise.
6447 [non-C99-based standards] (asinhl): Likewise.
6448 [non-C99-based standards] (atanhl): Likewise.
6449 [non-C99-based standards] (cbrtl): Likewise.
6450 [non-C99-based standards] (expm1l): Likewise.
6451 [non-C99-based standards] (ilogbl): Likewise.
6452 [non-C99-based standards] (log1pl): Likewise.
6453 [non-C99-based standards] (logbl): Likewise.
6454 [non-C99-based standards] (nextafterl): Likewise.
6455 [non-C99-based standards] (remainderl): Likewise.
6456 [non-C99-based standards] (rintl): Likewise.
6457 [non-C99-based standards] (scalbl): Likewise.
6458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6459 [non-C99-based standards] (FP_*): Do not allow.
6460 [C99-based standards] (FP_*): Change to
6461 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6462 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6464 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6465 (SIG_ERR): Likewise.
6466 [X/Open-based standards] (SIG_HOLD): Likewise.
6467 (SIG_IGN): Likewise.
6468 (SIGABRT): Use macro-int-constant. Specify type. Require
6473 (SIGSEGV): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6484 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6485 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6486 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6491 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6492 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6493 [X/Open-based standards] (SIGTRAP): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6498 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6501 2012-05-08 Ian Wienand <ianw@vmware.com>
6504 * time/tzset.c (__tzset_parse_tz): Update default rules for
6505 daylight time changes in the Energy Policy Act of 2005.
6507 2012-05-09 Andreas Jaeger <aj@suse.de>
6510 * elf/ldconfig.c (parse_conf): Change string to make clear that
6511 ldconfig only issued a warning if ld.so.conf does not exist.
6513 2012-05-08 David S. Miller <davem@davemloft.net>
6515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6516 movxtod instead of popping the value on the stack.
6518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6520 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6522 * config.h.in: Add HAVE_ARM_PCS_VFP.
6524 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6527 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6528 checking but the checks are disabled for any reason.
6530 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6532 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6533 and ELF64_R_TYPE with ELFW(R_TYPE).
6535 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6540 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6541 (settimeofday): Likewise.
6543 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6545 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6546 a struct th_u2 inside the union, and move tu_block/tu_code into
6547 a new th_u3 union of tu_block/tu_code inside of that. Move
6548 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6549 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6550 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6551 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6552 (th_stuff): Change to th_u1.tu_stuff.
6554 (th_msg): Change to th_u1.th_u2.tu_data.
6556 2012-05-07 David S. Miller <davem@davemloft.net>
6558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6562 (SETUP_PIC_REG): Use it.
6563 (SETUP_PIC_REG_LEAF): Use it.
6565 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6569 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6571 (EXPL_FINITE): Likewise.
6573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6574 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6578 (EXPL_FINITE): Likewise.
6580 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6581 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6583 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6584 test of -max_value argument for long double.
6585 * sysdeps/i386/fpu/libm-test-ulps: Update.
6586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6588 2012-05-06 David S. Miller <davem@davemloft.net>
6590 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6591 quad soft-float symbols whose references which are compiler
6593 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6595 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6601 (EXPL_FINITE): Likewise.
6605 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6606 Adjust comments for base varying.
6607 (__expl_finite): Change alias to EXPL_FINITE.
6608 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6610 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6611 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6613 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6614 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6616 (EXPL_FINITE): Likewise.
6620 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6621 Adjust comments for base varying.
6622 (__expl_finite): Change alias to EXPL_FINITE.
6623 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6628 * math/libm-test.inc (check_float_internal): Correct ulp
6629 calculation for subnormal expected results.
6631 2012-05-06 Andreas Jaeger <aj@suse.de>
6633 * Makeconfig (+math-flags): New, set to -frounding-math.
6634 (+cflags): Add +math-flags so that all of glibc gets compiled with
6637 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6639 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6641 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6647 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6648 (__ieee754_expl): Allow for and saturate large arguments.
6649 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6650 (u_threshold): Likewise.
6651 (__exp): Call __ieee754_exp before checking for overflow and
6653 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6654 (u_threshold): Likewise.
6655 (__expf): Call __ieee754_expf before checking for overflow and
6657 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6658 (u_threshold): Likewise.
6659 (__expl): Call __ieee754_expl before checking for overflow and
6661 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6662 (__ieee754_expl): Allow for and saturate large arguments.
6663 * math/libm-test.inc (exp_test): Add another test. Do not allow
6664 missing overflow exception on overflow.
6665 (expm1_test): Do not allow missing overflow exception on overflow.
6667 * sysdeps/i386/fpu/e_expl.c: Move to ...
6668 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6669 rather than using inline asm.
6670 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6671 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6672 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6674 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6681 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6683 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6684 sysdeps/unix/common/syscalls.list.
6687 (ftruncate): Likewise.
6688 (getrusage): Likewise.
6689 (gettimeofday): Likewise.
6690 (setpgid): Likewise.
6691 (setregid): Likewise.
6692 (setreuid): Likewise.
6693 (sigaction): Likewise.
6694 (truncate): Likewise.
6695 (vhangup): Likewise.
6696 * sysdeps/unix/common/syscalls.list: Remove file.
6697 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6698 * sysdeps/unix/sysv/linux/Implies: Likewise.
6700 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6702 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6704 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6708 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6711 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6714 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6717 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6723 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6726 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6730 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6734 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6737 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6741 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6745 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6747 * sysdeps/unix/common/bits/dirent.h: Remove file.
6748 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6750 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6751 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6752 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6753 * sysdeps/unix/bsd/isatty.c: Likewise.
6754 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6755 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6756 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6758 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6762 long double comparison inaccuracies.
6763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6766 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6768 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6771 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6775 nonzero digits before rounding a hex value.
6776 * stdlib/tst-strtod.c (tests): Add another test.
6778 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6780 * sysdeps/s390/fpu/libm-test-ulps: Update.
6782 2012-05-03 Andreas Jaeger <aj@suse.de>
6784 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6785 does not get optimized out.
6786 (malloc_opt_barrier): New.
6788 2012-05-03 Andreas Jaeger <aj@suse.de>
6789 Roland McGrath <roland@hack.frob.com>
6791 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6792 intermediate file deletion.
6793 (generated): Add .symlist files.
6795 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6798 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6799 Redirect under this condition.
6800 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6801 [__USE_GNU] (__dprintf_chk): Not under this condition.
6802 [__USE_GNU] (__vdprintf_chk): Likewise.
6803 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6804 under this condition.
6805 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6806 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6807 [__USE_XOPEN2K8] (vdprintf): Likewise.
6808 [__USE_GNU] (__dprintf_chk): Not under this condition.
6809 [__USE_GNU] (__vdprintf_chk): Likewise.
6810 [__USE_GNU] (dprintf): Likewise.
6811 [__USE_GNU] (vdprintf): Likewise.
6813 2012-05-03 Roland McGrath <roland@hack.frob.com>
6815 * elf/Makefile (common-generated): Set this instead of generated for
6816 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6817 $(all-built-dso)-derived lists.
6819 2012-05-03 Andreas Jaeger <aj@suse.de>
6821 * sysdeps/i386/fpu/libm-test-ulps: Update.
6825 * scripts/gen-FAQ.pl: Likewise.
6826 * manual/install.texi (Installation): Point to online location of
6828 * Makefile (files-for-dist): Remove FAQ.
6831 2012-05-02 Allan McRae <allan@archlinux.org>
6833 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6834 (LDFLAGS-reldepmod5.so): Likewise.
6835 (LDFLAGS-reldep6mod1.so): Likewise.
6836 (LDFLAGS-reldep6mod4.so): Likewise.
6837 (LDFLAGS-reldep8mod3.so): Likewise.
6838 (LDFLAGS-unload4mod1.so): Likewise.
6839 (LDFLAGS-unload4mod2.so): Likewise.
6840 (LDFLAGS-tst-initorder): Likewise.
6841 (LDFLAGS-tst-initordera2.so): Likewise.
6842 (LDFLAGS-tst-initordera3.so): Likewise.
6843 (LDFLAGS-tst-initordera4.so): Likewise.
6844 (LDFLAGS-tst-initorderb2.so): Likewise.
6845 (LDFLAGS-noload): Likewise.
6846 (LDFLAGS-next): Likewise.
6847 (LDFLAGS-order2mod1.so): Likewise.
6848 (LDFLAGS-order2mod2.so): Likewise.
6849 (LDFLAGS-tst-initorder2): Likewise.
6850 (LDFLAGS-tst-initorder2a.so): Likewise.
6851 (LDFLAGS-tst-initorder2b.so): Likewise.
6852 (LDFLAGS-tst-initorder2c.so): Likewise.
6853 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6855 2012-05-02 David S. Miller <davem@davemloft.net>
6857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6859 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6862 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6864 2012-05-02 Andreas Jaeger <aj@suse.de>
6866 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6867 since we manipulate rounding mode.
6868 (CPPFLAGS-test-idouble.c): Likewise.
6869 (CPPFLAGS-test-ifloat.c): Likewise.
6870 (CFLAGS-test-ldouble.c): Likewise.
6871 (CFLAGS-test-double.c): Likewise.
6872 (CFLAGS-test-float.c): Likewise.
6873 (CFLAGS-test-misc.c): Likewise.
6874 (CFLAGS-test-test-fenv.c): Likewise.
6876 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6881 comparisons to determine direction to adjust input.
6883 2012-05-01 Roland McGrath <roland@hack.frob.com>
6885 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6886 output to the target.
6888 * scripts/localplt.awk: New file.
6889 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6890 (check-localplt-CFLAGS): Variable removed.
6891 ($(all-built-dso:=.jmprel)): New static pattern rule.
6892 (generated): Add those targets.
6893 (localplt-built-dso): New variable.
6894 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6896 * elf/check-localplt.c: File removed.
6898 * scripts/check-execstack.awk: New file.
6899 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6900 (check-execstack-CFLAGS): Variable removed.
6901 ($(objpfx)check-execstack.h): Target removed.
6902 ($(objpfx)execstack-default): New target.
6903 (generated): Add that instead of check-execstack.h.
6904 ($(all-built-dso:=.phdr)): New static pattern rule.
6905 (generated): Add those targets.
6906 * elf/check-execstack.c: File removed.
6908 * scripts/check-textrel.awk: New file.
6909 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6910 (check-textrel-CFLAGS): Variable removed.
6911 (all-built-dso): Use := to define.o
6912 ($(all-built-dso:=.dyn)): New static pattern rule.
6913 (generated): Add those targets.
6914 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6915 * config.make.in (READELF): New substituted variable.
6916 * elf/check-textrel.c: File removed.
6918 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6920 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6922 * conform/data/ctype.h-data [C99-based standards] (isblank):
6924 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6925 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6927 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6928 Specify type. Require positive value.
6931 [ISO || POSIX] (EILSEQ): Do not expect.
6932 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6933 Specify type. Require positive value.
6934 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6966 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7008 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7009 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7010 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7012 (FLT_ROUNDS): Expect as macro, not constant.
7013 (FLT_MANT_DIG): Use macro-int-constant.
7014 (DBL_MANT_DIG): Likewise.
7015 (LDBL_MANT_DIG): Likewise.
7016 (FLT_DIG): Likewise.
7017 (DBL_DIG): Likewise.
7018 (LDBL_DIG): Likewise.
7019 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7020 (DBL_MIN_EXP): Likewise.
7021 (LDBL_MIN_EXP): Likewise.
7022 (FLT_MAX_EXP): Use macro-int-constant.
7023 (DBL_MAX_EXP): Likewise.
7024 (LDBL_MAX_EXP): Likewise.
7025 (FLT_MAX_10_EXP): Likewise.
7026 (DBL_MAX_10_EXP): Likewise.
7027 (LDBL_MAX_10_EXP): Likewise.
7028 (FLT_MAX): Use macro-constant.
7029 (DBL_MAX): Likewise.
7030 (LDBL_MAX): Likewise.
7031 (FLT_EPSILON): Use macro-constant. Give upper bound.
7032 (DBL_EPSILON): Likewise.
7033 (LDBL_EPSILON): Likewise.
7034 (FLT_MIN): Likewise.
7035 (DBL_MIN): Likewise.
7036 (LDBL_MIN): Likewise.
7037 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7038 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7039 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7040 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7041 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7042 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7043 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7044 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7045 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7046 [ISO11] (FLT_TRUE_MIN): Likewise.
7047 [ISO11] (LDBL_TRUE_MIN): Likewise.
7048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7049 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7050 (SCHAR_MIN): Use macro-int-constant. Specify type.
7051 (SCHAR_MAX): Likewise.
7052 (UCHAR_MAX): Likewise.
7053 (CHAR_MIN): Likewise.
7054 (CHAR_MAX): Likewise.
7055 (MB_LEN_MAX): Use macro-int-constant.
7056 (SHRT_MIN): Use macro-int-constant. Specify type.
7057 (SHRT_MAX): Likewise.
7058 (USHRT_MAX): Likewise.
7059 (INT_MAX): Likewise.
7060 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7062 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7064 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7066 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7067 bound negative. Suffix upper bound with "L".
7068 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7070 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7072 [C99-based standards] (LLONG_MAX): Likewise.
7073 [C99-based standards] (ULLONG_MAX): Likewise.
7074 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7076 [ISO11] (max_align_t): Require type.
7077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7079 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7080 from $CFLAGS, without defining away __attribute__ calls.
7081 (checknamespace): Use $CFLAGS_namespace.
7083 * conform/conformtest.pl (@keywords): Only include C99 keywords
7084 for standards based on C99 or C11.
7086 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7088 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7091 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7092 usability of symbols in #if.
7094 * conform/conformtest.pl: If macro or constant types start
7095 "promoted:", expect the symbol to be of the following type
7096 promoted by the integer promotions.
7098 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7099 in one place. Also handle "macro-constant".
7101 * conform/conformtest.pl: Only accept expected macro values with
7102 "==". Parse all "macro" lines in one place.
7103 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7105 * conform/conformtest.pl: Handle braced types on "constant" lines
7106 instead of handling "typed-constant".
7107 * conform/data/signal.h-data: Use "constant" instead of
7110 * conform/conformtest.pl: Handle "optional-" at start of lines in
7111 one place rather than duplicating several cases. Handle each
7112 format of "macro" line with initial "optional-".
7114 * conform/conformtest.pl: Only accept expected constant or
7115 optional-constant values with "==". Parse all "constant" lines in
7116 one place. Parse all "optional-constant" lines in one place.
7117 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7118 * conform/data/fmtmsg.h-data: Likewise.
7119 * conform/data/netinet/in.h-data: Likewise.
7120 * conform/data/tar.h-data: Likewise.
7121 * conform/data/limits.h-data: Use "==" form on "constant" and
7122 "optional-constant" lines.
7124 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7125 Use -std=c99 for XOPEN2K.
7126 (@knownproblems): Remove.
7127 (newtoken): Don't check %isknown.
7129 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7130 Do not expect macro.
7131 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7140 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7141 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7143 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7144 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7148 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7161 [XPG3] (acosh): Likewise.
7162 [XPG3] (asinh): Likewise.
7163 [XPG3] (atanh): Likewise.
7164 [XPG3] (cbrt): Likewise.
7165 [XPG3] (expm1): Likewise.
7166 [XPG3] (ilogb): Likewise.
7167 [XPG3] (log1p): Likewise.
7168 [XPG3] (logb): Likewise.
7169 [XPG3] (nextafter): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7172 [XPG3] (remainder): Likewise.
7173 [XPG3] (rint): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7181 [UNIX98 || XOPEN2K] (scalb): Expect.
7182 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7183 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7320 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7321 _XOPEN_SOURCE_EXTENDED for XPG4.
7323 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7325 * Makeconfig (localtime): Remove variable.
7326 (inst_localtime-file): Likewise.
7328 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7349 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7353 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7354 comparisons to determine direction to adjust input.
7355 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7356 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7357 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7364 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7366 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7368 * math/libm-test.inc (nexttoward_test): Add more tests.
7370 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7374 in version GLIBC_2.1, not GLIBC_2.0.
7375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7378 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7381 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7383 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7384 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7385 * math/libm-test.inc (acos_test): Add more tests.
7386 (asin_test): Likewise.
7387 * sysdeps/i386/fpu/libm-test-ulps: Update.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7393 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7394 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7395 * math/libm-test.inc (acos_test_tonearest): New function.
7396 (acos_test_towardzero): Likewise.
7397 (acos_test_downward): Likewise.
7398 (acos_test_upward): Likewise.
7399 (asin_test_tonearest): Likewise.
7400 (asin_test_towardzero): Likewise.
7401 (asin_test_downward): Likewise.
7402 (asin_test_upward): Likewise.
7403 (main): Call the new functions.
7404 * sysdeps/i386/fpu/libm-test-ulps: Update.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7409 * math/e_exp10.c: Include <float.h>.
7410 (__ieee754_exp10): Handle underflow here rather than multiplying
7411 large negative argument by M_LN10.
7412 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7414 * math/e_exp10l.c: Include <float.h>.
7415 (__ieee754_exp10l): Handle underflow here rather than multiplying
7416 large negative argument by M_LN10l.
7417 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7418 spurious overflow exception on underflow.
7420 2012-04-29 Marek Polacek <polacek@redhat.com>
7422 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7423 (__fortify_function): New macro.
7424 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7425 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7426 __extern_always_inline.
7427 * libio/bits/stdio2.h: Likewise.
7428 * libio/bits/stdio.h: Likewise.
7429 * string/string.h: Likewise.
7430 * string/bits/string3.h: Likewise.
7431 * include/stdio.h: Likewise.
7432 * stdlib/bits/stdlib.h: Likewise.
7433 * stdlib/stdlib.h: Likewise.
7434 * rt/bits/mqueue2.h: Likewise.
7435 * rt/mqueue.h: Likewise.
7436 * posix/bits/unistd.h: Likewise.
7437 * posix/unistd.h: Likewise.
7438 * io/bits/poll2.h: Likewise.
7439 * io/bits/fcntl2.h: Likewise.
7440 * io/fcntl.h: Likewise.
7441 * io/sys/poll.h: Likewise.
7442 * misc/bits/syslog.h: Likewise.
7443 * misc/bits/syslog-ldbl.h: Likewise.
7444 * misc/sys/syslog.h: Likewise.
7445 * socket/bits/socket2.h: Likewise.
7446 * socket/sys/socket.h: Likewise.
7447 * debug/tst-chk1.c: Likewise.
7448 * wcsmbs/bits/wchar2.h: Likewise.
7449 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7450 * wcsmbs/wchar.h: Likewise.
7452 2012-04-29 Andreas Jaeger <aj@suse.de>
7454 * Makerules (tests): Remove enable-check-abi protection.
7455 (check-abi-warn): Remove.
7456 (check-abi-%): Remove check-abi-warn usage.
7458 * configure.in: Remove check-abi configure option.
7459 * configure: Regenerated.
7460 * config.make.in (enable-check-abi): Remove.
7462 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7465 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7466 double functions to double *_finite functions.
7469 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7470 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7472 * stdio-common/Makefile (tests): Add tst-sprintf3.
7473 * stdio-common/tst-sprintf3.c: New file.
7475 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7476 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7478 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7480 * conform/conformtest.pl: Remove duplicate typed-constant
7483 2012-04-28 David S. Miller <davem@davemloft.net>
7485 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7486 (check-abi-%): Remove AWK script prerequisite and explicit
7488 (check-abi): Rewrite to just diff the symlist with the abilist.
7489 (config-tls, config-abi-config): Delete, no longer used.
7490 (update-abi-%): Remove AWK script and explicit abilist directory.
7491 (update-abi): Rewrite to simply compare and conditionally copy the
7492 symlist and the sysdep abilist file. Remove update-abi-config
7494 * abilist/ld.abilist: Remove.
7495 * abilist/libBrokenLocale.abilist: Remove.
7496 * abilist/libanl.abilist: Remove.
7497 * abilist/libcrypt.abilist: Remove.
7498 * abilist/libdl.abilist: Remove.
7499 * abilist/librt.abilist: Remove.
7500 * abilist/libthread_db.abilist: Remove.
7501 * abilist/libutil.abilist: Remove.
7502 * scripts/extract-abilist.awk: Remove.
7503 * scripts/merge-abilist.awk: Remove.
7504 * sysdeps/generic/libcidn.abilist: New file.
7505 * sysdeps/generic/libnss_compat.abilist: New file.
7506 * sysdeps/generic/libnss_db.abilist: New file.
7507 * sysdeps/generic/libnss_dns.abilist: New file.
7508 * sysdeps/generic/libnss_files.abilist: New file.
7509 * sysdeps/generic/libnss_hesiod.abilist: New file.
7510 * sysdeps/generic/libnss_nis.abilist: New file.
7511 * sysdeps/generic/libnss_nisplus.abilist: New file.
7512 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7513 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7514 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7517 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7518 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7519 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7520 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7521 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7522 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7523 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7524 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7526 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7527 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7528 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7529 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7531 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7532 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7533 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7534 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7535 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7536 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7538 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7540 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7542 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7645 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7646 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7647 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7650 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7651 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7652 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7653 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7654 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7655 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7656 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7657 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7658 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7710 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7712 * conform/conformtest.pl: Fix typo in handling typed-constant from
7715 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7717 * README: Cut down references to pre-2.6 Linux kernels and
7718 Linuxthreads. Update lists of configurations in libc and ports
7719 and sort alphabetically. Say "or newer" with Linux kernel version
7722 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7724 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7727 * math/libm-test.inc (logb_test_downward): New test to expose
7728 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7731 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7734 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7736 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7737 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7739 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7741 * sysdeps/unix/i386/brk.S: Remove file.
7742 * sysdeps/unix/i386/dl-brk.S: Likewise.
7743 * sysdeps/unix/i386/pipe.S: Likewise.
7744 * sysdeps/unix/i386/sigreturn.S: Likewise.
7745 * sysdeps/unix/i386/syscall.S: Likewise.
7746 * sysdeps/unix/i386/vfork.S: Likewise.
7747 * sysdeps/unix/i386/wait.S: Likewise.
7749 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7750 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7752 * configure.in (arm*-none*): Do not allow without
7753 --enable-hacker-mode.
7754 (netbsd*): Remove case setting base_os.
7755 (386bsd*): Likewise.
7756 (freebsd*): Likewise.
7760 (ultrix*): Likewise.
7761 (newsos*): Likewise.
7771 (solaris[2-9]*): Likewise.
7773 * configure: Regenerated.
7775 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7779 overflow or cancellation in calculating denominator.
7780 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7782 down expression to avoid unexpected rounding in newer GCCs.
7783 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7785 2012-04-26 David S. Miller <davem@davemloft.net>
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7788 long-double compat symbols.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7803 2012-04-25 David S. Miller <davem@davemloft.net>
7805 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7806 HWCAP_* values only after the memory barriers have been defined.
7807 (atomic_full_barrier): Define.
7808 (atomic_read_barrier): Define.
7809 (atomic_write_barrier): Define.
7811 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7813 * shlib-versions: Add libgcc_s version information.
7814 * sysdeps/generic/libgcc_s.h: Remove.
7815 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7817 * sysdeps/gnu/unwind-resume.c: Likewise.
7818 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7820 2012-04-25 David S. Miller <davem@davemloft.net>
7822 * sysdeps/unix/sparc/brk.S: Delete.
7823 * sysdeps/unix/sparc/dl-brk.S: Delete.
7824 * sysdeps/unix/sparc/pipe.S: Delete.
7825 * sysdeps/unix/sparc/sysdep.S: Delete.
7826 * sysdeps/unix/sparc/sysdep.h: Delete.
7827 * sysdeps/unix/sparc/vfork.S: Delete.
7828 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7829 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7831 ret_ERRVAL, r0, r1, MOVE): Define.
7832 (JUMPTARGET): Remove.
7833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7834 sysdeps/unix/sparc/sysdep.h
7835 (ENTRY, END): Remove.
7836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7838 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7840 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7841 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7844 * timezone/README: Update upstream location and email address for
7846 * timezone/zdump.c: Update from tzcode 2012b.
7847 * timezone/zic.c: Likewise.
7849 * configure.in (libc_cv_as_needed): Remove test.
7850 * configure: Regenerated.
7851 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7852 conditional definition.
7853 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7854 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7855 * config.make.in (have-as-needed): Remove variable.
7857 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7858 Paul Pluzhnikov <ppluzhnikov@google.com>
7860 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7863 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7865 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7866 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7867 * sysdeps/sh/strlen.S: Likewise.
7869 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7871 * sysdeps/unix/fork.S: Remove file.
7872 * sysdeps/unix/i386/fork.S: Likewise.
7873 * sysdeps/unix/sparc/fork.S: Likewise.
7875 * sysdeps/unix/system.c: Remove file.
7876 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7878 * sysdeps/unix/getegid.S: Remove file.
7879 * sysdeps/unix/geteuid.S: Likewise.
7881 2012-04-24 Roland McGrath <roland@hack.frob.com>
7883 * scripts/check-localplt.awk: New file.
7884 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7886 * scripts/data/localplt-generic.data: Add a comment.
7888 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7889 NODE when __dir_mkfile failed.
7890 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7891 Reported by Ludovic Courtès <ludo@gnu.org>.
7893 2012-04-24 Andreas Jaeger <aj@suse.de>
7895 * Makerules (common-clean): Also remove gen-as-const-headers
7898 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7900 * Makerules (native-compile): Do not change working directory for
7901 build. Use $(OUTPUT_OPTION) in command.
7902 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7904 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7907 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7908 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7909 * math/libm-test.inc (floor_test): Add more tests.
7910 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7914 * sysdeps/unix/getdents.c: Remove file.
7915 * sysdeps/unix/sysv/getdents.c: Likewise.
7916 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7918 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7919 sysdeps/unix/mman/syscalls.list.
7921 (mprotect): Likewise.
7924 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7925 * sysdeps/unix/mman/syscalls.list: Remove.
7926 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7928 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7929 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7930 * configure: Regenerated.
7931 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7933 * config.make.in (libgcc_s_suffix): Remove variable.
7935 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7937 * sysdeps/unix/sysv/gethostname.c: Move to ...
7938 * sysdeps/posix/gethostname.c: ... here.
7940 * sysdeps/unix/execve.S: Remove file.
7942 * sysdeps/unix/_exit.S: Remove file.
7944 2012-04-23 Andreas Jaeger <aj@suse.de>
7947 * manual/Makefile: Remove make dist support, there's no
7948 need for a stand-alone documentation tar ball.
7949 (TEXI2DVI): Define always, it's not in Makeconfig.
7953 (glibc-doc-$(edition).tar): Removed
7957 (ETAGS): Remove, it's in Makeconfig.
7958 (move-if-change): Remove, it's in Makeconfig.
7960 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7963 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7964 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7965 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7966 (strtod_l, strtof_l, strtold_l): Remove __wur.
7967 It is not necessarily an error to ignore strtol's return value.
7968 One can reliably look at the stored endptr to decide whether
7969 the number had valid syntax.
7971 2012-04-21 Andreas Jaeger <aj@suse.de>
7974 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7976 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7978 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7979 * sysdeps/unix/sysv/Versions: Remove file.
7981 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7986 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7990 version from __vm86.
7992 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7994 * sysdeps/unix/common/lxstat.c: Remove file.
7995 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7997 * sysdeps/unix/sysv/Makefile: Remove file.
7999 * sysdeps/unix/sysv/direct.h: Remove file.
8001 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8002 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8003 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8004 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8005 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8006 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8007 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8009 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8011 * sysdeps/unix/xmknod.c: Remove file.
8012 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8014 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8016 * sysdeps/unix/sysv/i386/time.S: Remove file.
8018 * sysdeps/unix/fxstat.c: Remove file.
8019 * sysdeps/unix/xstat.c: Likewise.
8020 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8022 * sysdeps/unix/sysv/sigaction.c: Remove file.
8024 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8025 (sysdep_headers): Remove variable.
8026 [termio.h not in sysdep_headers] (generated): Likewise.
8027 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8028 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8029 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8030 * sysdeps/unix/sysv/tcflow.c: Likewise.
8031 * sysdeps/unix/sysv/tcflush.c: Likewise.
8032 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8033 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8034 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8035 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8036 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8038 * sysdeps/unix/siglist.c: Remove file.
8040 * sysdeps/unix/getppid.S: Remove file.
8042 * sysdeps/unix/mkdir.c: Remove file.
8043 * sysdeps/unix/rmdir.c: Likewise.
8045 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8047 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8049 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8050 errlist-compat value.
8052 2012-04-18 David S. Miller <davem@davemloft.net>
8054 * sysdeps/generic/memcopy.h (reg_char): Delete.
8055 * debug/strcat_chk.c: Use char, not reg_char.
8056 * debug/strcpy_chk.c: Likewise.
8057 * debug/strncat_chk.c: Likewise.
8058 * debug/strncpy_chk.c: Likewise.
8059 * string/memchr.c: Likewise.
8060 * string/memrchr.c: Likewise.
8061 * string/rawmemchr.c: Likewise.
8062 * string/strcat.c: Likewise.
8063 * string/strchr.c: Likewise.
8064 * string/strchrnul.c: Likewise.
8065 * string/strcmp.c: Likewise.
8066 * string/strcpy.c: Likewise.
8067 * string/strncat.c: Likewise.
8068 * string/strncmp.c: Likewise.
8069 * string/strncpy.c: Likewise.
8071 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8073 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8074 __builtin_memcopy is called when src and dest ranges are known to not
8077 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8079 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8080 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8081 fwd_align_merge macro call.
8082 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8083 bwd_align_merge macro call.
8084 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8086 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8089 bwd_align_merge macros.
8090 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8091 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8092 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8094 2012-04-18 David S. Miller <davem@davemloft.net>
8096 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8098 2012-04-18 Andreas Jaeger <aj@suse.de>
8101 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8102 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8103 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8105 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8106 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8107 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8109 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8110 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8111 Adjust for changed ldbl-128 files.
8113 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8114 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8115 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8117 2012-04-17 David S. Miller <davem@davemloft.net>
8119 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8121 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8123 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8124 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8125 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8126 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8128 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8130 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8134 * math/libm-test.inc: Add ilogb errno and exception tests.
8135 * math/w_ilogb.c: New file: ilogb wrapper.
8136 * math/w_ilogbf.c: New file: ilogbf wrapper.
8137 * math/w_ilogbl.c: New file: ilogbl wrapper.
8138 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8139 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8140 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8141 exception being thrown with 0.0 as argument.
8142 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8143 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8144 exception being thrown with 0.0 as argument.
8145 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8146 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8147 exception being thrown with 0.0 as argument.
8148 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8149 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8150 exception being thrown with 0.0 as argument.
8151 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8152 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8153 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8154 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8155 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8156 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8157 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8158 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8159 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8161 2012-04-17 Petr Baudis <pasky@ucw.cz>
8163 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8166 2012-04-16 Marek Polacek <polacek@redhat.com>
8168 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8170 2012-04-16 Marek Polacek <polacek@redhat.com>
8172 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8173 operands of fdivp instruction.
8175 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8177 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8178 * elf/tst-auditmod3b.c: Likewise.
8179 * elf/tst-auditmod4b.c: Likewise.
8180 * elf/tst-auditmod5b.c: Likewise.
8181 * elf/tst-auditmod6b.c: Likewise.
8182 * elf/tst-auditmod6c.c: Likewise.
8183 * elf/tst-auditmod7b.c: Likewise.
8184 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8185 * sysdeps/x86_64/preconfigure.in: Likewise.
8186 * sysdeps/x86_64/preconfigure: Regenerated.
8188 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8190 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8193 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8196 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8198 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8201 * locale/iso-639.def: Fix gl language name. Spotted by
8204 2012-04-12 Roland McGrath <roland@hack.frob.com>
8207 * libio/libio.h (__io_write_fn): Update comment.
8209 2012-04-12 Petr Baudis <pasky@ucw.cz>
8212 * stdio.texi (Hook Functions): The user provided writer function
8213 is not allowed to return -1.
8215 2012-04-11 David S. Miller <davem@davemloft.net>
8217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8219 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8221 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8222 Add a leading slash to rtkaio.
8224 2012-04-11 Jim Meyering <meyering@redhat.com>
8227 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8228 It is not necessarily an error to ignore fwrite's return
8229 value. One can reliably use ferror to test for errors after
8232 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8234 * bits/types.h (__snseconds_t): New type.
8235 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8237 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8239 (__SNSECONDS_T_TYPE): Likewise.
8240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8241 (__SNSECONDS_T_TYPE): Likewise.
8242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8243 (__SNSECONDS_T_TYPE): Likewise.
8245 2012-04-10 Andreas Jaeger <aj@suse.de>
8248 * manual/time.texi (Processor Time): Return type of times is
8249 elapsed real time since an arbitrary point in the past.
8250 (CPU Time): Move CLK_TCK from here...
8251 (Processor Time): ...to here. Correct description.
8252 * manual/conf.texi (Constants for Sysconf): Correct description of
8255 2012-04-10 David S. Miller <davem@davemloft.net>
8258 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8259 where the is a gap between DT_REL(A) and DT_JMPREL.
8261 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8263 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8264 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8265 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8267 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8269 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8270 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8271 (dl_main): Handle --inhibit-cache.
8272 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8274 * elf/dl-load.c (_dl_map_object): Use it.
8275 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8277 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8280 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8281 (__ieee754_powl): Saturate large exponents rather than testing for
8282 overflow of y*log2(x).
8283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8284 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8288 * math/s_ctan.c: Include <float.h>.
8289 (__ctan): Avoid internal overflow or cancellation in calculating
8291 * math/s_ctanf.c: Likewise.
8292 * math/s_ctanl.c: Likewise.
8293 * math/s_ctanh.c: Likewise.
8294 * math/s_ctanhf.c: Likewise.
8295 * math/s_ctanhl.c: Likewise.
8296 * math/libm-test.inc (ctan_test): Add more tests.
8297 (ctanh_test): Likewise.
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301 2012-04-09 Andreas Jaeger <aj@suse.de>
8304 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8305 is an optional BSD extension.
8308 * manual/stdio.texi (Opening Streams): Document additional fopen
8311 2012-04-09 Roland McGrath <roland@hack.frob.com>
8313 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8314 %eax without telling the compiler.
8316 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8319 * manual/install.texi: Use sourceware.org.
8321 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8324 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8325 (__ieee754_pow): Generate overflow and underflow using huge*huge
8326 and tiny*tiny rather than just returning constant infinity or zero
8327 for large exponents.
8328 * math/libm-test.inc (pow_test): Require overflow exceptions for
8329 applicable cases of large exponents.
8332 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8333 (__ieee754_pow): Use iterative multiplication algorithm only for
8334 integer exponents with absolute value below 1024. Check for odd
8335 integer exponents when using algorithm for real exponents.
8336 * math/libm-test.inc (pow_test): Add more tests.
8337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8339 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8342 * math/libm-test.inc (exp_test): Do not allow overflow exception
8345 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8348 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8349 instead of __kernel_standard_f.
8351 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8353 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8354 * sysdeps/x86_64/memset_chk.S: Likewise.
8356 2012-04-08 Andreas Jaeger <aj@suse.de>
8359 * manual/startup.texi (Environment Access): Describe return value
8360 for putenv and setenv.
8363 * manual/filesys.texi (Directory Entries): Add description for
8367 * manual/filesys.texi (Directory Entries): Clarify that it's file
8368 system not operating system in the description of DT_UNKNOWN.
8371 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8373 2012-04-08 Stephen Compall <s11@member.fsf.org>
8376 * manual/llio.texi (Opening and Closing Files): Add cross
8377 reference to explain mode argument.
8379 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8381 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8382 * sysdeps/x86_64/memset_chk.S: Likewise.
8384 2012-04-07 David S. Miller <davem@davemloft.net>
8386 * elf/elf.h (R_SPARC_WDISP10): Define.
8387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8390 R_SPARC_SIZE64 and R_SPARC_H34.
8392 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8395 conditions and remove no longer applicable assertion.
8397 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8399 * bits/byteswap.h: Include <features.h>.
8400 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8401 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8403 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8405 * bits/byteswap.h (__bswap_16): Removed.
8406 Include <bits/byteswap-16.h> to get __bswap_16.
8407 * sysdeps/i386/bits/byteswap.h: Likewise.
8408 * sysdeps/s390/bits/byteswap.h: Likewise.
8409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8410 * bits/byteswap-16.h: New file.
8411 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8412 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8413 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8414 * string/Makefile (headers): Add bits/byteswap-16.h.
8416 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8419 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8421 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8422 * nss/tst-nss-static.c: New.
8424 2012-04-06 Robert Millan <rmh@gnu.org>
8427 * manual/llio.texi (File Position Primitive): lseek
8428 refers to WHENCE when it really means OFFSET.
8430 2012-04-06 Andreas Jaeger <aj@suse.de>
8432 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8433 strncmp declarations.
8435 * abilist/libc.abilist: Add __poll and __ppoll.
8437 2012-04-05 David S. Miller <davem@davemloft.net>
8439 * scripts/check-local-headers.sh: Accept a host triplet in the
8440 path matched by the exclude regexp.
8442 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8444 * sysdeps/powerpc/powerpc32/dl-machine.h
8445 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8446 * sysdeps/s390/s390-32/dl-machine.h
8447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8448 * sysdeps/sparc/sparc32/dl-machine.h
8449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8450 * sysdeps/sparc/sparc64/dl-machine.h
8451 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8453 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8455 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8456 undefined symbol errors.
8458 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8461 2012-04-05 Michael Matz <matz@suse.de>
8464 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8466 2012-04-05 Andreas Jaeger <aj@suse.de>
8469 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8474 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8475 which ROUND is no valid rounding mode.
8477 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8479 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8481 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8483 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8486 an exception using FPU order intentionally.
8488 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8490 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8491 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8492 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8493 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8495 2012-04-05 Simon Josefsson <simon@josefsson.org>
8498 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8499 EINVAL when BUFLEN is too smal.
8501 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8504 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8505 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8507 2012-04-03 Andreas Jaeger <aj@suse.de>
8510 * manual/setjmp.texi (System V contexts): Fix sentence.
8513 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8514 New macro for this case.
8515 [!__GNUC__] (__bswap_64): New inline function for this case.
8516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8517 * bits/byteswap.h: Likewise.
8518 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8519 ull, guard with __GLIBC_HAVE_LONG_LONG.
8521 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8522 __GLIBC_HAVE_LONG_LONG.
8524 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8525 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8527 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8531 inptr and inend, rather than using last_ch.
8533 2012-04-02 David S. Miller <davem@davemloft.net>
8535 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8536 * stdio-common/printf-parse.h (read_int): Change return type to
8537 'int', return -1 on INT_MAX overflow.
8538 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8539 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8540 overflows INT_MAX. Check for overflow of in-format-string precision
8541 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8542 SIZE_MAX not INT_MAX for integer overflow test.
8543 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8544 skip the construct in the format string but do not record anything.
8545 * stdio-common/bug22.c: Adjust to test both width/prevision
8546 INT_MAX overflow as well as total length INT_MAX overflow. Check
8547 explicitly for proper errno values.
8549 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8551 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8553 * string/test-strcmp.c [! WIDE]: Likewise.
8554 * time/tst-mktime2.c: Likewise for INT_MAX.
8555 * string/test-string.h: #include <sys/param.h> for MIN.
8557 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8558 * sysdeps/i386/init-first.c (init): Likewise.
8559 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8560 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8561 * sysdeps/sh/init-first.c (init): Likewise.
8563 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8565 * po/ru.po: Update from translation team.
8566 * po/vi.po: Likewise.
8568 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8570 * resolv/nss_dns/dns-host.c: Merge copyright years.
8572 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8575 Optimize memcpy with prefetch if
8576 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8577 src, dst pointers have unequal 16 byte alignments.
8579 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8582 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8583 from a CNAME entry and return the minimum ttl for the query.
8584 (gaih_getanswer_slice): Likewise.
8586 2012-03-30 Jeff Law <law@redhat.com>
8588 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8590 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8591 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8593 * resolv/nss_dns/dns-host.c: Update copyright year.
8595 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8597 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8598 requests to save a system call. Fix check that all bytes are sent.
8600 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8601 comments for sendmmsg.
8603 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8606 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8607 with only 1 character between 0x0041 and 0x01b0.
8608 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8609 * wcsmbs/tst-mbsnrtowcs.c: New file.
8611 2012-03-29 David S. Miller <davem@davemloft.net>
8613 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8614 small copies by hand.
8616 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8619 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8620 _nss_compat_initgroups_dyn): Fall back to malloc/free
8621 for large group memberships.
8623 2012-03-28 David S. Miller <davem@davemloft.net>
8625 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8626 that branches into memcpy.
8627 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8630 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8633 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8635 * sysdeps/sparc/mempcpy.S: New file.
8637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8638 the IFUNC routine in the libc case.
8639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8641 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8642 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8643 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8644 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8645 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8646 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8647 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8648 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8650 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8651 loop to 256 bytes instead of 64 bytes and fix test signedness.
8653 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8654 * sysdeps/sparc/sparc32/Makefile: rather than here...
8655 * sysdeps/sparc/sparc64/Makefile: and here.
8657 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8659 * malloc/mallocbug.c: Avoid warnings about unused variables.
8661 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8664 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8665 in the right place. Discard and retry query if response is
8666 larger than input buffer size.
8668 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8673 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8674 x for large integer exponent.
8675 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8676 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8677 sign of result as needed afterwards.
8678 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8679 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8680 result for underflowing pow the same as for overflow.
8681 (__kernel_standard_l): Handle powl overflow and underflow here
8682 rather than calling __kernel_standard.
8683 * math/libm-test.inc (pow_test): Add more tests.
8698 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8699 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8700 (__kernel_standard_l): New function.
8701 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8703 * math/w_acosl.c (__acosl): Likewise.
8704 * math/w_asinl.c (__asinl): Likewise.
8705 * math/w_atan2l.c (__atan2l): Likewise.
8706 * math/w_atanhl.c (__atanhl): Likewise.
8707 * math/w_coshl.c (__coshl): Likewise.
8708 * math/w_exp10l.c (__exp10l): Likewise.
8709 * math/w_exp2l.c (__exp2l): Likewise.
8710 * math/w_fmodl.c (__fmodl): Likewise.
8711 * math/w_hypotl.c (__hypotl): Likewise.
8712 * math/w_j0l.c (__j0l, __y0l): Likewise.
8713 * math/w_j1l.c (__j1l, __y1l): Likewise.
8714 * math/w_jnl.c (__jnl, __ynl): Likewise.
8715 * math/w_lgammal.c (__lgammal): Likewise.
8716 * math/w_log10l.c (__log10l): Likewise.
8717 * math/w_log2l.c (__log2l): Likewise.
8718 * math/w_logl.c (__logl): Likewise.
8719 * math/w_powl.c (__powl): Likewise.
8720 * math/w_remainderl.c (__remainderl): Likewise.
8721 * math/w_scalbl.c (sysv_scalbl): Likewise.
8722 * math/w_sinhl.c (__sinhl): Likewise.
8723 * math/w_sqrtl.c (__sqrtl): Likewise.
8724 * math/w_tgammal.c (__tgammal): Likewise.
8725 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8726 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8727 * math/libm-test.inc (acos_test): Add more tests.
8728 (acosh_test): Likewise.
8729 (asin_test): Likewise.
8730 (atanh_test): Likewise.
8731 (exp_test): Likewise.
8732 (exp10_test): Likewise.
8733 (exp2_test): Likewise.
8734 (expm1_test): Likewise.
8735 (lgamma_test): Likewise.
8736 (log_test): Likewise.
8737 (log10_test): Likewise.
8738 (log1p_test): Likewise.
8739 (log2_test): Likewise.
8740 (pow_test): Do not allow some spurious overflow exceptions.
8741 (sqrt_test): Add more tests.
8742 (tgamma_test): Likewise.
8743 (y0_test): Likewise.
8744 (y1_test): Likewise.
8745 (yn_test): Likewise.
8747 2012-03-27 Anton Blanchard <anton@samba.org>
8749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8755 2012-03-27 David S. Miller <davem@davemloft.net>
8757 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8759 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8762 2012-03-27 Andreas Jaeger <aj@suse.de>
8764 * sysdeps/x86_64/elf/configure.in: Moved to ...
8765 * sysdeps/x86_64/configure.in: ... here.
8766 * sysdeps/x86_64/elf/start.S: Moved to ...
8767 * sysdeps/x86_64/start.S: ... here.
8768 * sysdeps/x86_64/elf/configure: Delete.
8770 * sysdeps/x86_64/configure.in: Merge contents from
8771 sysdeps/i386/configure.in (without i686 check).
8773 * sysdeps/i386/elf/Versions: Merge into ...
8774 * sysdeps/i386/Versions: ... this.
8775 * sysdeps/i386/elf/Versions: Delete file.
8776 * sysdeps/i386/elf/start.S: Moved to ...
8777 * sysdeps/i386/start.S: ...here.
8778 * sysdeps/i386/elf/configure.in: Merge into...
8779 * sysdeps/i386/configure.in: ...here.
8780 * sysdeps/i386/elf/configure.in: Delete file.
8781 * sysdeps/i386/elf/configure: Delete file.
8783 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8784 * debug/backtracesyms.c: ... here.
8785 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8786 * debug/backtracesymsfd.c: ... here.
8787 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8788 * sysdeps/generic/ifunc-sel.h: ... here.
8790 * sysdeps/unix/i386/start.c: Delete file.
8791 * sysdeps/unix/sparc/start.c: Delete file.
8792 * sysdeps/unix/start.c: Delete file.
8794 * sysdeps/sh/elf/configure.in: Moved to ...
8795 * sysdeps/sh/configure.in: ... here.
8796 * sysdeps/sh/elf/start.S: Moved to ...
8797 * sysdeps/sh/start.S: ... here.
8798 * sysdeps/sh/elf/configure: Delete file.
8800 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8801 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8802 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8803 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8804 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8805 * sysdeps/powerpc/powerpc64/start.S: here.
8806 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8807 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8808 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8809 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8810 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8812 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8813 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8814 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8815 * sysdeps/powerpc/powerpc32/start.S: ... here.
8816 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8817 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8818 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8820 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8821 * sysdeps/powerpc/ifunc-sel.h: ... here.
8822 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8823 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8825 * sysdeps/sparc/elf/configure.in: Moved to ...
8826 * sysdeps/sparc/configure.in: ... here.
8827 * sysdeps/sparc/elf/configure: Delete file.
8828 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8829 * sysdeps/sparc/sparc32/start.S: ... here.
8830 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8831 * sysdeps/sparc/sparc64/start.S: ... here.
8832 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8833 * sysdeps/sparc/sparc32/Makefile: ... this.
8834 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8835 * sysdeps/sparc/sparc64/Makefile: ... this.
8837 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8838 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8839 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8840 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8841 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8842 * sysdeps/s390/s390-32/setjmp.S: ... here.
8843 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8844 * sysdeps/s390/s390-32/configure.in: ... here.
8845 * sysdeps/s390/s390-32/elf/configure: Delete file.
8846 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8847 * sysdeps/s390/s390-32/start.S: ... here.
8849 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8850 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8851 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8852 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8853 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8854 * sysdeps/s390/s390-64/setjmp.S: ... here.
8855 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8856 * sysdeps/s390/s390-64/configure.in: ... here
8857 * sysdeps/s390/s390-64/elf/configure: Delete file.
8858 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8859 * sysdeps/s390/s390-64/start.S: ... here.
8860 * sysdeps/s390/s390-64/elf/configure: Delete.
8862 * configure.in: Remove support for elf directories in sysdeps.
8864 * configure: Regenerated.
8865 * sysdeps/i386/configure: Regenerated.
8866 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8867 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8868 * sysdeps/s390/s390-32/configure: Regenerated.
8869 * sysdeps/s390/s390-64/configure: Regenerated.
8870 * sysdeps/sh/configure: Regenerated.
8871 * sysdeps/sparc/configure: Regenerated.
8872 * sysdeps/x86_64/configure: Regenerated.
8874 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8879 denormal result into account.
8881 2012-03-25 Roland McGrath <roland@hack.frob.com>
8883 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8884 Reported by Allan McRae <allan@archlinux.org>.
8886 2012-03-23 Jeff Law <law@redhat.com>
8888 * nss/getnssent.c (__nss_getent): Fix typo.
8890 2012-03-23 David S. Miller <davem@davemloft.net>
8892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8894 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8896 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8897 to pad to uint64_t for each field.
8898 (dl_tls_index): Replace unsigned long with uint64_t.
8900 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8901 Paul Pluzhnikov <ppluzhnikov@google.com>
8904 * grp/Makefile (otherlibs): Don't set it.
8905 * inet/Makefile (otherlibs): Likewise.
8906 * login/Makefile (otherlibs): Likewise.
8907 * nscd/Makefile (otherlibs): Likewise.
8908 * posix/Makefile (otherlibs): Likewise.
8909 * pwd/Makefile (otherlibs): Likewise.
8910 * rt/Makefile (otherlibs): Likewise.
8911 * sunrpc/Makefile (otherlibs): Likewise.
8912 * nss/Makefile (otherlibs): Likewise.
8913 Add libnss_files to routines and static-only-routines.
8914 ($(objpfx)getent): Remove rule.
8915 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8916 static-only-routines.
8918 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8921 * math/s_cexp.c: Include <float.h>.
8922 (__cexp): Handle exp result overflowing not necessarily
8923 overflowing both real and imaginary parts of result.
8924 * math/s_cexpf.c: Likewise.
8925 * math/s_cexpl.c: Likewise.
8926 * math/libm-test.inc (cexp_test): Add more tests.
8927 * sysdeps/i386/fpu/libm-test-ulps: Update.
8928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8930 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8932 * include/link.h (ELFW): New macro.
8933 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8934 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8938 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8941 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8945 (struct La_x32_retval): Likewise.
8947 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8949 * sysdeps/x86_64/preconfigure.in: New file.
8950 * sysdeps/x86_64/preconfigure: New generated file.
8952 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8955 * math/e_exp2l.c: Include <float.h>.
8956 (__ieee754_exp2l): Handle overflow and underflow cases
8957 separately. Only pass fractional part of argument to
8959 * math/libm-test.inc (exp2_test): Add more tests.
8961 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8962 negating x to take absolute value.
8963 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8965 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8966 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8968 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8969 computing low part if x was negated.
8970 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8972 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8974 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8976 (pltexit): Cast int_retval to ptrdiff_t.
8977 * elf/tst-auditmod3b.c: Likewise.
8978 * elf/tst-auditmod4b.c: Likewise.
8979 * elf/tst-auditmod5b.c: Likewise.
8980 * elf/tst-auditmod6b.c: Likewise.
8981 * elf/tst-auditmod6c.c: Likewise.
8982 * elf/tst-auditmod7b.c: Likewise.
8984 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8985 and x32_gnu_pltexit.
8987 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8989 (La_x32_regs): New macro.
8990 (La_x32_retval): Likewise.
8991 (la_x32_gnu_pltenter): New function prototype.
8992 (la_x32_gnu_pltexit): Likewise.
8994 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9001 * configure.in (libc_cv_cc_nofma): Check for option to disable
9002 generation of FMA instructions.
9003 * configure: Regenerate.
9004 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9005 * sysdeps/ieee754/dbl-64/Makefile: New file.
9006 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9007 Remove brandred-fma4.
9008 (CFLAGS-brandred-fma4.c): Remove.
9009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9010 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9012 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9017 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9018 LLONG_MAX != LONG_MAX.
9019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9020 (_fitoa_word): Likewise.
9021 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9022 LLONG_MAX != LONG_MAX.
9023 * stdio-common/_itowa.h: Include <_itoa.h>.
9024 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9025 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9026 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9027 only if not defined.
9028 (_ITOA_WORD_TYPE): Likewise.
9029 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9030 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9032 2012-03-21 David S. Miller <davem@davemloft.net>
9034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9036 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9038 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9039 of x86_64 when setting libc_cv_slibdir, libdir and
9041 * sysdeps/unix/sysv/linux/configure: Regenerated.
9043 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9045 * manual/lang.texi (Old Varargs): Remove section.
9046 (How Variadic): Update menu.
9047 (va_start): Do not mention varargs.h.
9049 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9050 Joseph Myers <joseph@codesourcery.com>
9052 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9054 * configure: Regenerated.
9056 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9058 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9059 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9062 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9065 * Makefile (files-for-dist): Remove NOTES.
9066 (NOTES): Remove rule.
9067 * README: Don't refer to NOTES.
9068 * manual/creature.texi: Don't include macros.texi.
9069 * manual/intro.texi (creature.texi): Remove comment referring to
9072 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9073 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9074 * configure: Regenerated.
9075 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9077 (libc_cv_as_i686): Likewise.
9078 (libc_cv_cc_avx): Likewise.
9079 (libc_cv_cc_sse2avx): Likewise.
9080 (libc_cv_cc_fma4): Likewise.
9081 (libc_cv_cc_novzeroupper): Likewise.
9082 * sysdeps/i386/configure: Regenerated.
9085 * sysdeps/i386/fpu/s_cexp.S: Remove.
9086 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9087 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9088 * math/libm-test.inc (cexp_test): Add more tests.
9089 * sysdeps/i386/fpu/libm-test-ulps: Update.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9092 2012-03-21 Allan McRae <allan@archlinux.org>
9094 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9096 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9099 * math/w_exp2.c: Do not include <float.h>.
9100 (o_threshold, u_threshold): Remove.
9101 (__exp2): Calculate result before checking finiteness and calling
9103 * math/w_exp2f.c: Likewise.
9104 * math/w_exp2l.c: Likewise.
9105 * math/libm-test.inc (exp2_test): Require overflow exception for
9109 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9110 range of signed 64-bit integers before using fistpll. Remove
9111 checks for whether integers fit in mantissa bits.
9112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9113 the range of signed 32-bit integers before using fistpl. Remove
9114 checks for whether integers fit in mantissa bits.
9115 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9116 (__ieee754_powl): Test for y outside the range of signed 64-bit
9117 integers before using fistpll. Reduce 64-bit values to 63-bit
9119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9120 divide-by-zero is raised for zero to large negative powers.
9121 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9122 (__ieee754_powl): Test for y outside the range of signed 64-bit
9123 integers before using fistpll. Reduce 64-bit values to 63-bit
9125 * math/libm-test.inc (pow_test): Add more tests.
9127 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9129 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9130 <stdio-common/_itoa.h>.
9131 * debug/segfault.c: Likewise.
9132 * elf/dl-cache.c: Likewise.
9133 * elf/dl-minimal.c: Likewise.
9134 * elf/dl-misc.c: Likewise.
9135 * elf/dl-sysdep.c: Likewise.
9136 * elf/dl-version.c: Likewise.
9137 * elf/rtld.c: Likewise.
9138 * hurd/hurdsock.c: Likewise.
9139 * hurd/lookup-retry.c: Likewise.
9140 * malloc/malloc.c: Likewise.
9141 * malloc/mtrace.c: Likewise.
9142 * nscd/nscd_getgr_r.c: Likewise.
9143 * nscd/nscd_getpw_r.c: Likewise.
9144 * nscd/nscd_getserv_r.c: Likewise.
9145 * posix/getopt_init.c: Likewise.
9146 * posix/wordexp.c: Likewise.
9147 * stdio-common/_itoa.c: Likewise.
9148 * stdio-common/printf_fphex.c: Likewise.
9149 * stdio-common/vfprintf.c: Likewise.
9150 * string/_strerror.c: Likewise.
9151 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9152 * sysdeps/i386/i686/hp-timing.h: Likewise.
9153 * sysdeps/mach/_strerror.c: Likewise.
9154 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9155 * sysdeps/mach/hurd/sethostid.c: Likewise.
9156 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9157 * sysdeps/mach/xpg-strerror.c: Likewise.
9158 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9160 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9161 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9162 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9163 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9164 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9165 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9166 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9167 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9168 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9169 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9170 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9171 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9173 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9176 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9177 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9178 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9180 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9182 * stdio-common/_itoa.h: Moved to ...
9183 * sysdeps/generic/_itoa.h: Here.
9185 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9187 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9188 instead of "_itoa.h" and "_itowa.h".
9189 * stdio-common/vfprintf.: Likewise.
9191 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9193 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9195 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9196 (__signbit): Likwise.
9200 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9205 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9207 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9208 OVERFLOW_EXCEPTION_OK.
9209 * math/libm-test.inc ("Philosophy"): Update comment about
9211 (OVERFLOW_EXCEPTION): Define.
9212 (OVERFLOW_EXCEPTION_OK): Likewise.
9213 (INVALID_EXCEPTION_OK): Renumber.
9214 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9215 (IGNORE_ZERO_INF_SIGN): Likewise.
9216 (test_exceptions): Handle FE_OVERFLOW.
9217 (exp10_test): Expect overflow exceptions.
9218 (exp2_test): Likewise.
9219 (expm1_test): Likewise.
9220 (nextafter_test): Likewise.
9221 (pow_test): Likewise.
9222 (scalbn_test): Likewise.
9223 (scalbln_test): Likewise.
9225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/x86_64/bits/atomic.h
9228 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9230 (atomic_exchange_acq): Likewise.
9231 (__arch_exchange_and_add_body): Likewise.
9232 (__arch_add_body): Likewise.
9233 (atomic_add_negative): Likewise.
9234 (atomic_add_zero): Likewise.
9236 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9238 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9239 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9244 Check __x86_64__ instead of __WORDSIZE.
9246 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9248 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9250 2012-03-19 David S. Miller <davem@davemloft.net>
9252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9254 * sysdeps/sparc/fpu/fenv_private.h: New file.
9255 * sysdeps/sparc/fpu/math_private.h: Use it.
9256 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9258 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9259 (libc_feholdexcept_setroundl): Remove.
9260 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9262 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9263 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9265 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9267 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9268 int64_t instead of long int.
9269 (INSERT_WORDS64): Likwise.
9271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9273 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9274 _Unwind_GetCFA return to _Unwind_Ptr first.
9276 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9279 * math/s_clog.c: Include <float.h>.
9280 (__clog): Scale large or subnormal inputs.
9281 * math/s_clogf.c: Likewise.
9282 * math/s_clogl.c: Likewise.
9283 * math/s_clog10.c: Include <float.h>.
9284 (M_LOG10_2): Define.
9285 (__clog10): Scale large or subnormal inputs.
9286 * math/s_clog10f.c: Likewise.
9287 * math/s_clog10l.c: Likewise.
9288 * math/libm-test.inc (clog_test): Add more tests.
9289 (clog10_test): Likewise.
9290 * sysdeps/i386/fpu/libm-test-ulps: Update.
9291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9296 * math/libm-test.inc (atan2_test): Add another test.
9298 * Makerules (common-objdir-compile): Remove.
9299 * sysdeps/unix/Makefile (config-generated): Do not add
9300 $(unix-generated) to variable.
9301 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9302 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9304 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9306 [generic bits/local_lim.h] (before-compile): Do not append to
9308 [generic bits/local_lim.h] (common-generated): Likewise.
9309 [generic sys/param.h] (before-compile): Do not append to variable.
9310 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9311 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9312 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9313 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9315 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9316 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9317 [generic sys/param.h] ($(addprefix
9318 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9319 [generic sys/param.h] (common-generated): Do not append to
9321 [generic sys/param.h] (sysdep_headers): Likewise.
9322 [generic bits/errno.h] (before-compile): Do not append to
9324 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9326 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9327 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9328 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9329 [generic bits/errno.h] (common-generated): Do not append to
9331 [generic bits/ioctls.h] (before-compile): Do not append to
9333 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9335 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9336 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9339 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9340 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9341 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9342 [generic bits/ioctls.h] (common-generated): Do not append to
9344 [generic sys/syscall.h] (syscall.h): Remove variable.
9345 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9347 [generic sys/syscall.h] (before-compile): Do not append to
9349 [generic sys/syscall.h] (common-generated): Likewise.
9350 * sysdeps/unix/errnos-tmpl.c: Remove file.
9351 * sysdeps/unix/errnos.awk: Likewise.
9352 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9353 * sysdeps/unix/ioctls.awk: Likewise.
9354 * sysdeps/unix/mk-local_lim.c: Likewise.
9355 * sysdeps/unix/snarf-ioctls: Likewise.
9357 2012-03-19 Richard Henderson <rth@twiddle.net>
9359 * sysdeps/i386/fpu/fenv_private.h: New file.
9360 * sysdeps/i386/fpu/math_private.h: Use it.
9361 (math_opt_barrier, math_force_eval): Remove.
9362 (libc_feholdexcept_setround_53bit): Remove.
9363 (libc_feupdateenv_53bit): Remove.
9364 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9365 (math_opt_barrier, math_force_eval): Remove.
9366 (libc_feholdexcept): Remove.
9367 (libc_feholdexcept_setround): Remove.
9368 (libc_fetestexcept, libc_fesetenv): Remove.
9369 (libc_feupdateenv_test): Remove.
9370 (libc_feupdateenv, libc_feholdsetround): Remove.
9371 (libc_feresetround): Remove.
9373 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9374 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9376 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9377 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9378 (libc_feupdateenv_testl): New.
9379 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9380 (libc_feupdateenv_testf): New.
9381 (libc_feupdateenv): Use libc_feupdateenv_test.
9382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9383 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9385 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9386 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9387 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9388 (libc_feresetround_noex): New.
9389 (libc_feresetround_noexf): New.
9390 (libc_feresetround_noexl): New.
9391 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9392 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9393 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9396 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9399 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9400 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9401 SET_RESTORE_ROUND_NOEX.
9402 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9403 SET_RESTORE_ROUND_NOEXF.
9404 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9405 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9406 (libc_feholdsetroundf): New.
9407 (libc_feresetround, libc_feresetroundf): New.
9409 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9410 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9411 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9413 * sysdeps/generic/math_private.h: Include <fenv.h>.
9414 (default_libc_feholdexcept): New.
9415 (default_libc_feholdexcept_setround): New.
9416 (default_libc_fesetenv, default_libc_feupdateenv): New.
9417 (libc_feholdexcept): Only define if undefined.
9418 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9419 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9420 (libc_feholdexcept_setroundl): Likewise.
9421 (libc_feholdexcept_setround_53bit): Likewise.
9422 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9423 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9424 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9425 (libc_feupdateenv_53bit): Likewise.
9426 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9427 (libc_feholdexcept): Convert from macro to inline function.
9428 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9429 (libc_fesetenv, libc_feupdateenv): Likewise.
9431 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9432 not previously defined.
9433 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9434 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9435 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9436 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9437 * sysdeps/ieee754/flt-32/math_private.h: New file.
9438 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9439 math_private.h below SET_FLOAT_WORD.
9440 (__isnan, __isinf_ns, __finite): Remove.
9441 (__isnanf, __isinf_nsf, __finitef): Remove.
9443 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9447 2012-03-17 David S. Miller <davem@davemloft.net>
9450 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9453 2012-03-16 David S. Miller <davem@davemloft.net>
9455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9459 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9461 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9462 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9463 sysdep_routines when subdir is sysvipc.
9464 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9467 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9469 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9471 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9474 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9477 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9478 (__lround): Renamed to ...
9479 (__llround): This. Replace long int with long long int.
9480 Define lround functions as aliases of llround functions.
9481 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9485 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9486 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9487 adresses to uintptr_t. Replace "long int" and "unsigned long
9488 int" with "greg_t" on va_arg.
9490 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9492 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9493 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9495 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9496 Move e_machine check before EI_CLASS check. Handle x32
9497 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9498 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9499 SKIP_EM_IA_64 and include
9500 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9502 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9503 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9504 (add_system_dir): New macro.
9506 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9507 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9509 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9520 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9522 * math/w_j0f.c (j0f): Likewise.
9524 * math/w_j0l.c (__j0l): Likewise.
9526 * math/w_j1.c (j1): Likewise.
9528 * math/w_j1f.c (j1f): Likewise.
9530 * math/w_j1l.c (__j1l): Likewise.
9532 * math/w_jn.c (jn): Likewise.
9534 * math/w_jnf.c (jnf): Likewise.
9536 * math/w_jnl.c (__jnl): Likewise.
9538 * math/libm-test.inc (j0_test): Add more tests.
9539 (j1_test): Likewise.
9540 (jn_test): Likewise. Add trailing semicolon to existing test.
9541 (y0_test): Likewise.
9542 (y1_test): Likewise.
9543 * sysdeps/i386/fpu/libm-test-ulps: Update.
9544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9549 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9550 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9552 (__tanl): Set errno for infinite argument.
9553 * sysdeps/i386/fpu/mptan.c: Remove.
9554 * sysdeps/i386/fpu/s_tan.S: Likewise.
9555 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9556 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9557 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9558 * math/libm-test.inc (tan_test): Add more tests and enable more
9559 tests for double and long double.
9560 * sysdeps/i386/fpu/libm-test-ulps: Update.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9563 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9565 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9566 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9568 2012-03-16 Roland McGrath <roland@hack.frob.com>
9570 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9571 * configure.in: Use it for both main tree and add-ons.
9572 * configure: Regenerated.
9574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9576 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9578 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9584 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9585 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9590 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9593 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9594 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9595 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9596 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9597 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9598 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9599 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9600 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9601 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9602 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9603 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9604 * math/libm-test.inc (cos_test): Add more tests and enable more
9605 tests for long double.
9606 (sin_test): Likewise.
9607 (sincos_test): Likewise.
9608 * sysdeps/i386/fpu/libm-test-ulps: Update.
9609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611 2012-03-16 David S. Miller <davem@davemloft.net>
9613 * sysdeps/sparc/fpu/math_private.h: New file.
9615 2012-03-15 David S. Miller <davem@davemloft.net>
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9631 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9632 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9634 * sysdeps/sparc/sparc-ifunc.h: New file.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9680 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9682 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9686 2012-03-15 Andreas Jaeger <aj@suse.de>
9689 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9690 ieee754/flt-32 implementation for sin, cos and sincos.
9691 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9692 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9693 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9694 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9695 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9696 ieee754/flt-32 implementation for tan.
9698 * math/libm-test.inc (cos_test): Enable some large input tests for
9700 (sin_test): Likewise.
9701 (sincos_test): Likewise.
9702 (tan_test): Add tests for large input.
9704 * sysdeps/i386/fpu/libm-test-ulps: Update.
9706 2012-03-15 Andreas Jaeger <aj@suse.de>
9709 * math/libm-test.inc (cos_test): Add more test cases.
9710 (sin_test): Likewise.
9711 (sincos_test): Likewise.
9713 2012-03-15 Andreas Jaeger <aj@suse.de>
9716 * math/libm-test.inc (cos_test): Add a test case for large input
9718 (sin_test): Likewise.
9719 (sincos_test): Likewise.
9721 2012-03-15 Andreas Jaeger <aj@suse.de>,
9722 Joseph Myers <joseph@codesourcery.com>
9725 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9726 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9727 * sysdeps/i386/fpu/branred.c: Likewise.
9728 * sysdeps/i386/fpu/dosincos.c: Likewise.
9729 * sysdeps/i386/fpu/mpa.c: Likewise.
9730 * sysdeps/i386/fpu/s_cos.S: Likewise.
9731 * sysdeps/i386/fpu/s_sin.S: Likewise.
9732 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9733 * sysdeps/i386/fpu/sincos32.c: Likewise.
9735 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9737 (libc_feupdateenv_53bit): Define.
9738 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9740 (libc_feupdateenv_53bit): Define.
9742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9743 53 bit (without extend i386 double precision).
9745 * math/libm-test.inc (sincos_test): Add tests for large input.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9751 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9755 2012-03-15 David S. Miller <davem@davemloft.net>
9757 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9759 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9785 fmin/fmax sysdep routines.
9786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9788 2012-03-14 David S. Miller <davem@davemloft.net>
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9862 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9867 * sysdeps/sparc/configure.in: New file.
9868 * sysdeps/sparc/configure: Generate.
9869 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9870 * configure: Regenerate.
9871 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9872 * config.make.in (have-as-vis3): New.
9873 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9874 available use -Av9d instead of -Av9a.
9875 * sysdeps/sparc/sparc64/Makefile: Likewise.
9876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9891 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9892 fzeros/fnegs to load 0x80000000 into a float register instead of
9894 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9896 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9900 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9901 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9902 ($(inst_includedir)/bits/syscall.h): Remove rule.
9903 ($(objpfx)bits/syscall.d): Include instead of
9904 $(objpfx)syscall-list.d.
9905 (generated): Change syscall-list.h and syscall-list.d to
9906 bits/syscall.h and bits/syscall.d.
9908 2012-03-14 Roland McGrath <roland@hack.frob.com>
9911 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9913 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9916 * math/s_csqrt.c: Include <float.h>.
9917 (__csqrt): Scale large or subnormal inputs.
9918 * math/s_csqrtf.c: Likewise.
9919 * math/s_csqrtl.c: Likewise.
9920 * math/libm-test.inc (csqrt_test): Add more tests.
9921 * sysdeps/i386/fpu/libm-test-ulps: Update.
9922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9925 * math/libm-test.inc (hypot_test): Add more tests.
9927 2012-03-13 David S. Miller <davem@davemloft.net>
9930 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9931 double-precision for the calculation instead of scaling.
9933 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9936 manipulate bits before adding and subtracting TWO52[sx].
9937 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9940 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9942 2012-03-13 David S. Miller <davem@davemloft.net>
9944 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9945 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9947 rtld-global-offsets.h
9948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9950 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9953 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9955 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9956 'err' in the ifdef scope in which it is actually used.
9958 * nss/nss_db/db-init.c: Include string.h
9960 2012-03-12 David S. Miller <davem@davemloft.net>
9962 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9963 masking out of the most significant byte of random value used.
9964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9965 Fix coding style in previous change.
9967 * sysdeps/unix/sysv/linux/kernel-features.h
9968 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9969 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9971 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9974 2012-03-11 David S. Miller <davem@davemloft.net>
9976 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9977 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9979 for 'resultvar' otherwise things get truncated on 64-bit.
9981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9982 Fix masking out of the most significant byte of random value used.
9984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9986 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9990 2012-03-09 David S. Miller <davem@davemloft.net>
9992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9993 variables with appropriate CPP guards.
9994 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9995 frame pointer, not the stack pointer. Correct layout comments. Fix test
9996 on resulting framesize and the management of the outregs buffer for pltexit.
9997 Preserve floating point return values across _dl_call_pltexit call.
9998 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9999 framesize and the management of the outregs buffer for pltexit.
10000 Preserve floating point return values across _dl_call_pltexit
10002 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10003 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10004 (print_exit): Fix format string for return register value.
10006 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10008 * sunrpc/Makefile (others): Add rpcgen.
10009 ($(objpfx)rpcgen): Remove special build rule and dependency on
10011 * sunrpc/rpcgen.c: New file.
10013 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10016 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10017 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10018 * sysdeps/i386/crti.S: Likewise.
10019 * sysdeps/i386/crtn.S: Likewise.
10020 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10021 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10022 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10023 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10024 * sysdeps/sh/crti.S: Likewise.
10025 * sysdeps/sh/crtn.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10029 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10031 * locale/programs/locfile-kw.gperf: Likewise.
10032 * locale/programs/charmap-kw.h: Regenerated.
10033 * locale/programs/locfile-kw.h: Likewise.
10036 * intl/plural.y: Replace FSF snail mail address with URL.
10037 * intl/plural.c: Regenerated.
10039 2012-03-09 Richard Henderson <rth@twiddle.net>
10041 * include/math_private.h: Remove file.
10042 * math/math_private.h: Move file ...
10043 * sysdeps/generic/math_private.h: ... here.
10045 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10046 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10047 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10049 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10050 and <math_private.h>.
10051 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10052 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10053 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10054 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10055 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10139 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10148 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10149 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10151 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10152 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10153 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10155 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10156 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10158 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10159 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10161 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10173 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10174 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10175 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10176 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10177 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10178 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10179 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10180 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10181 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10182 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10184 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10187 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10188 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10190 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10191 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10193 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10200 * sysdeps/ieee754/k_standard.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10323 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10349 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10350 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10361 * sysdeps/ieee754/s_lib_version.c: Likewise.
10362 * sysdeps/ieee754/s_matherr.c: Likewise.
10363 * sysdeps/ieee754/s_signgam.c: Likewise.
10364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10366 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10367 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10368 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10370 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10371 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10372 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10373 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10374 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10375 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10376 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10377 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10378 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10379 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10380 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10381 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10382 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10386 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10388 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10389 * sunrpc/rpc_main.c: Likewise.
10390 * sunrpc/rpc_svcout.c: Likewise.
10392 2012-03-09 David S. Miller <davem@davemloft.net>
10394 * include/math_private.h: New file.
10396 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10398 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10399 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10400 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10401 from <bits/socket_type.h>.
10402 (enum __socket_type): Don't define here.
10403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10405 bits/socket_type.h.
10408 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10409 checking __USE_GNU.
10411 * Makerules ($(inst_includedir)/%.h): New rule.
10412 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10413 (install-others): Remove variable setting.
10414 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10416 2012-03-08 Richard Henderson <rth@twiddle.net>
10418 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10419 from macro to inline function; merge with the
10420 !__LIBC_INTERNAL_MATH_INLINES version.
10421 (__ieee754_sqrtf): Likewise.
10423 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10424 to inline function.
10425 (__rintf, __floor, __floorf): Likewise.
10427 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10428 macro to inline function.
10429 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10432 not <math/math_private.h>.
10434 2012-03-08 David S. Miller <davem@davemloft.net>
10436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10438 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10440 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10442 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10444 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10445 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10447 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10449 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10450 be defined individually, they must be defined as a block. Define
10451 S for printing a string instead of hidint the different by using a
10452 macro for adding the 'l'.
10453 * stdio-common/tst-fphex-wide.c: Adjust.
10455 2012-03-07 Marek Polacek <polacek@redhat.com>
10457 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10459 2012-03-08 Marek Polacek <polacek@redhat.com>
10462 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10463 * stdio-common/tst-fphex.c: Define a few macros to make the
10464 test reusable. Use them.
10465 * stdio-common/tst-fphex-wide.c: New file.
10467 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10470 * manual/macros.texi (gnusystems): New macro.
10471 (nongnusystems): Likewise.
10472 (gnulinuxhurdsystems): Likewise.
10473 (gnuhurdsystems): Likewise..
10474 (gnulinuxsystems): Likewise.
10475 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10476 variants of the GNU system, not "GNU system".
10477 * manual/conf.texi: Likewise.
10478 * manual/errno.texi: Likewise. Update example of errno macro
10480 * manual/filesys.texi: Likewise.
10481 (getumask): Document as specific to GNU/Hurd.
10482 * manual/install.texi: Likewise. Reword some references to
10484 * manual/intro.texi: Likewise.
10485 * manual/io.texi: Likewise.
10486 (File Name Portability): Detail which constraints are inapplicable
10487 to all GNU systems and which are only inapplicable to GNU/Hurd.
10488 * manual/job.texi: Likewise.
10489 * manual/llio.texi: Likewise.
10490 (O_NOCTTY): Document as present on GNU/Linux.
10491 * manual/maint.texi: Likewise.
10492 * manual/memory.texi: Likewise.
10493 * manual/pattern.texi: Likewise.
10494 * manual/pipe.texi: Likewise.
10495 * manual/process.texi: Likewise.
10496 * manual/resource.texi: Likewise.
10497 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10499 * manual/setjmp.texi: Likewise.
10500 * manual/signal.texi: Likewise.
10501 * manual/startup.texi: Likewise.
10502 * manual/stdio.texi: Likewise.
10503 * manual/terminal.texi: Likewise.
10504 (ONLCR): Document as POSIX.
10505 (OXTABS): Document availability on GNU/Linux as XTABS.
10506 (ONOEOT): Document availability separately from other bits.
10507 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10508 * manual/time.texi: Likewise.
10509 * manual/users.texi: Likewise.
10510 * INSTALL: Regenerated.
10511 * sysdeps/gnu/errlist.c: Regenerated.
10513 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10514 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10515 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10517 * configure: Regenerated.
10519 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10521 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10522 default includes instead of AC_HEADER_CHECK.
10523 * sysdeps/i386/configure: Regenerated.
10526 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10527 * math/s_cacoshf.c (__cacoshf): Likewise.
10528 * math/s_cacoshl.c (__cacoshl): Likewise.
10529 * math/s_casinh.c (__casinh): Set signs of result from argument.
10530 * math/s_casinhf.c (__casinhf): Likewise.
10531 * math/s_casinhl.c (__casinhl): Likewise.
10532 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10533 (casinh_test): Add more tests.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10537 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10539 * po/zh_TW.po: Update from translation team.
10541 * login/Makefile (distribute): Remove variable.
10542 * catgets/Makefile: Likewise.
10543 * mach/Makefile: Likewise.
10544 * malloc/Makefile: Likewise.
10545 * misc/Makefile: Likewise.
10546 * iconv/Makefile: Likewise.
10547 * nscd/Makefile: Likewise.
10548 * hurd/Makefile: Likewise.
10549 * manual/Makefile: Likewise.
10550 * locale/Makefile: Likewise.
10551 * intl/Makefile: Likewise.
10552 * conform/Makefile: Likewise.
10553 * nss/Makefile: Likewise.
10554 * time/Makefile: Likewise.
10555 * soft-fp/Makefile: Likewise.
10556 * dirent/Makefile: Likewise.
10557 * gmon/Makefile: Likewise.
10558 * po/Makefile: Likewise.
10559 * rt/Makefile: Likewise.
10560 * socket/Makefile: Likewise.
10561 * math/Makefile: Likewise.
10562 * signal/Makefile: Likewise.
10563 * debug/Makefile: Likewise.
10564 * elf/Makefile: Likewise.
10565 * timezone/Makefile: Likewise.
10566 * stdlib/Makefile: Likewise.
10567 * iconvdata/Makefile: Likewise.
10568 * sunrpc/Makefile: Likewise.
10569 * io/Makefile: Likewise.
10570 * argp/Makefile: Likewise.
10571 * inet/Makefile: Likewise.
10572 * hesiod/Makefile: Likewise.
10573 * grp/Makefile: Likewise.
10574 * csu/Makefile: Likewise.
10575 * wctype/Makefile: Likewise.
10576 * crypt/Makefile: Likewise.
10577 * libio/Makefile: Likewise.
10578 * string/Makefile: Likewise.
10579 * nis/Makefile: Likewise.
10580 * resolv/Makefile: Likewise.
10581 * stdio-common/Makefile: Likewise.
10582 * wcsmbs/Makefile: Likewise.
10583 * dlfcn/Makefile: Likewise.
10584 * posix/Makefile: Likewise.
10587 * timezone/Makefile: Don't install timezone files, just the programs
10590 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10592 * nss/databases.def: Add missing gshadow entry.
10594 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10596 2012-03-06 Marek Polacek <polacek@redhat.com>
10599 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10600 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10601 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10602 * stdio-common/tst-long-dbl-fphex.c: New file.
10604 2012-03-06 David S. Miller <davem@davemloft.net>
10606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10607 (set_obp_int): New function.
10608 (get_obp_int): New function.
10609 (__get_clockfreq_via_dev_openprom): Likewise.
10610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10611 Avoid unused variable warnings on 'val' and use builtin_expect.
10612 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10614 (INLINE_CLONE_SYSCALL): Likewise.
10616 2012-03-05 David S. Miller <davem@davemloft.net>
10618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10620 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10625 only for |x| >= 40.
10626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10628 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10631 Replace gettimeofday with __vdso_gettimeofday.
10633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10634 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10635 __vdso_clock_gettime and __vdso_getcpu.
10637 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10638 time with __vdso_time.
10640 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10642 * manual/lang.texi (size_t): Note types to which size_t may be
10643 equivalent with the GNU C Library, but do not describe when
10644 differences between them are significant.
10646 2012-03-05 Andreas Jaeger <aj@suse.de>
10648 * sysdeps/i386/fpu/libm-test-ulps: Update.
10650 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10653 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10654 (__ieee754_pow): Save and restore rounding mode and use
10655 round-to-nearest for main computations.
10656 * math/libm-test.inc (pow_test_tonearest): New function.
10657 (pow_test_towardzero): Likewise.
10658 (pow_test_downward): Likewise.
10659 (pow_test_upward): Likewise.
10660 (main): Call the new functions.
10661 * sysdeps/i386/fpu/libm-test-ulps: Update.
10662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665 * math/libm-test.inc (cosh_test_tonearest): New function.
10666 (cosh_test_towardzero): Likewise.
10667 (cosh_test_downward): Likewise.
10668 (cosh_test_upward): Likewise.
10669 (sinh_test_tonearest): Likewise.
10670 (sinh_test_towardzero): Likewise.
10671 (sinh_test_downward): Likewise.
10672 (sinh_test_upward): Likewise.
10673 (main): Call the new functions.
10674 * sysdeps/i386/fpu/libm-test-ulps: Update.
10675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10677 2012-03-05 Tom de Vries <tom@codesourcery.com>
10679 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10680 default stack guard is set in last bytes.
10681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10683 2012-03-05 Kees Cook <keescook@chromium.org>
10685 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10688 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10689 possibly allocate from heap instead of stack.
10690 * stdio-common/bug-vfprintf-nargs.c: New file.
10691 * stdio-common/Makefile (tests): Add nargs overflow test.
10693 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10697 2012-03-03 Marek Polacek <polacek@redhat.com>
10699 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10700 * math/math_private.h: Likewise.
10701 * stdlib/tst-strtod.c: Likewise.
10702 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10703 * sysdeps/x86_64/bits/atomic.h: Likewise.
10705 2012-03-02 David S. Miller <davem@davemloft.net>
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10711 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10712 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10713 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10714 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10716 2012-03-02 Roland McGrath <roland@hack.frob.com>
10719 * manual/examples/README: New file, says the example source files
10720 can be used under GPL>=2.
10721 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10722 line containing just "*/".
10723 * manual/examples/add.c: Add copyright header (GPL>=2).
10724 * manual/examples/argp-ex1.c: Likewise.
10725 * manual/examples/argp-ex2.c: Likewise.
10726 * manual/examples/argp-ex3.c: Likewise.
10727 * manual/examples/argp-ex4.c: Likewise.
10728 * manual/examples/atexit.c: Likewise.
10729 * manual/examples/db.c: Likewise.
10730 * manual/examples/dir.c: Likewise.
10731 * manual/examples/dir2.c: Likewise.
10732 * manual/examples/execinfo.c: Likewise.
10733 * manual/examples/filecli.c: Likewise.
10734 * manual/examples/filesrv.c: Likewise.
10735 * manual/examples/fmtmsgexpl.c: Likewise.
10736 * manual/examples/genpass.c: Likewise.
10737 * manual/examples/inetcli.c: Likewise.
10738 * manual/examples/inetsrv.c: Likewise.
10739 * manual/examples/isockad.c: Likewise.
10740 * manual/examples/longopt.c: Likewise.
10741 * manual/examples/memopen.c: Likewise.
10742 * manual/examples/memstrm.c: Likewise.
10743 * manual/examples/mkfsock.c: Likewise.
10744 * manual/examples/mkisock.c: Likewise.
10745 * manual/examples/mygetpass.c: Likewise.
10746 * manual/examples/pipe.c: Likewise.
10747 * manual/examples/popen.c: Likewise.
10748 * manual/examples/rprintf.c: Likewise.
10749 * manual/examples/search.c: Likewise.
10750 * manual/examples/select.c: Likewise.
10751 * manual/examples/setjmp.c: Likewise.
10752 * manual/examples/sigh1.c: Likewise.
10753 * manual/examples/sigusr.c: Likewise.
10754 * manual/examples/stpcpy.c: Likewise.
10755 * manual/examples/strdupa.c: Likewise.
10756 * manual/examples/strftim.c: Likewise.
10757 * manual/examples/strncat.c: Likewise.
10758 * manual/examples/subopt.c: Likewise.
10759 * manual/examples/swapcontext.c: Likewise.
10760 * manual/examples/termios.c: Likewise.
10761 * manual/examples/testopt.c: Likewise.
10762 * manual/examples/testpass.c: Likewise.
10763 * manual/examples/timeval_subtract.c: Likewise.
10766 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10768 * manual/timeval_subtract.c.texi: ... here, new file.
10770 2012-03-02 David S. Miller <davem@davemloft.net>
10772 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10774 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10777 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10778 (__sin): Save and restore rounding mode and use round-to-nearest
10779 for all computations.
10780 (__cos): Save and restore rounding mode and use round-to-nearest
10781 for all computations.
10782 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10784 (tan): Save and restore rounding mode and use round-to-nearest for
10786 * math/libm-test.inc (cos_test_tonearest): New function.
10787 (cos_test_towardzero): Likewise.
10788 (cos_test_downward): Likewise.
10789 (cos_test_upward): Likewise.
10790 (sin_test_tonearest): Likewise.
10791 (sin_test_towardzero): Likewise.
10792 (sin_test_downward): Likewise.
10793 (sin_test_upward): Likewise.
10794 (tan_test_tonearest): Likewise.
10795 (tan_test_towardzero): Likewise.
10796 (tan_test_downward): Likewise.
10797 (tan_test_upward): Likewise.
10798 (main): Call the new functions.
10799 * sysdeps/i386/fpu/libm-test-ulps: Update.
10800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10803 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10804 small n, then large n, before computing and testing k+n.
10805 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10810 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10811 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10818 * math/libm-test.inc (scalbn_test): Add more tests.
10819 (scalbln_test): Likewise.
10821 * manual/filesys.texi (mode_t): Describe constraints on size and
10822 signedness, not exact equivalence to a particular type.
10824 (ino64_t): Likewise.
10826 (nlink_t): Likewise.
10827 (blkcnt_t): Likewise.
10828 (blkcnt64_t): Likewise.
10829 * manual/llio.texi (off_t): Likewise.
10832 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10833 (__ieee754_exp): Save and restore rounding mode and use
10834 round-to-nearest for all computations.
10835 * math/libm-test.inc (exp_test_tonearest): New function.
10836 (exp_test_towardzero): Likewise.
10837 (exp_test_downward): Likewise.
10838 (exp_test_upward): Likewise.
10839 (main): Call the new functions.
10840 * sysdeps/i386/fpu/libm-test-ulps: Update.
10841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10843 2012-03-01 Chris Demetriou <cgd@google.com>
10845 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10846 have predictable order.
10848 2012-03-01 David S. Miller <davem@davemloft.net>
10850 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10852 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10857 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10858 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10859 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10861 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10862 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10863 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10864 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10870 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10871 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10873 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10874 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10875 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10876 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10877 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10881 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10889 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10890 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10891 * sysdeps/sparc/elf/configure: Regenerated.
10893 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10895 * configure.in (AS, LD): Require binutils 2.20 or later.
10896 * configure: Regenerated.
10897 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10898 as required minimum version.
10899 * INSTALL: Regenerated.
10903 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10904 before squaring exponent.
10905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10906 bottom long double and 27 bits of top long double before squaring
10908 * math/libm-test.inc (erfc_test): Add more tests.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913 2012-03-01 Kai Tietz <ktietz@redhat.com>
10915 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10916 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10917 containing bit-fields.
10918 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10919 * soft-fp/single.h (_FP_UNION_S): Likewise.
10920 * soft-fp/double.h (_FP_UNION_D): Likewise.
10922 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10925 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10926 not include ../strcmp.S.
10927 [USE_AS_STRNCASECMP_L]: Likewise.
10928 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10929 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10930 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10931 (__strncasecmp_l_ia32): Define as alias to
10932 __strncasecmp_l_nonascii.
10935 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10936 * sysdeps/i386/fpu/libm-test-ulps: Update.
10937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10939 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942 2012-02-29 Jeff Law <law@redhat.com>
10944 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10945 out of bounds read.
10947 2012-02-29 Marek Polacek <polacek@redhat.com>
10950 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10951 * elf/Makefile: Add rules to run tst-unused-dep.out.
10953 2012-02-28 David S. Miller <davem@davemloft.net>
10955 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10956 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10959 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10960 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10962 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10964 * math/libm-test.inc (llround_test): Move one test from
10965 lround_test. Use TEST_f_L in moved test.
10966 (lround_test): Move misplaced test to llround_test. Add testcase
10969 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10971 * sysdeps/x86_64/fpu/e_expf.S: New file.
10972 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10974 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10977 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10978 of remain_len that may cause incomplete multi-byte character and
10980 * posix/bug-regex33.c: New file.
10981 * posix/Makefile (tests): Add bug-regex33.
10983 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10985 * manual/macros.texi: New file.
10986 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10987 * manual/libc.texinfo: Include macros.texi.
10988 * manual/creatute.texi: Likewise.
10989 * manual/install.texi: Likewise.
10990 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10991 @glibcadj{} in references to the GNU C Library.
10992 * manual/charset.texi: Likewise.
10993 * manual/conf.texi: Likewise.
10994 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10995 when not using those macros.
10996 * manual/creature.texi: Likewise.
10997 * manual/crypt.texi: Likewise.
10998 * manual/errno.texi: Likewise.
10999 * manual/filesys.texi: Likewise.
11000 * manual/header.texi: Likewise.
11001 * manual/install.texi: Likewise.
11002 * manual/intro.texi: Likewise.
11003 * manual/io.texi: Likewise.
11004 * manual/job.texi: Likewise.
11005 * manual/lang.texi: Likewise.
11006 * manual/libc.texiinfo: Likewise.
11007 * manual/llio.texi: Likewise.
11008 * manual/locale.texi: Likewise.
11009 * manual/maint.texi: Likewise.
11010 * manual/math.texi: Likewise.
11011 * manual/memory.texi: Likewise.
11012 * manual/message.texi: Likewise.
11013 * manual/nss.texi: Likewise.
11014 * manual/pattern.texi: Likewise.
11015 * manual/process.texi: Likewise.
11016 * manual/resource.texi: Likewise.
11017 * manual/search.texi: Likewise.
11018 * manual/setjmp.texi: Likewise.
11019 * manual/signal.texi: Likewise.
11020 * manual/socket.texi: Likewise.
11021 * manual/startup.texi: Likewise.
11022 * manual/stdio.texi: Likewise.
11023 * manual/string.texi: Likewise.
11024 * manual/sysinfo.texi: Likewise.
11025 * manual/syslog.texi: Likewise.
11026 * manual/terminal.texi: Likewise.
11027 * manual/time.texi: Likewise.
11028 * manual/users.texi: Likewise.
11029 * INSTALL: Regenerated.
11030 * NOTES: Regenerated.
11031 * sysdeps/gnu/errlist.c: Regenerated.
11033 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11035 * include/dirent.h: Include <dirstream.h> before
11038 2012-02-28 David S. Miller <davem@davemloft.net>
11040 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11041 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11042 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11043 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11045 2012-02-27 David S. Miller <davem@davemloft.net>
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11049 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11053 frame pointer instead of stack pointer relative arg slot.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11058 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11061 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11063 2012-02-27 David S. Miller <davem@davemloft.net>
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11069 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11070 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11071 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11072 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11074 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11076 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11077 later. Allow versions 5-9.
11078 * configure: Regenerated.
11079 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11080 required minimum version and 4.6 as recommended version. Do not
11081 mention bugs in GCC 2.7 and 2.8.
11082 * INSTALL: Regenerated.
11084 2012-02-27 David S. Miller <davem@davemloft.net>
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11096 manipulate bits before adding and subtracting TWO112[sx].
11097 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11099 2012-02-27 Roland McGrath <roland@hack.frob.com>
11102 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11103 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11104 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11105 being in POSIX, because they are in 1003.1-2008.
11107 * rt/tst-aio.c: Include <fcntl.h>.
11108 * rt/tst-aio7.c: Likewise.
11109 * rt/tst-aio64.c: Likewise.
11111 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11113 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11115 * manual/install.texi (--with-headers): Describe headers as
11116 interface headers, not private headers.
11117 (Specific advice for GNU/Linux systems): Describe use of headers
11118 from "make headers_install", not private headers from older
11120 * INSTALL: Regenerated.
11121 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11123 * sysdeps/unix/sysv/linux/configure: Regenerated.
11125 * manual/llio.texi (fclean): Remove documentation.
11127 * manual/Makefile (libc-texi-generated): New variable. Include
11129 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11130 $(libc-texi-generated), not duplicated list of files.
11131 (version.texi, stamp-version): New rules.
11132 (realclean): Remove $(libc-texi-generated), not individual files
11133 from that list. Do not remove dir-add.texinfo.
11134 * manual/libc.texinfo: Comment out uses of edition numbers and
11135 references to printed manual. Remove last-updated dates.
11136 (EDITION): Comment out.
11138 (VERSION, UPDATED): Remove.
11139 (version.texi): Include.
11141 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11143 * sysdeps/posix/spawni.c: Include <signal.h>.
11144 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11145 * sysdeps/pthread/aio_fsync.c: Likewise.
11147 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11149 * conform/Makefile (tests): Run only when not cross-compiling and
11150 when fast-check is not defined.
11152 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11153 * conform/data/limits.h-data: Fixes for POSIX2008.
11154 * conform/run-conformtest.sh: Run all tests.
11155 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11157 * include/bits/dlfcn.h: Likewise.
11158 * include/langinfo.h: Likewise.
11159 * include/monetary.h: Likewise.
11160 * include/sys/poll.h: Likewise.
11162 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11164 * posix/spawn.h: Define __need_sigset_t.
11165 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11166 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11167 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11168 to get sigevent_t only.
11169 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11170 only for __USE_GNU.
11171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11172 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11173 process_vm_writev only for __USE_GNU.
11174 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11176 * conform/Makefile: For now ignore errors from run-conformtest.
11177 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11178 POSIX to avoid namespace pollution. Don't prepend headers.
11179 * conform/data/aio.h-data: Fixes for POSIX testing.
11180 * conform/data/fcntl.h-data: Likewise.
11181 * conform/data/glob.h-data: Likewise.
11182 * conform/data/grp.h-data: Likewise.
11183 * conform/data/pthread.h-data: Likewise.
11184 * conform/data/pwd.h-data: Likewise.
11185 * conform/data/signal.h-data: Likewise.
11186 * conform/data/spawn.h-data: Likewise.
11187 * conform/data/stdio.h-data: Likewise.
11188 * conform/data/stdlib.h-data: Likewise.
11189 * conform/data/stropts.h-data: Likewise.
11190 * conform/data/sys/mman.h-data: Likewise.
11191 * conform/data/sys/stat.h-data: Likewise.
11192 * conform/data/sys/types.h-data: Likewise.
11193 * conform/data/sys/wait.h-data: Likewise.
11194 * conform/data/time.h-data: Likewise.
11195 * conform/data/unistd.h-data: Likewise.
11196 * conform/data/utime.h-data: Likewise.
11198 * io/sys/stat.h: fchmod was always in POSIX.
11199 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11200 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11201 * rt/aio.h: Define __need_timespec before including <time.h>.
11202 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11203 struct. Add forward declaration of pthread_attr_t and use it in
11205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11206 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11207 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11208 always remove CLK_TCK definition.
11210 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11212 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11214 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11216 * conform/run-conformtest.sh: New file.
11217 * conform/Makefile: Run run-conformtest for tests.
11218 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11221 * conform/data/uchar.h-data: New file.
11222 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11223 * conform/data/arpa/inet.h-data: Likewise.
11224 * conform/data/assert.h-data: Likewise.
11225 * conform/data/complex.h-data: Likewise.
11226 * conform/data/cpio.h-data: Likewise.
11227 * conform/data/ctype.h-data: Likewise.
11228 * conform/data/dirent.h-data: Likewise.
11229 * conform/data/dlfcn.h-data: Likewise.
11230 * conform/data/errno.h-data: Likewise.
11231 * conform/data/fcntl.h-data: Likewise.
11232 * conform/data/float.h-data: Likewise.
11233 * conform/data/fmtmsg.h-data: Likewise.
11234 * conform/data/fnmatch.h-data: Likewise.
11235 * conform/data/ftw.h-data: Likewise.
11236 * conform/data/glob.h-data: Likewise.
11237 * conform/data/grp.h-data: Likewise.
11238 * conform/data/iconv.h-data: Likewise.
11239 * conform/data/inttypes.h-data: Likewise.
11240 * conform/data/langinfo.h-data: Likewise.
11241 * conform/data/libgen.h-data: Likewise.
11242 * conform/data/limits.h-data: Likewise.
11243 * conform/data/locale.h-data: Likewise.
11244 * conform/data/math.h-data: Likewise.
11245 * conform/data/monetary.h-data: Likewise.
11246 * conform/data/mqueue.h-data: Likewise.
11247 * conform/data/ndbm.h-data: Likewise.
11248 * conform/data/net/if.h-data: Likewise.
11249 * conform/data/netdb.h-data: Likewise.
11250 * conform/data/netinet/in.h-data: Likewise.
11251 * conform/data/nl_types.h-data: Likewise.
11252 * conform/data/poll.h-data: Likewise.
11253 * conform/data/pthread.h-data: Likewise.
11254 * conform/data/pwd.h-data: Likewise.
11255 * conform/data/regex.h-data: Likewise.
11256 * conform/data/sched.h-data: Likewise.
11257 * conform/data/search.h-data: Likewise.
11258 * conform/data/semaphore.h-data: Likewise.
11259 * conform/data/setjmp.h-data: Likewise.
11260 * conform/data/signal.h-data: Likewise.
11261 * conform/data/spawn.h-data: Likewise.
11262 * conform/data/stdarg.h-data: Likewise.
11263 * conform/data/stdio.h-data: Likewise.
11264 * conform/data/stdlib.h-data: Likewise.
11265 * conform/data/string.h-data: Likewise.
11266 * conform/data/strings.h-data: Likewise.
11267 * conform/data/stropts.h-data: Likewise.
11268 * conform/data/sys/ipc.h-data: Likewise.
11269 * conform/data/sys/mman.h-data: Likewise.
11270 * conform/data/sys/msg.h-data: Likewise.
11271 * conform/data/sys/resource.h-data: Likewise.
11272 * conform/data/sys/select.h-data: Likewise.
11273 * conform/data/sys/sem.h-data: Likewise.
11274 * conform/data/sys/shm.h-data: Likewise.
11275 * conform/data/sys/socket.h-data: Likewise.
11276 * conform/data/sys/stat.h-data: Likewise.
11277 * conform/data/sys/statvfs.h-data: Likewise.
11278 * conform/data/sys/time.h-data: Likewise.
11279 * conform/data/sys/timeb.h-data: Likewise.
11280 * conform/data/sys/times.h-data: Likewise.
11281 * conform/data/sys/types.h-data: Likewise.
11282 * conform/data/sys/uio.h-data: Likewise.
11283 * conform/data/sys/un.h-data: Likewise.
11284 * conform/data/sys/utsname.h-data: Likewise.
11285 * conform/data/sys/wait.h-data: Likewise.
11286 * conform/data/syslog.h-data: Likewise.
11287 * conform/data/tar.h-data: Likewise.
11288 * conform/data/termios.h-data: Likewise.
11289 * conform/data/utime.h-data: Likewise.
11290 * conform/data/utmpx.h-data: Likewise.
11291 * conform/data/varargs.h-data: Likewise.
11292 * conform/data/wchar.h-data: Likewise.
11293 * conform/data/wctype.h-data: Likewise.
11294 * conform/data/wordexp.h-data: Likewise.
11296 * include/stropts.h: New file.
11297 * include/uchar.h: New file.
11298 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11299 * include/assert.h: Likewise.
11300 * include/ctype.h: Likewise.
11301 * include/dirent.h: Likewise.
11302 * include/dlfcn.h: Likewise.
11303 * include/fcntl.h: Likewise.
11304 * include/fnmatch.h: Likewise.
11305 * include/glob.h: Likewise.
11306 * include/grp.h: Likewise.
11307 * include/libio.h: Likewise.
11308 * include/locale.h: Likewise.
11309 * include/math.h: Likewise.
11310 * include/net/if.h: Likewise.
11311 * include/netdb.h: Likewise.
11312 * include/netinet/in.h: Likewise.
11313 * include/pthread.h: Likewise.
11314 * include/pwd.h: Likewise.
11315 * include/regex.h: Likewise.
11316 * include/sched.h: Likewise.
11317 * include/search.h: Likewise.
11318 * include/setjmp.h: Likewise.
11319 * include/signal.h: Likewise.
11320 * include/stdio.h: Likewise.
11321 * include/stdlib.h: Likewise.
11322 * include/string.h: Likewise.
11323 * include/sys/cdefs.h: Likewise.
11324 * include/sys/mman.h: Likewise.
11325 * include/sys/msg.h: Likewise.
11326 * include/sys/resource.h: Likewise.
11327 * include/sys/select.h: Likewise.
11328 * include/sys/socket.h: Likewise.
11329 * include/sys/stat.h: Likewise.
11330 * include/sys/statvfs.h: Likewise.
11331 * include/sys/time.h: Likewise.
11332 * include/sys/times.h: Likewise.
11333 * include/sys/uio.h: Likewise.
11334 * include/sys/utsname.h: Likewise.
11335 * include/sys/wait.h: Likewise.
11336 * include/termios.h: Likewise.
11337 * include/time.h: Likewise.
11338 * include/ulimit.h: Likewise.
11339 * include/unistd.h: Likewise.
11340 * include/utime.h: Likewise.
11341 * include/wchar.h: Likewise.
11342 * include/wctype.h: Likewise.
11343 * include/wordexp.h: Likewise.
11345 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11347 * time/time.h: TIME_UTC must be a macro.
11348 Make timespec_get available for ISO C11 only as well.
11350 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11352 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11353 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11355 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11357 * configure.in: Use -o not -a in test for unsupported multi-arch.
11359 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11361 * manual/texinfo.tex: Update to version 2012-01-19.16.
11363 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11365 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11367 2012-02-24 Roland McGrath <roland@hack.frob.com>
11370 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11371 * manual/fdl-1.3.texi: New file.
11372 * manual/fdl-1.1.texi: File removed.
11375 * manual/libc.texinfo (FDL_VERSION): New @set.
11376 Use it for mention of FDL in cover text.
11377 (Documentation License): Use it in @include file name.
11379 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11380 Roland McGrath <roland@hack.frob.com>
11383 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11384 not LONG_LONG_MAX and LONG_LONG_MIN.
11385 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11386 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11388 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11390 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11394 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11395 manipulate bits before adding and subtracting TWO23[sx].
11396 * math/libm-test.inc (nearbyint_test): Add more tests.
11398 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11402 bits before adding and subtracting TWO23[sx].
11403 * math/libm-test.inc (rint_test): Add more tests.
11404 (rint_test_tonearest): Likewise.
11405 (rint_test_towardzero): Likewise.
11406 (rint_test_downward): Likewise.
11407 (rint_test_upward: Likewise.
11409 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11412 * include/stdc-predef.h: New file. Extracted from features.h.
11413 * include/features.h: Include stdc-predef.h.
11414 * Makefile (headers): Add stdc-predef.h.
11415 * CONFORMANCE (Compiler limitations): Update.
11417 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11419 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11421 2012-02-21 David S. Miller <davem@davemloft.net>
11423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11424 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11426 2012-02-20 David S. Miller <davem@davemloft.net>
11428 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11429 using a normal save/restore sequence, rather than allocating a
11430 dummy stack frame just to store a frame pointer and restore.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11433 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11435 * manual/install.texi: Fix stray word in line-wrapped comment.
11437 2012-02-20 David S. Miller <davem@davemloft.net>
11439 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11440 both binutils and gcc support GOTDATA.
11442 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11443 "rd %pc" in the PIC register setup sequences.
11445 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11446 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11447 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11448 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11449 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11454 (SYSCALL_ERROR_HANDLER): Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11458 (SYSCALL_ERROR_HANDLER): Likewise.
11460 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11461 (HAVE_GCC_GOTDATA): New.
11462 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11463 relocation support in both binutils and gcc.
11464 * sysdeps/sparc/elf/configure: Regenerate.
11466 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11467 * sysdeps/sparc/sparc32/elf/configure: Delete.
11468 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11469 * sysdeps/sparc/sparc64/elf/configure: Delete.
11470 * sysdeps/sparc/elf/configure.in: New file.
11471 * sysdeps/sparc/elf/configure: Generate.
11473 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11474 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11475 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11476 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11477 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11479 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11481 * manual/install.texi: Do not mention specific glibc version
11483 * manual/libc.texinfo (VERSION, UPDATED): Update.
11484 (@copying): Use @copyright{} and range of years.
11486 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11489 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11490 [crti.S not in sysdirs] (generated): Do not append.
11491 [crti.S not in sysdirs] (omit-deps): Likewise.
11492 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11493 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11494 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11495 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11496 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11498 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11499 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11500 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11501 * csu/defs.awk: Remove file.
11502 * sysdeps/generic/initfini.c: Likewise.
11503 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11505 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11508 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11510 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11511 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11512 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11514 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11515 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11517 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11518 (__EPOLL_PACKED): Define to empty if not defined by
11520 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11524 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11526 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11527 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11529 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11531 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11535 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11537 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11540 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11544 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11549 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11551 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11552 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11554 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11556 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11559 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11561 * math/w_acos.c: Use non-signaling floating-point comparisons.
11562 * math/w_acosf.c: Likewise.
11563 * math/w_acosh.c: Likewise.
11564 * math/w_acoshf.c: Likewise.
11565 * math/w_acoshl.c: Likewise.
11566 * math/w_acosl.c: Likewise.
11567 * math/w_asin.c: Likewise.
11568 * math/w_asinf.c: Likewise.
11569 * math/w_asinl.c: Likewise.
11570 * math/w_atanh.c: Likewise.
11571 * math/w_atanhf.c: Likewise.
11572 * math/w_atanhl.c: Likewise.
11573 * math/w_exp2.c: Likewise.
11574 * math/w_exp2f.c: Likewise.
11575 * math/w_exp2l.c: Likewise.
11576 * math/w_j0.c: Likewise.
11577 * math/w_j0f.c: Likewise.
11578 * math/w_j0l.c: Likewise.
11579 * math/w_j1.c: Likewise.
11580 * math/w_j1f.c: Likewise.
11581 * math/w_j1l.c: Likewise.
11582 * math/w_jn.c: Likewise.
11583 * math/w_jnf.c: Likewise.
11584 * math/w_log.c: Likewise.
11585 * math/w_log10.c: Likewise.
11586 * math/w_log10f.c: Likewise.
11587 * math/w_log10l.c: Likewise.
11588 * math/w_log2.c: Likewise.
11589 * math/w_log2f.c: Likewise.
11590 * math/w_log2l.c: Likewise.
11591 * math/w_logf.c: Likewise.
11592 * math/w_logl.c: Likewise.
11593 * math/w_sqrt.c: Likewise.
11594 * math/w_sqrtf.c: Likewise.
11595 * math/w_sqrtl.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11599 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11602 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11605 * manual/string.texi (strnlen): Use correct parameter name in
11606 equivalent expression.
11608 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11611 * manual/users.texi (seteuid): Consistently use neweuid for
11614 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11617 * manual/nss.texi (Services in the NSS configuration): Correct
11618 list of services in example configuration file.
11620 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11623 * manual/arith.texi: Remove statements about negative zero
11624 behaving identically to zero.
11626 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11629 * manual/install.texi: Do not document upgrading from libc5.
11631 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11634 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11636 2012-02-18 David S. Miller <davem@davemloft.net>
11638 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11639 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11640 %o7 across the call.
11641 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11644 SETUP_PIC_REG_LEAF.
11645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11646 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11647 * sysdeps/sparc/crtn.S: Likewise.
11649 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11651 * aout/Makefile: Remove.
11653 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11656 * manual/examples/argp-ex1.c (main): Format definition in GNU
11658 * manual/examples/argp-ex2.c (main): Likewise.
11659 * manual/examples/argp-ex3.c (main): Likewise.
11660 * manual/examples/argp-ex4.c (main): Likewise.
11661 * manual/examples/longopt.c (main): Use new-style prototype
11663 * manual/examples/strncat.c (main): Specify return type and use
11664 (void) for arguments.
11665 * manual/examples/subopt.c (main): Use char **argv argument.
11667 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11670 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11673 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11676 * manual/string.texi (strchr): Change when strchrnul is
11679 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11682 * manual/locale.texi (setlocale): Document LOCPATH.
11684 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11687 * manual/process.texi (execle): Move @dots{} before last argument.
11689 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11692 * manual/charset.texi (Generic Charset Conversion): Fix typo
11693 (LC_TYPE -> LC_CTYPE).
11695 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11698 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11699 (scalbnf): Likewise.
11700 (scalbnl): Likewise.
11701 (scalbln): Likewise.
11702 (scalblnf): Likewise.
11703 (scalblnl): Likewise.
11704 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11705 (vwarnx): Likewise.
11708 * manual/filesys.texi (telldir): Use braces around return type.
11709 * manual/llio.texi (mmap): Add space after comma.
11710 (mmap64): Likewise.
11711 * manual/math.texi (jn): Use @var{} on parameter names.
11717 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11719 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11721 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11722 (sched_get_priority_max): Likewise.
11723 * manual/signal.texi (sigvec): Add space after comma.
11724 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11726 (if_indextoname): Likewise.
11727 (if_freenameindex): Likewise.
11728 (sendto): Use ',' instead of '.' in prototype.
11729 * manual/startup.texi (syscall): Use @dots{} instead of literal
11731 * manual/stdio.texi (__fpending): Separate initial words of
11732 paragraph from @deftypefun line.
11733 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11735 (vsyslog): Use @var{} on parameter names.
11736 * manual/terminal.texi (stty): Use @var{} on parameter names.
11737 * manual/users.texi (getutmp): Use @var{} on parameter names.
11738 (getutmpx): Likewise.
11740 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11743 * manual/stdio.texi (fopen): Fix typos in description of
11746 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11749 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11750 get clock_id definition.
11752 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11755 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11756 (madvise): Cast every argument to void on its own.
11758 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11761 * manual/startup.texi (Exit Status): Fix typo.
11763 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11766 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11767 * manual/examples/argp-ex2.c: Likewise.
11768 * manual/examples/argp-ex3.c: Likewise.
11770 2012-02-16 Richard Henderson <rth@redhat.com>
11772 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11773 * sysdeps/s390/s390-32/initfini.c: Remove.
11774 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11775 * sysdeps/s390/s390-64/initfini.c: Remove.
11777 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11779 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11780 compiler output for sysdeps/generic/initfini.c.
11781 * sysdeps/sh/elf/initfini.c: Remove file.
11783 2012-02-16 David S. Miller <davem@davemloft.net>
11786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11788 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11789 * sysdeps/sparc/crti.S: New file.
11790 * sysdeps/sparc/crtn.S: New file.
11791 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11792 * sysdeps/sparc/sparc64/Makefile: Likewise.
11794 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11797 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11799 2012-02-15 Roland McGrath <roland@hack.frob.com>
11802 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11804 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11805 (write, read, close): Likewise.
11806 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11808 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11810 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11811 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11813 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11815 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11819 2012-02-14 Marek Polacek <polacek@redhat.com>
11821 * sysdeps/x86_64/crti.S: New file.
11822 * sysdeps/x86_64/crtn.S: New file.
11823 * sysdeps/x86_64/elf/initfini.c: Remove file.
11825 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11827 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11828 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11830 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11832 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11836 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11838 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11839 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11841 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11843 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11847 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11849 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11850 __feraiseexcept instead of feraiseexcept.
11852 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11853 nanosleep invocations.
11854 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11855 strings, and add error checking for a nanosleep invocations.
11857 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11859 Replace FSF snail mail address with URLs, as per GNU coding standards.
11860 Most of the snail mail addresses were wrong anyway, and omitting
11861 them makes the source code easier to maintain. Almost all of the
11862 changes are to license notices and to locale LC_IDENTIFICATION
11863 addresses, except for this one:
11864 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11865 not its snail mail address.
11867 2012-02-09 Richard Henderson <rth@twiddle.net>
11869 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11870 of kernel-features.h.
11872 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11874 2012-02-08 Marek Polacek <polacek@redhat.com>
11876 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11877 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11878 * sysdeps/gnu/_G_config.h: Likewise.
11879 * sysdeps/generic/_G_config.h: Likewise.
11881 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11883 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887 * sysdeps/powerpc/powerpc32/crti.S: New file.
11888 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11889 * sysdeps/powerpc/powerpc64/crti.S: New file.
11890 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11892 * Makeconfig (have-initfini): Don't set.
11893 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11894 * configure.in (nopic_initfini): Don't substitute.
11895 * config.h.in (HAVE_INITFINI): Don't #undef.
11896 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11897 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11899 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11901 Support crti.S and crtn.S provided directly by architectures.
11902 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11903 [crti.S in sysdirs] (omit-deps): Likewise.
11904 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11905 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11906 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11907 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11908 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11909 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11910 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11911 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11912 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11913 compiler output for sysdeps/generic/initfini.c.
11914 * sysdeps/i386/elf/Makefile: Remove file.
11915 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11917 2012-02-07 Marek Polacek <polacek@redhat.com>
11919 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11920 * sysdeps/gnu/_G_config.h: Likewise.
11921 * sysdeps/mach/hurd/_G_config.h: Likewise.
11923 2012-02-07 Marek Polacek <polacek@redhat.com>
11925 * math/Makefile (tests): Add tst-CMPLX2.
11926 * math/tst-CMPLX2.c: New file.
11928 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11930 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11932 * math/libm-test.inc (jn_test): Add missing L suffix.
11934 2012-02-06 Marek Polacek <polacek@redhat.com>
11936 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11937 * sysdeps/i386/fpu/e_powf.S: Likewise.
11938 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11939 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11940 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11941 * sysdeps/i386/fpu/e_pow.S: Likewise.
11942 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11944 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11945 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11946 * sysdeps/i386/fpu/e_log2.S: Likewise.
11947 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11949 * sysdeps/i386/fpu/e_powl.S: Likewise.
11950 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11952 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11953 * sysdeps/i386/fpu/e_logl.S: Likewise.
11954 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11955 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11956 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11957 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11960 * sysdeps/i386/fpu/e_log.S: Likewise.
11961 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11962 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11963 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11964 * sysdeps/i386/fpu/e_logf.S: Likewise.
11965 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11966 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11967 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11968 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11969 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11970 * sysdeps/i386/fpu/e_log10.S: Likewise.
11971 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11972 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11973 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11974 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11975 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11976 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11977 * sysdeps/i386/asm-syntax.h: Likewise.
11978 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11979 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11981 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11982 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11983 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11984 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11985 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11986 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11987 * sysdeps/powerpc/sysdep.h: Likewise.
11988 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11989 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11991 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11994 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11996 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11998 * sysdeps/i386/sysdep.h: Include <features.h>.
11999 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12002 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12004 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12006 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12009 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12011 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12012 (SETUP_PIC_REG): Use GET_PC_THUNK.
12013 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12016 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12018 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12019 for non-PIC compilation.
12020 (SETUP_PIC_REG): Add .p2align directive.
12021 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12022 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12063 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12065 * math/tst-CMPLX.c: Include <stdio.h>.
12067 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12069 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12071 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12072 * sysdeps/sparc/bits/mathdef.h: Likewise.
12074 2012-01-31 Marek Polacek <polacek@redhat.com>
12076 * libio/libio.h: Don't define _PARAMS.
12077 * locale/programs/config.h: Don't define PARAMS.
12078 * stdlib/strtol_l.c: Likewise.
12079 (__strtol_l): Remove PARAMS from the prototype.
12081 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12083 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12084 names. Just use the correct names. Remove unnecessary wrapper
12086 * malloc/arena.c: Likewise.
12087 * malloc/hooks.c: Likewise.
12089 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12090 ARENA_TEST says not to. Simplify test for creation of a new arena.
12091 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12093 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12095 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12097 (update_get_addr): New function.
12098 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12099 GET_ADDR_MODULE parameter.
12101 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12103 * crypt/cert.c: Remove __STDC__ conditionals.
12104 * crypt/crypt-entry.c: Likewise.
12105 * crypt/crypt_util.c: Likewise.
12106 * libio/filedoalloc.c: Likewise.
12107 * libio/fileops.c: Likewise.
12108 * libio/genops.c: Likewise.
12109 * libio/iofclose.c: Likewise.
12110 * libio/iofdopen.c: Likewise.
12111 * libio/iofopen.c: Likewise.
12112 * libio/iofopen64.c: Likewise.
12113 * libio/iogetdelim.c: Likewise.
12114 * libio/iopopen.c: Likewise.
12115 * libio/obprintf.c: Likewise.
12116 * libio/oldfileops.c: Likewise.
12117 * libio/oldiofclose.c: Likewise.
12118 * libio/oldiofdopen.c: Likewise.
12119 * libio/oldiofopen.c: Likewise.
12120 * libio/oldiopopen.c: Likewise.
12121 * libio/wfiledoalloc.c: Likewise.
12122 * libio/wgenops.c: Likewise.
12123 * locale/programs/xmalloc.c: Likewise.
12124 * misc/syslog.c: Likewise.
12125 * stdio-common/xbug.c: Likewise.
12126 * string/memchr.c: Likewise.
12127 * string/memcmp.c: Likewise.
12128 * string/memrchr.c: Likewise.
12129 * string/rawmemchr.c: Likewise.
12130 * sysdeps/posix/getcwd.c: Likewise.
12131 * time/strftime_l.c: Likewise.
12133 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12135 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12136 * config.make.in (config-cflags-sse2avx): Define.
12137 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12140 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12142 * scripts/config.guess: Update from upstream config git repository.
12143 * scripts/config.sub: Likewise.
12145 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12147 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12149 (R_TILEPRO_*, R_TILEGX_*): New macros.
12151 * scripts/firstversions.awk: Fix bug in version range handling.
12153 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12155 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12157 * include/sys/epoll.h: New file.
12158 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12161 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12163 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12164 Avoid unnecessary __WORDSIZE == 64 test.
12165 (fmaxf): Use VEX format if possible.
12170 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12171 * math/math_private.h: Remove libc_fegetround* and
12173 * sysdeps/i386/configure.in: Check for -msse2avx.
12174 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12175 also if SSE2AVX is defined.
12176 Remove libc_fegetround* and libc_fesetround*.
12177 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12178 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12182 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12187 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12189 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12191 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12193 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12195 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12198 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12200 * Makeconfig (libm): Define.
12201 * elf/Makefile: Add rules to build and run tst-relsort1.
12202 * elf/tst-relsort1.c: New file.
12203 * elf/tst-relsort1mod1.c: New file.
12204 * elf/tst-relsort1mod2.c: New file.
12206 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12208 * math/s_ldexp.c: Remove __STDC__ conditionals.
12209 * math/s_ldexpf.c: Likewise.
12210 * math/s_ldexpl.c: Likewise.
12211 * math/s_nextafter.c: Likewise.
12212 * math/s_nexttowardf.c: Likewise.
12213 * math/s_significand.c: Likewise.
12214 * math/s_significandf.c: Likewise.
12215 * math/s_significandl.c: Likewise.
12216 * math/w_jnl.c: Likewise.
12217 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12218 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12219 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12220 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12221 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12232 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12239 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12240 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12241 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12242 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12243 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12244 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12245 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12246 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12247 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12248 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12249 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12250 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12251 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12252 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12254 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12255 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12256 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12257 * sysdeps/ieee754/k_standard.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12332 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12337 * sysdeps/ieee754/s_matherr.c: Likewise.
12338 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12339 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12343 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12345 * crypt/md5.h: Remove __STDC__ conditionals.
12346 * libio/libioP.h: Likewise.
12347 * locale/programs/config.h: Likewise.
12348 * sysdeps/generic/sysdep.h: Likewise.
12349 * sysdeps/i386/asm-syntax.h: Likewise.
12350 * sysdeps/s390/asm-syntax.h: Likewise.
12351 * sysdeps/unix/sysdep.h: Likewise.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12355 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12357 * libio/libio.h: Remove __STDC__ conditionals.
12358 * malloc/obstack.h: Likewise.
12359 * math/complex.h: Likewise.
12360 * math/math.h: Likewise.
12361 * sysdeps/generic/_G_config.h: Likewise.
12362 * sysdeps/gnu/_G_config.h: Likewise.
12363 * sysdeps/mach/hurd/_G_config.h: Likewise.
12364 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12365 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12366 * sysdeps/sparc/bits/mathdef.h: Likewise.
12368 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12371 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12372 Clean up HAS_* macros.
12373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12374 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12384 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12386 * elf/tst-unique3.cc (gets): Remove declaration.
12387 * elf/tst-unique3lib.cc (gets): Likewise.
12388 * elf/tst-unique3lib2.cc (gets): Likewise.
12389 * elf/tst-unique4.cc (gets): Likewise.
12391 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12393 * include/stdio.h: Add C++ protection. Add gets declarations and
12395 * debug/tst-chk1.c: Don't declare gets here.
12396 * stdio-common/tst-gets.c: Likewise.
12398 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12400 * posix/glob: Remove directory.
12402 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12404 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12406 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12408 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12409 of the non-standard EPFNOSUPPORT.
12411 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12413 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12414 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12415 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12417 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12419 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12421 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12423 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12425 * nscd/grpcache.c (cache_addgr): Likewise.
12426 * nscd/hstcache.c (cache_addhst): Likewise.
12427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12428 * nscd/pwdcache.c (cache_addpw): Likewise.
12429 * nscd/servicescache.c (cache_addserv): Likewise.
12431 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12433 * malloc/malloc.c: Various cleanups.
12434 * malloc/hooks.c: Likewise.
12436 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12437 * stdlib/bug-fmtmsg1.c: New file.
12439 * stdlib/fmtmsg.c (init): Add missing unlock.
12440 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12442 2012-01-12 Marek Polacek <polacek@redhat.com>
12444 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12447 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12449 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12450 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12451 macro to ensure uniqueness of label name.
12452 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12453 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12455 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12459 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12460 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12461 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12464 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12466 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12468 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12469 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12470 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12472 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12475 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12479 * math/bits/math-finite.h: Add ldexp support.
12481 2012-01-10 Marek Polacek <polacek@redhat.com>
12483 * locale/programs/localedef.h (show_archive_content): Add noreturn
12486 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12488 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12490 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12492 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12494 * io/Makefile (headers): Add bits/poll2.h.
12496 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12499 typo #include statement.
12501 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12503 * include/sys/cdefs.h: Define __attribute_alloc_size.
12504 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12505 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12506 * elf/pldd.c: Likewise.
12507 * iconv/iconv_charmap.c: Likewise.
12508 * iconv/iconvconfig.c: Likewise.
12509 * iconv/strtab.c: Likewise.
12510 * locale/programs/locale.c: Likewise.
12511 * locale/programs/localedef.h: Likewise.
12512 * locale/programs/simple-hash.c: Likewise.
12513 * nscd/nscd.h: Likewise.
12514 * nss/makedb.c: Likewise.
12515 * sysdeps/generic/ldconfig.h: Likewise.
12516 * locale/programs/localedef.c: Remove xmalloc prototype.
12517 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12519 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12521 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12524 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12526 * math/Makefile (tests): Add tst-CMPLX.
12527 * math/tst-CMPLX.c: New file.
12529 * math/complex.h (CMPLXL): Fix typo.
12531 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12532 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12534 * debug/tst-chk1.c: Add poll and ppoll tests.
12535 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12536 * include/sys/poll.h: Add hidden proto for ppoll.
12537 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12538 * sysdeps/mach/hurd/ppoll.c: Likewise.
12539 * io/ppoll.c: Likewise.
12540 * debug/poll_chk.c: New file.
12541 * debug/ppoll_chk.c: New file.
12542 * include/bits/poll2.h: New file.
12543 * io/bits/poll2.h: New file.
12546 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12548 * configure.in: static is always set to yes. Remove.
12549 * config.make.in: Don't set build-static.
12550 * Makeconfig: Remove use of build-static.
12551 * dlfcn/Makefile: Likewise.
12552 * elf/Makefile: Likewise.
12553 * math/Makefile: Likewise.
12554 * misc/Makefile: Likewise.
12555 * nptl/Makefile: Likewise.
12556 * sysdeps/mach/hurd/Makefile: Likewise.
12558 * configure.in: PWD_P is not used anymore.
12559 * config.make.in: Remove PWD_P entry.
12561 * configure.in: Remove last remnants of RANLIB.
12562 No need to check for signed size_t anymore.
12563 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12565 Remove __builtin_expect test because we require at least gcc 3.4.
12566 * aclocal.m4: Likewise.
12568 * wcsmbs/mbrtoc16.c: Implement using towc function.
12569 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12570 * wcsmbs/wcsmbsload.c: Likewise.
12571 * iconv/gconv_simple.c: Likewise.
12572 * iconv/gconv_int.h: Likewise.
12573 * iconv/gconv_builtin.h: Likewise.
12574 * iconv/iconv_prog.c: Remove CHAR16 handling.
12576 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12578 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12580 * configure.in: Remove --with-elf and --enable-bounded options.
12581 Dont set base_machine for ia64. More non-ELF conditions removed.
12582 Remove testing and setting of leading underscore information.
12583 * config.make.in (build-bounded): Set to no.
12584 * config.h.in: Remove NO_UNDERSCORES entry.
12585 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12587 * csu/start.c: Remove !NO_UNDERSCORE code.
12588 * locale/localeinfo.h: Likewise.
12589 * sysdeps/generic/machine-gmon.h: Likewise.
12590 * sysdeps/generic/sysdep.h: Likewise.
12591 * sysdeps/i386/sysdep.h: Likewise.
12592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12593 * sysdeps/mach/sysdep.h: Likewise.
12594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12596 * sysdeps/sh/sysdep.h: Likewise.
12597 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12598 * sysdeps/unix/i386/sysdep.S: Likewise.
12599 * sysdeps/unix/sparc/start.c: Likewise.
12600 * sysdeps/unix/sparc/sysdep.S: Likewise.
12601 * sysdeps/unix/sparc/sysdep.h: Likewise.
12602 * sysdeps/unix/start.c: Likewise.
12603 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12604 * sysdeps/x86_64/sysdep.h: Likewise.
12606 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12609 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12611 * argp/argp-fmtstream.h: Use const instead __const.
12612 * argp/argp.h: Likewise.
12613 * assert/assert.h: Likewise.
12614 * bits/fenv.h: Likewise.
12615 * bits/sched.h: Likewise.
12616 * bits/sigset.h: Likewise.
12617 * bits/sigthread.h: Likewise.
12618 * catgets/nl_types.h: Likewise.
12619 * conform/data/pthread.h-data: Likewise.
12620 * crypt/crypt-private.h: Likewise.
12621 * crypt/crypt.h: Likewise.
12622 * crypt/crypt_util.c: Likewise.
12623 * ctype/ctype.h: Likewise.
12624 * debug/execinfo.h: Likewise.
12625 * debug/mbsnrtowcs_chk.c: Likewise.
12626 * debug/mbsrtowcs_chk.c: Likewise.
12627 * debug/wcsnrtombs_chk.c: Likewise.
12628 * debug/wcsrtombs_chk.c: Likewise.
12629 * debug/wcstombs_chk.c: Likewise.
12630 * dirent/dirent.h: Likewise.
12631 * dlfcn/dlfcn.h: Likewise.
12632 * elf/neededtest4.c: Likewise.
12633 * grp/grp.h: Likewise.
12634 * gshadow/gshadow.h: Likewise.
12635 * iconv/gconv.h: Likewise.
12636 * iconv/gconv_int.h: Likewise.
12637 * iconv/gconv_simple.c: Likewise.
12638 * iconv/iconv.h: Likewise.
12639 * iconv/loop.c: Likewise.
12640 * iconv/skeleton.c: Likewise.
12641 * include/aio.h: Likewise.
12642 * include/aliases.h: Likewise.
12643 * include/argz.h: Likewise.
12644 * include/arpa/inet.h: Likewise.
12645 * include/assert.h: Likewise.
12646 * include/dirent.h: Likewise.
12647 * include/dlfcn.h: Likewise.
12648 * include/execinfo.h: Likewise.
12649 * include/fcntl.h: Likewise.
12650 * include/fenv.h: Likewise.
12651 * include/glob.h: Likewise.
12652 * include/grp.h: Likewise.
12653 * include/libintl.h: Likewise.
12654 * include/mntent.h: Likewise.
12655 * include/netdb.h: Likewise.
12656 * include/pwd.h: Likewise.
12657 * include/rpc/netdb.h: Likewise.
12658 * include/sched.h: Likewise.
12659 * include/search.h: Likewise.
12660 * include/shadow.h: Likewise.
12661 * include/signal.h: Likewise.
12662 * include/stdio.h: Likewise.
12663 * include/stdlib.h: Likewise.
12664 * include/string.h: Likewise.
12665 * include/sys/socket.h: Likewise.
12666 * include/sys/stat.h: Likewise.
12667 * include/sys/statfs.h: Likewise.
12668 * include/sys/statvfs.h: Likewise.
12669 * include/sys/syslog.h: Likewise.
12670 * include/sys/time.h: Likewise.
12671 * include/sys/uio.h: Likewise.
12672 * include/time.h: Likewise.
12673 * include/unistd.h: Likewise.
12674 * include/utmp.h: Likewise.
12675 * include/wchar.h: Likewise.
12676 * include/wctype.h: Likewise.
12677 * inet/aliases.h: Likewise.
12678 * inet/arpa/inet.h: Likewise.
12679 * inet/netinet/ether.h: Likewise.
12680 * inet/netinet/in.h: Likewise.
12681 * intl/libintl.h: Likewise.
12682 * io/bits/fcntl2.h: Likewise.
12683 * io/fcntl.h: Likewise.
12684 * io/ftw.h: Likewise.
12685 * io/sys/poll.h: Likewise.
12686 * io/sys/stat.h: Likewise.
12687 * io/sys/statfs.h: Likewise.
12688 * io/sys/statvfs.h: Likewise.
12689 * io/utime.h: Likewise.
12690 * libio/bits/stdio.h: Likewise.
12691 * libio/bits/stdio2.h: Likewise.
12692 * libio/libio.h: Likewise.
12693 * libio/libioP.h: Likewise.
12694 * libio/stdio.h: Likewise.
12695 * locale/lc-ctype.c: Likewise.
12696 * locale/locale.h: Likewise.
12697 * login/utmp.h: Likewise.
12698 * malloc/arena.c: Likewise.
12699 * malloc/malloc.c: Likewise.
12700 * malloc/malloc.h: Likewise.
12701 * malloc/mcheck.c: Likewise.
12702 * malloc/mtrace.c: Likewise.
12703 * math/bits/mathcalls.h: Likewise.
12704 * math/fenv.h: Likewise.
12705 * math/math_private.h: Likewise.
12706 * misc/bits/error.h: Likewise.
12707 * misc/bits/syslog.h: Likewise.
12708 * misc/err.h: Likewise.
12709 * misc/error.h: Likewise.
12710 * misc/fstab.h: Likewise.
12711 * misc/mntent.h: Likewise.
12712 * misc/regexp.h: Likewise.
12713 * misc/search.h: Likewise.
12714 * misc/sgtty.h: Likewise.
12715 * misc/sys/mman.h: Likewise.
12716 * misc/sys/syslog.h: Likewise.
12717 * misc/sys/uio.h: Likewise.
12718 * misc/sys/xattr.h: Likewise.
12719 * misc/ttyent.h: Likewise.
12720 * nis/rpcsvc/ypclnt.h: Likewise.
12721 * nss/nss.h: Likewise.
12722 * posix/bits/unistd.h: Likewise.
12723 * posix/fnmatch.h: Likewise.
12724 * posix/glob.h: Likewise.
12725 * posix/sched.h: Likewise.
12726 * posix/spawn.h: Likewise.
12727 * posix/sys/wait.h: Likewise.
12728 * posix/unistd.h: Likewise.
12729 * posix/wordexp.h: Likewise.
12730 * pwd/pwd.h: Likewise.
12731 * resolv/netdb.h: Likewise.
12732 * resource/sys/resource.h: Likewise.
12733 * rt/aio.h: Likewise.
12734 * rt/bits/mqueue2.h: Likewise.
12735 * rt/mqueue.h: Likewise.
12736 * shadow/shadow.h: Likewise.
12737 * signal/signal.h: Likewise.
12738 * socket/send.c: Likewise.
12739 * socket/sendto.c: Likewise.
12740 * socket/sys/socket.h: Likewise.
12741 * stdio-common/printf.h: Likewise.
12742 * stdlib/bits/stdlib.h: Likewise.
12743 * stdlib/fmtmsg.h: Likewise.
12744 * stdlib/monetary.h: Likewise.
12745 * stdlib/stdlib.h: Likewise.
12746 * stdlib/ucontext.h: Likewise.
12747 * streams/stropts.h: Likewise.
12748 * string/argz.h: Likewise.
12749 * string/bits/string2.h: Likewise.
12750 * string/string.h: Likewise.
12751 * string/strings.h: Likewise.
12752 * sunrpc/rpc/auth.h: Likewise.
12753 * sunrpc/rpc/auth_des.h: Likewise.
12754 * sunrpc/rpc/clnt.h: Likewise.
12755 * sunrpc/rpc/netdb.h: Likewise.
12756 * sunrpc/rpc/pmap_clnt.h: Likewise.
12757 * sunrpc/rpc/xdr.h: Likewise.
12758 * sysdeps/generic/inttypes.h: Likewise.
12759 * sysdeps/generic/net/if.h: Likewise.
12760 * sysdeps/generic/sys/swap.h: Likewise.
12761 * sysdeps/gnu/net/if.h: Likewise.
12762 * sysdeps/gnu/utmpx.h: Likewise.
12763 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12764 * sysdeps/i386/i486/bits/string.h: Likewise.
12765 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12766 * sysdeps/s390/bits/string.h: Likewise.
12767 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12768 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12769 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12770 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12771 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12772 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12773 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12774 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12775 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12776 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12777 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12778 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12779 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12780 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12781 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12783 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12788 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12789 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12790 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12791 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12792 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12795 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12796 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12797 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12798 * sysvipc/sys/ipc.h: Likewise.
12799 * sysvipc/sys/msg.h: Likewise.
12800 * sysvipc/sys/sem.h: Likewise.
12801 * sysvipc/sys/shm.h: Likewise.
12802 * termios/termios.h: Likewise.
12803 * time/sys/time.h: Likewise.
12804 * time/time.h: Likewise.
12805 * wcsmbs/bits/wchar2.h: Likewise.
12806 * wcsmbs/uchar.h: Likewise.
12807 * wcsmbs/wchar.h: Likewise.
12808 * wctype/wctype.h: Likewise.
12811 * Makeconfig: Remove all but ELF support including AIX support.
12812 * Makerules: Likewise.
12813 * config.h.in: Likewise.
12814 * config.make.in: Likewise.
12815 * configure: Likewise.
12816 * configure.in: Likewise.
12817 * csu/Makefile: Likewise.
12818 * csu/version.c: Likewise.
12819 * debug/Makefile: Likewise.
12820 * dlfcn/Makefile: Likewise.
12821 * elf/Makefile: Likewise.
12822 * extra-lib.mk: Likewise.
12823 * iconv/Makefile: Likewise.
12824 * include/libc-symbols.h: Likewise.
12825 * include/shlib-compat.h: Likewise.
12826 * resolv/Makefile: Likewise.
12827 * resolv/res_libc.c: Likewise.
12828 * rt/Makefile: Likewise.
12829 * sysdeps/i386/asm-syntax.h: Likewise.
12830 * sysdeps/i386/sysdep.h: Likewise.
12831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12832 * sysdeps/mach/sysdep.h: Likewise.
12833 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12834 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12835 * sysdeps/s390/asm-syntax.h: Likewise.
12836 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12838 * sysdeps/sh/sysdep.h: Likewise.
12839 * sysdeps/unix/sparc/sysdep.h: Likewise.
12840 * sysdeps/wordsize-32/divdi3.c: Likewise.
12841 * sysdeps/x86_64/sysdep.h: Likewise.
12843 * argp/Versions: Remove _argp_unlock_xxx.
12846 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12847 * abilist/libBrokenLocale.abilist: Likewise.
12848 * abilist/libanl.abilist: Likewise.
12849 * abilist/libc.abilist: Likewise.
12850 * abilist/libcrypt.abilist: Likewise.
12851 * abilist/libdl.abilist: Likewise.
12852 * abilist/libm.abilist: Likewise.
12853 * abilist/libnsl.abilist: Likewise.
12854 * abilist/libpthread.abilist: Likewise.
12855 * abilist/libresolv.abilist: Likewise.
12856 * abilist/librt.abilist: Likewise.
12857 * abilist/libthread_db.abilist: Likewise.
12858 * abilist/libutil.abilist: Likewise.
12859 * abilist/libnss_db.abilist: New file.
12861 * scripts/abilist.awk: Add support for indirect functions.
12863 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12865 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12867 * shlib-versions: Remove entries for ports architectures.
12869 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12871 * elf/stackguard-macros.h: Remove support for IA-64.
12872 * elf/tst-auditmod1.c: Likewise.
12873 * sysdeps/generic/ldsodefs.h: Likewise.
12875 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12876 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12880 * configure.in: Remove --enable-omitfp support.
12882 * config.make.in: Likewise.
12883 * Makeconfig: Likewise.
12884 * manual/install.texi: Likewise.
12886 In case anyone cares, the IA-64 architecture could move to ports.
12887 * sysdeps/ia64/*: Removed.
12888 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12889 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12892 * configure.in: Remove entries for unsupported architectures.
12895 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12896 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12898 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12899 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12900 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12901 fall back to using wcrtomb.
12902 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12903 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12905 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12906 * wcsmbs/tst-c16c32-1.c: New file.
12908 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12911 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12913 * elf/tst-unique3.cc: Add explicit declaration of gets.
12914 * elf/tst-unique3lib.cc: Likewise.
12915 * elf/tst-unique3lib2.cc: Likewise.
12916 * elf/tst-unique4.cc: Likewise.
12918 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12920 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12923 * assert/assert.h (static_assert): Don't define for C++.
12924 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12925 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12927 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12929 * iconv/loop.c (single loop): Fix assertion in storing of
12932 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12934 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12936 * posix/getconf.c: Update copyright year.
12937 * nss/getent.c: Likewise.
12938 * nss/makedb.c: Likewise.
12939 * iconv/iconvconfig.c: Likewise.
12940 * iconv/iconv_prog.c: Likewise.
12941 * elf/ldconfig.c: Likewise.
12942 * elf/pldd.c: Likewise.
12943 * elf/sotruss.ksh: Likewise.
12944 * catgets/gencat.c: Likewise.
12945 * csu/version.c: Likewise.
12946 * elf/ldd.bash.in: Likewise.
12947 * elf/sprof.c (print_version): Likewise.
12948 * locale/programs/locale.c: Likewise.
12949 * locale/programs/localedef.c: Likewise.
12950 * login/programs/pt_chown.c: Likewise.
12951 * nscd/nscd.c (print_version): Likewise.
12952 * debug/xtrace.sh: Likewise.
12953 * malloc/memusage.sh: Likewise.
12954 * malloc/mtrace.pl: Likewise.
12955 * debug/catchsegv.sh: Likewise.
12957 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12959 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12962 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12965 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12966 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12968 * iconv/gconv_int.h: Likewise.
12969 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12970 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12971 from libc for GLIBC_2.16.
12972 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12973 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12974 * wcsmbs/uchar.h: Really define mbstate_t.
12975 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12976 * wcsmbs/c16rtomb.c: New file.
12977 * wcsmbs/mbrtoc16.c: New file.
12978 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12979 for C/POSIX locale.
12980 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12981 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12983 * wcsmbs/wchar.h: Add missing __restrict.
12985 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12988 * time/Makefile (routines): Add timespec_get.
12989 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12990 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12991 timespec for ISO C11.
12992 * time/timespec_get.c: New file.
12993 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12994 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12997 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12998 * stdlib/stdlib.h: Declare aligned_alloc.
12999 * Versions.def: Add GLIBC_2.16 for libc.
13000 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13003 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13006 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13010 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13013 * assert/assert.h (static_assert): Define.
13015 * version.h: Update for 2.16 development version.
13018 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13021 * version.h (RELEASE): Bump for 2.15 release.
13022 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13024 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13025 Patch by Marek Polacek <mpolacek@redhat.com>.
13027 * bits/byteswap.h: Protect long long constants with __extension__.
13028 * sysdeps/i386/bits/byteswap.h: Likewise.
13029 * sysdeps/ia64/bits/byteswap.h: Likewise.
13030 * sysdeps/s390/bits/byteswap.h: Likewise.
13031 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13033 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13036 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13037 destination buffer.
13038 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13040 2011-12-23 Marek Polacek <polacek@redhat.com>
13042 * elf/dl-addr.c (determine_info): Add inline keyword.
13043 * elf/tst-auditmod4b.c (check_avx): Likewise.
13044 * elf/tst-auditmod6b.c (check_avx): Likewise.
13045 * elf/tst-auditmod6c.c (check_avx): Likewise.
13046 * elf/tst-auditmod7b.c (check_avx): Likewise.
13048 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13050 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13053 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13056 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13057 processing for last bytes.
13059 2011-08-06 Bruno Haible <bruno@clisp.org>
13062 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13063 U+0385, not to U+1FEE.
13066 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13067 entry for U+00A5 U+0301.
13069 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13072 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13073 buffer for the output is too small.
13075 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13079 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13080 SSE flags if possible.
13082 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13086 processing for last bytes.
13088 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13091 (syscall-list-default-options, syscall-list-default-condition)
13092 (syscall-list-includes): Define.
13093 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13094 list of ABIs and options and #if conditions for each ABI. Do not
13095 handle common syscalls between ABIs specially.
13096 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13098 (syscall-list-variants, syscall-list-32bit-options)
13099 (syscall-list-32bit-condition, syscall-list-64bit-options)
13100 (syscall-list-64bit-condition): Define.
13101 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13102 (syscall-list-variants, syscall-list-32bit-options)
13103 (syscall-list-32bit-condition, syscall-list-64bit-options)
13104 (syscall-list-64bit-condition): Define.
13105 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13107 (syscall-list-variants, syscall-list-32bit-options)
13108 (syscall-list-32bit-condition, syscall-list-64bit-options)
13109 (syscall-list-64bit-condition): Define.
13110 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13112 (syscall-list-variants, syscall-list-32bit-options)
13113 (syscall-list-32bit-condition, syscall-list-64bit-options)
13114 (syscall-list-64bit-condition): Define.
13116 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13118 * locale/iso-639.def: Add brx entry.
13121 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13122 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13124 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13125 __feraiseexcept_renamed.
13127 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13130 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13131 EPOLLET with unsigned values.
13132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13133 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13135 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13136 to large cancellation.
13137 * math/s_cacoshf.c: Likewise.
13138 * math/s_cacoshl.c: Likewise.
13140 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13144 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13145 * math/s_cacoshf.c: Likewise.
13146 * math/s_cacoshl.c: Likewise.
13148 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13151 * iconv/gconv.h: Define __GCONV_SWAP.
13152 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13153 * iconvdata/utf-16.c: Likewise.
13154 * iconvdata/utf-32.c: Likewise.
13156 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13160 numerator after shifting it by one limb.
13162 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13165 under [__USE_EXTERN_INLINES].
13167 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13170 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13172 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13174 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13175 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13177 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13179 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13180 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13181 for strncasecmp/strncasecmp_l compilation.
13182 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13183 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13185 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13188 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13191 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13194 * time/tzfile.c (__tzfile_read): Check values from file header.
13196 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13198 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13199 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13200 * powerpc/powerpc32/dl-start.S: Likewise.
13201 * powerpc/powerpc32/elf/start.S: Likewise.
13202 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13203 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13204 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13205 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13206 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13207 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13208 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13209 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13210 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13211 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13212 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13213 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13214 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13215 * powerpc/powerpc32/memset.S: Likewise.
13216 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13217 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13218 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13219 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13220 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13221 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13222 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13223 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13224 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13225 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13227 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13228 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13230 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13232 * math/libm-test.inc: Added more nearbyint tests.
13233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13238 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13240 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13243 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13245 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13246 Add wcscpy-ssse3 wcscpy-c.
13247 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13248 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13249 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13250 * sysdeps/x86_64/wcschr.S: New file.
13251 * sysdeps/x86_64/wcsrchr.S: New file.
13252 * string/test-strcmp.c: Remove checking of wcscmp function for
13254 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13255 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13256 wcsrchr-sse2 wcsrchr-c.
13257 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13258 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13259 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13260 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13261 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13262 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13263 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13264 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13265 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13266 * wcsmbc/wcschr.c (WCSCHR): New macro.
13268 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13270 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13271 * wcsmbs/test-wcsrchr.c: New file.
13272 * string/test-strrchr.c: Add wcsrchr support.
13274 * wcsmbs/test-wcscpy.c: New file.
13275 * string/test-strcpy.c: Add wcscpy support.
13278 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13283 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13286 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13288 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13291 Minor optimizations.
13293 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13294 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13295 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13297 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13299 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13300 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13301 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13302 for gcc to avoid warnings.
13303 * inet/Makefile (tests): Add tst-checks.
13304 * inet/tst-checks.c: New file.
13306 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13309 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13312 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13313 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13315 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13317 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13319 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13322 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13324 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13326 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13327 conditional on GCC version.
13328 (__arch_compare_and_exchange_val_8_acq)
13329 (__arch_compare_and_exchange_val_16_acq)
13330 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13331 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13332 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13334 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/sh/backtrace.c: New file.
13338 2011-12-02 Andreas Schwab <schwab@redhat.com>
13340 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13343 2011-12-01 Andreas Schwab <schwab@redhat.com>
13345 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13346 falling back to utime.
13348 2011-11-30 Andreas Schwab <schwab@redhat.com>
13350 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13351 expectations for float.
13353 2011-11-29 Andreas Schwab <schwab@redhat.com>
13355 * locale/weight.h (findidx): Add parameter len.
13356 * locale/weightwc.h (findidx): Likewise.
13357 * posix/fnmatch_loop.c (FCT): Adjust caller.
13358 * posix/regcomp.c (build_equiv_class): Likewise.
13359 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13360 * posix/regexec.c (check_node_accept_bytes): Likewise.
13361 * string/strcoll_l.c (STRCOLL): Likewise.
13362 * string/strxfrm_l.c (STRXFRM): Likewise.
13364 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13366 * Makefile.in: Remove CVSOPT handling.
13367 * configure.in: Remove use of AC_REVISION.
13368 * iconvdata/Makefile (distribute): No need to filter out CVS.
13369 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13372 2011-11-16 Andreas Schwab <schwab@redhat.com>
13374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13375 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13376 [USE_AS_STRNCASECMP_L]: Likewise.
13377 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13378 NO_TLS_DIRECT_SEG_REFS.
13379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13380 Fix argument offsets for non-PIC.
13381 [USE_AS_STRNCASECMP_L]: Likewise.
13382 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13383 NO_TLS_DIRECT_SEG_REFS.
13385 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13387 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13389 * locale/loadlocale.c (_nl_load_locale): Likewise.
13391 2011-11-15 Andreas Schwab <schwab@redhat.com>
13393 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13394 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13395 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13396 (SYSCALL_GETTIME): Set errno on error.
13398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13399 count references to noai6ai_cached.
13401 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13403 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13405 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13406 FD_CLOEXEC for /proc/self/maps.
13408 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13409 FD_CLOEXEC for /proc/meminfo.
13411 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13414 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13415 FD_CLOEXEC for given file.
13417 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13419 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13420 FD_CLOEXEC for /etc/hosts.
13421 (_gethtent): Likewise.
13423 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13425 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13426 cancellation and set FD_CLOEXEC for /etc/netgroup.
13428 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13429 reading /etc/publickey.
13431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13432 allow cancellation when reading /etc/group.
13434 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13436 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13438 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13439 when using data file.
13441 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13443 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13444 (write_nis_obj): Use "c" and "e" in fopen.
13446 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13448 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13450 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13452 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13454 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13457 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13459 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13461 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13463 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13464 file parsing and set FD_CLOEXEC.
13466 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13468 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13470 2011-11-14 Andreas Schwab <schwab@redhat.com>
13472 * malloc/arena.c (arena_get2): Don't call reused_arena when
13473 _int_new_arena failed.
13475 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13477 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13478 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13480 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13481 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13483 to compile strcasecmp and strncasecmp.
13484 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13485 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13489 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13491 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13492 locale-defines.sym to gen-as-const-headers.
13493 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13494 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13496 to compile strcasecmp and strncasecmp.
13497 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13498 strcasecmp_l and strncasecmp_l.
13499 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13500 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13501 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13502 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13503 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13505 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13506 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13507 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13508 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13509 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13511 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13513 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13514 result of SYSDEP_GETTIME_CPU to retval.
13515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13516 parameter list to macro. Remove trailing semicolon. Adjust users.
13518 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13521 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13523 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13525 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13526 from unused variable.
13528 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13530 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13533 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13536 * sunrpc/rpc_prot.c (rejected): Fix case value.
13538 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13539 unsigned long long int to avoid warnings in shift.
13541 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13543 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13547 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13548 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13550 * nis/nis_table.c (nis_list): Use variable of correct type for
13551 result of __follow_path call.
13553 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13555 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13556 of math functions ceil, trunc, floor, round, and sqrt, when
13557 avaliable on the platform.
13558 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13562 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13564 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13566 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13569 2011-11-11 Roland McGrath <roland@hack.frob.com>
13571 * include/unistd.h: Fix __readlink return type.
13572 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13574 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13576 * stdlib/ucontext.h: Undo last change for makecontext.
13578 2011-11-11 Andreas Schwab <schwab@redhat.com>
13580 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13582 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13583 * setjmp/setjmp.h: Mark functions as non-leaf.
13584 * setjmp/bits/setjmp2.h: Likewise.
13585 * stdlib/ucontext.h: Likewise.
13587 2011-11-10 Andreas Schwab <schwab@redhat.com>
13589 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13590 (reused_arena): Don't check arena limit.
13591 (arena_get2): Atomically check arena limit.
13593 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13595 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13596 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13601 2011-11-07 Andreas Schwab <schwab@redhat.com>
13603 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13604 handler when locking.
13606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13607 Fix size of allocated buffer.
13609 2011-11-04 Andreas Schwab <schwab@redhat.com>
13612 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13613 declarations for long double functions.
13614 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13616 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13618 2011-11-03 Andreas Schwab <schwab@redhat.com>
13620 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13623 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13626 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13628 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13630 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13632 * include/alloca.h (stackinfo_alloca_round): Define.
13633 (extend_alloca): Use it.
13634 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13635 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13638 * scripts/check-local-headers.sh: Ignore libaudit.h.
13640 * nscd/Makefile (extra-objs): Make recursively expanded.
13642 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13644 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13645 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13647 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13648 * posix/tst-rfc3484-2.c: Likewise.
13649 * posix/tst-rfc3484-3.c: Likewise.
13651 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13653 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13655 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13656 process_vm_writev from libc using GLIBC_2.15 version.
13658 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13660 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13662 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13665 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13668 * nss/getent.c (initgroups_keys): Show error message in case no group
13671 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13672 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13673 __bump_nl_timestamp.
13674 * nscd/connections (nscd_init): When host database is served open
13675 netlink socket and request notification about configuration changes.
13676 (main_loop_poll): Track netlink file descriptor and bump timestamp
13677 in case data becomes available.
13678 (main_loop_epoll): Likewise.
13679 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13680 (database_pers_head): Add extra_data fileds.
13681 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13682 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13683 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13686 in6ai data, call __free_in6ai.
13687 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13688 Add -DHAVE_NETLINK.
13689 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13690 interface information. Reuse previous data if netlink timestamp
13692 (__bump_nl_timestamp): New function.
13693 (__free_in6ai): New function.
13695 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13697 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13698 close_not_cancel_no_status here.
13699 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13701 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13704 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13707 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13708 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13709 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13711 2011-07-03 Andreas Jaeger <aj@suse.de>
13714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13715 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13716 * math/libm-test.inc (sin_test): Add test case.
13718 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13721 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13722 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13724 * elf/chroot_canon.c (chroot_canon): Cleanups.
13726 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13729 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13730 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13732 * string/test-strchr.c: Make usable for strchrnul testing.
13733 * string/test-strchrnul.c: New file.
13734 * string/Makefile (strop-tests): Add strchrnul.
13736 * po/it.po: Update from translation team.
13737 * po/es.po: Likewise.
13739 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13741 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13742 the three constants needed as parameters. Drop the others.
13743 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13744 __m128i_strloadu_tolower.
13745 Create and initialize variable zero and use it in all the places
13746 where _mm_setzero_si128 was used.
13748 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13749 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13750 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13751 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13753 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13756 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13758 __mpranred, __mptan.
13759 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13760 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13761 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13762 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13766 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13767 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13769 2011-10-28 Andreas Schwab <schwab@redhat.com>
13771 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13772 redefine if SHARED.
13773 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13776 wide char related routines to wcsmbs subdir.
13778 2011-10-27 Andreas Schwab <schwab@redhat.com>
13781 * misc/sys/cdefs.h (__THROWNL): Define.
13782 * posix/unistd.h: Use __THREADNL instead of __THREAD
13783 for memory synchronization functions.
13785 2011-10-26 Roland McGrath <roland@hack.frob.com>
13788 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13790 * manual/stdio.texi (Obstack Streams): Node removed.
13792 2011-10-26 Andreas Schwab <schwab@redhat.com>
13794 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13795 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13796 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13798 * math/math_private.h (math_force_eval): Allow non-addressable
13800 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13802 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13804 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13805 file is not needed.
13807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13814 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13816 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13817 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13818 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13819 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13820 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13821 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13822 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13823 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13824 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13825 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13826 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13827 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13829 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13830 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13831 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13832 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13833 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13834 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13836 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13837 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13840 place. Use VEX encoding when compiling for AVX.
13842 2011-10-25 Andreas Schwab <schwab@redhat.com>
13844 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13845 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13847 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13849 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13851 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13852 useless if() expression.
13853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13863 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13864 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13865 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13866 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13867 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13868 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13873 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13875 2011-10-25 Andreas Schwab <schwab@redhat.com>
13877 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13879 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13881 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13883 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13884 .text section. Avoid duplicate constants.
13885 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13894 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13895 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13897 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13900 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13902 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13908 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13909 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13910 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13911 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13912 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13913 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13914 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13915 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13926 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13927 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13928 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13929 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13931 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13933 * sysdeps/x86_64/dla.h: Move to ...
13934 * sysdeps/x86_64/fpu/dla.h: ...here.
13935 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13936 situations. Use __builtin_fma only for gcc 4.6 and up.
13938 * config.make.in: Add have-mfma4 entry.
13939 * configure.in: Substitute libc_cv_cc_fma4.
13940 * math/Makefile (dbl-only-routines): Add sincostab.
13941 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13942 Use __sincostab not sincos.
13943 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13950 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13951 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13952 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13953 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13956 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13958 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13959 define aliases when function name is a macro.
13960 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13961 sysdeps/ieee754/dbl-64/sincos.tbl.
13962 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13963 fma4-enabled routines.
13964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13965 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13968 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13969 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13970 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13971 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13972 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13973 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13974 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13976 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13977 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13982 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13984 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13987 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13988 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13989 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13995 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14006 2011-10-24 Andreas Schwab <schwab@redhat.com>
14008 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14014 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14016 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14018 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14019 Remove unused variable magic_bits.
14020 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14022 * string/strnlen.c: Define and use STRNLEN macro.
14023 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14024 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14026 * wcsmbs/wcslen.c: Define and use WCSLEN.
14027 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14028 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14029 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14030 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14031 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14032 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14035 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14038 strnlen-sse2-no-bsf.
14039 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14041 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14042 Add strnlen support.
14043 (USE_AS_STRNLEN): New macro.
14044 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14046 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14047 * sysdeps/x86_64/wcslen.S: New file.
14049 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14052 XMM-moves are used for copying on small sizes.
14054 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14056 * wcsmbs/Makefile (strop-tests): Add wcschr.
14057 * wcsmbs/test-wcschr.c: New file.
14058 * string/test-strchr.c: Update.
14059 Add wcschr support.
14062 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14064 * wcsmbs/Makefile (strop-tests): Add wcslen.
14065 * wcsmbs/test-wcslen.c: New file.
14066 * string/test-strlen.c: Update.
14067 Add wcslen support.
14070 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14072 * po/it.po: Update from translation team.
14074 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14076 * sysdeps/x86_64/wcscmp.S: Update.
14077 Fix wrong comparison semantics.
14078 wcscmp shall use signed comparison not unsigned.
14079 Don't use substraction to avoid overflow bug.
14080 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14081 * wcsmbc/wcscmp.c: Likewise.
14082 * string/test-strcmp.c: Likewise.
14083 Add new tests to check cases with negative values.
14085 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14087 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14088 * sysdeps/x86_64/dla.h: ...here. New file.
14089 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14099 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14102 __ynl_finite aliases.
14104 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14108 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14110 [DLA_FMA] (EMULV): Use DLA_FMA.
14111 [DLA_FMA] (MUL12): Use EMULV.
14112 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14113 that are not needed.
14114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14122 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14124 * math/s_nan.c: Undef __nan.
14125 * math/s_nanf.c: Undef __nanf.
14126 * math/s_nanl.c: Undef __nanl.
14127 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14130 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14132 * math/s_catan.c: Add branch predictions.
14133 * math/s_catanf.c: Likewise.
14134 * math/s_catanh.c: Likewise.
14135 * math/s_catanhf.c: Likewise.
14136 * math/s_catanhl.c: Likewise.
14137 * math/s_catanl.c: Likewise.
14138 * math/s_cexp.c: Likewise.
14139 * math/s_cexpf.c: Likewise.
14140 * math/s_cexpl.c: Likewise.
14141 * math/s_clog.c: Likewise.
14142 * math/s_clog10.c: Likewise.
14143 * math/s_clog10f.c: Likewise.
14144 * math/s_clog10l.c: Likewise.
14145 * math/s_clogf.c: Likewise.
14146 * math/s_clogl.c: Likewise.
14147 * math/s_csqrt.c: Likewise.
14148 * math/s_csqrtf.c: Likewise.
14149 * math/s_csqrtl.c: Likewise.
14150 * math/s_ctanf.c: Likewise.
14151 * math/s_ctanh.c: Likewise.
14152 * math/s_ctanhf.c: Likewise.
14153 * math/s_ctanhl.c: Likewise.
14154 * math/s_ctanl.c: Likewise.
14156 * math/math_private.h: Define __nan, __nanf, __nanl.
14157 * math/s_cacosh.c: Include <math_private.h>.
14158 * math/s_cacoshl.c: Likewise.
14159 * math/s_casinh.c: Likewise.
14160 * math/s_casinhf.c: Likewise.
14161 * math/s_casinhl.c: Likewise.
14162 * math/s_ccos.c: Rely entire on ccosh.
14163 * math/s_ccosf.c: Rely entire on ccoshf.
14164 * math/s_ccosl.c: Rely entirely on ccoshl.
14165 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14166 Remove tests for FE_INVALID.
14167 * math/s_ccoshf.c: Likewise.
14168 * math/s_ccoshl.c: Likewise.
14169 * math/s_csin.c: Likewise.
14170 * math/s_csinf.c: Likewise.
14171 * math/s_csinh.c Likewise.
14172 * math/s_csinhf.c: Likewise.
14173 * math/s_csinhl.c: Likewise.
14174 * math/s_csinl.c: Likewise.
14175 * math/s_ctan.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14177 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14178 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14180 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14183 compilation problems.
14185 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14188 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14190 * sysdeps/i386/configure.in: Test for -mfma4 option.
14191 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14192 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14193 COMMON_CPUID_INDEX_80000001.
14194 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14195 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14196 use it if FMA3 is not supported.
14197 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14199 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14202 2011-10-20 Andreas Schwab <schwab@redhat.com>
14205 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14206 it would create a cycle with a link time dependency.
14208 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14210 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14212 * string/Makefile (strop-tests): Add rawmemchr.
14213 * string/test-rawmemchr.c: New file.
14215 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14217 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14218 when compiling str{,n}casecmp and when AVX is available. Hook up
14219 new optimized code in initializers.
14221 2011-10-19 Andreas Schwab <schwab@redhat.com>
14223 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14224 __feraiseexcept instead of feraiseexcept.
14226 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14228 * math/math_private.h: Define defaults for libc_fetestexcept and
14230 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14231 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14232 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14233 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14234 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14235 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14236 libc_fetestexcept and libc_feupdateenv.
14238 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14239 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14240 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14241 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14242 libc_feholdexcept_setround.
14244 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14245 Add s_nearbyint-c and s_nearbyintf-c.
14246 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14247 nearbyintf inlines.
14248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14250 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14251 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14253 * math/math_private.h: Define defaults for libc_fegetround,
14254 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14255 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14256 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14258 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14259 standard functions.
14260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14261 Remove comments and hacks for old compiler versions.
14262 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14263 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14264 libc_feholdexceptl.
14266 2011-10-18 Andreas Schwab <schwab@redhat.com>
14268 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14269 (__feraiseexcept_renamed): Add __NTH.
14270 (feraiseexcept): Add __NTH. Rename local variables to fix
14271 namespace violations.
14273 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14275 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14277 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14279 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14280 recently added interfaces.
14281 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14283 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14284 about macro parameter expansion.
14286 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14287 __NO_MATH_INLINES is defined. Cleanups.
14289 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14290 and __floorf is target has SSE4.1.
14291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14292 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14293 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14296 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14298 (floorf): Likewise.
14300 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14302 2011-10-17 Andreas Schwab <schwab@redhat.com>
14304 * misc/sys/cdefs.h: Fix last change.
14306 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14309 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14311 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14313 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14321 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14322 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14323 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14324 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14325 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14326 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14327 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14328 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14329 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14330 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14331 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14332 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14333 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14334 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14336 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14337 ceil, ceilf, floor, floorf.
14339 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14340 Perform IRELATIVE relocations last.
14342 * elf/do-rel.h: Add another parameter nrelative, replacing the
14343 local variable with the same name. Change name of the function
14344 to end in Rel or Rela (uppercase).
14345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14346 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14347 elf_dynamic_do_##reloc function.
14349 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14351 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14352 is sufficient, at least on modern CPUs.
14354 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14356 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14357 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14359 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14361 * math/bits/math-finite.h: Add entries for exp.
14362 * math/e_expl.c: Add __*_finite alias.
14363 * sysdeps/i386/fpu/e_exp.S: Likewise.
14364 * sysdeps/i386/fpu/e_expf.S: Likewise.
14365 * sysdeps/i386/fpu/e_expl.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14367 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14371 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14374 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14375 is sufficient, at least on modern CPUs.
14377 * ctype/ctype-info.c (__ctype_init): Define.
14378 * include/ctype.h (__ctype_init): Declare.
14379 (__ctype_b_loc): The variable is always initialized.
14380 (__ctype_toupper_loc): Likewise.
14381 (__ctype_tolower_loc): Likewise.
14382 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14383 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14385 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14387 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14389 * configure.in: Also look in $cxxmachine/include for C++ system
14392 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14394 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14395 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14396 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14397 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14399 (USE_AS_WMEMCMP): New macro.
14401 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14402 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14403 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14404 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14406 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14407 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14408 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14409 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14410 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14411 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14412 (USE_AS_WMEMCMP): New macro.
14413 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14414 * sysdeps/string/test-memcmp.c: Update.
14415 Fix simple_wmemcmp.
14417 * wcsmbs/wmemcmp.c: Update.
14418 (WMEMCMP): New macro.
14421 2011-10-12 Andreas Jaeger <aj@suse.de>
14424 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14426 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14428 * libio/iofwide.c (do_length): Avoid warning.
14430 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14432 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14434 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14436 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14437 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14438 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14439 * sysdeps/i386/i686/fpu/e_log.S: New file.
14440 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14441 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14443 * ctype/ctype.h: Add support for inlined isXXX functions when
14444 compiling C++ code.
14446 2011-10-14 Andreas Schwab <schwab@redhat.com>
14448 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14450 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14452 2011-10-13 Roland McGrath <roland@hack.frob.com>
14455 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14457 2011-10-13 Andreas Schwab <schwab@redhat.com>
14459 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14460 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14463 * sysdeps/x86_64/memrchr.S: Check for zero size.
14465 * string/stratcliff.c: Add memrchr tests.
14467 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14470 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14471 rawmemchr-sse2 rawmemchr-sse2-bsf.
14472 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14473 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14474 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14475 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14476 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14477 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14478 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14479 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14480 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14481 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14482 * string/memrchr.c (MEMRCHR): New macro.
14484 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14486 Add integration with gcc's -ffinite-math-only and optimize wrapper
14488 * Versions.def: Define GLIBC_2.15 version for libm.
14489 * math/Makefile (headers): Add bits/math-finite.h.
14490 * math/bits/math-finite.h: New file.
14491 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14492 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14493 * math/e_acoshl.c: Add __*_finite alias.
14494 * math/e_acosl.c: Likewise.
14495 * math/e_asinl.c: Likewise.
14496 * math/e_atan2l.c: Likewise.
14497 * math/e_atanhl.c: Likewise.
14498 * math/e_coshl.c: Likewise.
14499 * math/e_exp10.c: Likewise.
14500 * math/e_exp10f.c: Likewise.
14501 * math/e_exp10l.c: Likewise.
14502 * math/e_exp2l.c: Likewise.
14503 * math/e_fmodl.c: Likewise.
14504 * math/e_gammal_r.c: Likewise.
14505 * math/e_hypotl.c: Likewise.
14506 * math/e_j0l.c: Likewise.
14507 * math/e_j1l.c: Likewise.
14508 * math/e_jnl.c: Likewise.
14509 * math/e_lgammal_r.c: Likewise.
14510 * math/e_log10l.c: Likewise.
14511 * math/e_log2l.c: Likewise.
14512 * math/e_logl.c: Likewise.
14513 * math/e_powl.c: Likewise.
14514 * math/e_sinhl.c: Likewise.
14515 * math/e_sqrtl.c: Likewise.
14516 * math/e_scalb.c: Completely rewritten and optimized.
14517 * math/e_scalbf.c: Likewise.
14518 * math/e_scalbl.c: Likewise.
14519 * math/w_acos.c: Likewise.
14520 * math/w_acosf.c: Likewise.
14521 * math/w_acosl.c: Likewise.
14522 * math/w_acosh.c: Likewise.
14523 * math/w_acoshf.c: Likewise.
14524 * math/w_acoshl.c: Likewise.
14525 * math/w_asin.c: Likewise.
14526 * math/w_asinf.c: Likewise.
14527 * math/w_asinl.c: Likewise.
14528 * math/w_atan2.c: Likewise.
14529 * math/w_atan2f.c: Likewise.
14530 * math/w_atan2l.c: Likewise.
14531 * math/w_atanh.c: Likewise.
14532 * math/w_atanhf.c: Likewise.
14533 * math/w_atanhl.c: Likewise.
14534 * math/w_exp10.c: Likewise.
14535 * math/w_exp10f.c: Likewise.
14536 * math/w_exp10l.c: Likewise.
14537 * math/w_fmod.c: Likewise.
14538 * math/w_fmodf.c: Likewise.
14539 * math/w_fmodl.c: Likewise.
14540 * math/w_j0.c: Likewise.
14541 * math/w_j0f.c: Likewise.
14542 * math/w_j0l.c: Likewise.
14543 * math/w_j1.c: Likewise.
14544 * math/w_j1f.c: Likewise.
14545 * math/w_j1l.c: Likewise.
14546 * math/w_jn.c: Likewise.
14547 * math/w_jnf.c: Likewise.
14548 * math/w_log.c: Likewise.
14549 * math/w_logf.c: Likewise.
14550 * math/w_logl.c: Likewise.
14551 * math/w_log10.c: Likewise.
14552 * math/w_log10f.c: Likewise.
14553 * math/w_log10l.c: Likewise.
14554 * math/w_log2.c: Likewise.
14555 * math/w_log2f.c: Likewise.
14556 * math/w_log2l.c: Likewise.
14557 * math/w_pow.c: Likewise.
14558 * math/w_powf.c: Likewise.
14559 * math/w_powl.c: Likewise.
14560 * math/w_remainder.c: Likewise.
14561 * math/w_remainderf.c: Likewise.
14562 * math/w_remainderl.c: Likewise.
14563 * math/w_scalb.c: Likewise.
14564 * math/w_scalbf.c: Likewise.
14565 * math/w_scalbl.c: Likewise.
14566 * math/w_sqrt.c: Likewise.
14567 * math/w_sqrtf.c: Likewise.
14568 * math/w_sqrtl.c: Likewise.
14569 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14570 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14572 * math/math_private.h: Declare __kernel_standard_f.
14573 * math/w_cosh.c: Remove cruft and optimize a bit.
14574 * math/w_coshf.c: Likewise.
14575 * math/w_coshl.c: Likewise.
14576 * math/w_exp2.c: Likewise.
14577 * math/w_exp2f.c: Likewise.
14578 * math/w_exp2l.c: Likewise.
14579 * math/w_hypot.c: Likewise.
14580 * math/w_hypotf.c: Likewise.
14581 * math/w_hypotl.c: Likewise.
14582 * math/w_lgamma.c: Likewise.
14583 * math/w_lgamma_r.c: Likewise.
14584 * math/w_lgammaf.c: Likewise.
14585 * math/w_lgammaf_r.c: Likewise.
14586 * math/w_lgammal.c: Likewise.
14587 * math/w_lgammal_r.c: Likewise.
14588 * math/w_sinh.c: Likewise.
14589 * math/w_sinhf.c: Likewise.
14590 * math/w_sinhl.c: Likewise.
14591 * math/w_tgamma.c: Likewise.
14592 * math/w_tgammaf.c: Likewise.
14593 * math/w_tgammal.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14596 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14597 Minor optimizations. Pretty printing. Remove cruft.
14598 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14600 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14601 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14602 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14603 * sysdeps/i386/fpu/e_asin.S: Likewise.
14604 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14605 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14606 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14607 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14608 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14609 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14610 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14611 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14612 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14613 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14614 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14615 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14616 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14617 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14618 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14619 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14620 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14621 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14622 * sysdeps/i386/fpu/e_log.S: Likewise.
14623 * sysdeps/i386/fpu/e_log10.S: Likewise.
14624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14625 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14626 * sysdeps/i386/fpu/e_log2.S: Likewise.
14627 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14628 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14629 * sysdeps/i386/fpu/e_logf.S: Likewise.
14630 * sysdeps/i386/fpu/e_logl.S: Likewise.
14631 * sysdeps/i386/fpu/e_pow.S: Likewise.
14632 * sysdeps/i386/fpu/e_powf.S: Likewise.
14633 * sysdeps/i386/fpu/e_powl.S: Likewise.
14634 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14635 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14636 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14638 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14639 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14640 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14641 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14642 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14664 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14665 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14666 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14667 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14668 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14669 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14670 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14671 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14672 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14674 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14675 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14676 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14677 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14678 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14679 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14680 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14681 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14682 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14683 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14684 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14726 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14728 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14729 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14731 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14734 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14736 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14737 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14738 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14739 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14740 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14741 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14742 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14743 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14744 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14745 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14746 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14748 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14749 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14751 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14752 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14753 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14754 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14755 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14756 (__isnanf): Likewise.
14757 (__isinf_ns): Likewise.
14758 (__isinf_nsf): Likewise.
14759 (__finite): Likewise.
14760 (__finitef): Likewise.
14761 (__ieee754_sqrt): Define as macro.
14762 (__ieee754_sqrtf): Define as macro.
14763 (__ieee754_sqrtl): Define as macro.
14764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14766 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14767 __FINITE_MATH_ONLY__ consistent.
14768 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14770 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14772 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14777 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14779 * po/ja.po: Update from translation team.
14781 2011-10-08 Roland McGrath <roland@hack.frob.com>
14783 * locale/programs/locarchive.c (prepare_address_space): New function.
14784 (create_archive, enlarge_archive, open_archive): Use it.
14786 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14787 inside [SHARED], where it is used.
14789 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14791 * nss/getent.c (netgroup_keys): Remove unused variable.
14792 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14794 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14796 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14797 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14799 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14801 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14802 * math/Makefile (libm-calls): Add s_isinf_ns.
14803 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14804 * math/multc3.c: Likewise.
14805 * math/s_casin.c: Likewise.
14806 * math/s_casinf.c: Likewise.
14807 * math/s_casinl.c: Likewise.
14808 * math/s_ccos.c: Likewise.
14809 * math/s_ccosf.c: Likewise.
14810 * math/s_ccosl.c: Likewise.
14811 * math/s_ctan.c: Likewise.
14812 * math/s_ctanf.c: Likewise.
14813 * math/s_ctanh.c: Likewise.
14814 * math/s_ctanhf.c: Likewise.
14815 * math/s_ctanhl.c: Likewise.
14816 * math/s_ctanl.c: Likewise.
14817 * math/w_fmod.c: Likewise.
14818 * math/w_fmodf.c: Likewise.
14819 * math/w_fmodl.c: Likewise.
14820 * math/w_remainder.c: Likewise.
14821 * math/w_remainderf.c: Likewise.
14822 * math/w_remainderl.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14824 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14825 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14827 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14828 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14829 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14830 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14832 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14834 * stdio-common/printf_fphex.c: Likewise.
14835 * stdio-common/printf_size.c: Likewise.
14837 * math/e_exp10.c: Include math_private.h using <...> not "...".
14838 * math/e_exp10f.c: Likewise.
14839 * math/e_exp10l.c: Likewise.
14840 * math/e_exp2l.c: Likewise.
14841 * math/e_j0l.c: Likewise.
14842 * math/e_j1l.c: Likewise.
14843 * math/e_jnl.c: Likewise.
14844 * math/e_lgammal_r.c: Likewise.
14845 * math/e_rem_pio2l.c: Likewise.
14846 * math/e_scalb.c: Likewise.
14847 * math/e_scalbf.c: Likewise.
14848 * math/e_scalbl.c: Likewise.
14849 * math/k_cosl.c: Likewise.
14850 * math/k_sinl.c: Likewise.
14851 * math/k_tanl.c: Likewise.
14852 * math/s_cacoshf.c: Likewise.
14853 * math/s_catan.c: Likewise.
14854 * math/s_catanf.c: Likewise.
14855 * math/s_catanh.c: Likewise.
14856 * math/s_catanhf.c: Likewise.
14857 * math/s_catanhl.c: Likewise.
14858 * math/s_catanl.c: Likewise.
14859 * math/s_ccosh.c: Likewise.
14860 * math/s_ccoshf.c: Likewise.
14861 * math/s_ccoshl.c: Likewise.
14862 * math/s_cexp.c: Likewise.
14863 * math/s_cexpf.c: Likewise.
14864 * math/s_cexpl.c: Likewise.
14865 * math/s_clog.c: Likewise.
14866 * math/s_clog10.c: Likewise.
14867 * math/s_clog10f.c: Likewise.
14868 * math/s_clog10l.c: Likewise.
14869 * math/s_clogf.c: Likewise.
14870 * math/s_clogl.c: Likewise.
14871 * math/s_csin.c: Likewise.
14872 * math/s_csinf.c: Likewise.
14873 * math/s_csinh.c: Likewise.
14874 * math/s_csinhf.c: Likewise.
14875 * math/s_csinhl.c: Likewise.
14876 * math/s_csinl.c: Likewise.
14877 * math/s_csqrt.c: Likewise.
14878 * math/s_csqrtf.c: Likewise.
14879 * math/s_csqrtl.c: Likewise.
14880 * math/s_ctan.c: Likewise.
14881 * math/s_ctanf.c: Likewise.
14882 * math/s_ctanh.c: Likewise.
14883 * math/s_ctanhf.c: Likewise.
14884 * math/s_ctanhl.c: Likewise.
14885 * math/s_ctanl.c: Likewise.
14886 * math/s_ldexp.c: Likewise.
14887 * math/s_ldexpf.c: Likewise.
14888 * math/s_ldexpl.c: Likewise.
14889 * math/s_significand.c: Likewise.
14890 * math/s_significandf.c: Likewise.
14891 * math/s_significandl.c: Likewise.
14892 * math/w_acos.c: Likewise.
14893 * math/w_acosf.c: Likewise.
14894 * math/w_acosh.c: Likewise.
14895 * math/w_acoshf.c: Likewise.
14896 * math/w_acoshl.c: Likewise.
14897 * math/w_acosl.c: Likewise.
14898 * math/w_asin.c: Likewise.
14899 * math/w_asinf.c: Likewise.
14900 * math/w_asinl.c: Likewise.
14901 * math/w_atan2.c: Likewise.
14902 * math/w_atan2f.c: Likewise.
14903 * math/w_atan2l.c: Likewise.
14904 * math/w_atanh.c: Likewise.
14905 * math/w_atanhf.c: Likewise.
14906 * math/w_atanhl.c: Likewise.
14907 * math/w_cosh.c: Likewise.
14908 * math/w_coshf.c: Likewise.
14909 * math/w_coshl.c: Likewise.
14910 * math/w_dremf.c: Likewise.
14911 * math/w_exp10.c: Likewise.
14912 * math/w_exp10f.c: Likewise.
14913 * math/w_exp10l.c: Likewise.
14914 * math/w_exp2.c: Likewise.
14915 * math/w_exp2f.c: Likewise.
14916 * math/w_fmod.c: Likewise.
14917 * math/w_fmodf.c: Likewise.
14918 * math/w_fmodl.c: Likewise.
14919 * math/w_hypot.c: Likewise.
14920 * math/w_hypotf.c: Likewise.
14921 * math/w_hypotl.c: Likewise.
14922 * math/w_j0.c: Likewise.
14923 * math/w_j0f.c: Likewise.
14924 * math/w_j0l.c: Likewise.
14925 * math/w_j1.c: Likewise.
14926 * math/w_j1f.c: Likewise.
14927 * math/w_j1l.c: Likewise.
14928 * math/w_jn.c: Likewise.
14929 * math/w_jnf.c: Likewise.
14930 * math/w_jnl.c: Likewise.
14931 * math/w_lgamma.c: Likewise.
14932 * math/w_lgamma_r.c: Likewise.
14933 * math/w_lgammaf.c: Likewise.
14934 * math/w_lgammaf_r.c: Likewise.
14935 * math/w_lgammal.c: Likewise.
14936 * math/w_lgammal_r.c: Likewise.
14937 * math/w_log.c: Likewise.
14938 * math/w_log10.c: Likewise.
14939 * math/w_log10f.c: Likewise.
14940 * math/w_log10l.c: Likewise.
14941 * math/w_log2.c: Likewise.
14942 * math/w_log2f.c: Likewise.
14943 * math/w_log2l.c: Likewise.
14944 * math/w_logf.c: Likewise.
14945 * math/w_logl.c: Likewise.
14946 * math/w_pow.c: Likewise.
14947 * math/w_powf.c: Likewise.
14948 * math/w_powl.c: Likewise.
14949 * math/w_remainder.c: Likewise.
14950 * math/w_remainderf.c: Likewise.
14951 * math/w_remainderl.c: Likewise.
14952 * math/w_scalb.c: Likewise.
14953 * math/w_scalbf.c: Likewise.
14954 * math/w_scalbl.c: Likewise.
14955 * math/w_sinh.c: Likewise.
14956 * math/w_sinhf.c: Likewise.
14957 * math/w_sinhl.c: Likewise.
14958 * math/w_sqrt.c: Likewise.
14959 * math/w_sqrtf.c: Likewise.
14960 * math/w_sqrtl.c: Likewise.
14961 * math/w_tgamma.c: Likewise.
14962 * math/w_tgammaf.c: Likewise.
14963 * math/w_tgammal.c: Likewise.
14965 * po/ja.po: Update from translation team.
14967 2011-09-29 Andreas Jaeger <aj@suse.de>
14970 * sunrpc/netname.c (netname2host): Fix logic.
14974 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14976 * math/w_remainder.c (__remainder): Likewise.
14977 * math/w_remainderf.c (__remainderf): Likewise.
14978 * math/libm-test.inc (remainder_test): Add test cases.
14980 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14982 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14985 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14987 * string/test-memcmp.c: Avoid unncessary #defines.
14988 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14990 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14992 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14993 Use new sse2 version for core i3 - i7 as it's faster
14994 than sse42 version.
14995 (bit_Prefer_PMINUB_for_stringop): New.
14996 * sysdeps/x86_64/rawmemchr.S: Update.
14997 Replace with faster SSE2 version.
14998 * sysdeps/x86_64/memrchr.S: New file.
14999 * sysdeps/x86_64/memchr.S: Update.
15000 Replace with faster SSE2 version.
15002 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15004 * elf/dl-load.c (lose): Add cast to avoid warning.
15006 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15008 * po/ca.po: Update from translation team.
15010 * inet/getnetgrent_r.c: Hook up nscd.
15011 * nscd/Makefile (routines): Add nscd_netgroup.
15012 (nscd-modules): Add netgroupcache.
15013 (CFLAGS-netgroupcache.c): Define.
15014 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15015 (cache_search): Add const to second parameter.
15016 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15018 (dbs): Add netgrdb entry.
15019 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15020 (verify_persistent_db): Handle netgrdb.
15021 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15022 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15024 (netgroup_response_header): Define.
15025 (innetgroup_response_header): Define.
15026 (datahead): Add netgroup_response_header and innetgroup_response_header
15028 * nscd/nscd.conf: Add entries for netgroup cache.
15029 * nscd/nscd.h (dbtype): Add netgrdb.
15030 (_PATH_NSCD_NETGROUP_DB): Define.
15031 (netgroup_iov_disabled): Declare.
15032 (xmalloc, xcalloc, xrealloc): Move declarations here.
15033 (cache_search): Adjust prototype.
15034 Add netgroup-related prototypes.
15035 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15036 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15037 (__nscd_innetgr): Declare.
15038 * nscd/selinux.c (perms): Use access_vector_t as element type and
15039 add netgroup-related initializers.
15040 * nscd/netgroupcache.c: New file.
15041 * nscd/nscd_netgroup.c: New file.
15042 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15043 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15044 For four parameters use innetgr.
15045 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15046 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15047 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15048 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15050 * nscd/connections.c (register_traced_file): Don't register file
15051 for disabled databases.
15053 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15055 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15057 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15058 from tree and freeing node.
15060 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15062 * nss/nsswitch.c (__nss_database_lookup): Handle
15063 nss_parse_service_list out of memory case.
15065 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15067 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15068 out of memory case.
15070 2011-10-04 Andreas Schwab <schwab@redhat.com>
15072 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15073 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15075 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15076 elf_machine_rela, elf_machine_lazy_rel.
15077 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15078 (ELF_DYNAMIC_DO_REL): Likewise.
15079 (ELF_DYNAMIC_DO_RELA): Likewise.
15080 (ELF_DYNAMIC_RELOCATE): Likewise.
15081 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15082 to ELF_DYNAMIC_DO_REL.
15083 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15084 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15085 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15088 skip_ifunc, don't call ifunc function if non-zero.
15089 (elf_machine_rela): Likewise.
15090 (elf_machine_lazy_rel): Likewise.
15091 (elf_machine_lazy_rela): Likewise.
15092 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15093 (elf_machine_lazy_rel): Likewise.
15094 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15096 (elf_machine_lazy_rel): Likewise.
15097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15099 (elf_machine_lazy_rel): Likewise.
15100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15101 (elf_machine_lazy_rel): Likewise.
15102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15103 (elf_machine_lazy_rel): Likewise.
15104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15105 (elf_machine_lazy_rel): Likewise.
15106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15107 (elf_machine_lazy_rel): Likewise.
15108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15109 (elf_machine_lazy_rel): Likewise.
15110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15111 (elf_machine_lazy_rel): Likewise.
15113 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15115 * nss/nss_files/files-init.c (_nss_files_init): Use static
15116 initialization for all the *_traced_file variables.
15118 2011-09-28 Andreas Schwab <schwab@redhat.com>
15120 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15122 2011-09-27 Roland McGrath <roland@hack.frob.com>
15125 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15127 2011-09-27 Andreas Schwab <schwab@redhat.com>
15129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15130 Reread the line before reparsing it.
15132 2011-09-26 Andreas Schwab <schwab@redhat.com>
15134 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15136 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15137 Maxim Kuvyrkov <maxim@codesourcery.com>
15138 Joseph Myers <joseph@codesourcery.com>
15140 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15141 if needed for __stack_chk_guard.
15143 2011-09-19 Roland McGrath <roland@hack.frob.com>
15145 * sysdeps/posix/spawni.c (script_execute): Always define it.
15146 It will be optimized away if unused.
15147 (maybe_script_execute): New function.
15148 (__spawni): Call it.
15150 * Makerules: Don't include tls.make.
15151 (config-tls): Always set to thread.
15152 * tls.make.c: File removed.
15154 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15156 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15157 * config.make.in (CPPFLAGS-config): New substituted variable.
15159 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15161 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15164 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15165 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15167 2011-09-15 Roland McGrath <roland@hack.frob.com>
15169 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15170 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15172 (CALL_FAIL): Likewise.
15173 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15174 (CALL_FAIL): Macro removed.
15175 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15177 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15179 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15180 for __FINITE_MATH_ONLY__ == 1.
15182 2011-09-15 Andreas Schwab <schwab@redhat.com>
15184 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15185 __ieee754_sqrt instead of sqrt.
15186 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15187 __ieee754_sqrtf instead of sqrtf.
15188 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15189 __floorf instead of floorf.
15190 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15191 __floorf, __truncf instead of floorf, truncf.
15193 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15195 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15197 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15198 __extern_always_inline.
15199 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15202 2011-09-14 Andreas Schwab <schwab@redhat.com>
15204 * elf/rtld.c (dl_main): Also relocate in dependency order when
15205 doing symbol dependency testing.
15207 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15210 Always define `refsym'.
15212 2011-09-13 Andreas Schwab <schwab@redhat.com>
15214 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15215 (__FD_ELT): Renamed from __FDELT.
15216 * misc/bits/select2.h (__FD_ELT): Likewise.
15217 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15218 __FD_MASK instead of __FDELT, __FDMASK.
15219 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15221 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15224 * elf/Makefile (gen-ldd): Fix pattern.
15226 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15227 (init_tls): Likewise.
15229 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15233 2011-09-12 Andreas Schwab <schwab@redhat.com>
15235 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15236 `struct cmsghdr *' instead of `void *'.
15237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15240 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15242 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15244 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15245 ldd_rewrite_script.
15247 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15249 * configure.in: Remove --with-tls option.
15250 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15251 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15252 out in case it is missing.
15253 * sysdeps/ia64/elf/configure.in: Likewise.
15254 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15255 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15256 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15257 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15258 * sysdeps/sh/elf/configure.in: Likewise.
15259 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15260 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15261 * sysdeps/x86_64/elf/configure.in: Likewise.
15262 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15263 * sysdeps/mach/hurd/tls.h: Likewise.
15266 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15269 * configure.in: Fix use of AC_INIT.
15271 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15273 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15275 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15277 * malloc/hooks.c: Likewise.
15280 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15281 variables statically.
15282 (narenas): Initialize.
15283 (list_lock): Initialize.
15284 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15285 initializtion of main_arena and list_lock. Small cleanups.
15286 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15287 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15288 Add initializers to main_arena and mp_.
15289 (malloc_state): Remove pagesize member. Change all users to use
15292 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15293 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15294 is always initialized.
15296 * malloc/malloc.c: Removed unused configurations and dead code.
15297 * malloc/arena.c: Likewise.
15298 * malloc/hooks.c: Likewise.
15299 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15301 * include/tls.h: Removed. USE___THREAD must always be defined.
15302 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15303 * elf/dl-libc.c: Likewise.
15304 * elf/dl-tsd.c: Likewise.
15305 * include/errno.h: Likewise.
15306 * include/netdb.h: Likewise.
15307 * include/resolv.h: Likewise.
15308 * inet/herrno-loc.c: Likewise.
15309 * inet/herrno.c: Likewise.
15310 * malloc/arena.c: Likewise.
15311 * malloc/hooks.c: Likewise.
15312 * malloc/malloc.c: Likewise.
15313 * resolv/res-state.c: Likewise.
15314 * resolv/res_libc.c: Likewise.
15315 * sysdeps/i386/dl-machine.h: Likewise.
15316 * sysdeps/ia64/dl-machine.h: Likewise.
15317 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15318 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15319 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15320 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15321 * sysdeps/sh/dl-machine.h: Likewise.
15322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15324 * sysdeps/unix/i386/sysdep.S: Likewise.
15325 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15326 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15335 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15336 * sysdeps/x86_64/dl-machine.h: Likewise.
15337 * tls.make.c: Likewise.
15339 * configure.in: Remove --with-__thread option. Make tests for
15340 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15341 tls_model attribute fail if no support is available. Remove
15343 * Makeconfig: Adjust for dropped configure option. All features are
15345 * Makerules: Likewise.
15346 * Versions.def: Likewise.
15347 * argp/argp-fmtstream.c: Likewise.
15348 * argp/argp-fmtstream.h: Likewise.
15349 * argp/argp-help.c: Likewise.
15350 * assert/assert.c: Likewise.
15351 * config.h.in: Likewise.
15352 * config.make.in: Likewise.
15353 * configure: Likewise.
15354 * configure.in: Likewise.
15355 * csu/Versions: Likewise.
15356 * csu/init.c: Likewise.
15357 * elf/tst-audit2.c: Likewise.
15358 * elf/tst-tls10.c: Likewise.
15359 * elf/tst-tls10.h: Likewise.
15360 * elf/tst-tls11.c: Likewise.
15361 * elf/tst-tls12.c: Likewise.
15362 * elf/tst-tls14.c: Likewise.
15363 * elf/tst-tlsmod11.c: Likewise.
15364 * elf/tst-tlsmod12.c: Likewise.
15365 * elf/tst-tlsmod13.c: Likewise.
15366 * elf/tst-tlsmod13a.c: Likewise.
15367 * elf/tst-tlsmod14a.c: Likewise.
15368 * elf/tst-tlsmod15b.c: Likewise.
15369 * elf/tst-tlsmod16a.c: Likewise.
15370 * elf/tst-tlsmod16b.c: Likewise.
15371 * elf/tst-tlsmod7.c: Likewise.
15372 * elf/tst-tlsmod8.c: Likewise.
15373 * elf/tst-tlsmod9.c: Likewise.
15374 * gmon/gmon.c: Likewise.
15375 * grp/fgetgrent_r.c: Likewise.
15376 * grp/putgrent.c: Likewise.
15377 * hurd/fopenport.c: Likewise.
15378 * include/libc-symbols.h: Likewise.
15379 * include/tls.h: Likewise.
15380 * intl/gettextP.h: Likewise.
15381 * intl/loadinfo.h: Likewise.
15382 * locale/global-locale.c: Likewise.
15383 * locale/localeinfo.h: Likewise.
15384 * mach/devstream.c: Likewise.
15385 * malloc/arena.c: Likewise.
15386 * malloc/set-freeres.c: Likewise.
15387 * misc/err.c: Likewise.
15388 * misc/getttyent.c: Likewise.
15389 * misc/mntent_r.c: Likewise.
15390 * posix/getopt.c: Likewise.
15391 * posix/wordexp.c: Likewise.
15392 * pwd/fgetpwent_r.c: Likewise.
15393 * resolv/Versions: Likewise.
15394 * resolv/res_hconf.c: Likewise.
15395 * shadow/fgetspent_r.c: Likewise.
15396 * shadow/putspent.c: Likewise.
15397 * stdio-common/printf_fphex.c: Likewise.
15398 * stdio-common/tmpfile.c: Likewise.
15399 * stdlib/abort.c: Likewise.
15400 * stdlib/fmtmsg.c: Likewise.
15401 * sunrpc/auth_unix.c: Likewise.
15402 * sunrpc/clnt_perr.c: Likewise.
15403 * sunrpc/clnt_tcp.c: Likewise.
15404 * sunrpc/clnt_udp.c: Likewise.
15405 * sunrpc/clnt_unix.c: Likewise.
15406 * sunrpc/openchild.c: Likewise.
15407 * sunrpc/svc_simple.c: Likewise.
15408 * sunrpc/svc_tcp.c: Likewise.
15409 * sunrpc/svc_udp.c: Likewise.
15410 * sunrpc/svc_unix.c: Likewise.
15411 * sunrpc/xdr.c: Likewise.
15412 * sunrpc/xdr_array.c: Likewise.
15413 * sunrpc/xdr_rec.c: Likewise.
15414 * sunrpc/xdr_ref.c: Likewise.
15415 * sunrpc/xdr_stdio.c: Likewise.
15417 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15419 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15421 2011-07-03 Andreas Jaeger <aj@suse.de>
15423 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15424 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15425 regenerate with gen-libm-tests.pl.
15427 2010-05-12 Petr Baudis <pasky@suse.cz>
15430 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15431 around j0() zero points by switching to j1().
15432 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15437 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15441 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15444 Patch in part by Pavel Roskin <proski@gnu.org>.
15447 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15449 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15450 Free memory block if necessary.
15453 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15454 be NULL. Don't lock in this case.
15456 2011-09-09 Roland McGrath <roland@hack.frob.com>
15458 * elf/elf.h (ELFOSABI_GNU): New macro.
15459 (ELFOSABI_LINUX): Define to that.
15461 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15463 * string/strncat.c (strncat): Undef the symbol in case it has been
15464 defined in bits/string.h.
15466 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15468 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15470 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15473 2011-08-17 Andreas Jaeger <aj@suse.de>
15475 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15477 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15478 Ian Lance Taylor <iant@google.com>
15480 * math/libm-test.inc (lround_test): New testcase.
15481 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15483 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15485 * Makefile: Remove support for automatic cvs check-ins.
15486 * Makerules: Likewise.
15487 * config.make.in: Likewise.
15488 * configure.in: Likewise.
15489 * intl/Makefile: Likewise.
15490 * locale/Makefile: Likewise.
15491 * po/Makefile: Likewise.
15492 * posix/Makefile: Likewise.
15493 * sysdeps/gnu/Makefile: Likewise.
15494 * sysdeps/mach/hurd/Makefile: Likewise.
15495 * sysdeps/sparc/sparc32/Makefile: Likewise.
15498 * posix/Makefile (bug-regex32-ENV): Define.
15499 Patch by John Stanley <jpsinthemix@verizon.net>.
15501 * misc/Makefile (headers): Add bits/select2.h.
15502 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15503 * misc/bits/select2.h: New file.
15504 * include/bits/select2.h: New file.
15505 * debug/Makefile (routines): Add fdelt_chk.
15506 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15507 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15509 * debug/fdelt_chk.c: New file.
15511 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15512 * wcsmbs/test-wmemcmp.c: Likewise.
15513 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15514 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15516 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15518 * string/Makefile (strop-tests): Add memcmp.
15519 * string/test-wmemcmp.c: New file.
15520 * string/test-memcmp.c: Add wmemcmp support.
15522 2011-09-08 Roland McGrath <roland@hack.frob.com>
15525 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15528 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15529 garbage value in a __mach_port_mod_refs call in the cases of the
15530 task-self and thread-self ports.
15532 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15534 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15536 2011-09-08 Andreas Schwab <schwab@redhat.com>
15538 * elf/dl-load.c (lose): Check for non-null L.
15540 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15542 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15544 * elf/dl-libc.c (dlerror_run): Pass back error code from
15548 * elf/dl-load.c (lose): Free l_origin if it is valid.
15550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15552 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15556 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15557 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15559 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15562 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15563 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15564 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15565 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15566 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15567 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15568 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15569 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15570 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15572 2011-08-15 Alan Modra <amodra@gmail.com>
15575 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15576 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15577 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15578 ppc_mcount to static-only-routines.
15579 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15581 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15582 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15584 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15587 for finite and infinity parameters.
15589 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15592 and add nop instructions for throughput optimization.
15593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15595 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15598 aligned copy for power7 with vector-scalar instructions.
15599 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15601 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15606 2011-09-07 Andreas Schwab <schwab@redhat.com>
15609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15612 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15614 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15615 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15616 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15617 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15620 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15623 Forgot to demangle the pointer.
15625 * sysdeps/i386/sysdep.h: Define atom_text_section.
15626 * sysdeps/x86_64/sysdep.h: Likewise.
15627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15628 section with atom_text_section.
15629 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15631 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15633 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15635 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15636 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15637 already be defined. Change to take two parameters and don't assign
15638 result to variable. Adjust all users.
15639 Define INTERNAL_GETTIME if not already defined.
15640 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15643 HAVE_CLOCK_GETTIME_VSYSCALL.
15644 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15646 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15647 gettimeofday vsyscall, just use time.
15649 2011-09-06 Andreas Schwab <schwab@redhat.com>
15651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15654 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15656 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15660 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15662 syscall if possible.
15664 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15666 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15667 e_ident. Don't pass to find_mapsXX.
15668 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15670 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15673 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15674 * sysdeps/x86_64/multiarch/strchr.S: Update.
15675 Check bit_slow_BSF bit.
15676 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15677 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15680 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15683 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15685 (tryshell): Define.
15686 (__spawni): Change last parameter to be flag. Test
15687 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15688 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15689 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15690 * posix/spawni.c: Likewise.
15691 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15692 * posix/spawnp.c: Likewise. Change normal version to use
15693 SPAWN_XFLAGS_USE_PATH.
15694 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15695 SPAWN_XFLAGS_TRY_SHELL.
15698 * posix/glob.h: Remove gcc 1.x support.
15701 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15703 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15706 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15708 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15709 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15710 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15711 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15712 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15715 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15717 * sysdeps/x86_64/wcscmp.S: New file.
15719 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15720 wcscmp-c wcscmp-sse2
15721 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15722 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15723 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15724 * wcsmbs/wcscmp.c: Allow renaming.
15726 2011-09-05 David S. Miller <davem@davemloft.net>
15728 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15729 stack slot, rather than the struct return pointer slot.
15730 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15731 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15733 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15735 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15737 * po/ja.po: Update from translation team.
15740 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15741 kernel in 64-bit binaries.
15743 2011-09-01 David S. Miller <davem@davemloft.net>
15745 * elf/elf.h (HWCAP_SPARC_*): Move to..
15746 * sysdeps/sparc/sysdep.h: this new file and add new values.
15747 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15748 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15749 _DL_HWCAP_COUNT to 24.
15750 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15752 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15753 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15754 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15756 instead of magic constants.
15757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15759 2011-08-31 David S. Miller <davem@davemloft.net>
15761 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15763 Reimplement to do errno handling inline.
15764 (SYSCALL_ERROR_HANDLER): New macro.
15765 (__SYSCALL_STRING): Do not do errno handling in asm.
15766 (__CLONE_SYSCALL_STRING): Delete.
15767 (__INTERNAL_SYSCALL_STRING): Delete.
15768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15769 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15770 (PSEUDO): Reimplement to do errno handling inline.
15771 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15772 (SYSCALL_ERROR_HANDLER): New macro.
15773 (__SYSCALL_STRING): Do not do errno handling in asm.
15774 (__CLONE_SYSCALL_STRING): Delete.
15775 (__INTERNAL_SYSCALL_STRING): Delete.
15776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15777 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15779 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15780 (inline_syscall*): Add 'err' argument.
15781 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15782 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15783 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15784 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15786 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15787 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15789 2011-08-30 Andreas Schwab <schwab@redhat.com>
15791 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15793 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15795 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15798 2011-08-24 David S. Miller <davem@davemloft.net>
15800 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15802 2011-08-24 Andreas Schwab <schwab@redhat.com>
15804 * elf/Makefile: Add rules to build and run unload8 test.
15805 * elf/unload8.c: New file.
15806 * elf/unload8mod1.c: New file.
15807 * elf/unload8mod1x.c: New file.
15808 * elf/unload8mod2.c: New file.
15809 * elf/unload8mod3.c: New file.
15811 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15814 2011-08-23 David S. Miller <davem@davemloft.net>
15816 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15817 subtract stack bias.
15818 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15819 %sp not %fp in calculations.
15820 (_JMPBUF_UNWINDS_ADJ): Likewise.
15822 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15823 (aio_suspend): Call it to force an exception region around the
15824 AIO_MISC_WAIT() invocation.
15826 2011-08-23 Andreas Schwab <schwab@redhat.com>
15828 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15831 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15833 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15835 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15836 and <dl-machine.h>.
15837 (Elf64_FuncDesc): Remove.
15839 2011-08-22 David S. Miller <davem@davemloft.net>
15841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15842 sigaltstack check, add missing cfi directives.
15843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15844 missing cfi directives, and sigaltstack handling.
15846 2011-08-16 Andreas Schwab <schwab@redhat.com>
15849 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15850 object is seen twice.
15851 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15853 * elf/Makefile (distribute): Add tst-initorder2.c.
15854 (tests): Add tst-initorder2.
15855 (modules-names): Add tst-initorder2a tst-initorder2b
15856 tst-initorder2c tst-initorder2d. Add rules to build them.
15857 ($(objpfx)tst-initorder2.out): New rule.
15858 * elf/tst-initorder2.c: New file.
15859 * elf/tst-initorder2.exp: New file.
15861 2011-08-22 Andreas Schwab <schwab@redhat.com>
15863 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15865 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15866 dependencies back to end of function.
15868 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15869 $(elfobjdir)/ld.so.
15871 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15874 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15876 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15877 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15878 of __vdso_gettimeofday.
15879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15880 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15882 (_libc_vdso_platform_setup): Remove initialization of
15883 __vdso_gettimeofday and __vdso_time.
15885 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15887 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15888 and fgetc_unlocked.
15889 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15892 * elf/dl-open.c (add_to_global): Report additions to the global scope
15893 for LD_DEBUG=scopes.
15894 (dl_open_worker): Also print scope of newly loaded dependencies.
15895 (_dl_show_scope): Indicate if there is no scope.
15898 * stdio-common/Makefile (tests): Add bug24.
15899 * stdio-common/bug24.c: New file.
15901 2011-08-19 Andreas Jaeger <aj@suse.de>
15904 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15905 non-existant file when using close-on-exec mode.
15907 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15910 the very first instruction.
15912 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15913 the CFI state in the end.
15914 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15915 inclusion of dl-trampoline.h.
15916 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15918 2011-08-19 Andreas Schwab <schwab@redhat.com>
15920 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15921 expectations for long double.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15924 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15926 2011-08-14 David S. Miller <davem@davemloft.net>
15928 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15929 artificual limit depends upon the system page size.
15931 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15933 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15934 * resolv/Makefile: Define CFLAGS-libresolv.
15936 2011-08-17 Andreas Schwab <schwab@redhat.com>
15938 * nss/makedb.c (compute_tables): Make variables used in nested
15941 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15943 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15944 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15945 if buffer was too small.
15947 * elf/pldd.c (main): Attach to all threads in the process.
15948 Rewrite /proc handling to use *at functions.
15950 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15952 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15953 specifies first scope to show.
15954 (dl_open_worker): Update callers. Move printing scope of new
15955 object to before the relocation.
15956 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15957 * sysdeps/generic/ldsodefs.h: Update declaration.
15959 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15960 string for the scope number.
15962 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15964 * nscd/servicescache.c (cache_addserv): Make sure written is always
15967 2011-08-14 Roland McGrath <roland@hack.frob.com>
15969 * sysdeps/i386/i486/bits/atomic.h
15970 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15971 statement expression, so as to suppress "set but not used" warning.
15972 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15974 * string/strncat.c (STRNCAT): Use prototype definition.
15976 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15977 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15979 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15980 (localedef-modules): Add localedef.
15981 (locale-modules): Add locale.
15983 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15984 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15985 to avoid a warning.
15987 2011-08-14 David S. Miller <davem@davemloft.net>
15989 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15990 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15992 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15994 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15995 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15996 * elf/rtld.c (dl_main): Set l_name of vDSO.
15997 Call _dl_show_scope when DL_DEBUG_SCOPES.
15998 (process_dl_debug): Recognize scopes flag and also set it for all.
15999 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16000 Declare _dl_show_scope.
16002 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16003 (do_dlopen): Pass caller_dlopen to dl_open.
16004 (__libc_dlopen_mode): Initialize caller_dlopen.
16006 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16007 of libc. Make tolower call locale-independent. Optimize a bit by
16008 using isdigit instead of isalnum.
16009 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16011 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16013 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16014 was a dependency or dynamically loaded.
16016 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16018 * intl/l10nflist.c: Allow architecture-specific pop function.
16019 * sysdeps/x86_64/l10nflist.c: New file.
16021 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16024 2011-08-10 Andreas Schwab <schwab@redhat.com>
16026 * include/dirent.h: Add libc_hidden_proto for scandirat and
16027 scandirat64. Don't declare __scandirat64.
16028 * dirent/scandirat.c: Add libc_hidden_def.
16029 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16030 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16032 2011-08-10 David S. Miller <davem@davemloft.net>
16034 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16040 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16042 * Versions.def [libc]: Add GLIBC_2.15.
16043 * dirent/Makefile (routines): Add scandirat and scandirat64.
16044 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16046 * dirent/dirent.h: Declare scandirat and scandirat64.
16047 * dirent/scandirat.c: New file.
16048 * dirent/scandirat64.c: New file.
16049 * sysdeps/wordsize-64/scandirat.c: New file.
16050 * sysdeps/wordsize-64/scandirat64.c: New file.
16051 * dirent/opendir.c: Define opendirat.
16052 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16054 * dirent/scandir64.c: Adjust for scandir.c change.
16055 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16056 __scandirat64, and __scandir_cancel_handler.
16057 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16058 additional parameter and use openat instead of open (outside of ld.so).
16059 Add new __opendir as wrapper around __opendirat.
16060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16061 here without requiring old scandirat implementation.
16063 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16065 * dirent/scandir.c (cancel_handler): Renamed to
16066 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16067 defined. Adjust users.
16068 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16069 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16071 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16073 * string/test-string.h (IMPL): Use __STRING to expand name and then
16076 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16079 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16081 * string/Makefile: Update.
16082 (strop-tests): Append strncat.
16083 * string/test-wcscmp.c: New file.
16084 New comprehensive test for wcscmp.
16085 * string/test-strcmp.c: Update.
16086 (WIDE): New define.
16088 2011-07-22 Andreas Schwab <schwab@redhat.com>
16090 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16093 2011-07-26 Andreas Schwab <schwab@redhat.com>
16095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16096 encoding to ACE if AI_IDN.
16098 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16101 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16103 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16106 Fix overflow bug in strncat.
16107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16109 * string/test-strncat.c: Update.
16110 Add new tests for checking overflow bugs.
16112 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16115 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16116 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16117 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16118 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16119 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16120 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16121 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16122 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16125 (USE_AS_STRCAT): Define.
16126 Add strcat and strncat support.
16127 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16129 2011-07-25 Andreas Schwab <schwab@redhat.com>
16131 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16132 __n bigger than INT_MAX+1.
16133 (__strncmp_g): Likewise.
16135 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16137 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16138 * libio/stido.h: Likewise.
16140 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16145 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16146 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16152 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16157 (_dl_x86_64_save_sse): Likewise.
16159 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16163 (_dl_x86_64_save_sse): Likewise.
16165 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16167 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16169 2011-07-21 Andreas Schwab <schwab@redhat.com>
16171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16173 (_dl_x86_64_save_sse): Use correct AVX check.
16175 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16178 bug in strncpy/strncat.
16179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16181 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16183 * string/tester.c (test_strcat): Add tests for different alignments
16184 of source and destination.
16185 (test_strncat): Likewise.
16187 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16190 * posix/glob.c (glob): Check passed in values before using them in
16191 expressions to avoid some overflows.
16192 (glob_in_dir): Likewise.
16195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16196 check for AVX enablement so that we don't crash with old kernels and
16198 * elf/tst-audit4.c: Add same checks here.
16199 * elf/tst-audit6.c: Likewise.
16201 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16203 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16205 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16207 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16209 * po/cs.po: Update from translation team.
16210 * po/bg.po: Likewise.
16212 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16214 * misc/sys/cdefs.h: Add support for const attribute.
16215 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16216 to gnu_dev_{major,minor,makedev} functions.
16218 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16220 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16222 2011-07-20 Andreas Schwab <schwab@redhat.com>
16224 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16227 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16230 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16231 register in order to avoid conflicts with the soft frame pointer
16232 being held in r11 when necessary.
16233 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16234 (INTERNAL_VSYSCALL_NCS): Likewise.
16236 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16238 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16239 * elf/dl-fini.c (_dl_fini): Adjust caller.
16240 * elf/dl-close.c (_dl_close_worker): Likewise.
16241 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16243 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16245 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16246 "aux_cache->nlibs < 0".
16248 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16249 in the reload-count case.
16251 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16254 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16255 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16256 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16257 * sysdeps/x86_64/multiarch/strcat.S: New file.
16258 * sysdeps/x86_64/multiarch/strncat.S: New file.
16259 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16260 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16261 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16262 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16264 (USE_AS_STRCAT): Define.
16265 Add strcat and strncat support.
16266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16268 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16269 * string/strncat.c: Update.
16270 (USE_AS_STRNCAT): Define.
16271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16272 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16274 * sysdeps/x86_64/multiarch/init-arch.h
16275 (bit_Prefer_PMINUB_for_stringop): New.
16276 (index_Prefer_PMINUB_for_stringop): Likewise.
16277 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16278 bit_Prefer_PMINUB_for_stringop.
16280 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16282 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16284 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16285 of casting of buffer.
16286 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16287 buffer32 and buffer64.
16288 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16289 writes instead of casting of buffer.
16290 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16292 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16295 2011-07-19 Andreas Schwab <schwab@redhat.com>
16297 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16299 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16301 * nscd/nscd.c (termination_handler): Don't do anything for a database
16302 if it has not yet been initialized.
16304 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16306 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16308 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16310 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16312 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16314 * po/nl.po: Update from translation team.
16315 * po/sv.po: Likewise.
16317 2011-07-16 Roland McGrath <roland@hack.frob.com>
16319 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16320 now disallowed by GCC.
16322 * configure.in (use-default-link): Default to yes if a test -shared
16323 link meets our qualifications.
16324 * configure: Regenerated.
16326 * config.make.in (output-format): New variable.
16327 * configure.in: Check for ld --print-output-format support.
16328 * configure: Regenerated.
16329 * Makerules ($(common-objpfx)format.lds)
16330 [$(output-format) != unknown]: Just use $(output-format),
16331 instead of the linker-script munging.
16333 2011-07-14 Roland McGrath <roland@hack.frob.com>
16335 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16336 of $(common-objpfx)shlib.lds.
16337 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16339 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16340 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16342 * configure.in (-z relro check): Adjust test code to add a large
16343 writable data section after it.
16344 * configure: Regenerated.
16346 2011-07-11 Roland McGrath <roland@hack.frob.com>
16348 * configure.in (-z relro check): Fix test code to make the variable
16350 * configure: Regenerated.
16352 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16354 * nscd/nscd.h (struct traced_file): Define.
16355 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16356 elements. Add traced_files.
16357 (inotify_fd): Declare.
16358 (register_traced_file): Declare.
16359 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16360 (inotify_fd): Export.
16361 (resolv_conf_descr): Remove.
16362 (nscd_init): Move inotify descriptor creation to main.
16363 Don't register files for notification here.
16364 (register_traced_file): New function.
16365 (invalidate_cache): Don't use reset_res to determine whether to call
16366 res_init, go through the list of registered files.
16367 (main_loop_poll): The inotify descriptors are now stored in the
16368 structures for the traced files.
16369 (main_loop_epoll): Likewise
16370 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16371 to __nss_disable_nscd.
16372 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16373 for a database anymore. Check the records for all the registered
16375 * nss/Makefile (libnss_files-routines): Add files-init.
16376 (libnss_db-routines): Add db-init.
16377 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16378 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16379 * nss/nss_db/db-init.c: New file.
16380 * nss/nss_files/files-init.c: New file.
16381 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16382 __nss_lookup_function.
16383 (__nss_lookup_function): Call nss_load_library.
16384 (nss_load_all_libraries): New function.
16385 (__nss_disable_nscd): Take parameter with callback function for files
16386 to register. Set is_nscd. Load all the DSOs for the NSS modules
16387 used for the cached services.
16388 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16389 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16390 options for features to all the files in nscd.
16392 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16394 2011-07-10 Roland McGrath <roland@hack.frob.com>
16396 * csu/elf-init.c (__libc_csu_init): Comment typo.
16398 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16400 * po/pl.po: Update from translation team.
16401 * po/ja.po: Likewise.
16402 * po/ru.po: Likewise.
16403 * po/ko.po: Likewise.
16404 * po/fr.po: Likewise.
16406 2011-07-09 Roland McGrath <roland@hack.frob.com>
16408 * configure.in (.ctors/.dtors header and trailer check):
16409 Use an empirical test on a built program.
16410 * configure: Regenerated.
16412 * configure.in (-z relro check): Use an empirical test on a built DSO.
16413 Detect, but do not require, on ia64.
16414 * configure: Regenerated.
16416 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16417 Update tests that use readelf to use $READELF instead.
16418 * configure: Regenerated.
16420 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16422 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16423 if the result is not used.
16425 2011-07-05 Andreas Jaeger <aj@suse.de>
16428 * stdlib/tst-strtod.c: Add testcase.
16430 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16432 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16433 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16434 The latter has a higher limit. Take additional parameter to pass to
16436 (__pathconf): Pass file to __statfs_link_max.
16437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16439 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16443 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16446 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16447 (__statfs_filesize_max): Likewise.
16448 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16450 2011-07-05 Andreas Jaeger <aj@suse.de>
16452 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16454 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16456 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16458 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16461 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16463 * Makefile (strop-tests): Add strncat.
16464 * string/test-strncat.c: New file.
16466 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16468 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16470 2011-06-21 Andreas Jaeger <aj@suse.de>
16472 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16473 Copy rule from iconvdata/Makefile.
16475 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16478 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16479 but no long options are defined, just return 'W'.
16481 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16484 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16486 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16488 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16490 (innetgr): Likewise.
16492 2011-07-05 Roland McGrath <roland@hack.frob.com>
16494 * config.make.in (install_root): Default to $(DESTDIR).
16496 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16498 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16500 2011-07-02 Roland McGrath <roland@hack.frob.com>
16502 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16504 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16505 containing directory rather than embedding absolute directory names.
16507 * scripts/check-local-headers.sh: Rewritten using awk.
16508 Match by word, not by line. Print error messages for matches.
16509 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16511 * Makerules [shlib-lds-flags empty]:
16512 ($(common-objpfx)libc_pic.opts): New target.
16513 ($(common-objpfx)libc_pic.os.clean): New target.
16514 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16516 * config.make.in (OBJCOPY): New variable.
16517 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16518 * configure: Regenerated.
16520 * config.make.in (use-default-link): New variable.
16521 * configure.in (use_default_link): Grok --with-default-link to set it.
16522 * configure: Regenerated.
16523 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16524 (shlib-lds, shlib-lds-flags): Define to empty.
16526 * Makerules (shlib-lds): New variable.
16527 (shlib-lds-flags): New variable.
16528 (build-shlib, build-moduile, build-module-asneeded): Use it.
16529 ($(common-objpfx)libc.so): Use $(shlib-lds).
16530 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16531 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16533 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16534 DT_FLAGS/DT_FLAGS_1 with zero flags.
16536 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16537 linker script munging.
16539 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16541 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16543 * crypt/sha512.c (sha512_process_block): Perform total addition using
16544 128-bit if possible.
16545 (__sha512_finish_ctx): Likewise.
16546 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16548 * crypt/sha256.c (SWAP64): Define.
16549 (sha256_process_block): Perform total addition using 64-bit if
16551 (__sha256_finish_ctx): Likewise.
16553 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16555 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16557 * nscd/hstcache.c (cache_addhst): Likewise.
16558 * nscd/grpcache.c (cache_addgr): Likewise.
16559 * nscd/aicache.c (addhstaiX): Likewise
16560 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16562 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16564 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16566 * nscd/hstcache.c (cache_addhst): Likewise.
16567 * nscd/grpcache.c (cache_addgr): Likewise.
16568 * nscd/aicache.c (addhstaiX): Likewise
16570 2011-07-01 Andreas Schwab <schwab@redhat.com>
16572 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16573 domain only when needed.
16575 2011-06-30 Andreas Schwab <schwab@redhat.com>
16577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16578 is always restored.
16580 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16582 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16583 are re-adding the entry.
16584 * nscd/servicescache.c (cache_addserv): Likewise.
16586 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16588 * sysdeps/generic/dl-irel.h: fix protection against multiple
16590 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16592 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16595 * malloc/memusage.sh: Fix quoting in message.
16596 * debug/xtrace.sh: Likewise.
16598 * configure.in: Remove support for --experimental-malloc option, make
16600 * config.make.in: Likewise.
16601 * malloc/Makefile: Likewise.
16603 2011-06-27 Andreas Schwab <schwab@redhat.com>
16605 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16606 two-byte characters.
16608 2011-06-27 Roland McGrath <roland@hack.frob.com>
16610 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16611 AC_CACHE_CHECK invocation.
16612 * configure: Regenerated.
16614 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16616 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16619 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16620 bit from old_res_options.
16622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16624 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16625 value type for setfct.
16627 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16630 __gettimeofday instead of gettimeofday.
16632 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16634 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16636 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16643 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16646 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16647 strcpy-sse2-unaligned strncpy-sse2-unaligned
16648 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16649 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16650 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16651 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16652 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16655 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16656 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16657 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16658 (STRCPY): Support SSE2 and SSSE3 versions.
16660 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16663 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16664 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16665 kernels which artificially limit size of requests.
16667 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16670 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16671 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16672 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16673 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16674 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16675 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16676 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16679 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16680 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16681 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16682 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16683 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16685 Enable unaligned load optimization for Intel Core i3, i5 and i7
16687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16689 (index_Fast_Unaligned_Load): Define.
16690 (HAS_FAST_UNALIGNED_LOAD): Define.
16692 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16694 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16696 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16700 until it is clear that the information is realy needed.
16701 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16703 2011-06-22 Andreas Schwab <schwab@redhat.com>
16705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16707 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16710 /sys/devices/system/cpu/online if it is usable.
16712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16713 reading the information from the /proc filesystem to once a second.
16715 2011-06-21 Andreas Jaeger <aj@suse.de>
16717 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16718 NULL after inclusion of kernel headers.
16720 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16722 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16723 calls to internal_setent.
16726 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16727 addresses using gethostbyname4_r ignore IPv4 addresses.
16729 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16730 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16732 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16734 2011-06-20 David S. Miller <davem@davemloft.net>
16736 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16738 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16740 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16741 (elf_irel): Use it.
16742 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16743 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16744 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16745 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16746 * sysdeps/x86_64/dl-irel.h: Likewise.
16748 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16749 * elf/dl-sym.c: Likewise.
16751 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16753 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16754 need to dereference resplen2.
16756 2011-06-14 Andreas Schwab <schwab@redhat.com>
16758 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16760 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16762 * Makeconfig: Define vardbdir and inst_vardbdir.
16763 * nss/Makefile: Add rules to install db-Makefile.
16765 * nss/nss_db/db-XXX.c: Cleanup.
16767 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16768 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16770 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16771 * nss/makedb.c: Implement -g option to specify that value strings
16772 are generated and should not be added to table iterated over for
16774 * nss/nss_db/db-initgroups.c: New file.
16776 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16779 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16780 (internal_getgrouplist): Adjust to name change.
16781 Update use_initgroups_entry if this is not the first call.
16782 * nss/databases.def: Add initgroups entry.
16784 * nss/makedb.c (compute_tables): Check result of multiple hash table
16785 sizes to minimize maximum chain length.
16787 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16789 * Versions.def: Add entry for libnss_db.
16790 * shlib-versions: Likewise.
16791 * nss/Makefile: Add rules to build libnss_db.
16792 * nss/Versions: Add libnss_db information. Organize libnss_files
16794 * nss/db-Makefile: Add gshadow support. Change rules for the new
16795 makedb progra. Some minor improvements to generate smaller files.
16796 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16798 * nss/makedb.c: ...here.
16799 Improve database format to be smaller and require less memory at
16801 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16803 * nss/nss_db/db-netgrp.c: Likewise.
16804 * nss/nss_db/db-open.c: Likewise.
16805 * nss/nss_files/flies-XXX.x: Adjust comments.
16806 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16807 * nss/nss_files/files-grp.c: Likewise.
16808 * nss/nss_files/files-hosts.c: Likewise.
16809 * nss/nss_files/files-network.c: Likewise.
16810 * nss/nss_files/files-proto.c: Likewise.
16811 * nss/nss_files/files-pwd.c: Likewise.
16812 * nss/nss_files/files-rpc.c: Likewise.
16813 * nss/nss_files/files-service.c: Likewise.
16814 * nss/nss_files/files-sgrp.c: Likewise.
16815 * nss/nss_files/files-spwd.c: Likewise.
16816 * nss/nss_db/db-alias.c: Removed.
16817 * nss/nss_db/dummy-db.h: Removed.
16819 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16821 * nss/makedb.c: Rewritten to not use database library.
16822 * nss/Makefile: Update to build new makedb program.
16824 2011-06-14 Andreas Jaeger <aj@suse.de>
16826 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16827 memset declaration.
16829 2011-06-10 Andreas Schwab <schwab@redhat.com>
16831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16834 2011-06-10 Roland McGrath <roland@hack.frob.com>
16836 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16837 * elf/Makefile ($(objpfx)ld.so): Likewise.
16839 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16840 Don't list ld.so twice in dependencies.
16842 * posix/bug-regex31.c: Include <stdlib.h>.
16844 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16846 * nis/nss_compat/compat-spwd.c
16847 (getspent_next_nss_netgr): Remove unused variable.
16848 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16850 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16851 nonmembers" output to use the right array.
16853 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16855 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16857 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16858 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16859 * catgets/gencat.c (read_input_file): Likewise.
16860 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16862 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16863 variable definition inside #if's controlling its use.
16865 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16867 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16869 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16871 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16874 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16876 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16877 * configure: Regenerated.
16879 * Makerules: Revert last change.
16880 * elf/Makefile: Likewise.
16882 2011-06-09 Roland McGrath <roland@hack.frob.com>
16884 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16885 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16886 (reloc-link): Likewise.
16888 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16890 * elf/Makefile: Add rules to build pldd.
16891 * elf/pldd.c: New file.
16892 * elf/pldd-xx.c: New file.
16894 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16896 * version.h: Update for 2.15 development version.
16898 2011-06-07 David S. Miller <davem@davemloft.net>
16900 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16903 elf_machine_lazy_rel): Likewise.
16904 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16906 elf_machine_lazy_rel): Likewise.
16907 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16908 dl_hwcap via passed in argument.
16909 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16912 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16914 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16916 2011-06-06 Roland McGrath <roland@hack.frob.com>
16919 * manual/fdl-1.1.texi: New file, verbatim from:
16920 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16921 * manual/lgpl-2.1.texi: New file, verbatim from:
16922 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16923 * manual/Makefile (licenses): New variable, list those new file names.
16925 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16927 * manual/fdl.texi: File removed.
16928 * manual/lesser.texi: File removed.
16929 * manual/libc.texinfo (Copying, Documentation License):
16930 Use new @include file names, put @appendix directive before @include.
16932 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16935 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16936 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16937 (mq_open): Add __NTH.
16939 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16942 Assume Intel Core i3/i5/i7 processor if AVX is available.
16944 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16949 2011-05-31 Andreas Schwab <schwab@redhat.com>
16951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16952 memory. Use alloca_account. Fix memory leak when retrying.
16954 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16956 * version.h (RELEASE): Bump for 2.14 release.
16957 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16959 * config.make.in (RANLIB): Remove entry.
16961 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16963 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16964 (libc.pot): Work around missing support for .ksh extension in xgettext.
16967 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16968 if both request failed.
16969 (send_dg): In case of server errors clear resplen or *resplen2.
16972 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16973 when there are multiple maps.
16974 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16975 (_dl_fini): Remove test here.
16977 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16979 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16982 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16983 bit from old_res_options.
16984 (gaih_inet): Likewise.
16987 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16990 * resolv/res_init.c (res_setoptions): Make the code more compact.
16993 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16997 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16999 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17002 * malloc/malloc.h: Declare malloc hook variables as volatile.
17004 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17008 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17009 raise in the comment.
17010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17012 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17014 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17017 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17018 grow the buffers more if it already has to be sufficient.
17019 (build_wcs_upper_buffer): Likewise.
17020 * posix/regexec.c (check_matching): Likewise.
17021 (clean_state_log_if_needed): Likewise.
17022 (extend_buffers): Don't enlarge buffers beyond size of the input
17024 Patches mostly by Emil Wojak <emil@wojak.eu>.
17025 * posix/bug-regex32.c: New file.
17026 * posix/Makefile (tests): Add bug-regex32.
17028 * locale/findlocale.c (_nl_find_locale): Return right away if
17029 _nl_explode_name failed.
17030 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17032 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17034 * debug/xtrace.sh: Unify messages.
17035 * malloc/memusage.sh: Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17039 time symbol from vDSO. Substitute with vsyscall if not available.
17040 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17043 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17044 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17045 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17046 Add sendmmsg and internal_sendmmsg.
17047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17048 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17051 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17052 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17055 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17058 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17059 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17065 * iconvdata/Makefile (tests): Add bug-iconv9.
17066 * iconvdata/bug-iconv9.c: New file.
17068 2011-05-27 Andreas Schwab <schwab@redhat.com>
17071 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17073 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17076 (struct user_regs_struct): Change intcs field back to cs.
17078 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17080 * po/ja.po: Update from translation team.
17082 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17085 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17086 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17088 2011-05-20 Andreas Schwab <schwab@redhat.com>
17090 * stdlib/longlong.h: Update from GCC.
17092 2011-05-23 Andreas Schwab <schwab@redhat.com>
17094 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17096 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17097 Add parameter name.
17098 (__sysconf): Pass it down.
17100 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17103 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17105 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17106 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17107 add in in __libc_use_alloca calls. Adjust callers.
17108 (glob): Use malloc in some situations.
17110 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17111 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17114 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17116 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17117 and CLOCK_BOOTTIME_ALARM.
17120 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17123 * string/_strerror.c (__strerror_r): Print negative errors as signed
17127 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17128 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17129 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17131 * configure.in: Fix typo in redirection and correct removal of test
17132 files in two cases.
17135 * locale/setlocale.c (new_composite_name): Fix test to check for
17136 identical name of all categories.
17139 * libio/filedoalloc.c (local_isatty): New function.
17140 (_IO_file_doallocate): Use local_isatty.
17141 * stdio-common/perror.c (perror): In case a new stream is used
17142 forward the stream error.
17143 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17146 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17151 * include/alloca.h (extend_alloca_account): Define.
17154 * posix/regex.h: Fix comments with documentation of user-accessible
17155 fields after compilation and describe correct free'ing of pattern
17156 after re_compile_pattern.
17157 Patch by Reuben Thomas <rrt@sc3d.org>.
17159 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17161 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17162 and -mno-altivec to prevent the compiler from using Altivec and/or
17163 VSX instructions when the corresponding registers are not available.
17165 2011-05-19 Andreas Schwab <schwab@redhat.com>
17167 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17169 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17171 * libio/freopen.c (freopen): Use __dup2, not dup2.
17172 * libio/freopen64.c (freopen64): Likewise.
17174 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17177 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17178 * math/Makefile (tests): Add test-powl.
17179 (CFLAGS-test-powl.c): Define.
17180 * math/test-powl.c: New file.
17182 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17184 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17186 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17189 * iconvdata/gb18030.c: Update to GB18020-2005.
17191 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17193 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17194 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17195 Patch by Aharon Robbins <arnold@skeeve.com>.
17198 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17202 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17203 through underflows.
17206 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17207 point to strings before performing equality test for error_one_per_line
17211 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17215 (struct user_fpregs_struct): Avoid __uint*_t types.
17218 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17219 symbol info. Use it instead of calling _dl_addr locally.
17220 (lock_and_info): New function.
17221 (tr_freehook): Call lock_and_info and pass symbol info as additional
17222 parameter to tr_where.
17223 (tr_mallochook): Likewise.
17224 (tr_reallochook): Likewise.
17225 (tr_memalignhook): Likewise.
17227 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17228 used and couldn't be at all thread-safe.
17230 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17232 * libio/freopen.c (freopen): Don't close old file descriptor
17233 before the new one is opened. Instead dup the new file descriptor
17234 to the old one after the new stream is created.
17235 * libio/freopen64.c (freopen64): Likewise.
17236 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17237 * libio/fileops.c (_IO_new_file_close_it): Handle new
17238 _IO_FLAGS2_NOCLOSE flag.
17239 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17240 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17241 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17242 _IO_FLAGS2_NOCLOSE flag.
17243 * include/unistd.h: Add hidden_proto for dup3.
17244 Define __have_dup3.
17245 * io/dup3.c: Define hidden symbol.
17246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17249 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17250 when an incomplete long option is used.
17251 * posix/tst-getopt_long1.c: New file.
17252 * posix/Makefile (tests): Add tst-getopt_long1.
17255 * scripts/config.guess: Update from autoconf-2.68.
17256 * scripts/config.sub: Likewise.
17259 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17261 (has_cpuclock): ...this. New function.
17262 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17263 macro here based on has_cpuclock code.
17266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17267 First byte (not low byte) is now always NUL.
17268 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17270 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17271 Use non-cancelable interfaces.
17274 * locale/iso-639.def: Add entry for Sorani.
17277 * include/stdlib.h: Move include protection to the right place.
17278 Define abort_msg_s. Declare __abort_msg with it.
17279 * stdlib/abort.c (__abort_msg): Adjust type.
17280 * assert/assert.c (__assert_fail_base): New function. Majority
17281 of code from __assert_fail. Allocate memory for __abort_msg with
17283 (__assert_fail): Now call __assert_fail_base.
17284 * assert/assert-perr.c: Remove bulk of implementation. Use
17285 __assert_fail_base.
17286 * include/assert.hL Declare __assert_fail_base.
17287 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17289 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17291 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17295 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17296 until all modules are registered in the DTV.
17297 * elf/Makefile: Add rules to build and run tst-tls19.
17298 * elf/tst-tls19.c: New file.
17299 * elf/tst-tls19mod1.c: New file.
17300 * elf/tst-tls19mod2.c: New file.
17301 * elf/tst-tls19mod3.c: New file.
17302 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17305 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17309 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17310 two-byte sequence errors.
17311 * iconvdata/Makefile (tests): Add bug-iconv8.
17312 * iconvdata/bug-iconv8.c: New file.
17315 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17318 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17321 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17322 (dummy_getcfa): New function.
17323 (init): Get _Unwind_GetCFA address, use dummy if not found.
17324 (backtrace_helper): In recursion check, also check whether CFA changes.
17325 (__backtrace): Completely initialize arg.
17327 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17328 storing incomplete byte sequence in state object. Avoid testing for
17329 guaranteed too small input if we know there is enough data available.
17331 2011-05-11 Andreas Schwab <schwab@redhat.com>
17333 * Makeconfig (+link-pie): Indent.
17334 * Rules (binaries-pie): Define if $(have-fpie) and
17336 (binaries-shared): Also filter out $(binaries-pie).
17337 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17338 * nscd/Makefile (others-pie): Add nscd.
17339 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17340 ($(objpfx)nscd): Remove command override.
17341 * login/Makefile (others-pie): Add pt_chown.
17342 ($(objpfx)pt_chown): Remove command override.
17343 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17344 remove command overrides.
17346 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17348 * libio/tst_putwc.c: Fix error messages.
17351 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17352 currently writing and seek to current position when not.
17353 * libio/Makefile (tests): Add bug-fclose1.
17354 * libio/bug-fclose1.c: New file.
17356 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17359 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17360 don't set DF_1_NODELETE here.
17361 (do_lookup_x): When entering new entry test for copy relocation
17362 and if necessary set DF_1_NODELETE flag.
17363 * elf/tst-unique4.cc: New file.
17364 * elf/tst-unique4.h: New file.
17365 * elf/tst-unique4lib.cc: New file.
17366 * elf/Makefile: Add rules to build and run tst-unique4.
17367 Patch by Piotr Bury <pbury@goahead.com>.
17369 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17372 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17375 * misc/mntent_r.c (addmntent): Flush the stream after the output
17378 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17379 (is_trusted_path_normalize): Skip initial colon. Append slash
17380 to empty buffer. Duplicate is_trusted_path code but allow
17381 constructed patch to be prefix.
17382 (is_dst): Allow $ORIGIN followed by /.
17383 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17384 Correct testing of result of is_trusted_path_normalize
17385 (decompose_rpath): Fix warning.
17387 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17390 * grp/initgroups.c (internal_getgrouplist): When we found the service
17391 list through the initgroups entry in nsswitch.conf do not always
17392 continue on a successful lookup. Don't always use the
17393 __nss_group_database value if it is set.
17394 * nss/nsswitch.conf (initgroups): Change action for successful db
17395 lookup to continue for compatibility.
17397 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17400 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17402 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17404 * iconvdata/tst-tables.sh: Likewise.
17405 * iconvdata/cp770.c: New file.
17406 * iconvdata/cp771.c: New file.
17407 * iconvdata/cp772.c: New file.
17408 * iconvdata/cp773.c: New file.
17409 * iconvdata/cp774.c: New file.
17410 * iconvdata/testdata/CP770: New file.
17411 * iconvdata/testdata/CP770..UTF8: New file.
17412 * iconvdata/testdata/CP771: New file.
17413 * iconvdata/testdata/CP771..UTF8: New file.
17414 * iconvdata/testdata/CP772: New file.
17415 * iconvdata/testdata/CP772..UTF8: New file.
17416 * iconvdata/testdata/CP773: New file.
17417 * iconvdata/testdata/CP773..UTF8: New file.
17418 * iconvdata/testdata/CP774: New file.
17419 * iconvdata/testdata/CP774..UTF8: New file.
17421 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17423 * iconvdata/gen-8bit-gap.sh: Likewise.
17424 * iconvdata/gen-8bit.sh: Likewise.
17426 * locale/iso-639.def: Add ary entry.
17429 * locale/C-translit.h.in: Add U20A1 transliteration.
17432 * locale/iso-639.def: Add wae entry.
17433 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17436 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17440 * locale/C-translit.h.in: Add entry for U20B9.
17441 Patch by pravin.d.s@gmail.com.
17443 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17446 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17447 ENAMETOOLONG use generic getcwd.
17448 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17449 in rtld. Use *stat64.
17450 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17451 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17452 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17453 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17454 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17455 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17456 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17457 __fstatat64 macros.
17458 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17459 * dirent/rewinddir.c: Add libc_hidden_def.
17460 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17461 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17463 * include/dirent.h (__alloc_dir): Add flags parameter.
17464 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17465 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17467 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17468 from fdopendir if O_CLOEXEC is already set.
17470 2011-03-15 Alan Modra <amodra@gmail.com>
17472 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17473 l_tls_firstbyte_offset non-zero. Save padding offset in
17474 l_tls_firstbyte_offset for later use.
17475 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17476 freeing static tls block.
17478 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17480 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17481 where #ifdef was intended. The intent is to prevent ARG_MAX from
17482 being defined by the kernel headers.
17484 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17487 * resolv/resolv.h: Define RES_NOTLDQUERY.
17488 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17489 no-tld-query and set RES_NOTLDQUERY.
17490 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17491 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17492 modern BIND to search name as TLD unless forbidden.
17494 2011-05-07 Petr Baudis <pasky@suse.cz>
17495 Ulrich Drepper <drepper@gmail.com>
17498 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17499 (is_trusted_path): ...to here.
17500 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17501 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17502 using is_trusted_path_normalize() in setuid scripts.
17504 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17506 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17507 __BEGIN/__END_DECLS.
17509 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17512 NSS_STATUS_NOTFOUND if no record was found.
17514 2011-05-05 Andreas Schwab <schwab@redhat.com>
17516 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17517 (headers-not-in-tirpc): Remove rpc/netdb.h
17518 * resolv/netdb.h: Revert last change.
17520 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17522 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17523 circular dependency between libgcc.a and libc.a.
17525 2011-05-05 Andreas Schwab <schwab@redhat.com>
17527 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17528 * nis/Makefile: Don't install rpcsvc/*.
17529 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17530 instead of <rpc/types.h>.
17531 (MAXHOSTNAMELEN): Define.
17533 2011-05-03 Andreas Schwab <schwab@redhat.com>
17535 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17537 2011-04-28 Maciej Babinski <mbabinski@google.com>
17540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17541 gethostbyname4_r when IPv6 results are possible.
17543 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17546 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17547 _PC_PIPE_BUF handling.
17549 2011-04-30 Bruno Haible <bruno@clisp.org>
17552 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17553 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17555 * inet/getnameinfo.c (getnameinfo): Likewise.
17557 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17559 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17560 to groups setting in database lookup.
17561 * nss/nsswitch.conf: Add initgroups entry.
17563 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17566 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17568 Patch by Eric Blake <eblake@redhat.com>.
17570 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17572 * sunrpc/Makefile (need-export-routines): Add svc_run.
17573 (routines): Remove svc_run.
17574 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17575 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17576 * sunrpc/svc_run.c (svc_run): Likewise.
17577 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17579 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17582 problem in reallocation in last patch.
17584 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17586 * sunrpc/Makefile: Move inclusion of Rules.
17588 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17590 * nss/nss_files/files-initgroups.c: New file.
17591 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17592 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17593 _nss_files_initgroups_dyn.
17595 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17597 * elf/elf.h (R_ARM_IRELATIVE): Define.
17599 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17601 * po/ru.po: Update from translation team.
17603 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17605 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17608 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17611 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17612 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17614 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17617 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17619 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17621 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17625 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17628 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17630 * stdlib/bug-getcontext.c: New file.
17631 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17633 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17635 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17636 instructions into .machine "z9-109".
17637 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17638 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17640 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17642 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17643 between environment variables and auxiliary vector.
17645 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17647 * Makefile: Add rules to build linkobj/libc.so.
17648 * include/libc-symbols.h: Define libc_hidden_nolink.
17649 * include/rpc/auth.h: Mark functions which are to be hidden.
17650 * include/rpc/auth_des.h: Likewise.
17651 * include/rpc/auth_unix.h: Likewise.
17652 * include/rpc/clnt.h: Likewise.
17653 * include/rpc/des_crypt.h: Likewise.
17654 * include/rpc/key_prot.h: Likewise.
17655 * include/rpc/pmap_clnt.h: Likewise.
17656 * include/rpc/pmap_prot.h: Likewise.
17657 * include/rpc/pmap_rmt.h: Likewise.
17658 * include/rpc/rpc_msg.h: Likewise.
17659 * include/rpc/svc.h: Likewise.
17660 * include/rpc/svc_auth.h: Likewise.
17661 * include/rpc/xdr.h: Likewise.
17662 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17663 * nss/Makefile: Likewise.
17664 * sunrpc/Makefile: Don't install headers. Build library with normal
17665 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17666 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17667 for the compat linking library. Remove use of INTDEF/INTUSE.
17668 * sunrpc/auth_none.c: Likewise.
17669 * sunrpc/auth_unix.c: Likewise.
17670 * sunrpc/authdes_prot.c: Likewise.
17671 * sunrpc/authuxprot.c: Likewise.
17672 * sunrpc/clnt_gen.c: Likewise.
17673 * sunrpc/clnt_perr.c: Likewise.
17674 * sunrpc/clnt_raw.c: Likewise.
17675 * sunrpc/clnt_simp.c: Likewise.
17676 * sunrpc/clnt_tcp.c: Likewise.
17677 * sunrpc/clnt_udp.c: Likewise.
17678 * sunrpc/clnt_unix.c: Likewise.
17679 * sunrpc/des_crypt.c: Likewise.
17680 * sunrpc/des_soft.c: Likewise.
17681 * sunrpc/get_myaddr.c: Likewise.
17682 * sunrpc/key_call.c: Likewise.
17683 * sunrpc/key_prot.c: Likewise.
17684 * sunrpc/netname.c: Likewise.
17685 * sunrpc/pm_getmaps.c: Likewise.
17686 * sunrpc/pm_getport.c: Likewise.
17687 * sunrpc/pmap_clnt.c: Likewise.
17688 * sunrpc/pmap_prot.c: Likewise.
17689 * sunrpc/pmap_prot2.c: Likewise.
17690 * sunrpc/pmap_rmt.c: Likewise.
17691 * sunrpc/publickey.c: Likewise.
17692 * sunrpc/rpc_cmsg.c: Likewise.
17693 * sunrpc/rpc_common.c: Likewise.
17694 * sunrpc/rpc_dtable.c: Likewise.
17695 * sunrpc/rpc_prot.c: Likewise.
17696 * sunrpc/rpc_thread.c: Likewise.
17697 * sunrpc/rtime.c: Likewise.
17698 * sunrpc/svc.c: Likewise.
17699 * sunrpc/svc_auth.c: Likewise.
17700 * sunrpc/svc_authux.c: Likewise.
17701 * sunrpc/svc_raw.c: Likewise.
17702 * sunrpc/svc_run.c: Likewise.
17703 * sunrpc/svc_simple.c: Likewise.
17704 * sunrpc/svc_tcp.c: Likewise.
17705 * sunrpc/svc_udp.c: Likewise.
17706 * sunrpc/svc_unix.c: Likewise.
17707 * sunrpc/svcauth_des.c: Likewise.
17708 * sunrpc/xcrypt.c: Likewise.
17709 * sunrpc/xdr.c: Likewise.
17710 * sunrpc/xdr_array.c: Likewise.
17711 * sunrpc/xdr_float.c: Likewise.
17712 * sunrpc/xdr_intXX_t.c: Likewise.
17713 * sunrpc/xdr_mem.c: Likewise.
17714 * sunrpc/xdr_rec.c: Likewise.
17715 * sunrpc/xdr_ref.c: Likewise.
17716 * sunrpc/xdr_sizeof.c: Likewise.
17717 * sunrpc/xdr_stdio.c: Likewise.
17719 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17722 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17723 * sysdeps/ia64/dl-tls.h: Likewise.
17724 * sysdeps/powerpc/dl-tls.h: Likewise.
17725 * sysdeps/s390/dl-tls.h: Likewise.
17726 * sysdeps/sh/dl-tls.h: Likewise.
17727 * sysdeps/sparc/dl-tls.h: Likewise.
17728 * sysdeps/x86_64/dl-tls.h: Likewise.
17729 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17731 2011-03-14 Andreas Schwab <schwab@redhat.com>
17733 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17734 rpath element also skip the following colon.
17735 (expand_dynamic_string_token): Add is_path parameter and pass
17736 down to DL_DST_REQUIRED and _dl_dst_substitute.
17737 (decompose_rpath): Call expand_dynamic_string_token with
17738 non-zero is_path. Ignore empty rpaths.
17739 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17742 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17747 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17750 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17751 Patch by Filipe David Manana <fdmanana@apache.org>.
17753 2011-04-07 Andreas Schwab <schwab@redhat.com>
17755 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17756 Maintain aligned stack.
17757 (CHECK_RSP): Remove unused macro.
17759 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17761 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17762 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17764 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17766 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17768 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17770 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17773 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17774 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17775 * sysdeps/x86_64/memmove.c: New file.
17776 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17777 (memcpy): Renamed to ...
17778 (__new_memcpy): This.
17779 (memcpy): Provide GLIBC_2_14 memcpy.
17780 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17781 (memcpy): Provide GLIBC_2_2_5 memcpy.
17783 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17786 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17788 2011-03-30 Andreas Schwab <schwab@redhat.com>
17790 * misc/syncfs.c: New file.
17791 * misc/Makefile (routines): Add syncfs.
17792 * posix/unistd.h: Declare syncfs.
17793 * sysdeps/unix/syscalls.list: Add syncfs.
17795 2011-04-01 Andreas Schwab <schwab@redhat.com>
17797 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17800 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17804 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17807 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17811 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17817 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17818 sync_file_range.c with -fexceptions.
17819 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17820 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17822 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17823 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17824 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17826 sync_file_range as cancellation point
17827 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17828 now a wrapper around __call_sync_file_range with cancellation handling.
17829 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17831 function name to __call_sync_file_range.
17832 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17833 Add call_sync_file_range.
17835 2011-04-01 Andreas Schwab <schwab@redhat.com>
17837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17840 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17842 * iconv/iconv.h: Fix typo in comment.
17843 * io/fcntl.h: Likewise.
17844 * libio/stdio.h: Likewise.
17845 * posix/spawn.h: Likewise.
17846 * posix/unistd.h: Likewise.
17847 * stdlib/stdlib.h: Likewise.
17848 * time/time.h: Likewise.
17849 * wcsmbs/wchar.h: Likewise.
17851 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17852 open_by_handle): Add.
17853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17854 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17855 Augment a few comments.
17856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17861 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17864 * io/fcntl.h (AT_EMPTY_PATH): Define.
17866 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17868 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17869 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17870 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17872 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17873 * Versions.def: Add GLIBC_2.14.
17874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17877 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17881 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17883 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17886 * string/test-strncmp.c (do_page_test): New function.
17887 (check2): Likewise.
17888 (test_main): Call check2.
17889 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17891 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17894 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17895 Handle cache information in CPU leaf 4.
17896 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17898 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17901 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17902 character representation.
17903 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17905 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17907 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17908 END(__isnan) to END(__isnanf) to match function entry point/label
17909 EALIGN(__isnanf,...).
17911 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17913 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17915 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17918 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17919 copy from the symbol referenced in the relocation to initialize the
17921 Patch by Piotr Bury <pbury@goahead.com>.
17922 * elf/Makefile: Add rules to build and tst-unique3.
17923 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17924 * elf/tst-unique3.cc: New file.
17925 * elf/tst-unique3.h: New file.
17926 * elf/tst-unique3lib.cc: New file.
17927 * elf/tst-unique3lib2.cc: New file.
17929 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17931 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17933 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17934 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17937 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17939 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17940 to-be-loaded object along a path to loader is ld.so.
17942 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17943 Ulrich Drepper <drepper@gmail.com>
17945 * sysdeps/x86_64/memset.S: After aligning destination, code
17946 branches to different locations depending on the value of
17947 misalignment, when multiarch is enabled. Fix this.
17949 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17951 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17952 Set _x86_64_preferred_memory_instruction for AMD processsors.
17953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17954 Set bit_Prefer_SSE_for_memop for AMD processors.
17956 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17958 * libio/fmemopen.c (fmemopen): Optimize a bit.
17960 2011-03-03 Andreas Schwab <schwab@redhat.com>
17962 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17964 2011-03-03 Roland McGrath <roland@redhat.com>
17966 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17968 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17970 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17971 __bzero_ultra1 instead of __memset_ultra1.
17973 2011-02-23 Andreas Schwab <schwab@redhat.com>
17974 Ulrich Drepper <drepper@gmail.com>
17977 * include/link.h (struct link_map): Add l_orig_initfini.
17978 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17979 returning unsuccessfully.
17980 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17981 close of a file loaded at startup, restore the original l_initfini
17983 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17984 list, store the pointer.
17985 * elf/Makefile ($(objpfx)noload-mem): New rule.
17986 (noload-ENV): Define.
17987 (tests): Add $(objpfx)noload-mem.
17988 * elf/noload.c: Include <memcheck.h>.
17989 (main): Call mtrace. Close all opened handles.
17991 2011-02-17 Andreas Schwab <schwab@redhat.com>
17994 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17995 dependencies are missing.
17997 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17999 Fix __if_freereq crash: Unlike the generic version which uses free,
18001 * sysdeps/mach/hurd/ifreq.h: New file.
18003 2011-01-27 Petr Baudis <pasky@suse.cz>
18004 Ulrich Drepper <drepper@gmail.com>
18007 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18008 to extend_alloca().
18009 * stdio-common/bug23.c: New file.
18010 * stdio-common/Makefile (tests): Add bug23.
18012 2010-09-28 Andreas Schwab <schwab@redhat.com>
18013 Ulrich Drepper <drepper@gmail.com>
18016 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18017 before performing relro protection. At old place add assertion
18018 to make sure nothing changed.
18020 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18021 Glauber de Oliveira Costa <glommer@gmail.com>
18023 * elf/elf.h: Add new ARM TLS relocs.
18025 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18028 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18030 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18032 * sysdeps/wordsize-64/tst-writev.c: New file.
18034 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18036 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18037 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18038 insns in _dl_start to prevent a TOC reference before relocs are
18041 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18044 * Makeconfig: Remove RANLIB definition.
18045 * Makerules: Don't use RANLIB.
18046 * aclocal.m4: Remove ranlib test.
18047 * configure.in: No need to check for ranlib.
18048 * elf/rtld-Rules: Don't use RANLIB.
18050 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18054 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18055 inclusion protection macro.
18057 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18058 SIGRTMIN and SIGRTMAX and print information in that case only when
18059 SIGRTMIN is defined.
18061 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18063 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18064 arginfo fn returning -1.
18066 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18067 and thousands string is zero terminated.
18069 2011-02-03 Andreas Schwab <schwab@redhat.com>
18071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18072 sysdeps/unix/sysv/linux/bits/socket.h.
18074 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18076 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18077 (__CPU_COUNT): Remove old macros.
18078 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18079 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18080 (__CPU_ALLOC, __CPU_FREE): Add macros.
18081 (__sched_cpualloc, __sched_cpufree): Add declarations.
18083 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18085 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18086 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18087 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18088 (readdhstai): Return value of addhstaiX call.
18089 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18090 (addgrbyX): Return value returned by cache_addgr.
18091 (readdgrbyname): Return value returned by addgrbyX.
18092 (readdgrbygid): Likewise.
18093 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18094 (addpwbyX): Return value returned by cache_addpw.
18095 (readdpwbyname): Return value returned by addhstbyX.
18096 (readdpwbyuid): Likewise.
18097 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18098 (addservbyX): Return value returned by cache_addserv.
18099 (readdservbyname): Return value returned by addservbyX:
18100 (readdservbyport): Likewise.
18101 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18102 (addhstbyX): Return value returned by cache_addhst.
18103 (readdhstbyname): Return value returned by addhstbyX.
18104 (readdhstbyaddr): Likewise.
18105 (readdhstbynamev6): Likewise.
18106 (readdhstbyaddrv6): Likewise.
18107 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18108 (readdinitgroups): Return value returned by addinitgroupsX.
18109 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18110 (prune_cache): Keep track of timeout value of re-added entries.
18111 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18112 * nscd/nscd.h: Adjust prototypes of readd* functions.
18114 2011-02-04 Roland McGrath <roland@redhat.com>
18116 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18117 (nis_stats): Likewise.
18118 * nis/nis_modify.c (nis_modify): Likewise.
18119 * nis/nis_remove.c (nis_remove): Likewise.
18120 * nis/nis_add.c (nis_add): Likewise.
18122 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18124 * posix/fnmatch_loop.c: Add some consts.
18126 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18128 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18131 * config.make.in (config-cflags-novzeroupper): Define.
18132 * configure.in: Substitute libc_cv_cc_novzeroupper.
18133 * elf/Makefile (AVX-CFLAGS): Define.
18134 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18135 (CFLAGS-tst-auditmod4a.c): Likewise.
18136 (CFLAGS-tst-auditmod4b.c): Likewise.
18137 (CFLAGS-tst-auditmod6b.c): Likewise.
18138 (CFLAGS-tst-auditmod6c.c): Likewise.
18139 (CFLAGS-tst-auditmod7b.c): Likewise.
18140 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18142 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18144 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18145 function to the callback.
18146 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18148 2011-02-02 Andreas Schwab <schwab@redhat.com>
18150 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18153 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18156 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18158 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18160 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18163 * elf/Makefile: Add rules to build and run new test.
18164 * elf/tst-initorder.c: New file.
18165 * elf/tst-initorder.exp: New file.
18166 * elf/tst-initordera1.c: New file.
18167 * elf/tst-initordera2.c: New file.
18168 * elf/tst-initordera3.c: New file.
18169 * elf/tst-initordera4.c: New file.
18170 * elf/tst-initorderb1.c: New file.
18171 * elf/tst-initorderb2.c: New file.
18172 * elf/tst-order-a1.c: New file.
18173 * elf/tst-order-a2.c: New file.
18174 * elf/tst-order-a3.c: New file.
18175 * elf/tst-order-a4.c: New file.
18176 * elf/tst-order-b1.c: New file.
18177 * elf/tst-order-b2.c: New file.
18178 * elf/tst-order-main.c: New file.
18179 New test case by George Gensure <werkt0@gmail.com>.
18181 2010-10-01 Andreas Schwab <schwab@redhat.com>
18183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18184 decoding ACE if AI_CANONIDN.
18186 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18188 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18190 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18192 * version.h (RELEASE): Bump for 2.13 release.
18193 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18195 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18197 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18199 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18200 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18202 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18203 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18206 * posix/getconf.c: Update copyright year.
18207 * catgets/gencat.c: Likewise.
18208 * csu/version.c: Likewise.
18209 * debug/catchsegv.sh: Likewise.
18210 * debug/xtrace.sh: Likewise.
18211 * elf/ldconfig.c: Likewise.
18212 * elf/ldd.bash.in: Likewise.
18213 * elf/sprof.c (print_version): Likewise.
18214 * iconv/iconv_prog.c: Likewise.
18215 * iconv/iconvconfig.c: Likewise.
18216 * locale/programs/locale.c: Likewise.
18217 * locale/programs/localedef.c: Likewise.
18218 * malloc/memusage.sh: Likewise.
18219 * malloc/mtrace.pl: Likewise.
18220 * nscd/nscd.c (print_version): Likewise.
18221 * nss/getent.c: Likewise.
18223 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18224 PF_CAIF, and PF_ALG.
18225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18227 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18229 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18230 (modules-names): Use them.
18231 (ifunc-test-modules, ifunc-pie-tests): Define.
18232 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18233 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18234 (test-extras): Likewise.
18235 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18236 $(compile-command.c).
18237 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18238 (all-built-dso): Define.
18239 (check-textrel.out, check-execstack.out): Depend on it.
18241 * configure.in: Don't override --enable-multi-arch.
18243 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18246 * nscd/hstcache.c (tryagain): Define.
18247 (cache_addhst): Return tryagain not notfound for temporary errors.
18248 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18251 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18254 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18255 to make the syscall.
18256 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18259 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18260 and fall back to matching as normal character if the string ends before
18261 the matching ']' is found. This is what POSIX requires.
18262 * posix/testfnm.c: Adjust test result.
18263 * posix/globtest.sh: Adjust test result. Add new test.
18264 * posix/tst-fnmatch.input: Likewise.
18265 * posix/tst-fnmatch2.c: Add new test.
18267 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18269 * elf/Makefile (check-execstack): Revert last change. Depend on
18271 (check-execstack.h): New target.
18272 (generated): Add check-execstack.h.
18273 * elf/check-execstack.c: Include "check-execstack.h".
18274 (main): Revert last change.
18275 (handle_file): Return zero if GNU_STACK is absent and
18276 DEFAULT_STACK_PERMS doesn't include PF_X.
18278 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18280 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18281 in child fails because the descriptor is already closed.
18282 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18283 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18284 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18287 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18291 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18292 temporary buffer used to handle multi lookups locally.
18293 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18295 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18297 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18300 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18302 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18303 alignment for SSE2.
18305 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18308 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18309 characters. When rounding increased number of integer digits recompute
18311 * stdio-common/tst-grouping.c: New file.
18312 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18314 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18316 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18317 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18319 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18321 * bits/select.h: Likewise.
18323 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18325 * po/ja.po: Update from translation team.
18327 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18330 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18331 implementation just like for lxstat, fxstatat, et al.
18333 2010-12-27 Jim Meyering <meyering@redhat.com>
18336 * posix/regexec.c (build_trtable): Return failure indication upon
18337 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18339 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18342 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18343 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18345 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18348 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18351 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18352 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18354 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18356 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18357 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18358 script has SORT_BY_INIT_PRIORITY.
18359 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18360 NO_CTORS_DTORS_SECTIONS is defined.
18361 * elf/soinit.c: Likewise.
18362 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18363 NO_CTORS_DTORS_SECTIONS is defined.
18364 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18365 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18366 * sysdeps/sh/init-first.c: Likewise.
18367 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18369 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18371 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18372 always use the slow path.
18374 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18376 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18377 similar rule which adds the sysdep directories to the header search in
18378 order to pick up the correct platform stackinfo.h.
18379 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18380 perform test if it is, otherwise return successfully without testing.
18381 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18382 DEFAULT_STACK_PERMS define in stackinfo.h.
18383 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18384 defined in stackinfo.h.
18385 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18386 DEFAULT_STACK_PERMS defined in stackinfo.h.
18387 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18388 * sysdeps/ia64/stackinfo.h: Likewise.
18389 * sysdeps/s390/stackinfo.h: Likewise.
18390 * sysdeps/sh/stackinfo.h: Likewise.
18391 * sysdeps/sparc/stackinfo.h: Likewise.
18392 * sysdeps/x86_64/stackinfo.h: Likewise.
18393 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18394 PF_X for powerpc64. Retain PF_X for powerpc32.
18396 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18398 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18400 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18401 GETDENTS_64BIT_ALIGNED.
18403 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18405 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18407 2010-12-10 Andreas Schwab <schwab@redhat.com>
18409 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18412 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18413 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18415 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18416 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18418 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18421 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18424 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18426 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18428 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18430 * po/it.po: Update from translation team.
18432 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18437 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18439 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18441 2010-11-24 Andreas Schwab <schwab@redhat.com>
18443 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18445 (gaih_getanswer_slice): Likewise.
18447 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18451 2010-05-31 Petr Baudis <pasky@suse.cz>
18454 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18455 silently even in the chroot mode.
18457 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18459 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18460 last patch a bit. Pretty printing
18462 2010-05-31 Petr Baudis <pasky@suse.cz>
18465 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18466 initialization of skip_initgroups_dyn.
18468 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18470 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18471 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18473 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18475 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18477 2010-11-11 Andreas Schwab <schwab@redhat.com>
18479 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18480 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18481 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18482 ($(objpfx)tst-fnmatch-mem): New rule.
18483 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18484 * posix/tst-fnmatch.c (main): Call mtrace.
18486 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18489 Support Intel processor model 6 and model 0x2c.
18491 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18496 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18499 * string/test-strncasecmp.c (check_result): New function.
18500 (do_one_test): Use it.
18501 (check1): New function.
18502 (test_main): Use it.
18503 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18504 Support strcasecmp and strncasecmp.
18506 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18509 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18510 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18512 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18518 * sysdeps/x86_64/multiarch/bzero.S: New file.
18519 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18520 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18521 * sysdeps/x86_64/multiarch/memset.S: New file.
18522 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18524 Set bit_Prefer_SSE_for_memop for Intel processors.
18525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18527 (index_Prefer_SSE_for_memop): Define.
18528 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18530 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18532 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18533 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18535 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18538 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18539 (__x86_64_raw_data_cache_size_half): Likewise.
18540 (__x86_64_raw_shared_cache_size): Likewise.
18541 (__x86_64_raw_shared_cache_size_half): Likewise.
18543 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18544 (__x86_64_raw_data_cache_size_half): Likewise.
18545 (__x86_64_raw_shared_cache_size): Likewise.
18546 (__x86_64_raw_shared_cache_size_half): Likewise.
18547 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18548 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18549 and __x86_64_raw_shared_cache_size_half. Round
18550 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18551 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18552 to multiple of 256 bytes.
18554 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18557 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18558 of inacessible symlinks. Verify result of symlink before returning it.
18559 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18560 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18562 2010-10-28 Erich Ritz <erichritz@gmail.com>
18564 * math/math.h (isinf): Fix typo in comment.
18566 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18568 * po/da.po: Update from translation team.
18570 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18572 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18573 is added to the list.
18575 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18576 Ulrich Drepper <drepper@gmail.com>
18578 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18579 the global list here. Move code to...
18580 (_dl_add_to_namespace_list): ...here. New function.
18581 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18582 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18583 * elf/dl-load.c (lose): Don't remove the element from the list.
18584 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18585 (_dl_map_object): Likewise.
18587 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18590 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18591 into all bytes of SSE register.
18592 Patch by Richard Li <richardpku@gmail.com>.
18594 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18597 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18600 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18602 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18603 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18604 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18605 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18610 2010-10-22 Andreas Schwab <schwab@redhat.com>
18612 * include/dlfcn.h (__RTLD_SECURE): Define.
18613 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18614 mode & __RTLD_SECURE instead.
18615 (open_path): Rename preloaded parameter to secure.
18616 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18617 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18618 * elf/dl-deps.c (openaux): Likewise.
18619 * elf/rtld.c (struct map_args): Remove is_preloaded.
18620 (map_doit): Don't use it.
18621 (dl_main): Likewise.
18622 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18623 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18625 2010-09-09 Andreas Schwab <schwab@redhat.com>
18627 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18628 (sysd-rules-targets): Remove duplicates.
18629 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18630 rtld-%.$o dependency.
18632 2010-10-18 Andreas Schwab <schwab@redhat.com>
18634 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18635 _dl_map_object do it.
18637 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18639 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18640 fast fma builtins, define the macros in the C99 standard.
18641 (FP_FAST_FMAF): Likewise.
18642 (FP_FAST_FMAL): Likewise.
18643 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18645 * bits/mathdef.h: Update copyright year.
18646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18648 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18650 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18651 builtins, define the macros in the C99 standard.
18652 (FP_FAST_FMAF): Likewise.
18653 (FP_FAST_FMAL): Likewise.
18654 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18656 (FP_FAST_FMAF): Likewise.
18658 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18661 * math/libm-test.inc (fma_test): Some new testcases.
18662 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18664 y and infinite z. Do multiplication by C already in long double.
18665 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18667 y and infinite z. Do bitwise or of inexact bit into u.d.
18668 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18669 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18670 * sysdeps/i386/fpu/s_fma.S: Removed.
18671 * sysdeps/i386/fpu/s_fmal.S: Removed.
18673 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18676 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18678 computation is not scheduled after fetestexcept. Fix value
18679 of minimum denormal long double.
18681 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18684 * math/libm-test.inc (fma_test): Add some more tests.
18685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18688 2010-10-15 Andreas Schwab <schwab@redhat.com>
18690 * scripts/data/localplt-s390-linux-gnu.data: New file.
18691 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18693 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18696 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18697 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18699 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18701 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18703 if one of x and y is very large and the other is subnormal.
18704 * sysdeps/s390/fpu/s_fmaf.c: New file.
18705 * sysdeps/s390/fpu/s_fma.c: New file.
18706 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18707 * sysdeps/powerpc/fpu/s_fma.S: New file.
18708 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18709 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18710 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18712 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18715 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18717 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18718 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18719 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18720 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18721 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18722 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18725 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18728 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18729 * posix/bug-regex31.input: Add test case.
18731 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18733 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18734 * posix/bug-regex31.input: New file.
18737 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18738 (parse_sub_exp): Fix last change, use postorder.
18740 * posix/bug-regex31.c: New file.
18741 * posix/Makefile: Add rules to build and run bug-regex31.
18743 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18746 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18749 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18750 to have entries in sys_siglist.
18753 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18756 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18759 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18760 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18761 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18762 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18763 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18764 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18765 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18766 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18767 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18768 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18769 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18771 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18772 * math/ftestexcept.c (fetestexcept): Likewise.
18773 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18774 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18775 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18776 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18777 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18778 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18779 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18781 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18784 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18787 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18789 * string/bug-strstr1.c: New file.
18790 * string/Makefile: Add rules to build and run bug-strstr1.
18792 2010-10-05 Eric Blake <eblake@redhat.com>
18795 * string/str-two-way.h (two_way_long_needle): Always clear memory
18796 when skipping input due to the shift table.
18798 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18801 * malloc/mcheck.c: Handle large requests.
18804 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18805 for strncmp and strncasecmp.
18806 * string/stratcliff.c: Add tests for strcmp and strncmp.
18807 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18809 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18811 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18814 2010-09-30 Andreas Jaeger <aj@suse.de>
18816 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18817 (CGROUP_SUPER_MAGIC): Define.
18818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18819 Handle btrfs and cgroup file systems.
18820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18823 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18825 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18826 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18828 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18831 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18832 trying to locate the ELF header.
18834 2010-09-27 Andreas Schwab <schwab@redhat.com>
18837 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18838 Mask out sign-bit copies when constructing f_fsid.
18840 2010-09-24 Petr Baudis <pasky@suse.cz>
18842 * debug/stack_chk_fail_local.c: Add missing licence exception.
18843 * debug/warning-nop.c: Likewise.
18845 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18847 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18848 implementing getdents64 using getdents syscall, set d_type if
18849 __ASSUME_GETDENTS32_D_TYPE.
18851 2010-09-16 Andreas Schwab <schwab@redhat.com>
18853 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18854 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18856 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18859 * posix/unistd.h: Undo change of feature selection for ftruncate from
18862 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18864 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18867 2010-09-20 Andreas Schwab <schwab@redhat.com>
18869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18873 2010-09-14 Andreas Schwab <schwab@redhat.com>
18875 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18876 variables after CHECK_SP call.
18877 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18879 2010-09-13 Andreas Schwab <schwab@redhat.com>
18880 Ulrich Drepper <drepper@redhat.com>
18882 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18883 re-relocationg ld.so.
18884 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18885 _dl_init_paths call.
18886 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18889 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18891 * resolv/res_init.c (__res_vinit): Count the default server we added.
18893 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18894 Ulrich Drepper <drepper@redhat.com>
18897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18898 (____longjmp_chk): Use %ebx for saving value across system call.
18901 2010-09-06 Andreas Schwab <schwab@redhat.com>
18903 * manual/Makefile: Don't mix pattern rules with normal rules.
18905 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18907 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18909 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18910 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18911 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18912 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18916 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18919 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18920 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18922 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18924 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18925 * sysdeps/x86_64/addmul_1.S: Likewise.
18926 * sysdeps/x86_64/lshift.S: Likewise.
18927 * sysdeps/x86_64/mul_1.S: Likewise.
18928 * sysdeps/x86_64/rshift.S: Likewise.
18929 * sysdeps/x86_64/sub_n.S: Likewise.
18930 * sysdeps/x86_64/submul_1.S: Likewise.
18932 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18934 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18935 Define __sched_param instead of SCHED_* and sched_param when
18936 <bits/sched.h> is included with __need_schedparam defined.
18937 * bits/sched.h [__need_schedparam]
18938 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18939 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18940 (__defined_schedparam): Define to 1.
18941 (__sched_param): New structure, identical to sched_param.
18942 (__need_schedparam): Undefine.
18944 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18946 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18947 (epoll_create1): Declare.
18949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18951 2010-08-31 Andreas Schwab <schwab@redhat.com>
18954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18955 shifting retval into place.
18957 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18959 * nis/rpcsvc/nis.h: Update copyright notice.
18960 * nis/rpcsvc/nis.x: Likewise.
18961 * nis/rpcsvc/nis_callback.h: Likewise.
18962 * nis/rpcsvc/nis_callback.x: Likewise.
18963 * nis/rpcsvc/nis_object.x: Likewise.
18964 * nis/rpcsvc/nis_tags.h: Likewise.
18965 * nis/rpcsvc/yp.h: Likewise.
18966 * nis/rpcsvc/yp.x: Likewise.
18967 * nis/rpcsvc/ypupd.h: Likewise.
18968 * nis/yp_xdr.c: Likewise.
18969 * nis/ypupdate_xdr.c: Likewise.
18971 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18972 mainly the body of pmap_getport. Add parameters to specify timeouts.
18973 (pmap_getport): Use __libc_rpc_getport.
18974 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18975 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18976 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18978 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18983 2010-08-27 Roland McGrath <roland@redhat.com>
18985 * sysdeps/i386/i686/multiarch/Makefile
18986 (CFLAGS-varshift.c): New variable.
18988 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18990 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18991 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18995 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18997 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18999 * sysdeps/x86_64/strlen.S: Unroll the loop.
19000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19001 strlen-sse2 strlen-sse2-bsf.
19002 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19003 __strlen_no_bsf if bit_Slow_BSF is set.
19004 (__strlen_sse42): Removed.
19005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19006 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19008 2010-08-25 Roland McGrath <roland@redhat.com>
19010 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19011 * sysdeps/x86_64/multiarch/varshift.c: New file.
19012 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19013 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19014 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19017 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19020 strlen-sse2 strlen-sse2-bsf.
19021 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19022 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19023 (__strlen_sse2): Removed.
19024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19027 bit_Slow_BSF for Atom.
19028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19029 (index_Slow_BSF): Define.
19030 (HAS_SLOW_BSF): Define.
19032 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19035 * resolv/res_init.c (__res_vinit): When no server address at all
19036 is given default to loopback.
19038 2010-08-24 Roland McGrath <roland@redhat.com>
19040 * configure.in: Remove config-name.h generation.
19041 * configure: Regenerated.
19042 * config-name.in: File removed.
19043 * scripts/config-uname.sh: New file.
19044 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19045 ($(objdir)config-name.h): New target.
19047 * sunrpc/rpc_parse.h: Avoid nested comment.
19049 2010-08-24 Richard Henderson <rth@redhat.com>
19050 Ulrich Drepper <drepper@redhat.com>
19051 H.J. Lu <hongjiu.lu@intel.com>
19053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19055 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19056 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19057 _mm_alignr_epi8 with _mm_loadu_si128.
19058 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19059 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19060 (__m128i_shift_right): Removed.
19061 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19062 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19063 * sysdeps/x86_64/multiarch/varshift.h: New file.
19064 * sysdeps/x86_64/multiarch/varshift.S: New file.
19066 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19068 * configure.in: Move assembler checks to before sysdep dir checking.
19070 2010-08-20 Petr Baudis <pasky@suse.cz>
19072 * LICENSES: Sync the sunrpc license.
19074 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19076 * sunrpc/auth_des.c: Update copyright notice once again.
19077 * sunrpc/auth_none.c: Likewise.
19078 * sunrpc/auth_unix.c: Likewise.
19079 * sunrpc/authdes_prot.c: Likewise.
19080 * sunrpc/authuxprot.c: Likewise.
19081 * sunrpc/bindrsvprt.c: Likewise.
19082 * sunrpc/clnt_gen.c: Likewise.
19083 * sunrpc/clnt_perr.c: Likewise.
19084 * sunrpc/clnt_raw.c: Likewise.
19085 * sunrpc/clnt_simp.c: Likewise.
19086 * sunrpc/clnt_tcp.c: Likewise.
19087 * sunrpc/clnt_udp.c: Likewise.
19088 * sunrpc/clnt_unix.c: Likewise.
19089 * sunrpc/des_crypt.c: Likewise.
19090 * sunrpc/des_soft.c: Likewise.
19091 * sunrpc/get_myaddr.c: Likewise.
19092 * sunrpc/getrpcport.c: Likewise.
19093 * sunrpc/key_call.c: Likewise.
19094 * sunrpc/key_prot.c: Likewise.
19095 * sunrpc/openchild.c: Likewise.
19096 * sunrpc/pm_getmaps.c: Likewise.
19097 * sunrpc/pm_getport.c: Likewise.
19098 * sunrpc/pmap_clnt.c: Likewise.
19099 * sunrpc/pmap_prot.c: Likewise.
19100 * sunrpc/pmap_prot2.c: Likewise.
19101 * sunrpc/pmap_rmt.c: Likewise.
19102 * sunrpc/rpc/auth.h: Likewise.
19103 * sunrpc/rpc/auth_unix.h: Likewise.
19104 * sunrpc/rpc/clnt.h: Likewise.
19105 * sunrpc/rpc/des_crypt.h: Likewise.
19106 * sunrpc/rpc/key_prot.h: Likewise.
19107 * sunrpc/rpc/netdb.h: Likewise.
19108 * sunrpc/rpc/pmap_clnt.h: Likewise.
19109 * sunrpc/rpc/pmap_prot.h: Likewise.
19110 * sunrpc/rpc/pmap_rmt.h: Likewise.
19111 * sunrpc/rpc/rpc.h: Likewise.
19112 * sunrpc/rpc/rpc_des.h: Likewise.
19113 * sunrpc/rpc/rpc_msg.h: Likewise.
19114 * sunrpc/rpc/svc.h: Likewise.
19115 * sunrpc/rpc/svc_auth.h: Likewise.
19116 * sunrpc/rpc/types.h: Likewise.
19117 * sunrpc/rpc/xdr.h: Likewise.
19118 * sunrpc/rpc_clntout.c: Likewise.
19119 * sunrpc/rpc_cmsg.c: Likewise.
19120 * sunrpc/rpc_common.c: Likewise.
19121 * sunrpc/rpc_cout.c: Likewise.
19122 * sunrpc/rpc_dtable.c: Likewise.
19123 * sunrpc/rpc_hout.c: Likewise.
19124 * sunrpc/rpc_main.c: Likewise.
19125 * sunrpc/rpc_parse.c: Likewise.
19126 * sunrpc/rpc_parse.h: Likewise.
19127 * sunrpc/rpc_prot.c: Likewise.
19128 * sunrpc/rpc_sample.c: Likewise.
19129 * sunrpc/rpc_scan.c: Likewise.
19130 * sunrpc/rpc_scan.h: Likewise.
19131 * sunrpc/rpc_svcout.c: Likewise.
19132 * sunrpc/rpc_tblout.c: Likewise.
19133 * sunrpc/rpc_util.c: Likewise.
19134 * sunrpc/rpc_util.h: Likewise.
19135 * sunrpc/rpcinfo.c: Likewise.
19136 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19137 * sunrpc/rpcsvc/key_prot.x: Likewise.
19138 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19139 * sunrpc/rpcsvc/mount.x: Likewise.
19140 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19141 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19142 * sunrpc/rpcsvc/rex.x: Likewise.
19143 * sunrpc/rpcsvc/rstat.x: Likewise.
19144 * sunrpc/rpcsvc/rusers.x: Likewise.
19145 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19146 * sunrpc/rpcsvc/spray.x: Likewise.
19147 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19148 * sunrpc/rtime.c: Likewise.
19149 * sunrpc/svc.c: Likewise.
19150 * sunrpc/svc_auth.c: Likewise.
19151 * sunrpc/svc_authux.c: Likewise.
19152 * sunrpc/svc_raw.c: Likewise.
19153 * sunrpc/svc_run.c: Likewise.
19154 * sunrpc/svc_simple.c: Likewise.
19155 * sunrpc/svc_tcp.c: Likewise.
19156 * sunrpc/svc_udp.c: Likewise.
19157 * sunrpc/svc_unix.c: Likewise.
19158 * sunrpc/svcauth_des.c: Likewise.
19159 * sunrpc/xcrypt.c: Likewise.
19160 * sunrpc/xdr.c: Likewise.
19161 * sunrpc/xdr_array.c: Likewise.
19162 * sunrpc/xdr_float.c: Likewise.
19163 * sunrpc/xdr_mem.c: Likewise.
19164 * sunrpc/xdr_rec.c: Likewise.
19165 * sunrpc/xdr_ref.c: Likewise.
19166 * sunrpc/xdr_sizeof.c: Likewise.
19167 * sunrpc/xdr_stdio.c: Likewise.
19169 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19172 2010-08-19 Andreas Schwab <schwab@redhat.com>
19174 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19176 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19178 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19179 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19180 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19181 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19182 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19183 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19184 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19185 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19186 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19187 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19188 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19189 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19190 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19191 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19193 2010-07-26 Anton Blanchard <anton@samba.org>
19195 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19196 * malloc/arena.c (heap_trim): Likewise.
19198 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19200 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19203 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19205 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19207 * sysdeps/i386/elf/Makefile: New file.
19209 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19211 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19212 from fanotify_init.
19213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19216 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19218 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19220 * sysdeps/multiarch/strcmp.S: Likewise.
19222 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19224 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19225 strncase_l-nonascii.
19226 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19227 Add strncase_l-ssse3.
19228 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19229 * sysdeps/x86_64/strcmp.S: Likewise.
19230 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19231 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19232 * sysdeps/x86_64/strncase.S: New file.
19233 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19234 * sysdeps/x86_64/strncase_l.S: New file.
19235 * string/Makefile (strop-tests): Add strncasecmp.
19236 * string/test-strncasecmp.c: New file.
19238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19241 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19242 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19244 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19246 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19248 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19250 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19252 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19254 2010-05-01 Alan Modra <amodra@gmail.com>
19256 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19257 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19258 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19259 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19260 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19261 tidying. Don't tail-call __sigjmp_save for static lib.
19262 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19264 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19265 (CALL_MCOUNT): Add eh info, and nop after bl.
19266 (TAIL_CALL_SYSCALL_ERROR): New macro.
19267 (PSEUDO_RET): Use it.
19268 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19269 Correct save location of integer regs and cr.
19270 (_dl_profile_resolve): Correct cr save location. Delete nops
19271 after bl when SHARED. Reduce cfi size a little by better
19272 placement of cfi directives.
19273 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19274 make a stack frame. Instead use parm save area as a temp.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19276 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19278 Don't make a stack frame for parent, use parm save area.
19279 Increase child stack frame to 112 bytes. Don't save unused reg,
19280 and adjust reg usage. Set up cfi on error recovery and
19281 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19283 (__makecontext): Add dummy nop after jump to exit.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19285 Use correct parm save area and cr save, reduce stack frame.
19286 Correct cfi for possible PSEUDO_RET frame setup.
19287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19288 Branch to local label emitted by PSEUDO_RET rather than
19291 2010-08-12 Andreas Schwab <schwab@redhat.com>
19294 * locale/programs/locale.c (print_assignment): New function.
19295 (show_locale_vars): Use it.
19297 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19299 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19301 (struct statfs64): Likewise.
19302 (_STATFS_F_FLAGS): Define.
19303 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19305 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19306 (ST_VALID): Define locally.
19307 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19308 __statvfs_getflags, use the provided value.
19309 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19310 __ASSUME_STATFS_F_FLAGS.
19312 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19314 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19315 Add sys/fanotify.h.
19316 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19317 fanotify_mask for GLIBC_2.13.
19318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19319 fanotify_init and fanotify_mark.
19320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19321 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19323 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19325 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19326 prlimit64 for GLIBC_2.13.
19327 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19333 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19337 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19340 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19341 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19343 * nss/Makefile: Add rules to build and run tst-nss-test1.
19344 * shlib-versions: Add entry for libnss_test1.
19345 * nss/nss_test1.c: New file.
19346 * nss/tst-nss-test1.c: New file.
19348 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19349 (__nss_configure_lookup): Set appropriate entry in
19350 __nss_configure_lookup to true.
19351 * nss/nsswitch.h: Define enum with indeces of databases in
19352 databases and __nss_database_custom arrays. Declare
19353 __nss_database_custom.
19354 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19355 to avoid using nscd when custom rules are installed.
19356 * nss/getXXbyYY_r.c: Likewise.
19357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19359 * nss/nss_files/files-parse.c: Whitespace fixes.
19361 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19364 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19365 * posix/fnmatch_loop.c: Likewise.
19367 2010-07-17 Andi Kleen <ak@linux.intel.com>
19369 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19370 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19371 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19372 * Versions.def [GLIBC_2.13]: Add.
19374 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19376 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19377 Also fail if tpwd after pwuid call is NULL.
19379 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19381 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19382 when converting to ms.
19384 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19386 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19387 EOPNOTSUPP errors with ENOTTY.
19388 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19389 EOPNOTSUPP errors with ENOTTY.
19391 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19393 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19394 Add strcasecmp_l-ssse3.
19395 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19397 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19398 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19399 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19401 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19403 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19405 * string/Makefile (strop-tests): Add strcasecmp.
19406 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19407 strcasecmp_l-nonascii.
19408 (gen-as-const-headers): Add locale-defines.sym.
19409 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19410 * sysdeps/x86_64/strcasecmp.S: New file.
19411 * sysdeps/x86_64/strcasecmp_l.S: New file.
19412 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19413 * sysdeps/x86_64/locale-defines.sym: New file.
19414 * string/test-strcasecmp.c: New file.
19416 * string/test-strcasestr.c: Test both ends of the range of characters.
19417 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19419 2010-07-29 Roland McGrath <roland@redhat.com>
19422 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19424 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19426 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19429 2010-07-27 Andreas Schwab <schwab@redhat.com>
19431 * manual/memory.texi (Malloc Tunable Parameters): Document
19434 2010-07-26 Roland McGrath <roland@redhat.com>
19437 * configure.in (-fgnu89-inline check): Set and substitute
19438 gnu89_inline, not libc_cv_gnu89_inline.
19439 * configure: Regenerated.
19440 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19442 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19444 * string/test-strnlen.c: New file.
19445 * string/Makefile (strop-tests): Add strnlen.
19446 * string/tester.c (test_strnlen): Add a few more test cases.
19447 * string/tst-strlen.c: Better error reporting.
19449 * sysdeps/x86_64/strnlen.S: New file.
19451 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19454 lower-latency instructions.
19456 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19458 * string/test-strcasestr.c: New file.
19459 * string/test-strstr.c: New file.
19460 * string/Makefile (strop-tests): Add strstr and strcasestr.
19461 * string/str-two-way.h: Don't undefine MAX.
19462 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19464 2010-07-21 Andreas Schwab <schwab@redhat.com>
19466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19467 strcasestr-nonascii.
19468 (CFLAGS-strcasestr-nonascii.c): Define.
19469 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19470 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19471 Remove unused attribute.
19473 2010-07-20 Roland McGrath <roland@redhat.com>
19475 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19476 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19477 ld.so.cache was broken. With it, there is no way to disable dsocaps
19478 like LD_HWCAP_MASK can disable hwcaps.
19480 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19482 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19484 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19486 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19487 call in strcasestr.
19488 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19489 __strcasestr_sse42_nonascii.
19490 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19491 strcasestr-nonascii.c.
19492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19494 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19499 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19501 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19503 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19506 2010-07-06 Andreas Schwab <schwab@redhat.com>
19509 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19512 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19515 _PC_PIPE_BUF using F_GETPIPE_SZ.
19517 2010-07-05 Roland McGrath <roland@redhat.com>
19519 * manual/arith.texi (Rounding Functions): Fix rint description
19520 implicit in round description.
19522 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19524 * elf/Makefile: Fix linking for a few tests to make recent linker
19527 2010-06-30 Andreas Schwab <schwab@redhat.com>
19529 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19530 $(common-objpfx)libc_nonshared.a.
19532 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19534 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19535 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19536 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19537 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19538 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19539 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19540 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19541 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19556 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19557 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19558 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19559 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19560 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19561 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19562 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19563 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19564 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19565 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19566 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19567 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19583 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19585 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19586 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19587 * string/memmove.c (memmove): Renamed to ...
19588 (MEMMOVE): ...this. Default to memmove.
19589 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19590 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19593 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19594 mempcpy-ssse3-back memmove-ssse3-back.
19595 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19596 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19597 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19598 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19599 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19600 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19601 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19602 * sysdeps/x86_64/multiarch/memmove.c: New file.
19603 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19604 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19605 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19606 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19607 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19610 (index_Fast_Copy_Backward): Define.
19611 (HAS_ARCH_FEATURE): Define.
19612 (HAS_FAST_REP_STRING): Define.
19613 (HAS_FAST_COPY_BACKWARD): Define.
19615 2010-06-21 Andreas Schwab <schwab@redhat.com>
19617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19618 Restore proper fallback handling.
19620 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19623 * posix/group_member.c (__group_member): Correct checking loop.
19625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19626 OOM in getpwuid_r correctly. Return error number when the caller
19627 should return, otherwise -1.
19628 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19629 call returning > 0 value.
19630 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19632 2010-06-07 Andreas Schwab <schwab@redhat.com>
19634 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19635 libc_nonshared.a from targets in modules-names.
19637 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19639 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19642 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19645 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19649 2010-06-02 Andreas Schwab <schwab@redhat.com>
19651 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19653 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19655 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19657 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19658 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19664 2010-06-14 Roland McGrath <roland@redhat.com>
19666 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19668 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19670 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19671 __REDIRECT followed by __THROW.
19672 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19673 * posix/getopt.h (getopt): Likewise.
19675 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19677 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19678 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19679 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19681 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19682 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19684 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19686 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19688 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19692 Properly check family and model.
19694 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19696 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19698 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19700 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19702 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19704 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19707 2010-05-19 Andreas Schwab <schwab@redhat.com>
19709 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19712 2010-05-21 Andreas Schwab <schwab@redhat.com>
19714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19715 and internal_recvmmsg.
19716 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19717 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19718 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19719 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19721 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19722 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19723 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19725 2010-05-20 Andreas Schwab <schwab@redhat.com>
19727 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19729 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19731 POWER7 optimizations.
19732 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19733 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19735 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19737 * version.h: Update for 2.13 development version.
19739 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19741 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19742 exceptions. Return 0.
19744 2010-05-07 Roland McGrath <roland@redhat.com>
19746 * elf/ldconfig.c (main): Add a const.
19748 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19750 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19751 (args_options): Add no-idn option.
19752 (ahosts_keys_int): Add idn_flags to ai_flags.
19753 (parse_option): Handle 'i' option to clear idn_flags.
19755 * malloc/malloc.c (_int_free): Possible race in the most recently
19756 added check. Only act on the data if no current modification
19759 See ChangeLog.17 for earlier changes.