1 2012-10-01 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4 * csu/init-first.c: ... here.
5 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9 * sysdeps/i386/init-first.c: File removed.
10 * sysdeps/sh/init-first.c: File removed.
12 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16 if x * y might underflow to zero and z is zero.
17 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19 * math/libm-test.inc (min_subnorm_value): New variable.
20 (fma_test): Add more tests.
21 (fma_test_towardzero): Likewise.
22 (fma_test_downward): Likewise
23 (fma_test_upward): Likewise.
24 (initialize): Set min_subnorm_value.
26 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32 mode for addition resulting in exact zero.
33 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38 * math/libm-test.inc (fma_test): Add more tests.
39 (fma_test_towardzero): New function.
40 (fma_test_downward): Likewise.
41 (fma_test_upward): Likewise.
42 (main): Call the new functions.
44 2012-09-28 David S. Miller <davem@davemloft.net>
46 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48 2012-09-28 Roland McGrath <roland@hack.frob.com>
50 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53 * sysdeps/gnu/_G_config.h: Moved to ...
54 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55 * sysdeps/mach/hurd/_G_config.h: Moved to ...
56 * sysdeps/generic/_G_config.h: ... here.
58 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
60 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63 Conditionalize target on [libnss_test1.so-version].
65 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68 (elfobjdir): Move out of conditionals.
70 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72 (__nss_lookup_function): Conditionalize label remove_from_tree on
73 [!DO_STATIC_NSS || SHARED], matching its only use.
75 2012-09-28 David S. Miller <davem@davemloft.net>
77 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
78 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
80 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
82 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
83 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
84 when HWCAP_SPARC_CRYPTO is present.
86 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
88 * io/tst-mknodat.c: Create a FIFO instead of a socket.
90 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
93 * stdio-common/vfprintf.c (process_string_arg): Revert
96 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
98 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
100 * stdio-common/tst-sprintf.c: Include <locale.h>
101 (main): Test sprintf's handling of incomplete multibyte
104 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
106 * elf/dl-runtime.c (VERSYMIDX): Removed.
107 * elf/dl-version.c (VERSYMIDX): Likewise.
108 * elf/do-rel.h (VERSYMIDX): Likewise.
110 * elf/dynamic-link.h (VERSYMIDX): Likewise.
111 * elf/rtld.c (VALIDX): Likewise.
113 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
114 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
115 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
116 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
120 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
122 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
124 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
127 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
129 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
130 addresses are in the same scope as 192.0.2/24.
131 * posix/gai.conf: Document new scope table defaults.
133 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
137 for ftell. Compute offsets from write pointers instead.
138 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
140 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
143 * libio/Makefile (tests): New test case tst-fseek.
144 * libio/tst-fseek.c: New test case to verify that fseek/ftell
145 combination works in wide mode.
146 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
147 state when the external buffer state changes.
149 2012-09-27 David S. Miller <davem@davemloft.net>
152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
153 pass reloc->r_addend in as the 'high' argument to
154 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
158 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
160 * rt/tst-aio2.c: Include <pthread.h>.
161 * rt/tst-aio3.c: Likewise.
163 2012-09-27 Steve Ellcey <sellcey@mips.com>
165 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
167 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
169 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
170 contents on [SHARED].
172 2012-09-26 Marek Polacek <polacek@redhat.com>
176 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
177 for C++ and GCC <4.3 as well as for non GCC compilers.
179 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
183 2012-09-25 Roland McGrath <roland@hack.frob.com>
185 * Makefile.in (all, install): Declare with .PHONY.
186 Reported by Michael Hope <michael.hope@linaro.org>.
188 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
190 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
191 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
193 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
195 (sydep_routines): Add the new and the internal functions.
196 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
197 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
199 (GLIBC_2.17): Add the new function.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
201 (GLIBC_2.17): Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
203 (GLIBC_2.17): Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
205 (GLIBC_2.17): Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
208 2012-09-25 Alan Modra <amodra@gmail.com>
210 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
211 Add release barrier before setting once_control to say
212 initialisation is done. Add hints on lwarx. Use macro in
214 (clear_once_control): Add release barrier.
216 2012-09-25 Joseph Myers <joseph@codesourcery.com>
219 * math/s_clog.c (__clog): Handle more values close to |z| = 1
221 * math/s_clog10.c (__clog10): Likewise.
222 * math/s_clog10f.c (__clog10f): Likewise.
223 * math/s_clog10l.c (__clog10l): Likewise.
224 * math/s_clogf.c (__clogf): Likewise.
225 * math/s_clogl.c (__clogl): Likewise.
226 * math/Makefile (libm-calls): Add x2y2m1.
227 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
228 (__x2y2m1): Likewise.
229 (__x2y2m1l): Likewise.
230 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
231 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
233 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
234 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
235 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
236 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
237 * sysdeps/i386/fpu/libm-test-ulps: Update.
238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
242 int as type of variable DEPTH.
243 (glob): Use size_t instead of int as type of variables NEWCOUNT
246 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
248 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
250 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
251 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
252 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
253 macros for using routine as __sincosf_ia32.
254 Use macro for function declaration and weak_alias.
255 * sysdeps/i386/fpu/libm-test-ulps: Update.
257 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
260 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
262 * math/s_cexpf.c (__cexpf): Likewise.
263 * math/s_csinf.c (__csinf): Likewise.
264 * math/s_csinhf.c (__csinhf): Likewise.
265 * math/s_ctanf.c (__ctanf): Likewise.
266 * math/s_ctanhf.c (__ctanhf): Likewise.
267 * math/s_ccosh.c (__ccoshf): Likewise.
268 * math/s_cexp.c (__cexpl): Likewise.
269 * math/s_csin.c (__csin): Likewise.
270 * math/s_csinh.c (__csinh): Likewise.
271 * math/s_ctan.c (__ctan): Likewise.
272 * math/s_ctanh.c (ctanh): Likewise.
273 * math/s_ccoshl.c (__ccoshl): Likewise.
274 * math/s_cexpl.c (__cexpl): Likewise.
275 * math/s_csinl.c (__csinl): Likewise.
276 * math/s_csinhl.c (__csinhl): Likewise.
277 * math/s_ctanl.c (__ctanl): Likewise.
278 * math/s_ctanhl.c (__ctanhl): Likewise.
280 2012-09-25 Joseph Myers <joseph@codesourcery.com>
282 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
283 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
284 (_IO_off_t): Define to __off_t, not _G_off_t.
285 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
286 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
287 (_IO_wint_t): Define to wint_t, not _G_wint_t.
288 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
289 type of __dummy and __dummy2 fields.
290 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
291 (_G_ssize_t): Likewise.
292 (_G_off_t): Likewise.
293 (_G_pid_t): Likewise.
294 (_G_uid_t): Likewise.
295 (_G_wchar_t): Likewise.
296 (_G_wint_t): Likewise.
297 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
298 (_G_ssize_t): Likewise.
299 (_G_off_t): Likewise.
300 (_G_pid_t): Likewise.
301 (_G_uid_t): Likewise.
302 (_G_wchar_t): Likewise.
303 (_G_wint_t): Likewise.
304 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
305 (_G_ssize_t): Likewise.
306 (_G_off_t): Likewise.
307 (_G_pid_t): Likewise.
308 (_G_uid_t): Likewise.
309 (_G_wchar_t): Likewise.
310 (_G_wint_t): Likewise.
312 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
314 * malloc/arena.c: Include malloc-sysdep.h.
315 (shrink_heap): Use check_may_shrink_heap to decide if madvise
316 is sufficient to shrink the heap or an unmap is needed.
317 * sysdeps/generic/malloc-sysdep.h: New file. Define
318 new function check_may_shrink_heap.
319 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
320 new function check_may_shrink_heap.
322 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
324 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
327 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
329 * catgets/test-gencat.sh: Add "set -e".
330 * elf/tst-pathopt.sh: Likewise.
331 * grp/tst_fgetgrent.sh: Likewise.
332 * iconvdata/run-iconv-test.sh: Likewise.
333 * intl/tst-gettext.sh: Likewise.
334 * intl/tst-gettext2.sh: Likewise.
335 * intl/tst-gettext4.sh: Likewise.
336 * intl/tst-gettext6.sh: Likewise.
337 * intl/tst-translit.sh: Likewise.
338 * io/ftwtest-sh: Likewise.
339 * libio/test-freopen.sh: Likewise.
340 * malloc/tst-mtrace.sh: Likewise.
341 * posix/globtest.sh: Likewise.
342 * posix/tst-getconf.sh: Likewise.
343 * posix/wordexp-tst.sh: Likewise.
344 * stdio-common/tst-printf.sh: Likewise.
345 * stdio-common/tst-unbputc.sh: Likewise.
346 * stdlib/tst-fmtmsg.sh: Likewise.
347 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
348 * catgets/Makefile: Do not specify -e option when running
349 testsuite shell scripts.
350 * elf/Makefile: Likewise.
351 * grp/Makefile: Likewise.
352 * iconvdata/Makefile: Likewise.
353 * intl/Makefile: Likewise.
354 * io/Makefile: Likewise.
355 * libio/Makefile: Likewise.
356 * malloc/Makefile: Likewise.
357 * posix/Makefile: Likewise.
358 * stdio-common/Makefile: Likewise.
359 * stdlib/Makefile: Likewise.
360 * sysdeps/x86_64/Makefile: Likewise.
362 * io/ftwtest-sh: Add copyright header.
363 * posix/globtest.sh: Likewise.
364 * posix/tst-getconf.sh: Likewise.
365 * posix/wordexp-tst.sh: Likewise.
366 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
368 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
371 * Makeconfig (+link): Defined as $(+link-static) if
372 $(build-shared) isn't yes.
373 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
375 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
377 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
380 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
381 new chunk size with MALLOC_ALIGN_MASK.
383 2012-09-24 Joseph Myers <joseph@codesourcery.com>
386 * stdio-common/printf_fphex.c: Include <stdbool.h> and
388 (__printf_fphex): Determine rounding using get_rounding_mode and
390 * stdio-common/tst-printf-round.c (struct hex_test): New
392 (hex_tests): New variable.
393 (test_hex_in_one_mode): New function.
394 (do_test): Also run tests for hex float output.
396 2012-09-21 Joseph Myers <joseph@codesourcery.com>
398 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
399 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
400 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
401 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
402 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
403 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
404 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
405 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
407 2012-09-20 Joseph Myers <joseph@codesourcery.com>
409 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
410 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
411 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
412 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
414 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
417 * elf/rtld.c (dl_main): Limit the check for self loading to normal
419 * elf/tst-rtld-load-self.sh: New test.
420 * elf/Makefile: Run it.
422 2012-09-18 Joseph Myers <joseph@codesourcery.com>
424 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
425 (tst-writev-ENV): Remove.
426 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
428 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
430 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
432 2012-09-17 Joseph Myers <joseph@codesourcery.com>
434 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
436 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
438 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
439 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
440 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
443 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
446 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
447 * config.make.in (have-cpp-asm-debuginfo): Removed.
448 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
449 * configure: Regenerated.
451 2012-09-14 Joseph Myers <joseph@codesourcery.com>
454 * stdio-common/printf_fp.c: Include <stdbool.h> and
456 (___printf_fp): Determine rounding using get_rounding_mode and
458 * stdio-common/tst-printf-round.c: New file.
459 * stdio-common/Makefile (tests): Add tst-printf-round.
460 (link-libm): New variable.
461 ($(objpfx)tst-printf-round): Depend in $(link-libm).
463 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
466 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
467 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
469 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
472 2012-09-13 Joseph Myers <joseph@codesourcery.com>
474 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
475 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
476 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
477 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
479 2012-09-12 Joseph Myers <joseph@codesourcery.com>
482 * include/rounding-mode.h: New file.
483 * sysdeps/generic/get-rounding-mode.h: Likewise.
484 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
485 * stdlib/strtod_l.c: Include <rounding-mode.h>.
486 (MAX_VALUE): New macro.
487 (MIN_VALUE): Likewise.
488 (overflow_value): New function.
489 (underflow_value): Likewise.
490 (round_and_return): Use overflow_value and underflow_value to
491 determine return values in overflow and underflow cases. Use
492 round_away to determine rounding depending on rounding mode.
493 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
494 determine return values in overflow and underflow cases.
495 * stdlib/tst-strtod-round.c: Include <fenv.h>.
496 (struct test_results): New structure.
497 (struct test): Use struct test_results to store expected results
498 for all rounding modes.
499 (TEST): Include expected results for all rounding modes.
500 (test_in_one_mode): New function.
501 (do_test): Use test_in_one_mode to compute and check results.
502 Check results for all rounding modes.
503 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
506 2012-12-09 Allan McRae <allan@archlinux.org>
508 * sysdeps/i386/fpu/libm-test-ulps: Update
510 2012-09-11 Joseph Myers <joseph@codesourcery.com>
512 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
513 (_G_int32_t): Likewise.
514 (_G_uint16_t): Likewise.
515 (_G_uint32_t): Likewise.
516 (_G_HAVE_BOOL): Likewise.
517 (_G_HAVE_ATEXIT): Likewise.
518 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
519 (_G_HAVE_IO_FILE_OPEN): Likewise.
520 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
521 (_G_int32_t): Likewise.
522 (_G_uint16_t): Likewise.
523 (_G_uint32_t): Likewise.
524 (_G_HAVE_BOOL): Likewise.
525 (_G_HAVE_ATEXIT): Likewise.
526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
527 (_G_HAVE_IO_FILE_OPEN): Likewise.
528 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
529 (_G_int32_t): Likewise.
530 (_G_uint16_t): Likewise.
531 (_G_uint32_t): Likewise.
532 (_G_HAVE_BOOL): Likewise.
533 (_G_HAVE_ATEXIT): Likewise.
534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
535 (_G_HAVE_IO_FILE_OPEN): Likewise.
537 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
539 * csu/libc-tls.c: Update copyright years.
541 2012-09-10 Joseph Myers <joseph@codesourcery.com>
543 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
544 [!_G_USING_THUNKS]: Remove conditional code.
545 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
546 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
548 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
549 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
550 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
551 (_G_VTABLE_LABEL_PREFIX): Likewise.
552 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
553 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
555 (_G_VTABLE_LABEL_PREFIX): Likewise.
556 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
557 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
558 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
559 (_G_VTABLE_LABEL_PREFIX): Likewise.
560 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
562 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
564 * libio/Makefile: Include ../Makeconfig before tests.
565 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
566 only if $(build-shared) is yes.
568 * iconv/gconv_db.c: Update copyright years.
570 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
572 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
573 unwind info if defined PIC. Fix special cases description.
574 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
576 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
578 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
580 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
582 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
584 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
587 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
588 (LDLIBS-tst-chk4): This.
589 (LDFLAGS-tst-chk5): Renamed to ...
590 (LDLIBS-tst-chk5): This.
591 (LDFLAGS-tst-chk6): Renamed to ...
592 (LDLIBS-tst-chk6): This.
593 (LDFLAGS-tst-lfschk4): Renamed to ...
594 (LDLIBS-tst-lfschk4): This.
595 (LDFLAGS-tst-lfschk5): Renamed to ...
596 (LDLIBS-tst-lfschk5): This.
597 (LDFLAGS-tst-lfschk6): Renamed to ...
598 (LDLIBS-tst-lfschk6): This.
600 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
601 on $(common-objpfx)soversions.mk.
603 2012-09-07 Joseph Myers <joseph@codesourcery.com>
606 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
609 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
611 * malloc/arena.c (arena_get_retry): New function that gets
612 another arena for the caller to try its request on.
613 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
614 current arena cannot fulfill the request.
615 (__libc_memalign): Likewise.
616 (__libc_memalign): Likewise.
617 (__libc_pvalloc): Likewise.
618 (__libc_calloc): Likewise.
620 2012-09-05 John Tobey <john.tobey@gmail.com>
623 * manual/arith.texi (Operations on Complex): Fix description
626 2012-09-06 Joseph Myers <joseph@codesourcery.com>
629 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
633 * manual/memory.texi (Memory): Make order of menu items match
636 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
638 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
639 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
640 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
642 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
644 * csu/libc-tls.c (static_dtv): Renamed to ...
645 (_dl_static_dtv): This. Make it global.
646 (_dl_initial_dtv): Removed.
647 (__libc_setup_tls): Updated.
648 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
649 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
652 2012-09-06 Petr Machata <pmachata@redhat.com>
654 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
655 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
656 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
657 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
659 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
662 * csu/libc-tls.c (_dl_initial_dtv): New variable.
663 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
666 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
669 * Makeconfig (link-static-before-libc): Replace $(+prector)
671 (link-static-after-libc): Replace $(+postctor) with
673 (link-bounded): Replace $(+prector)/$(+postctor) with
674 $(+prectorT)/$(+postctorT).
675 (+prectorT): New macro.
676 (+postctorT): Likewise.
678 2012-09-06 Joseph Myers <joseph@codesourcery.com>
680 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
681 (round_str): Handle values above the maximum for IBM long double
683 * stdlib/tst-strtod-round.c (tests): Regenerated.
685 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
687 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
689 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
690 zarch_nohighgprs around the zarch optimized routines.
691 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
692 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
696 2012-09-05 David S. Miller <davem@davemloft.net>
698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
700 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
701 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
702 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
703 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
706 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
708 * malloc/arena.c: Fold copyright years.
709 * malloc/mcheck.c, malloc/memusage.c: Likewise.
711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
713 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
715 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
717 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
722 change internal state upon failure.
724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
726 * malloc/mcheck.c (mcheck_check_all): Fix typo.
727 * malloc/memusage.c (mmap): Likewise.
728 (mmap64, mremap): Likewise. Adjust name in comment.
730 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
732 * libio/fileops.c: Fix typos in comments.
733 * libio/oldfileops.c: Likewise.
734 * libio/wfileops.c: Likewise.
736 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
739 * malloc/Makefile (tests): Add tst-malloc-usable test case.
740 (tst-malloc-usable-ENV): Set environment for test case.
741 * malloc/hooks.c (malloc_check_get_size): New function to get
743 * malloc/malloc.c (musable): Use malloc_check_get_size.
744 * malloc/tst-malloc-usable.c: New test case.
746 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
748 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
750 2012-09-05 Allan McRae <allan@archlinux.org>
753 * configure.in (CXX_SYSINCLUDES): Use compiler output to
754 determine header location.
755 * configure: Regenerated.
757 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
759 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
761 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
762 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
766 2012-09-04 David S. Miller <davem@davemloft.net>
768 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
769 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
770 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
772 2012-09-04 Florian Weimer <fweimer@redhat.com>
774 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
777 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
779 2012-09-04 Joseph Myers <joseph@codesourcery.com>
782 * libio/iogetdelim.c: Include <limits.h>.
783 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
784 + len + 1 would overflow.
786 2012-09-03 Andreas Jaeger <aj@suse.de>
788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
789 * sysdeps/i386/fpu/libm-test-ulps: Update.
791 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
793 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
794 Add s_sinf-sse2, s_conf-sse2.
796 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
797 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
798 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
799 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
801 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
802 for using routine as __sinf_ia32.
803 Use macro for function declaration and weak_alias.
804 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
805 for using routine as __cosf_ia32.
806 Use macro for function declaration and weak_alias.
808 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
809 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
811 * sysdeps/x86_64/fpu/s_sinf.S: New file.
812 * sysdeps/x86_64/fpu/s_cosf.S: New file.
813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
815 * math/libm-test.inc (cos_test): Add more test cases.
816 (sin_test): Likewise.
817 (sincos_test): Likewise.
819 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
821 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
822 (IFUNC_RESOLVE): Make pointers to the specialized implementations
824 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
826 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
829 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
830 first element of the GOT.
831 (elf_machine_load_address): Return the difference between
832 the runtime address of _DYNAMIC and elf_machine_dynamic ().
834 2012-09-01 Allan McRae <allan@archlinux.org>
837 * configure.in (AWK): Require gawk version 3.0 or later.
838 * configure: Regenerated.
840 2012-09-01 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/unix/sysv/linux/kernel-features.h
843 (__ASSUME_POSIX_CPU_TIMERS): Remove.
844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
845 [__NR_clock_getres]: Make code unconditional.
846 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
847 (clock_getcpuclockid): Remove code left unreachable by removal of
849 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
851 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
852 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
853 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
854 Make code unconditional.
855 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
856 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/clock_settime.c
858 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
860 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
863 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
866 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
867 scripts/test-installation.pl.
869 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
870 and $ld_so_version if it is set.
872 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
875 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
876 failure if reading from procfs failed.
877 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
879 2012-08-27 Joseph Myers <joseph@codesourcery.com>
881 * sysdeps/unix/sysv/linux/kernel-features.h
882 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
883 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
884 Remove conditional code.
885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
886 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
887 Remove conditional code.
888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
889 * sysdeps/unix/sysv/linux/i386/fxstat.c
890 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
892 * sysdeps/unix/sysv/linux/i386/fxstatat.c
893 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
895 * sysdeps/unix/sysv/linux/i386/lxstat.c
896 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
898 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
899 Remove conditional code.
900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
901 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
902 Remove conditional code.
903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
906 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
908 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
909 Remove conditional code.
910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
911 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
914 2012-08-27 Mike Frysinger <vapier@gentoo.org>
917 * NEWS: Add fixed bug number.
919 2012-08-27 Joseph Myers <joseph@codesourcery.com>
922 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
923 underflowing exponent in case of negative sign.
924 * stdlib/tst-strtod-round-data: Add more tests.
925 * stdlib/tst-strtod-round.c (tests): Regenerated.
928 * stdlib/strtod_l.c (NDIG): Remove.
930 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
931 smallest representable value.
932 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
933 lie within an exact representation of 1/2 ulp of the result.
934 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
936 (TENS_P9_IDX): Define unconditionally.
937 (TENS_P9_SIZE): Likewise.
938 (TENS_P10_IDX): Likewise.
939 (TENS_P10_SIZE): Likewise.
940 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
941 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
942 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
943 entries for 10^2^13 and 10^2^14.
944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
945 (TENS_P13_IDX): Define.
946 (TENS_P13_SIZE): Likewise.
947 (TENS_P14_IDX): Likewise.
948 (TENS_P14_SIZE): Likewise.
949 (_fpioconst_pow10): Change array size to
950 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
952 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
953 1024]: Add entries for 10^2^13 and 10^2^14.
954 [LAST_POW10 > _LAST_POW10]: Remove #error.
955 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
956 (_fpioconst_pow10): Change array size to
957 FPIOCONST_POW10_ARRAY_SIZE.
958 * stdlib/gen-fpioconst.c: New file.
959 * stdlib/gen-tst-strtod-round.c: Likewise.
960 * stdlib/tst-strtod-round-data: Likewise.
961 * stdlib/tst-strtod-round.c: Likewise.
962 * stdlib/Makefile (tests): Add tst-strtod-round.
965 * stdlib/strtod_l.c: Include <stdint.h>.
966 (NDEBUG): Do not define.
967 (round_and_return): Change EXPONENT parameter to type intmax_t.
968 Rearrange calculations to avoid internal overflow possibilities.
969 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
970 Rearrange calculations to avoid internal overflow possibilities.
971 Assert that number fits inside MPNSIZE limbs.
972 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
973 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
974 calculations and add assertions to avoid internal overflow
975 possibilities. Add casts to avoid signed/unsigned operations.
976 * stdlib/tst-strtod-overflow.c: New file.
977 * stdlib/Makefile (tests): Add tst-strtod-overflow.
979 2012-08-25 Marek Polacek <polacek@redhat.com>
981 * time/time.h: Fix some typos in comments.
983 2012-08-23 Roland McGrath <roland@hack.frob.com>
985 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
986 * posix/tst-rfc3484-2.c: Likewise.
987 * posix/tst-rfc3484-3.c: Likewise.
989 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
991 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
992 (EF_ARM_ABI_FLOAT_HARD): Likewise.
994 2012-08-23 Joseph Myers <joseph@codesourcery.com>
996 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
997 #include of fxstatat64.c.
999 2012-08-22 Roland McGrath <roland@hack.frob.com>
1001 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1002 * shadow/getspent_r.c: Likewise.
1003 * shadow/getspnam.c: Likewise.
1004 * shadow/getspnam_r.c: Likewise.
1005 * gshadow/getsgent.c: Likewise.
1006 * gshadow/getsgent_r.c: Likewise.
1007 * gshadow/getsgnam.c: Likewise.
1008 * gshadow/getsgnam_r.c: Likewise.
1009 * inet/getnetbyad.c: Likewise.
1010 * inet/getnetbyad_r.c: Likewise.
1011 * inet/getnetbynm.c: Likewise.
1012 * inet/getnetbynm_r.c: Likewise.
1013 * inet/getnetent.c: Likewise.
1014 * inet/getnetent_r.c: Likewise.
1015 * inet/getproto.c: Likewise.
1016 * inet/getproto_r.c: Likewise.
1017 * inet/getprtent.c: Likewise.
1018 * inet/getprtent_r.c: Likewise.
1019 * inet/getprtname.c: Likewise.
1020 * inet/getprtname_r.c: Likewise.
1021 * inet/getrpcbyname.c: Likewise.
1022 * inet/getrpcbyname_r.c: Likewise.
1023 * inet/getrpcbynumber.c: Likewise.
1024 * inet/getrpcbynumber_r.c: Likewise.
1025 * inet/getrpcent.c: Likewise.
1026 * inet/getrpcent_r.c: Likewise.
1027 * inet/getaliasent.c: Likewise.
1028 * inet/getaliasent_r.c: Likewise.
1029 * inet/getaliasname.c: Likewise.
1030 * inet/getaliasname_r.c: Likewise.
1031 * nscd/getgrgid_r.c: Likewise.
1032 * nscd/getgrnam_r.c: Likewise.
1033 * nscd/gethstbyad_r.c: Likewise.
1034 * nscd/gethstbynm3_r.c: Likewise.
1035 * nscd/getpwnam_r.c: Likewise.
1036 * nscd/getpwuid_r.c: Likewise.
1037 * nscd/getsrvbynm_r.c: Likewise.
1038 * nscd/getsrvbypt_r.c: Likewise.
1039 * nscd/gai.c: Likewise.
1041 * configure.in (build_nscd): New substituted variable, set
1042 by --disable-build-nscd and defaults to $use_nscd.
1043 * configure: Regenerated.
1044 * config.make.in (build-nscd): New substituted variable.
1045 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1046 Change conditional to require [$(build-nscd) = yes] as well.
1047 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1050 * configure.in (use_nscd): New substituted variable, set by
1051 --disable-nscd. If enabled, define USE_NSCD.
1052 * configure: Regenerated.
1053 * config.h.in: Add USE_NSCD.
1054 * config.make.in (use-nscd): New substituted variable.
1055 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1056 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1057 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1058 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1059 (CFLAGS-getgrnam_r.c): Likewise.
1060 (CFLAGS-initgroups.c): Likewise.
1061 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1062 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1064 * inet/getnetgrent_r.c
1065 (nscd_setnetgrent): New function, broken out of ...
1066 (setnetgrent): ... here. Call it.
1067 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1068 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1069 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1070 * nscd/Makefile (routines, aux): Move definitions after include of
1071 Makeconfig. Conditionalize on [$(use-nscd) != no].
1072 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1073 Conditionalize on [USE_NSCD].
1074 (is_nscd, nscd_init_cb): Likewise.
1075 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1076 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1077 * nss/nss_db/db-init.c: Likewise.
1078 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1080 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1081 (make_request): Use it.
1082 (cache_valid_p): New function.
1083 (__check_pf): Use it.
1084 * NEWS: Add item for --disable-nscd.
1086 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1088 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1089 to support sed >= 4.2.1-20-ga9bf076.
1090 * configure: Regenerated.
1092 2012-08-22 Roland McGrath <roland@hack.frob.com>
1094 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1095 Conditionalize whole body on [IREL].
1097 2012-08-22 Jeff Law <law@redhat.com>
1100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1101 if the family is PF_UNSPEC.
1103 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1105 * Makerules (lib-version): Rename from V.
1106 (install-lib-nosubdir): Change V to lib-version.
1108 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1111 * powerpc32/power6/wcschr.c: New file.
1112 * powerpc32/power6/wcscpy.c: New file.
1113 * powerpc32/power6/wcsrchr.c: New file.
1114 * powerpc64/power6/wcschr.c: New file.
1115 * powerpc64/power6/wcscpy.c: New file.
1116 * powerpc64/power6/wcsrchr.c: New file.
1118 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1120 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1121 (two_way_short_needle): Use it.
1122 * string/strstr.c (AVAILABLE1_USES_J): Define.
1123 * string/strcasestr.c: Likewise.
1125 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1127 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1130 * NEWS: Add an entry.
1131 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1132 define their defaults.
1133 (two_way_short_needle): Detect end-of-string on-the-fly.
1134 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1135 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1136 * string/bug-strcasestr1.c: New test.
1137 * string/Makefile: Run it.
1139 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1142 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1143 the first character.
1145 2012-08-21 Roland McGrath <roland@hack.frob.com>
1147 * csu/elf-init.c (__libc_csu_irel): Function removed.
1148 * csu/libc-start.c (apply_irel): New function.
1149 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1151 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1153 * sysdeps/unix/sysv/linux/kernel-features.h
1154 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1155 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1156 <kernel-features.h>.
1157 [__NR_fadvise64_64]: Make code unconditional.
1158 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1159 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1160 !__NR_fadvise64_64)]: Likewise.
1161 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1162 !__NR_fadvise64_64))]: Likewise.
1163 [__NR_fadvise64]: Make code unconditional.
1164 [!__NR_fadvise64]: Remove conditional code.
1165 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1166 <kernel-features.h>.
1167 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1169 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1172 not include <kernel-features.h>.
1173 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1175 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1177 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1178 include <kernel-features.h>.
1179 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1181 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1184 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1187 slight instruction rearrangements per scrollpipe analysis.
1188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1190 2012-08-20 Roland McGrath <roland@hack.frob.com>
1192 * manual/syslog.texi (syslog; vsyslog, closelog):
1193 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1194 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1196 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1197 DSOCAPS to match condition on defining it.
1199 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1201 * sysdeps/unix/sysv/linux/kernel-features.h
1202 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1204 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1205 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1207 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1208 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1210 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1211 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1213 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1214 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1216 * sysdeps/unix/sysv/linux/kernel-features.h
1217 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1218 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1220 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1221 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1222 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1223 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1224 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1225 Make code unconditional.
1226 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1227 (__mmap64) [!__NR_mmap2]: Likewise.
1228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1229 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1230 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1232 [__NR_mmap2]: Make code unconditional.
1233 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1234 (__mmap64) [!__NR_mmap2]: Likewise.
1236 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1238 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1240 2012-08-18 Andreas Jaeger <aj@suse.de>
1242 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1244 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1246 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1247 * include/unistd.h (__have_sock_cloexec): Likewise.
1248 (__have_pipe2): Likewise.
1249 (__have_dup3): Likewise.
1251 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1254 * include/unistd.h (__have_pipe2): Change define into an extern int.
1255 (__have_dup3): Likewise.
1256 * socket/have_sock_cloexec.c: Include fcntl.h.
1257 (__have_pipe2): New variable.
1258 (__have_dup3): Likewise.
1260 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1262 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1264 2012-08-17 Marek Polacek <polacek@redhat.com>
1266 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1267 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1269 2012-08-17 Roland McGrath <roland@hack.frob.com>
1271 * configure.in: Add AC_SUBST for sysheaders.
1272 * configure: Regenerated.
1273 * config.make.in (sysheaders): New substituted variable.
1275 * sysdeps/unix/mkfifo.c: Moved ...
1276 * sysdeps/posix/mkfifo.c: ... here.
1277 * sysdeps/unix/mkfifoat.c: Moved ...
1278 * sysdeps/posix/mkfifoat.c: ... here.
1280 * sysdeps/unix/utime.c: Moved ...
1281 * sysdeps/posix/utime.c: ... here.
1283 * sysdeps/unix/time.c: Moved ...
1284 * sysdeps/posix/time.c: ... here.
1285 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1286 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1288 * sysdeps/unix/nice.c: Moved ...
1289 * sysdeps/posix/nice.c: ... here.
1291 * sysdeps/unix/alarm.c: Moved ...
1292 * sysdeps/posix/alarm.c: ... here.
1294 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1296 2012-08-17 Jeff Law <law@redhat.com>
1298 * intl/Makefile (codeset_mo): New variable.
1299 ($(codeset_mo)): New target.
1300 (tst-codeset.out): Depend on that. Remove explicit rule.
1301 (tst-gettext3.out, tst-gettext5.out): Likewise.
1302 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1303 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1304 * intl/tst-codeset.sh: Remove.
1305 * intl/tst-gettext3.sh: Likewise.
1306 * intl/tst-gettext5.sh: Likewise.
1308 2012-08-17 Roland McGrath <roland@hack.frob.com>
1310 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1311 * sysdeps/unix/syscalls.list: ... here.
1313 * sysdeps/posix/getaddrinfo.c
1314 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1315 (gaiconf_init, gaiconf_reload): Use them.
1317 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1318 Define using time_t rather than struct timespec.
1320 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1321 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1323 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1325 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1326 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1329 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1330 __libc_cleanup_push argument.
1332 * bits/param.h: New file.
1333 * misc/sys/param.h: New file.
1334 * include/sys/param.h: New file.
1335 * misc/Makefile (headers): Add bits/param.h.
1336 * sysdeps/generic/sys/param.h: File removed.
1337 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1338 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1339 * sysdeps/mach/hurd/bits/param.h: New file.
1340 * sysdeps/mach/hurd/sys/param.h: New file.
1342 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1345 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1347 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1348 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1351 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1352 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1353 rather than -D_IO_MTSAFE_IO conditionally.
1354 * stdio-common/Makefile (CPPFLAGS): Likewise.
1355 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1356 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1357 Use $(libio-mtsafe).
1358 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1360 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1361 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1362 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1363 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1364 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1365 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1366 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1367 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1368 (CFLAGS-fread_u_chk.c): Likewise.
1369 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1370 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1371 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1372 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1373 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1374 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1375 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1376 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1377 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1379 * libio/Makefile: Test [$(libc-reentrant) = yes]
1380 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1383 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1384 * sysdeps/pthread/configure: File removed.
1385 * sysdeps/pthread/Makeconfig: New file.
1386 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1387 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1389 2012-08-16 Gary Benson <gbenson@redhat.com>
1391 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1392 unmapping the first object in a namespace.
1394 2012-08-16 Roland McGrath <roland@hack.frob.com>
1396 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1397 (__internal_setnetgrent): ... this. Add internal_function to
1398 definition. Add libc_hidden_def.
1399 (setnetgrent): Update caller.
1400 (internal_endnetgrent): Renamed to ...
1401 (__internal_endnetgrent): ... this. Add internal_function to
1402 definition. Add libc_hidden_def.
1403 (endnetgrent): Update caller.
1404 (internal_getnetgrent_r): Renamed to ...
1405 (__internal_getnetgrent_r): ... this. Add internal_function to
1406 definition. Add libc_hidden_def.
1407 (__getnetgrent_r): Update caller.
1408 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1410 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1412 * stdlib/longlong.h: Update from GCC.
1414 2012-08-16 Roland McGrath <roland@hack.frob.com>
1416 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1417 on _QL, which is set by umul_ppmm but never used.
1418 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1419 variables, which are set by GMP macros but never used.
1420 * stdio-common/_itowa.c (_itowa): Likewise.
1421 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1422 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1424 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1426 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1427 struct La_sh_regs is not constant.
1428 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1429 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1430 and struct La_sparc64_regs are not constant.
1432 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/unix/sysv/linux/kernel-features.h
1435 (__ASSUME_POSIX_TIMERS): Remove.
1436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1438 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1439 Make code unconditional.
1440 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1441 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1442 Make code unconditional.
1443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1444 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1445 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1447 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1448 Make code unconditional.
1449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1450 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1451 (__libc_missing_posix_timers): Remove.
1453 2012-08-15 Roland McGrath <roland@hack.frob.com>
1455 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1456 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1458 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1460 * elf/dl-sym.c: Include <stdlib.h>.
1462 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1463 constants, which avoids warnings in 32-bit builds.
1465 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1466 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1468 * misc/lseek.c: File moved to ...
1469 * io/lseek.c: ... here.
1471 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1473 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1474 shifting LEN more than 31 bits at once.
1476 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1479 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1480 segmentation fault for a case of two empty input strings.
1481 * string/test-strncasecmp.c (check1): Renamed to...
1483 (bz14195): Add new testcase for two empty input strings and N > 0.
1484 (test_main): Call new testcase, adapt for renamed function.
1486 2012-08-15 Andreas Jaeger <aj@suse.de>
1489 * crypt/md5test2.c: New test, based on test supplied by Serge
1490 Belyshev <belyshev@depni.sinp.msu.ru>.
1491 * crypt/Makefile (xtests): Add md5test-giant..
1492 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1494 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1497 * crypt/md5.c (md5_process_block): Don't assume the buffer
1498 length is less than 2**32.
1499 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1500 length is less than 2**64.
1502 2012-08-15 Roland McGrath <roland@hack.frob.com>
1504 * string/str-two-way.h: Include <sys/param.h>.
1505 (MAX): Macro removed.
1507 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1508 Move #define and #undef of memmove to just before and after
1509 including <string.h>.
1511 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1512 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1513 and after including <string.h>. Move declarations of
1514 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1515 to before #include "string/memmove.c".
1517 * include/dirent.h: Declare __getdirentries.
1519 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1520 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1522 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1524 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1525 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1526 * sysdeps/i386/configure: Regenerated.
1527 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1528 STABS_CURRENT_FILE, and STABS_FUN.
1529 (END): Remove call to STABS_FUN_END.
1530 (STABS_CURRENT_FILE1): Delete.
1531 (STABS_CURRENT_FILE): Likewise.
1532 (STABS_FUN): Likewise.
1533 (STABS_FUN_END): Likewise.
1534 (STABS_FUN2): Likewise.
1535 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1536 * sysdeps/x86_64/configure: Regenerated.
1538 2012-08-14 Roland McGrath <roland@hack.frob.com>
1540 * elf/dl-open.c: Include <atomic.h>.
1541 * elf/dl-lookup.c: Likewise.
1543 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1545 * sysdeps/unix/sysv/linux/kernel-features.h
1546 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1547 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1549 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1551 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1552 condition on __ASSUME_CLONE_THREAD_FLAGS.
1554 2012-08-14 Andreas Jaeger <aj@suse.de>
1556 * sysdeps/i386/fpu/libm-test-ulps: Update.
1558 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1560 * include/atomic.h (atomic_exchange_and_add): Split into ...
1561 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1564 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1568 2012-08-13 Jeff Law <law@redhat.com>
1570 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1571 null byte in the output string.
1573 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1575 * sysdeps/unix/sysv/linux/kernel-features.h
1576 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1577 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1578 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1579 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1580 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1581 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1582 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1584 2012-08-09 Jeff Law <law@redhat.com>
1587 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1588 When avoid_arena is set, don't retry in the that arena. Pick the
1589 next one, whatever it might be.
1590 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1591 (arena_lock): Pass in new parameter to arena_get2.
1592 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1594 (__libc_malloc): Unify retrying after main arena failure with
1595 __libc_memalign version.
1596 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1598 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1601 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1602 to __redirect_strstr.
1603 (__strstr_sse42): Use typeof __redirect_strstr.
1604 (__strstr_ia32): Likewise.
1605 (__libc_strstr): New prototype.
1606 (strstr): Renamed to ...
1607 (__libc_strstr): This.
1608 (strstr): New strong alias of __libc_strstr.
1609 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1613 (__libc_time): New prototype.
1614 (time_ifunc): Replace time with __libc_time.
1615 (time): New strong alias and hidden definition of __libc_time.
1616 (__GI_time): Remove strong alias.
1617 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1619 (memmove): Redefined to __redirect_memmove.
1620 (__memmove_sse2): Use typeof __redirect_memmove.
1621 (__memmove_ssse3): Likewise.
1622 (__memmove_ssse3_back): Likewise.
1623 (__libc_memmove): New prototype.
1624 (memmove): Renamed to ...
1625 (__libc_memmove): This.
1626 (memmove): New strong alias of __libc_memmove.
1628 2012-08-08 Mark Salter <msalter@redhat.com>
1631 (R_MN10300_TLS_GD): Define.
1632 (R_MN10300_TLS_LD): Likewise.
1633 (R_MN10300_TLS_LDO): Likewise.
1634 (R_MN10300_TLS_GOTIE): Likewise.
1635 (R_MN10300_TLS_IE): Likewise.
1636 (R_MN10300_TLS_LE): Likewise.
1637 (R_MN10300_TLS_DTPMOD): Likewise.
1638 (R_MN10300_TLS_DTPOFF): Likewise.
1639 (R_MN10300_TLS_TPOFF): Likewise.
1640 (R_MN10300_SYM_DIFF): Likewise.
1641 (R_MN10300_ALIGN): Likewise.
1642 (R_MN10300_NUM): Update.
1644 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1649 2012-08-08 Roland McGrath <roland@hack.frob.com>
1651 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1653 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1654 sysdeps/unix -> sysdeps/posix move.
1655 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1657 2012-08-07 Allan McRae <allan@archlinux.org>
1660 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1661 (SUNOS_CPP): Likewise.
1662 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1664 (open_input): Call CPP using execvp.
1666 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1668 * sysdeps/unix/sysv/linux/kernel-features.h
1669 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1670 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1671 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1672 (__ASSUME_WAITID_SYSCALL): Likewise.
1673 * sysdeps/unix/sysv/linux/dl-execstack.c
1674 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1676 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1678 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1679 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1680 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1682 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1684 [__ASSUME_WAITID_SYSCALL]: Likewise.
1685 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1687 2012-08-07 Roland McGrath <roland@hack.frob.com>
1689 * sysdeps/unix/closedir.c: Renamed to ...
1690 * sysdeps/posix/closedir.c: ... here.
1691 * sysdeps/unix/dirfd.c: Renamed to ...
1692 * sysdeps/posix/dirfd.c: ... here.
1693 * sysdeps/unix/dirstream.h: Renamed to ...
1694 * sysdeps/posix/dirstream.h: ... here.
1695 * sysdeps/unix/fdopendir.c: Renamed to ...
1696 * sysdeps/posix/fdopendir.c: ... here.
1697 * sysdeps/unix/opendir.c: Renamed to ...
1698 * sysdeps/posix/opendir.c: ... here.
1699 * sysdeps/unix/readdir.c: Renamed to ...
1700 * sysdeps/posix/readdir.c: ... here.
1701 * sysdeps/unix/readdir_r.c: Renamed to ...
1702 * sysdeps/posix/readdir_r.c: ... here.
1703 * sysdeps/unix/rewinddir.c: Renamed to ...
1704 * sysdeps/posix/rewinddir.c: ... here.
1705 * sysdeps/unix/seekdir.c: Renamed to ...
1706 * sysdeps/posix/seekdir.c: ... here.
1707 * sysdeps/unix/telldir.c: Renamed to ...
1708 * sysdeps/posix/telldir.c: ... here.
1709 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1710 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1711 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1712 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1714 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1715 * bits/fcntl.h: ... here.
1717 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1719 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1720 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1721 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1722 (struct flock): Move l_start, l_len to the beginning.
1723 Use __pid_t for l_pid.
1724 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1725 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1726 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1727 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1728 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1729 [__USE_LARGEFILE64] (struct flock64): New type.
1730 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1732 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1733 * bits/dirent.h: ... here.
1735 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1736 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1738 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1741 Change from 2.6.0 to 2.6.16.
1742 * sysdeps/unix/sysv/linux/configure: Regenerated.
1743 * sysdeps/unix/sysv/linux/kernel-features.h
1744 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1745 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1747 (__ASSUME_UTIMES): Likewise.
1748 (__ASSUME_CLONE_STOPPED): Remove.
1749 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1750 architectures, not kernel version.
1751 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1752 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1753 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1754 (__ASSUME_WAITID_SYSCALL): Likewise.
1755 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1756 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1757 * README: State 2.6.16 as minimum Linux kernel version. Do not
1758 refer to older versions.
1760 2012-08-06 Roland McGrath <roland@hack.frob.com>
1762 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1763 Define alphasort64 as an alias.
1764 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1765 Define versionsort64 as an alias.
1766 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1767 Define scandir64 as an alias.
1768 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1769 Define scandirat64 as an alias.
1770 * dirent/alphasort64.c (alphasort64):
1771 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1772 * dirent/versionsort64.c: Likewise.
1773 * dirent/scandir64.c: Likewise.
1774 * dirent/scandirat64.c: Likewise.
1775 * sysdeps/wordsize-64/alphasort.c: File removed.
1776 * sysdeps/wordsize-64/alphasort64.c: File removed.
1777 * sysdeps/wordsize-64/scandir.c: File removed.
1778 * sysdeps/wordsize-64/scandir64.c: File removed.
1779 * sysdeps/wordsize-64/scandirat.c: File removed.
1780 * sysdeps/wordsize-64/scandirat64.c: File removed.
1781 * sysdeps/wordsize-64/versionsort.c: File removed.
1782 * sysdeps/wordsize-64/versionsort64.c: File removed.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1784 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1792 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1794 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1796 [defined __arch64__ || defined __sparcv9]
1797 (__INO_T_MATCHES_INO64_T): New macro.
1798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1799 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1800 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1801 * sysdeps/unix/sysv/linux/bits/dirent.h
1802 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1803 (_DIRENT_MATCHES_DIRENT64): New macro.
1805 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1806 Define lockf64 as an alias.
1807 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1808 Define fseeko64 as an alias.
1809 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1810 Define ftello64 as an alias.
1811 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1812 Define _IO_fgetpos64 and fgetpos64 as aliases.
1813 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1814 Define _IO_fsetpos64 and fsetpos64 as aliases.
1815 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1816 Conditionalize body on this.
1817 * libio/fseeko64.c: Likewise.
1818 * libio/ftello64.c: Likewise.
1819 * libio/iofgetpos64.c: Likewise.
1820 * libio/iofsetpos64.c: Likewise.
1821 * sysdeps/wordsize-64/lockf.c: File removed.
1822 * sysdeps/wordsize-64/lockf64.c: File removed.
1823 * sysdeps/wordsize-64/fseeko.c: File removed.
1824 * sysdeps/wordsize-64/fseeko64.c: File removed.
1825 * sysdeps/wordsize-64/ftello.c: File removed.
1826 * sysdeps/wordsize-64/ftello64.c: File removed.
1827 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1828 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1829 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1830 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1832 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1842 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1844 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1846 [defined __arch64__ || defined __sparcv9]
1847 (__OFF_T_MATCHES_OFF64_T): New macro.
1848 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1849 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1851 (__OFF_T_MATCHES_OFF64_T): New macro.
1853 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1855 * stdlib/secure-getenv.c (__secure_getenv): Replace
1856 GLIBC_2_16 with GLIBC_2_17.
1858 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1863 2012-08-03 David S. Miller <davem@davemloft.net>
1865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1867 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1871 (__ASSUME_CORRECT_SI_PID): Likewise.
1872 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1873 (__ASSUME_TMPFS_NAME): Likewise.
1874 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1875 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1876 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1877 (HAVE_AUX_SECURE): Make definition unconditional.
1878 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1879 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1881 2012-08-03 Roland McGrath <roland@hack.frob.com>
1883 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1884 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1885 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1886 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1887 __eloop_threshold instead of SYMLOOP_MAX.
1889 * sysdeps/generic/eloop-threshold.h: New file.
1890 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1892 * elf/chroot_canon.c (chroot_canon): Likewise.
1894 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1897 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1898 Change to 2.6.0 everywhere.
1899 * sysdeps/unix/sysv/linux/configure: Regenerated.
1900 * sysdeps/unix/sysv/linux/kernel-features.h
1901 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1902 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1904 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1905 (__ASSUME_FUTEX_REQUEUE): Remove.
1906 (__ASSUME_STATFS64): Define unconditionally.
1907 (__ASSUME_AT_SECURE): Likewise.
1908 (__ASSUME_CORRECT_SI_PID): Likewise.
1909 (__ASSUME_TGKILL): Define without depending on kernel version for
1911 (__ASSUME_UTIMES): Likewise.
1912 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1914 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1915 (__ASSUME_TMPFS_NAME): Likewise.
1916 * README: Update reference to Linux kernel versions.
1918 2012-08-02 Marek Polacek <polacek@redhat.com>
1921 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1922 libc_cv_asm_type_prefix with %.
1923 * configure: Regenerated.
1924 * include/libc-symbols.h: Remove comment about
1925 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1926 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1927 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1928 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1929 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1930 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1931 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1932 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1933 * elf/tst-unique2mod1.c: Likewise.
1934 * elf/tst-unique1mod2.c: Likewise.
1935 * elf/tst-unique1mod1.c: Likewise.
1936 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1937 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1938 Replace ASM_TYPE_DIRECTIVE with .type.
1939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1940 * sysdeps/i386/sysdep.h: Likewise.
1941 * sysdeps/x86_64/sysdep.h: Likewise.
1942 * sysdeps/sh/sysdep.h: Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1944 Do not define ASM_TYPE_DIRECTIVE.
1945 * sysdeps/powerpc/sysdep.h: Likewise.
1946 * sysdeps/powerpc/powerpc32/sysdep.h:
1947 Replace ASM_TYPE_DIRECTIVE with .type.
1948 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1949 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1950 * sysdeps/i386/fpu/e_powf.S: Likewise.
1951 * sysdeps/i386/fpu/e_expl.S: Likewise.
1952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1953 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1954 * sysdeps/i386/fpu/e_pow.S: Likewise.
1955 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1956 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1957 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1958 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1959 * sysdeps/i386/fpu/e_log2.S: Likewise.
1960 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1961 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1962 * sysdeps/i386/fpu/e_powl.S: Likewise.
1963 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1964 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1965 * sysdeps/i386/fpu/e_logl.S: Likewise.
1966 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1967 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1968 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1969 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1970 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1971 * sysdeps/i386/fpu/e_log.S: Likewise.
1972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1973 * sysdeps/i386/fpu/e_logf.S: Likewise.
1974 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1975 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1976 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1977 * sysdeps/i386/fpu/e_log10.S: Likewise.
1978 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1979 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1980 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1981 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1983 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1984 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1985 * sysdeps/i386/i686/strtok.S: Likewise.
1986 * sysdeps/i386/i386-mcount.S: Likewise.
1987 * sysdeps/i386/strtok.S: Likewise.
1988 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1990 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1991 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1992 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1993 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1994 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1995 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1996 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1997 * sysdeps/x86_64/_mcount.S: Likewise.
1998 * sysdeps/x86_64/strtok.S: Likewise.
1999 * sysdeps/sh/_mcount.S: Likewise.
2001 2012-08-01 Roland McGrath <roland@hack.frob.com>
2003 * libio/iofopen.c: Include <fcntl.h>.
2004 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2005 (_IO_fopen64, fopen64): Define as aliases.
2006 * libio/iofopen64.c: Include <fcntl.h>.
2007 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2008 Conditionalize body on this.
2009 * sysdeps/wordsize-64/iofopen.c: File removed.
2010 * sysdeps/wordsize-64/iofopen64.c: File removed.
2012 2012-08-01 Marek Polacek <polacek@redhat.com>
2014 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2015 Use dlfcn directly instead of a variable.
2016 (binfmt-subdir): Do not define.
2019 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2022 Remove all definitions.
2023 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2024 <kernel-features.h>.
2025 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2026 (miss_F_GETOWN_EX): Remove all definitions.
2027 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2029 [!__ASSUME_FCNTL64]: Remove conditional code.
2030 [__ASSUME_FCNTL64]: Make code unconditional.
2031 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2032 <kernel-features.h>.
2033 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2034 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2035 (lockf64) [__NR_fcntl64]: Make code unconditional.
2036 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2038 * sysdeps/unix/sysv/linux/kernel-features.h
2039 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2040 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2041 Make code unconditional.
2042 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2043 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2045 [__NR_vfork]: Make code unconditional.
2046 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2047 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2049 [__NR_vfork]: Make code unconditional.
2050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2053 2012-08-01 Roland McGrath <roland@hack.frob.com>
2055 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2056 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2058 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2059 Define mkstemp64 as an alias.
2060 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2061 Define mkstemps64 as an alias.
2062 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2063 Define mkostemp64 as an alias.
2064 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2065 Define mkostemps64 as an alias.
2066 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2067 Conditionalize body on this.
2068 * misc/mkostemp64.c: Likewise.
2069 * misc/mkostemps64.c: Likewise.
2070 * misc/mkstemps64.c: Likewise.
2071 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2072 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2073 * sysdeps/wordsize-64/mkostemp.c: File removed.
2074 * sysdeps/wordsize-64/mkstemp.c: File removed.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2081 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2082 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2083 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2084 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2086 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2087 compat_symbol macros from <shlib-compat.h> rather than the underlying
2088 default_symbol_version and symbol_version macros, so that DEFAULT
2089 lines in shlib-versions are respected.
2090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2092 2012-08-01 Florian Weimer <fweimer@redhat.com>
2094 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2095 Declare with warn_unused_result.
2096 (setgid, setregid, setegid, setresgid): Likewise.
2097 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2099 * WUR-REPORT: Remove set*id functions.
2101 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2103 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2105 2012-07-31 Roland McGrath <roland@hack.frob.com>
2107 * include/sys/socket.h (__libc_accept, __libc_accept4):
2108 Add attribute_hidden.
2109 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2113 * inet/getnetgrent_r.c (setup): Likewise.
2115 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2117 2012-07-31 David S. Miller <davem@davemloft.net>
2119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2121 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2124 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2125 value between 1.0 and 2.0 and smaller part has absolute value less
2127 * math/s_clog10.c (__clog10): Likewise.
2128 * math/s_clog10f.c (__clog10f): Likewise.
2129 * math/s_clog10l.c (__clog10l): Likewise.
2130 * math/s_clogf.c (__clogf): Likewise.
2131 * math/s_clogl.c (__clogl): Likewise.
2132 * math/libm-test.inc (clog_test): Add more tests.
2133 (clog10_test): Likewise.
2134 * sysdeps/i386/fpu/libm-test-ulps: Update.
2135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2137 2012-07-31 Florian Weimer <fweimer@redhat.com>
2139 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2140 Exit with zero in case no suitable GID is found, and write a
2141 message to standard error.
2143 2012-07-30 Roland McGrath <roland@hack.frob.com>
2145 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2147 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2148 (MAXPATHLEN): Removed.
2149 (NOGROUP, NODEV): New macros.
2150 (setbit, clrbit, isset, isclr): New macros.
2151 (howmany, roundup, powerof2): New macros.
2152 (DEV_BSIZE): New macro.
2154 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2155 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2157 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2158 definition on [!__NO_LONG_DOUBLE_MATH].
2160 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2161 PTR_MANGLE and PTR_DEMANGLE.
2163 * socket/accept4.c (accept4): Rename to __libc_accept4.
2164 Define accept4 as a weak alias.
2166 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2167 on [_DIRENT_HAVE_D_TYPE].
2168 * io/ftw.c (ftw_dir): Likewise.
2170 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2172 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2174 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2175 Use the BSD numbers rather than the arbitrary ones we had.
2176 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2177 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2178 (SIGXCPU, SIGXFSZ): New macros.
2181 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2182 initializer on [_LIBC_REENTRANT].
2184 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2185 definitions inside [_POSIX_MAPPED_FILES].
2187 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2189 * dirent/opendir.c: Include <fcntl.h>.
2191 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2192 (__libc_getspecific): Likewise.
2193 (__libc_key_create): Likewise.
2195 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2196 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2197 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2198 (tmpfile64): Define as alias.
2199 * sysdeps/wordsize-64/tmpfile.c: File removed.
2200 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2204 * stdio-common/vfscanf.c: Include <stdbool.h>.
2205 * nss/makedb.c: Likewise.
2206 * stdio-common/_i18n_number.h: Likewise.
2207 * argp/argp-help.c: Likewise.
2208 * posix/wordexp.c: Likewise.
2209 * sysdeps/posix/spawni.c: Likewise.
2210 * nss/nss_files/files-initgroups.c: Likewise.
2211 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2212 * nss/nss_files/files-initgroups.c: Likewise.
2213 * nss/nss_db/db-netgrp.c: Likewise.
2214 * nss/nss_db/db-initgroups.c: Likewise.
2215 * io/fchmodat.c: Include <sys/stat.h>.
2217 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2218 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2220 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2223 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2224 Add multiple inclusion protection.
2226 2012-07-27 David S. Miller <davem@davemloft.net>
2228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2230 2012-07-27 Gary Benson <gbenson@redhat.com>
2233 * elf/rtld.c: Include <stap-probe.h>.
2234 (dl_main): Added static probes "init_start" and "init_complete".
2235 * elf/dl-load.c: Include <stap-probe.h>.
2236 (lose): Take new parameter "nsid".
2237 Added static probe "map_failed".
2238 (_dl_map_object_from_fd): Pass namespace id to lose.
2239 Added static probe "map_start".
2240 (open_verify): Pass namespace id to lose.
2241 * elf/dl-open.c: Include <stap-probe.h>.
2242 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2243 and "reloc_complete".
2244 * elf/dl-close.c: Include <stap-probe.h>.
2245 (_dl_close_worker): Added static probes "unmap_start" and
2247 * elf/rtld-debugger-interface.txt: New file documenting the above.
2249 2012-07-26 Roland McGrath <roland@hack.frob.com>
2251 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2252 rather than a string variable.
2253 * sunrpc/rpc_main.c (h_output): Likewise.
2254 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2256 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2258 * inet/check_native.c: New file.
2260 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2263 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2264 if larger part has absolute value 1.0.
2265 * math/s_clog10.c (__clog10): Likewise.
2266 * math/s_clog10f.c (__clog10f): Likewise.
2267 * math/s_clog10l.c (__clog10l): Likewise.
2268 * math/s_clogf.c (__clogf): Likewise.
2269 * math/s_clogl.c (__clogl): Likewise.
2270 * math/libm-test.inc (clog_test): Add more tests.
2271 (clog10_test): Likewise.
2272 * sysdeps/i386/fpu/libm-test-ulps: Update.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2275 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2276 (pltexit): Likewise.
2277 (La_regs): Likewise.
2278 (La_retval): Likewise.
2279 (int_retval): Likewise.
2280 Update #error for removed macros to refer only to definitions in
2282 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2284 (pltexit): Likewise.
2285 (La_regs): Likewise.
2286 (La_retval): Likewise.
2287 (int_retval): Likewise.
2288 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2290 (pltexit): Likewise.
2291 (La_regs): Likewise.
2292 (La_retval): Likewise.
2293 (int_retval): Likewise.
2294 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2296 (pltexit): Likewise.
2297 (La_regs): Likewise.
2298 (La_retval): Likewise.
2299 (int_retval): Likewise.
2300 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2302 (pltexit): Likewise.
2303 (La_regs): Likewise.
2304 (La_retval): Likewise.
2305 (int_retval): Likewise.
2306 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2308 (pltexit): Likewise.
2309 (La_regs): Likewise.
2310 (La_retval): Likewise.
2311 (int_retval): Likewise.
2312 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2314 (pltexit): Likewise.
2315 (La_regs): Likewise.
2316 (La_retval): Likewise.
2317 (int_retval): Likewise.
2318 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2319 macro definitions in tst-audit.h.
2320 * sysdeps/i386/tst-audit.h: New file.
2321 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2322 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2323 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2324 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2325 * sysdeps/sh/tst-audit.h: Likewise.
2326 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2327 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2328 * sysdeps/x86_64/tst-audit.h: Likewise.
2330 2012-07-26 Andreas Jaeger <aj@suse.de>
2332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2335 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2336 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2337 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2339 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2343 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2346 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2348 (si_call_addr, si_syscall, si_arch): Define new macro.
2349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2351 (si_call_addr, si_syscall, si_arch): Define new marcro.
2352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2354 (si_call_addr, si_syscall, si_arch): Define new macro.
2355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2357 (si_call_addr, si_syscall, si_arch): Define new macro.
2359 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2363 Change to 2.4.21 where previously 2.4.1.
2364 * sysdeps/unix/sysv/linux/configure: Regenerated.
2365 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2366 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2367 Linux kernel version.
2368 (__ASSUME_STD_AUXV): Remove.
2369 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2371 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2372 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2373 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2374 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2375 (__ASSUME_NETLINK_SUPPORT): Likewise.
2376 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2377 (__no_netlink_support): Remove conditional definition.
2378 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2380 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2381 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2383 (if_nameindex_ioctl): Remove.
2384 (if_nameindex_netlink): Do not handle __no_netlink_support.
2385 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2387 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2388 Remove conditional code.
2389 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2391 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2393 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2394 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2395 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2397 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2398 [!__ASSUME_STD_AUXV]: Remove conditional code.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2400 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2401 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2403 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2406 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2419 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2421 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2423 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2425 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2428 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2430 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2433 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2435 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2437 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2439 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2442 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2444 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2446 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2448 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2451 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2453 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2454 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2455 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2456 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2457 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2458 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2461 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2462 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2464 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2465 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2477 2012-07-25 Florian Weimer <fweimer@redhat.com>
2479 * Versions.def: Add GLIBC_2.17.
2480 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2481 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2482 Introduce __libc_secure_getenv.
2483 * stdlib/Versions (2.17): Add secure_getenv
2484 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2485 * stdlib/secure-getenv.c: Rename __secure_getenv to
2486 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2487 symbol __secure_getenv for GLIBC_2.0.
2488 * stdlib/tst-secure-getenv.c: New.
2489 * stdlib/Makefile (tests): Add testcase.
2490 * manual/startup.texi (Environment Access): Document
2492 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2493 __libc_secure_getenv.
2494 * inet/ruserpass.c (ruserpass): Likewise.
2495 * malloc/mtrace.c (mtrace): Likewise.
2496 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2497 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2498 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2499 * sysdeps/posix/tempname.c: Likewise. Evaluate
2501 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2502 __secure_getenv to __libc_secure_getenv.
2503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2516 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2518 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2519 (struct La_i86_retval): Likewise.
2520 (struct La_x86_64_regs): Likewise.
2521 (struct La_x86_64_retval): Likewise.
2522 (struct La_x32_regs): Likewise.
2523 (struct La_x32_retval): Likewise.
2524 (struct La_ppc32_regs): Likewise.
2525 (struct La_ppc32_retval): Likewise.
2526 (struct La_ppc64_regs): Likewise.
2527 (struct La_ppc64_retval): Likewise.
2528 (struct La_sh_regs): Likewise.
2529 (struct La_sh_retval): Likewise.
2530 (struct La_s390_32_regs): Likewise.
2531 (struct La_s390_32_retval): Likewise.
2532 (struct La_s390_64_regs): Likewise.
2533 (struct La_s390_64_retval): Likewise.
2534 (struct La_sparc32_regs): Likewise.
2535 (struct La_sparc32_retval): Likewise.
2536 (struct La_sparc64_regs): Likewise.
2537 (struct La_sparc64_retval): Likewise.
2538 (struct audit_ifaces): Remove architecture-specific pltenter and
2540 * sysdeps/i386/ldsodefs.h: New file.
2541 * sysdeps/powerpc/ldsodefs.h: Likewise.
2542 * sysdeps/s390/ldsodefs.h: Likewise.
2543 * sysdeps/sh/ldsodefs.h: Likewise.
2544 * sysdeps/sparc/ldsodefs.h: Likewise.
2545 * sysdeps/x86_64/ldsodefs.h: Likewise.
2547 2012-07-25 Marek Polacek <polacek@redhat.com>
2550 * math/libm-test.inc (yn_test): Add another test.
2551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2552 to ERANGE when the result is +-Inf.
2553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2556 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2558 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2560 * conform/data/time.h-data (NULL): Use macro-constant. Require
2562 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2564 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2566 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2568 * configure.in <sysdeps resolving>: Correct printing
2570 * configure: Regenerate.
2572 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2574 * math/w_ilogb.c: Include <limits.h>.
2575 * math/w_ilogbl.c: Likewise.
2577 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2579 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2580 va_copy. Document allowing for unavailable va_copy only as
2581 pre-C99 compatibility.
2582 * manual/string.texi (Copying and Concatenation): Use va_copy
2583 instead of __va_copy in concat example.
2585 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2587 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2588 (__sendto): Use create_address_port. Initialize APORT and deallocate
2591 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2592 with O_NOLINK passed to __file_name_lookup.
2594 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2595 with O_NOLINK passed to __file_name_lookup.
2597 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2598 negative N or less than NGIDS.
2600 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2601 type to string_t. Set ERANGE as errno and return it if NAME is not big
2602 enough. Use memcpy instead of strncpy.
2604 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2606 * elf/Makefile (check-data): Remove.
2607 (localplt.data): New vpath directive.
2608 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2609 instead of $(check-data).
2610 * scripts/data/localplt-generic.data: Move to ...
2611 * sysdeps/generic/localplt.data: ... here.
2612 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2614 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2617 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2620 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2623 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2626 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2629 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2633 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2636 PPC32 and PPC64 files.
2637 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2638 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2640 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2642 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2643 __makecontext_ret to ...
2644 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2645 ... here and call exit if uc_link is NULL. New file.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2647 __makecontext_ret.S.
2648 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2649 __makecontext_ret to ...
2650 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2651 ... here and call exit if uc_link is NULL. New file.
2652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2653 __makecontext_ret.S.
2655 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2657 * elf/elf.h (R_390_IRELATIVE): New definition.
2658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2659 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2660 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2662 (elf_machine_lazy_rel): Likewise.
2663 * sysdeps/s390/dl-irel.h: New file.
2664 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2665 * sysdeps/s390/s390-64/memset.S: New asm code.
2666 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2667 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2668 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2669 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2670 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2671 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2673 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2674 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2675 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2676 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2677 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2678 * sysdeps/s390/s390-32/memset.S: New asm code.
2679 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2681 2012-07-17 Marek Polacek <polacek@redhat.com>
2684 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2685 * sysdeps/s390/s390-64/configure.in: Likewise.
2686 * sysdeps/sparc/configure.in: Likewise.
2687 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2688 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2689 * sysdeps/i386/configure.in: Likewise.
2690 * sysdeps/x86_64/configure.in: Likewise.
2691 * sysdeps/sh/configure.in: Likewise.
2692 * sysdeps/s390/s390-32/configure: Regenerated.
2693 * sysdeps/s390/s390-64/configure: Likewise.
2694 * sysdeps/x86_64/configure: Likewise.
2695 * sysdeps/sh/configure: Likewise.
2696 * sysdeps/powerpc/powerpc64/configure: Likewise.
2697 * sysdeps/powerpc/powerpc32/configure: Likewise.
2698 * sysdeps/sparc/configure: Likwise.
2699 * sysdeps/i386/configure: Likewise.
2701 * elf/dl-open.c: Comment fixes.
2703 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2705 * Makefile [CXX] (check-data): Remove.
2706 [CXX] (c++-types.data): New vpath directive.
2707 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2708 vpath. Do not allow for C++ type data being missing.
2709 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2710 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2711 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2712 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2713 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2714 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2715 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2718 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2721 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2724 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2727 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2730 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2733 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2736 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2739 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2740 definitions to architecture-specific files.
2744 * sysdeps/i386/tls-macros.h: New file.
2745 * sysdeps/powerpc/tls-macros.h: Likewise.
2746 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2747 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2748 * sysdeps/sh/tls-macros.h: Likewise.
2749 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2750 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2751 * sysdeps/x86_64/tls-macros.h: Likewise.
2753 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2756 zero value for regular exit case.
2758 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2759 (__start_context): Preserve zero value for regular exit case.
2761 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2762 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2764 * manual/setjmp.texi (setcontext): Clarify normal process
2765 termination when uc_link is the null pointer.
2766 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2769 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2771 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2772 preprocessor. Test for each exception mask separately.
2774 2012-07-16 Andreas Jaeger <aj@suse.de>
2776 * po/ru.po: Update from translation team.
2778 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2780 * conform/data/string.h-data (NULL): Use macro-constant. Require
2782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2784 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2785 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2788 2012-07-13 Andreas Jaeger <aj@suse.de>
2790 * po/fr.po: Update from translation team.
2792 2012-07-12 Marek Polacek <polacek@redhat.com>
2795 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2799 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2803 Change to 2.4.1 where previously 2.4.0.
2804 * sysdeps/unix/sysv/linux/configure: Regenerated.
2805 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2806 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2808 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2809 (__ASSUME_AT_CLKTCK): Remove.
2810 (__ASSUME_AT_PAGESIZE): Likewise.
2811 (__ASSUME_AT_XID): Likewise.
2812 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2813 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2814 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2816 (HAVE_AUX_PAGESIZE): Likewise.
2817 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2818 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2819 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2821 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2825 the temporary buffer used to invoke __gethostbyname2_r,
2826 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2827 host_data / struct gaih_addrtuple.
2828 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2829 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2830 header file nss/nsswitch.h.
2831 * nss/nsswitch.h (global scope): Add definition of implementation
2832 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2833 resolv/nss_dns/dns-host.c).
2835 2012-07-11 Andreas Jaeger <aj@suse.de>
2837 * po/fr.po: Update from translation team.
2839 * po/sv.po: Update from translation team
2840 * po/fr.po: Another update from translation team.
2842 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2845 for subnormals or multiply small sinh result by itself.
2846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2849 2012-07-11 David S. Miller <davem@davemloft.net>
2851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2853 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2856 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2857 (INTERNAL_MARK): Shift it here.
2859 2012-07-10 Marek Polacek <polacek@redhat.com>
2862 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2863 libc_cv_asm_global_directive with .globl.
2864 * configure: Regenerated.
2865 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2867 * sysdeps/i386/configure: Regenerated.
2868 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2870 * sysdeps/x86_64/configure: Regenerated.
2871 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2872 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2873 * elf/tst-unique2mod2.c: Likewise.
2874 * elf/tst-unique2mod1.c: Likewise.
2875 * elf/tst-unique1mod2.c: Likewise.
2876 * elf/tst-unique1mod1.c: Likewise.
2877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2881 * sysdeps/mach/sysdep.h: Likewise.
2882 * sysdeps/i386/sysdep.h: Likewise.
2883 * sysdeps/i386/i386-mcount.S: Likewise.
2884 * sysdeps/x86_64/_mcount.S: Likewise.
2885 * sysdeps/x86_64/sysdep.h: Likewise.
2886 * sysdeps/sh/_mcount.S: Likewise.
2887 * sysdeps/sh/sysdep.h: Likewise.
2888 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2889 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2890 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2892 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2893 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2894 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2895 * locale/localeinfo.h: Likewise.
2896 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2897 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2899 2012-07-09 Roland McGrath <roland@hack.frob.com>
2902 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2904 * manual/message.texi (The Uniforum approach): Likewise.
2905 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2906 (glibc iconv Implementation): Likewise.
2908 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2911 * math/s_clog.c (__clog): Avoid scaling a value down where that
2912 could result in underflow.
2913 * math/s_clog10.c (__clog10): Likewise.
2914 * math/s_clog10f.c (__clog10f): Likewise.
2915 * math/s_clog10l.c (__clog10l): Likewise.
2916 * math/s_clogf.c (__clogf): Likewise.
2917 * math/s_clogl.c (__clogl): Likewise.
2918 * math/libm-test.inc (clog_test): Add more tests.
2919 (clog10_test): Likewise.
2920 * sysdeps/i386/fpu/libm-test-ulps: Update.
2921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2923 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2927 by 7 not 8 to examine high bit of fractional part.
2930 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2931 for call to __mcount_internal.
2932 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2933 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2934 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2936 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2939 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2940 approximation for values within 0x1p-13f of an odd multiple of
2942 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2943 exception. Add more tests.
2944 * sysdeps/i386/fpu/libm-test-ulps: Update.
2947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2948 inputs and return -1 for them. Do not check for +Inf in case not
2950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2951 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2953 and return -1 for them. Do not check for +Inf in case not
2955 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2958 and return -1 for them. Do not check for +Inf in case not
2960 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2962 * sysdeps/i386/fpu/libm-test-ulps: Update.
2963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2967 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2969 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2973 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2974 could result in spurious underflow. Scale down values above
2975 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2976 * math/s_csqrtf.c (__csqrtf): Likewise.
2977 * math/s_csqrtl.c (__csqrtl): Likewise.
2978 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2983 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2985 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2987 * catgets/xopen-msg.awk: New file.
2988 * catgets/xopen-msg.sed: Removed.
2990 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2992 * intl/po2test.awk: New file.
2993 * intl/po2test.sed: Removed.
2995 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2998 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2999 or multiply small sinh result by itself.
3000 * math/s_ctanf.c (__ctanf): Likewise.
3001 * math/s_ctanh.c (__ctanh): Likewise.
3002 * math/s_ctanhf.c (__ctanhf): Likewise.
3003 * math/s_ctanhl.c (__ctanhl): Likewise.
3004 * math/s_ctanl.c (__ctanl): Likewise.
3005 * math/libm-test.inc (ctan_test_tonearest): New function.
3006 (ctan_test_towardzero): Likewise.
3007 (ctan_test_downward): Likewise.
3008 (ctan_test_upward): Likewise.
3009 (ctanh_test_tonearest): Likewise.
3010 (ctanh_test_towardzero): Likewise.
3011 (ctanh_test_downward): Likewise.
3012 (ctanh_test_upward): Likewise.
3013 (main): Call these new functions.
3014 * sysdeps/i386/fpu/libm-test-ulps: Update.
3015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3017 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3019 * .gitignore: Delete /ports entry.
3021 2012-07-03 Andreas Jaeger <aj@suse.de>
3023 * po/bg.po: Update from translation team.
3024 * po/cs.po: Likewise.
3025 * po/de.po: Likewise.
3026 * po/hr.po: Likewise.
3027 * po/nl.pl: Likewise.
3028 * po/pl.po: Likewise.
3029 * po/vi.po: Likewise.
3031 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3033 * Makeconfig [!+link] (+link-before-libc): New variable.
3034 [!+link] (+link-after-libc): Likewise.
3035 [!+link] (+link-tests): Likewise.
3036 [!+link] (+link): Define in terms of $(+link-before-libc) and
3037 $(+link-after-libc).
3038 [!+link-static] (+link-static-before-libc): New variable.
3039 [!+link-static] (+link-static-after-libc): Likewise.
3040 [!+link-static] (+link-static-tests): Likewise.
3041 [!+link-static] (+link-static): Define in terms of
3042 $(+link-static-before-libc) and $(+link-static-after-libc).
3043 [build-shared] (link-libc-before-gnulib): New variable.
3044 [build-shared] (link-libc-tests): Likewise.
3045 [build-shared] (link-libc): Define in terms of
3046 $(link-libc-before-gnulib).
3047 [!build-shared] (link-libc-tests): New variable.
3048 (link-libc-static-tests): New variable.
3049 [!gnulib] (gnulib-arch): New variable.
3050 [!gnulib] (gnulib-tests): Likewise.
3051 [!gnulib] (static-gnulib-arch): Likewise.
3052 [!gnulib] (static-gnulib-tests): Likewise.
3053 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3054 Define with "=" instead of ":=".
3055 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3056 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3057 * Rules (binaries-all-notests): New variable.
3058 (binaries-all-tests): Likewise.
3059 (binaries-static-notests): Likewise.
3060 (binaries-static-tests): Likewise.
3061 (binaries-all): Define using $(binaries-all-notests) and
3062 $(binaries-all-tests).
3063 (binaries-static): Define using $(binaries-static-notests) and
3064 $(binaries-static-tests).
3065 (binaries-shared-tests): New variable.
3066 (binaries-shared-notests): Likewise.
3067 (binaries-shared): Remove variable.
3068 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3069 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3070 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3071 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3072 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3073 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3074 * elf/Makefile (sln-modules): New variable.
3075 (extra-objs): Add $(sln-modules:=.o).
3076 (ldconfig-modules): Add static-stubs.
3077 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3078 * elf/static-stubs.c: New file.
3081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3082 by 7 not 8 to examine high bit of fractional part. Use volatile
3083 variables when splitting into final array of floats if
3084 __FLT_EVAL_METHOD__ != 0.
3085 * math/libm-test.inc (cos_test): Add another test.
3086 (sin_test): Likewise.
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3090 * math/libm-test.inc (cosh_test): Add more tests.
3092 * version.h (RELEASE): Set to "development".
3093 (VERSION): Set to "2.16.90".
3095 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3097 * NEWS: Update copyright. Remove last-updated date.
3098 Mention math library bug fixes and timezone data changes.
3099 * README: Mention GNU/Hurd, x32, and HPPA support status.
3101 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3103 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3105 2012-06-27 Andreas Jaeger <aj@suse.de>
3107 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3109 2012-06-25 Andreas Jaeger <aj@suse.de>
3111 * sysdeps/s390/fpu/libm-test-ulps: Update.
3113 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3114 Thomas Schwinge <thomas@codesourcery.com>
3116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3117 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3121 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3123 * sysdeps/mach/start.c: Remove file.
3124 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3125 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3126 * sysdeps/sh/init-first.c: Likewise.
3128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3129 registers for frame unwinding purposes, add CFI directives.
3130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3132 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3136 __fortify_fail returning.
3137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3140 sysdeps/sh/____longjmp_chk.S.
3141 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3142 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3143 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3144 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3146 * sysdeps/sh/abort-instr.h: New file.
3147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3148 process in case exit returns.
3150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3151 initialize the GOT register before use.
3153 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3154 calculation of ARGC > 4.
3156 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3157 meaningful names to some local labels.
3159 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3160 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3163 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3164 (__arch_compare_and_exchange_val_16_acq): Likewise.
3165 (__arch_compare_and_exchange_val_32_acq): Likewise.
3166 (atomic_exchange_and_add): Fix gUSA sequence.
3167 (atomic_add): Likewise.
3168 (atomic_add_negative): Likewise.
3169 (atomic_add_zero): Likewise.
3170 (atomic_bit_test_set): Likewise.
3172 2012-06-22 Andreas Schwab <schwab@redhat.com>
3175 * include/link.h (struct link_map): Add l_free_initfini.
3176 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3178 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3179 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3180 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3183 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3185 * configure.in: Use AC_LANG_SOURCE.
3186 * configure: Regenerate.
3188 2012-06-22 Roland McGrath <roland@hack.frob.com>
3190 * configure.in (libc_cv_localstatedir): New substituted variable.
3191 * configure: Regenerated.
3192 * config.make.in (localstatedir): New variable, substituted from
3193 libc_cv_localstatedir.
3194 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3195 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3196 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3197 * sysdeps/gnu/configure: Regenerated.
3199 2012-06-21 Jeff Law <law@redhat.com>
3202 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3203 free. Simplify list management for _LIBC case.
3205 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3209 Clear sign bit of 64-bit integer value before comparing against
3212 * sysdeps/mach/configure: Regenerated.
3214 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3217 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3219 2012-06-21 Jeff Law <law@redhat.com>
3222 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3223 uint16_t for elements in the "seen" array to avoid char overflows.
3224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3225 * elf/dl-open.c (dl_open_worker): Likewise.
3227 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3229 * scripts/list-sources.sh: Scan PORTS for translations.
3230 * po/libc.pot: Regenerated.
3232 2012-06-21 Andreas Jaeger <aj@suse.de>
3235 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3237 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3238 * bits/byteswap-16.h (__bswap_16): Likewise.
3239 * bits/byteswap.h (__bswap_constant_16): Likewise.
3241 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3244 * sysdeps/i386/fpu_control.h: Removed.
3245 * sysdeps/x86_64/fpu_control.h: Moved to ...
3246 * sysdeps/x86/fpu_control.h: Here.
3248 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3249 (_FPU_SETCW): Likewise.
3251 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3254 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3255 * sysdeps/x86/fpu/bits/mathinline.h: This.
3256 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3260 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3261 functions if __x86_64__ is defined.
3263 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3265 * string/endian.h: Add !__ASSEMBLER__ condition for including
3266 conversion interfaces.
3268 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3272 of ABS(x) in calculating zero to negative powers other than odd
3274 * math/libm-test.inc (pow_test): Add more tests.
3276 2012-06-15 Andreas Jaeger <aj@suse.de>
3278 * manual/contrib.texi (Contributors): Update entry of Liubov
3279 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3282 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3284 * string/string.h: Add __wur to GNU version of strerror_r.
3286 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3289 * string/Makefile (tests): Add tst-strtok_r.
3290 * string/tst-strtok_r.c: New file.
3291 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3292 RAX_LP/RDX_LP on SAVE_PTR.
3294 2012-06-14 Roland McGrath <roland@hack.frob.com>
3296 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3298 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3300 * libm_test.inc (csqrt_test): Allow more spurious underflow
3302 (j0_test): Likewise.
3303 (j1_test): Likewise.
3304 (y0_test): Likewise.
3305 (y1_test): Likewise.
3307 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3309 * po/Makefile (libc.pot): Use UTF-8 charset.
3311 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3314 Suppress sign-conversion warning from FD_SET.
3315 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3316 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3317 not unsigned long int.
3318 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3320 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3324 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3325 __extern_always_inline instead of __extern_inline.
3326 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3327 (__signbit): Likewise.
3328 (__signbitl): Support C++ namespace.
3329 (lrintf): New inline function.
3331 (llrintf): Likewise.
3343 (nearbyint): Likewise.
3344 (nearbyintf): Likewise.
3346 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3349 non-default versions.
3351 2012-06-11 Roland McGrath <roland@hack.frob.com>
3354 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3356 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3358 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3359 (FE_UPWARD, FE_DOWNWARD): Don't define.
3360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3365 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3368 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3375 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3378 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3379 * sysdeps/i386/fpu/Implies: New file.
3380 * sysdeps/x86_64/fpu/Implies: Likewise.
3381 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3382 * sysdeps/x86/fpu/bits/fenv.h: This.
3384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3387 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3390 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3391 character 0xffff that matches the last element of the
3394 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3402 values higher than 25.6283.
3404 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3407 subnormal exponent extraction and add some __builtin_expect.
3408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3409 Fix for subnormal mantissa calculation.
3411 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3413 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3414 cpu2 is -1 and errno is not ENOSYS.
3416 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3419 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3420 * sysdeps/x86/bits/string.h: This.
3421 * sysdeps/x86_64/bits/string.h: Removed.
3423 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3424 if not compiling for x86-64, but compiling for >= i486.
3426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3427 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3430 New macro from Linux kernel 3.4.0.
3431 (FP_XSTATE_MAGIC2): Likewise.
3432 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3433 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3434 (struct _fpx_sw_bytes): New struct.
3435 (struct _xsave_hdr): Likewise.
3436 (struct _ymmh_state): Likewise.
3437 (struct _xstate): Likewise.
3439 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3440 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3442 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3444 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3446 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3448 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3449 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3450 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3451 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3453 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3456 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3457 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3458 (sysdep_headers): Include sys/platform/ppc.h.
3459 * sysdeps/powerpc/test-gettimebase.c: Test for
3460 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3461 * manual/Makefile (appendices): Include platform.texi.
3462 * manual/contrib.texi (Contributors): Update @node pointers.
3463 * manual/maint.texi (Maintenance): Likewise.
3464 (Platform): New node.
3465 * manual/platform.texi: New file. Document the new features.
3467 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 Jakub Jelinek <jakub@redhat.com>
3471 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3472 where __builtin_expect is unavailable.
3474 2012-06-03 David S. Miller <davem@davemloft.net>
3476 * stdlib/longlong.h: Updated from GCC.
3478 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3481 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3482 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3485 (GLIBC_2.16): Likewise.
3487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3491 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3494 (default-abi): New variable.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3500 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3505 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3506 definition. Document in comment.
3508 2012-06-01 David S. Miller <davem@davemloft.net>
3510 * stdlib/longlong.h: Updated from GCC.
3512 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3515 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3516 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3517 sys/debugreg.h sys/io.h here.
3518 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3519 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3521 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3522 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3523 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3524 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3525 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3526 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3529 Define only if __x86_64__ is defined.
3531 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3535 Use int64_t for variable i.
3536 * math/libm-test.inc (fmod_test): Add more tests.
3538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3539 z computation is not scheduled after fetestexcept.
3540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3541 Use math_force_eval instead of asm to ensure calculation scheduled
3542 before exception test.
3543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3544 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3546 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3549 computation is not scheduled after fetestexcept.
3551 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3557 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3562 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3567 (__WCHAR_MIN): Support __WORDSIZE == 64.
3568 (__WCHAR_MAX): Likewise.
3570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3575 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3581 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3585 Defined to 1 if __x86_64__ isn't defined.
3586 (_STAT_VER_LINUX_OLD): New.
3587 (st_atime): Remove duplicate.
3588 (st_mtime): Likewise.
3589 (st_ctime): Likewise.
3591 2012-05-31 David S. Miller <davem@davemloft.net>
3593 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3596 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3598 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3602 * elf/dl-reloc.c: Include <_itoa.h>.
3603 (_dl_reloc_bad_type): Remove use of INTUSE.
3604 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3605 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3606 * stdio-common/psiginfo.c (psiginfo): Likewise.
3607 * stdio-common/psignal.c (psignal): Likewise.
3608 * string/strsignal.c (strsignal): Likewise.
3609 * include/signal.h (_sys_siglist): Declare hidden proto.
3610 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3611 INTVARDEF with libc_hidden_data_def.
3612 * stdio-common/itoa-udigits.c: Likewise.
3613 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3614 (_itoa_lower_digits_internal): Remove declaration.
3615 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3616 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3617 (_sys_sigabbrev_internal): Remove aliases.
3618 (_sys_siglist): Define hidden alias.
3620 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3625 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3629 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3631 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3634 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3636 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3638 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3657 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3662 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3665 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3671 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3672 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3674 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3676 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3678 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3680 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3682 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3684 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3686 * math/math.h (M_El): Use two more decimal places.
3687 (M_LOG2El): Likewise.
3688 (M_LOG10El): Likewise.
3690 (M_LN10l): Likewise.
3692 (M_PI_2l): Likewise.
3693 (M_PI_4l): Likewise.
3694 (M_1_PIl): Likewise.
3695 (M_2_PIl): Likewise.
3696 (M_2_SQRTPIl): Likewise.
3697 (M_SQRT2l): Likewise.
3698 (M_SQRT1_2l): Likewise.
3700 2012-05-31 David S. Miller <davem@davemloft.net>
3702 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3703 values between float registers.
3704 * sysdeps/sparc/sparc64/memset.S: Likewise.
3705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3707 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3709 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3710 -D_FORTIFY_SOURCE=1.
3711 (CPPFLAGS-tst-longjmp_chk.c): Define.
3712 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3713 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3714 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3715 CFLAGS-tst-wchar-h.c.
3717 2012-05-31 Marek Polacek <polacek@redhat.com>
3720 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3721 __endmntent_internal): Remove declaration.
3722 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3723 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3724 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3726 2012-05-30 David S. Miller <davem@davemloft.net>
3728 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3729 (___Q_simulate_exceptions): Use real FP ops rather than writing
3731 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3737 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3738 * sysdeps/x86/bits/xtitypes.h: This.
3740 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3741 * sysdeps/x86/bits/wordsize.h: This.
3743 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3744 * sysdeps/x86/bits/huge_vall.h: This.
3746 * sysdeps/i386/bits/select.h: Removed.
3747 * sysdeps/x86_64/bits/select.h: Renamed to ...
3748 * sysdeps/x86/bits/select.h: This.
3750 * sysdeps/i386/bits/setjmp.h: Removed.
3751 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3752 * sysdeps/x86/bits/setjmp.h: This.
3754 * sysdeps/i386/bits/mathdef.h: Removed.
3755 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3756 * sysdeps/x86/bits/mathdef.h: This.
3758 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3761 * include/sys/socket.h (__connect_internal)
3762 (__libc_sa_len_internal): Remove declaration.
3763 (__connect, __libc_sa_len): Declare hidden_proto.
3764 (SA_LEN): Remove use of INTUSE.
3765 * socket/connect.c: Add libc_hidden_def.
3766 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3767 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3768 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3770 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3772 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3773 of adding _internal alias.
3775 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3778 * sysdeps/i386/bits/link.h: Removed.
3779 * sysdeps/i386/bits/linkmap.h: Likewise.
3780 * sysdeps/x86_64/bits/link.h: Renamed to ...
3781 * sysdeps/x86/bits/link.h: This.
3782 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3783 * sysdeps/x86/bits/linkmap.h: This.
3785 * sysdeps/i386/bits/endian.h: Removed.
3786 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3787 * sysdeps/x86/bits/endian.h: This.
3789 * sysdeps/i386/bits/byteswap.h: Removed.
3790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3791 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3792 * sysdeps/x86/bits/byteswap.h: This.
3793 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3794 * sysdeps/x86/bits/byteswap-16.h: This.
3795 * sysdeps/i386/Implies: Add x86.
3796 * sysdeps/x86_64/Implies: Likewise.
3798 2012-05-30 David S. Miller <davem@davemloft.net>
3800 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3801 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3803 (FP_TRAPPING_EXCEPTIONS): Define.
3804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3805 (FP_TRAPPING_EXCEPTIONS): Define.
3806 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3807 subnormals only when inexact has been signalled or underflow
3808 exceptions are enabled.
3809 (_FP_PACK_CANONICAL): Likewise.
3811 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3815 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3817 2012-05-30 Richard Henderson <rth@twiddle.net>
3819 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3820 with #ifndef NOT_IN_libc.
3822 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3823 marked to avoid plt entry.
3825 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3828 * Makeconfig (default-abi): New macro.
3829 (abi-includes): Likewise.
3830 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3831 $(abi-$(default-abi)-lib-soname) for soname if defined.
3832 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3834 * Makefile (installed-stubs): Likewise.
3835 * include/stubs-biarch.h: Removed.
3836 * scripts/lib-names.awk: Only handle one library at a time.
3837 * scripts/soversions.awk: Remove WORDSIZE support.
3838 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3842 (syscall-list-default-condition): Likewise.
3843 (syscall-list-default-condition): Likewise.
3844 (syscall-list-includes): Likewise.
3845 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3846 syscall-list-* with abi-*. Handle undefined abi-variants.
3847 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3848 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3849 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3851 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3852 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3854 (syscall-list-32-options): Likewise.
3855 (syscall-list-32-condition): Likewise.
3856 (syscall-list-64-options): Likewise.
3857 (syscall-list-64-condition): Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3860 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3863 (abi-64-ld-soname): New macro.
3864 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3868 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3869 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3871 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3873 * sysdeps/unix/sysv/linux/kernel-features.h
3874 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3875 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3876 include <kernel-features.h>.
3877 [!__NR_ftruncate64]: Remove conditional code.
3878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3879 [__NR_ftruncate64]: Make code unconditional.
3880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3881 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3882 include <kernel-features.h>.
3883 [!__NR_ftruncate64]: Remove conditional code.
3884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3885 [__NR_ftruncate64]: Make code unconditional.
3886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3888 include <kernel-features.h>.
3889 [!__NR_ftruncate64]: Remove conditional code.
3890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3891 [__NR_ftruncate64]: Make code unconditional.
3892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3894 include <kernel-features.h>.
3895 [!__NR_ftruncate64]: Remove conditional code.
3896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3897 [__NR_ftruncate64]: Make code unconditional.
3898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3900 * configure.in (libc_cv_fpie): Weaken to a compile test using
3902 * configure: Regenerated.
3904 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3919 2012-05-27 David S. Miller <davem@davemloft.net>
3921 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3923 (__Q_simulate_exceptions): Return void. Change to simulate
3924 exceptions by writing into the %fsr.
3925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3926 (__Qp_handle_exceptions): Likewise.
3928 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3929 __Qp_handle_exceptions.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3931 __Qp_handle_exceptions.
3932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3933 as unused and give dummy FP_RND_NEAREST initializer.
3934 (FP_INHIBIT_RESULTS): Define.
3935 (___Q_simulate_exceptions): Update declaration.
3936 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3939 as unused and give dummy FP_RND_NEAREST initializer.
3940 (__Qp_handle_exceptions): Update declaration.
3941 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3944 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3946 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3947 the temporary FPU control word.
3948 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3949 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3951 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3956 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3957 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3960 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3965 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3967 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3968 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3972 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3973 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3976 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3978 * po/h.po: Update from translation team.
3980 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3982 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3985 handling of denormals.
3986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3987 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3995 2012-05-26 Marek Polacek <polacek@redhat.com>
3998 * math/libm-test.inc (fma_test): Don't always expect underflow
4001 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4004 * elf/tst-execstack.c: Include stackinfo.h.
4005 (do_test): Adjust test case to ensure that pthread_getattr_np
4006 behaviour remains the same after marking stack executable.
4008 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4010 * sysdeps/unix/sysv/linux/kernel-features.h
4011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4016 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4018 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4019 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4021 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4023 * configure.in: Define the default includes to being none.
4024 * configure: Regenerated.
4026 2012-05-25 Roland McGrath <roland@hack.frob.com>
4028 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4029 * sysdeps/x86_64/setjmp.S: Likewise.
4030 * sysdeps/i386/bsd-setjmp.S: Likewise.
4031 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4032 * sysdeps/i386/setjmp.S: Likewise.
4033 * sysdeps/i386/__longjmp.S: Likewise.
4034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4037 * include/stap-probe.h: New file.
4038 * configure.in: Handle --enable-systemtap.
4039 * configure: Regenerated.
4040 * config.h.in (USE_STAP_PROBE): New #undef.
4041 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4042 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4043 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4045 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4049 to 2.4.0 where earlier.
4050 * sysdeps/unix/sysv/linux/configure: Regenerated.
4051 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
4060 [__ASSUME_32BITUIDS]: Make code unconditional.
4061 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4062 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4063 <kernel-features.h>.
4064 [__ASSUME_32BITUIDS]: Make code unconditional.
4065 [!__ASSUME_32BITUIDS]: Remove conditional code.
4066 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4067 <kernel-features.h>.
4068 [__ASSUME_32BITUIDS]: Make code unconditional.
4069 [!__ASSUME_32BITUIDS]: Remove conditional code.
4070 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4071 <kernel-features.h>.
4072 [__ASSUME_32BITUIDS]: Make code unconditional.
4073 [!__ASSUME_32BITUIDS]: Remove conditional code.
4074 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4075 <kernel-features.h>.
4076 [__ASSUME_32BITUIDS]: Make code unconditional.
4077 [!__ASSUME_32BITUIDS]: Remove conditional code.
4078 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4079 <kernel-features.h>.
4080 [__ASSUME_32BITUIDS]: Make code unconditional.
4081 [!__ASSUME_32BITUIDS]: Remove conditional code.
4082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4083 <kernel-features.h>.
4084 [__ASSUME_32BITUIDS]: Make code unconditional.
4085 [!__ASSUME_32BITUIDS]: Remove conditional code.
4086 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4087 <kernel-features.h>.
4088 [__ASSUME_32BITUIDS]: Make code unconditional.
4089 [!__ASSUME_32BITUIDS]: Remove conditional code.
4090 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4091 <kernel-features.h>.
4092 [__ASSUME_32BITUIDS]: Make code unconditional.
4093 [!__ASSUME_32BITUIDS]: Remove conditional code.
4094 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4095 <kernel-features.h>.
4096 [__ASSUME_32BITUIDS]: Make code unconditional.
4097 [!__ASSUME_32BITUIDS]: Remove conditional code.
4098 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4099 <kernel-features.h>.
4100 [__ASSUME_32BITUIDS]: Make code unconditional.
4101 [!__ASSUME_32BITUIDS]: Remove conditional code.
4102 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4103 <kernel-features.h>.
4104 [__NR_setresgid] (__setresgid): Do not declare.
4105 [__ASSUME_32BITUIDS]: Make code unconditional.
4106 [!__ASSUME_32BITUIDS]: Remove conditional code.
4107 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4108 <kernel-features.h>.
4109 [__NR_setresuid] (__setresuid): Do not declare.
4110 [__ASSUME_32BITUIDS]: Make code unconditional.
4111 [!__ASSUME_32BITUIDS]: Remove conditional code.
4112 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4113 <kernel-features.h>.
4114 [__ASSUME_32BITUIDS]: Make code unconditional.
4115 [!__ASSUME_32BITUIDS]: Remove conditional code.
4116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4117 <kernel-features.h>.
4118 [__ASSUME_32BITUIDS]: Make code unconditional.
4119 [!__ASSUME_32BITUIDS]: Remove conditional code.
4120 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4121 <kernel-features.h>.
4122 [__ASSUME_32BITUIDS]: Make code unconditional.
4123 [!__ASSUME_32BITUIDS]: Remove conditional code.
4124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4125 <kernel-features.h>.
4126 [__ASSUME_32BITUIDS]: Make code unconditional.
4127 [!__ASSUME_32BITUIDS]: Remove conditional code.
4128 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4129 <kernel-features.h>.
4130 [__ASSUME_32BITUIDS]: Make code unconditional.
4131 [!__ASSUME_32BITUIDS]: Remove conditional code.
4132 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4133 <kernel-features.h>.
4134 [__ASSUME_32BITUIDS]: Make code unconditional.
4135 [!__ASSUME_32BITUIDS]: Remove conditional code.
4136 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4137 <kernel-features.h>.
4138 [__ASSUME_32BITUIDS]: Make code unconditional.
4139 [!__ASSUME_32BITUIDS]: Remove conditional code.
4140 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4141 <kernel-features.h>.
4142 [__ASSUME_32BITUIDS]: Make code unconditional.
4143 [!__ASSUME_32BITUIDS]: Remove conditional code.
4144 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4145 <kernel-features.h>.
4146 [__ASSUME_32BITUIDS]: Make code unconditional.
4147 [!__ASSUME_32BITUIDS]: Remove conditional code.
4148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4149 <kernel-features.h>.
4150 [__ASSUME_32BITUIDS]: Make code unconditional.
4151 [!__ASSUME_32BITUIDS]: Remove conditional code.
4152 * sysdeps/unix/sysv/linux/kernel-features.h
4153 (__ASSUME_SETRESUID_SYSCALL): Remove.
4154 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4155 (__ASSUME_32BITUIDS): Likewise.
4156 (__ASSUME_LDT_WORKS): Likewise.
4157 (__ASSUME_O_DIRECTORY): Likewise.
4158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4159 architecture but not kernel version.
4160 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4161 (__ASSUME_MMAP2_SYSCALL): Likewise.
4162 (__ASSUME_STAT64_SYSCALL): Likewise.
4163 (__ASSUME_IPC64): Likewise.
4164 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4165 <kernel-features.h>.
4166 [__ASSUME_32BITUIDS]: Make code unconditional.
4167 [!__ASSUME_32BITUIDS]: Remove conditional code.
4168 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4169 <kernel-features.h>.
4170 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4171 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4172 132096]: Remove conditional code.
4173 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4175 <kernel-features.h>.
4176 [__ASSUME_32BITUIDS]: Make code unconditional.
4177 [!__ASSUME_32BITUIDS]: Remove conditional code.
4178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4179 <kernel-features.h>.
4180 [__ASSUME_32BITUIDS]: Make code unconditional.
4181 [!__ASSUME_32BITUIDS]: Remove conditional code.
4182 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4183 <kernel-features.h>.
4184 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4186 (__setresgid): Do not declare.
4187 [__ASSUME_32BITUIDS]: Make code unconditional.
4188 [!__ASSUME_32BITUIDS]: Remove conditional code.
4189 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4190 <kernel-features.h>.
4191 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4193 (__setresuid): Do not declare.
4194 [__ASSUME_32BITUIDS]: Make code unconditional.
4195 [!__ASSUME_32BITUIDS]: Remove conditional code.
4196 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4197 <kernel-features.h>.
4198 [__ASSUME_32BITUIDS]: Make code unconditional.
4199 [!__ASSUME_32BITUIDS]: Remove conditional code.
4200 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4201 <kernel-features.h>.
4202 [__ASSUME_32BITUIDS]: Make code unconditional.
4203 [!__ASSUME_32BITUIDS]: Remove conditional code.
4205 2012-05-25 Richard Henderson <rth@twiddle.net>
4207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4208 dl_hwcap to ifunc resolver.
4209 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4212 dl_hwcap to ifunc resolver.
4213 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4215 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4218 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4219 for |x| <= 2**-26, not 2**-57.
4220 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4223 2012-05-24 Jeff Law <law@redhat.com>
4225 * stdio-common/Makefile (tests): Add bug25.
4226 * stdio-common/bug25.c: New test.
4228 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4231 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4232 multiple of MALLOC_ALIGNMENT in size.
4233 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4235 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4237 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4239 (FILENAME_MAX): Use macro-int-constant.
4240 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4241 (_IOFBF): Use macro-int-constant.
4244 (SEEK_CUR): Likewise.
4245 (SEEK_END): Likewise.
4246 (SEEK_SET): Likewise.
4247 (TMP_MAX): Likewise.
4248 (EOF): Use macro-int-constant. Require < 0.
4249 (NULL): Use macro-constant. Require == 0.
4250 (stdin): Require type to be FILE *.
4253 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4255 (EXIT_SUCCESS): Likewise.
4256 (NULL): Use macro-constant. Require == 0.
4257 (RAND_MAX): Use macro-int-constant.
4258 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4259 [C99-based standards] (strtof): Require function.
4260 [C99-based standards] (strtold): Likewise.
4261 [C99-based standards] (strtoll): Likewise.
4262 [C99-based standards] (strtoull): Likewise.
4263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4264 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4265 [ISO || ISO99 || ISO11] (math.h): Likewise.
4266 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4270 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4273 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4274 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4275 * intl/dgettext.c (DCGETTEXT): Likewise.
4276 * intl/gettext.c (DCGETTEXT): Likewise.
4277 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4278 * posix/regex_internal.h (gettext): Likewise.
4279 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4281 * include/argz.h (__argz_count_internal)
4282 (__argz_stringify_internal): Remove declaration.
4283 (__argz_count, __argz_stringify): Declare hidden proto.
4284 * intl/dcgettext.c: Remove use of INTDEF.
4285 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4286 * string/argz-stringify.c: Likewise.
4287 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4288 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4289 Declare hidden proto.
4290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4292 Declare hidden proto.
4293 * include/stdio.h (__asprintf_internal): Don't declare.
4294 (__asprintf): Don't define as macro. Declare hidden proto.
4295 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4296 (__fsetlocking): Declare hidden proto.
4297 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4298 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4300 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4301 (_IO_setlinebuf): Remove use of INTUSE.
4302 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4303 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4304 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4306 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4307 (_IO_do_flush): Remove use of INTUSE.
4308 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4309 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4310 (_IO_adjust_column, _IO_least_wmarker)
4311 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4312 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4313 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4314 (_IO_default_doallocate, _IO_wdefault_doallocate)
4315 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4316 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4317 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4318 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4319 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4320 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4321 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4322 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4323 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4324 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4325 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4326 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4327 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4329 (_IO_flush_all_internal, _IO_adjust_column_internal)
4330 (_IO_default_uflow_internal, _IO_default_finish_internal)
4331 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4332 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4333 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4334 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4335 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4336 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4337 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4338 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4339 (_IO_file_close_internal, _IO_file_close_it_internal)
4340 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4341 (_IO_file_init_internal, _IO_file_attach_internal)
4342 (_IO_file_fopen_internal, _IO_file_read_internal)
4343 (_IO_file_sync_internal, _IO_file_seek_internal)
4344 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4345 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4346 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4347 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4348 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4349 (_IO_list_all_internal, _IO_link_in_internal)
4350 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4351 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4352 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4353 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4354 (_IO_do_write_internal, _IO_padn_internal)
4355 (_IO_getline_info_internal, _IO_getline_internal)
4356 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4357 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4358 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4359 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4360 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4361 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4362 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4363 with libc_hidden_ver, remove use of INTUSE.
4364 * libio/genops.c: Likewise.
4365 * libio/freopen.c: Likewise.
4366 * libio/freopen64.c: Likewise.
4367 * libio/iofclose.c: Likewise.
4368 * libio/iofdopen.c: Likewise.
4369 * libio/iofflush.c: Likewise.
4370 * libio/iofflush_u.c: Likewise.
4371 * libio/iofgets.c: Likewise.
4372 * libio/iofgets_u.c: Likewise.
4373 * libio/iofopen.c: Likewise.
4374 * libio/iofopncook.c: Likewise.
4375 * libio/iofread.c: Likewise.
4376 * libio/iofread_u.c: Likewise.
4377 * libio/ioftell.c: Likewise.
4378 * libio/iofwrite.c: Likewise.
4379 * libio/iogetline.c: Likewise.
4380 * libio/iogets.c: Likewise.
4381 * libio/iogetwline.c: Likewise.
4382 * libio/iopadn.c: Likewise.
4383 * libio/iopopen.c: Likewise.
4384 * libio/ioseekoff.c: Likewise.
4385 * libio/ioseekpos.c: Likewise.
4386 * libio/iosetbuffer.c: Likewise.
4387 * libio/iosetvbuf.c: Likewise.
4388 * libio/ioungetc.c: Likewise.
4389 * libio/ioungetwc.c: Likewise.
4390 * libio/iovdprintf.c: Likewise.
4391 * libio/iovsprintf.c: Likewise.
4392 * libio/iovsscanf.c: Likewise.
4393 * libio/memstream.c: Likewise.
4394 * libio/obprintf.c: Likewise.
4395 * libio/oldfileops.c: Likewise.
4396 * libio/oldiofclose.c: Likewise.
4397 * libio/oldiofdopen.c: Likewise.
4398 * libio/oldiofopen.c: Likewise.
4399 * libio/oldiopopen.c: Likewise.
4400 * libio/oldstdfiles.c: Likewise.
4401 * libio/putc.c: Likewise.
4402 * libio/setbuf.c: Likewise.
4403 * libio/setlinebuf.c: Likewise.
4404 * libio/stdfiles.c: Likewise.
4405 * libio/strops.c: Likewise.
4406 * libio/vasprintf.c: Likewise.
4407 * libio/vscanf.c: Likewise.
4408 * libio/vsnprintf.c: Likewise.
4409 * libio/vswprintf.c: Likewise.
4410 * libio/wfiledoalloc.c: Likewise.
4411 * libio/wfileops.c: Likewise.
4412 * libio/wgenops.c: Likewise.
4413 * libio/wmemstream.c: Likewise.
4414 * libio/wstrops.c: Likewise.
4415 * libio/__fpurge.c: Likewise.
4416 * libio/__fsetlocking.c: Likewise.
4417 * assert/assert.c: Likewise.
4418 * debug/fgets_chk.c: Likewise.
4419 * debug/fgets_u_chk.c: Likewise.
4420 * debug/fread_chk.c: Likewise.
4421 * debug/fread_u_chk.c: Likewise.
4422 * debug/gets_chk.c: Likewise.
4423 * debug/obprintf_chk.c: Likewise.
4424 * debug/vasprintf_chk.c: Likewise.
4425 * debug/vdprintf_chk.c: Likewise.
4426 * debug/vsnprintf_chk.c: Likewise.
4427 * debug/vsprintf_chk.c: Likewise.
4428 * malloc/mtrace.c: Likewise.
4429 * misc/error.c: Likewise.
4430 * misc/syslog.c: Likewise.
4431 * stdio-common/asprintf.c: Likewise.
4432 * stdio-common/fxprintf.c: Likewise.
4433 * stdio-common/getw.c: Likewise.
4434 * stdio-common/isoc99_fscanf.c: Likewise.
4435 * stdio-common/isoc99_scanf.c: Likewise.
4436 * stdio-common/isoc99_vfscanf.c: Likewise.
4437 * stdio-common/isoc99_vscanf.c: Likewise.
4438 * stdio-common/isoc99_vsscanf.c: Likewise.
4439 * stdio-common/printf-prs.c: Likewise.
4440 * stdio-common/printf_fp.c: Likewise.
4441 * stdio-common/printf_fphex.c: Likewise.
4442 * stdio-common/printf_size.c: Likewise.
4443 * stdio-common/putw.c: Likewise.
4444 * stdio-common/scanf.c: Likewise.
4445 * stdio-common/sprintf.c: Likewise.
4446 * stdio-common/tmpfile.c: Likewise.
4447 * stdio-common/vfprintf.c: Likewise.
4448 * stdio-common/vfscanf.c: Likewise.
4449 * stdlib/strfmon_l.c: Likewise.
4450 * sunrpc/openchild.c: Likewise.
4451 * sunrpc/xdr_stdio.c: Likewise.
4452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4453 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4455 2012-05-24 Roland McGrath <roland@hack.frob.com>
4457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4459 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4460 in the third column, to generate for the shared library an IFUNC
4461 that uses _dl_vdso_vsym.
4462 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4463 * Makeconfig (object-suffixes-noshared): New variable.
4465 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4466 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4467 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4468 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4471 * include/sys/time.h (__gettimeofday): Remove macro.
4472 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4473 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4475 (__gettimeofday): Add libc_hidden_def.
4476 (gettimeofday): Add libc_hidden_weak.
4477 * sysdeps/mach/gettimeofday.c: Likewise.
4478 * sysdeps/posix/gettimeofday.c: Likewise.
4479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4482 (__gettimeofday_internal): Remove strong_alias.
4483 (__gettimeofday): Add libc_hidden_def.
4484 (gettimeofday): Add libc_hidden_weak.
4485 * sysdeps/unix/syscalls.list (gettimeofday):
4486 Remove __gettimeofday_internal alias.
4488 2012-05-24 Daniel Jacobowitz <drow@false.org>
4489 H.J. Lu <hongjiu.lu@intel.com>
4492 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4493 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4494 (largebin_index_32_big): New.
4495 (largebin_index): Use it for 16-byte alignment.
4496 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4497 correction with front_misalign.
4499 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4527 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4528 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4530 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4534 * math/libm-test.inc (exp_test): Add test from bug 14036.
4535 (pow_test): Add test from bug 10846.
4537 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4539 (special_function): Do not include flags in test name.
4540 (parse_args): Likewise.
4541 * sysdeps/i386/fpu/libm-test-ulps: Update.
4542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4549 * math/libm-test.inc ("Philosophy"): Update comment about
4551 (UNDERFLOW_EXCEPTION): New macro.
4552 (UNDERFLOW_EXCEPTION_OK): Likewise.
4553 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4554 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4555 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4556 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4557 (INVALID_EXCEPTION_OK): Update value.
4558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4559 (OVERFLOW_EXCEPTION_OK): Likewise.
4560 (IGNORE_ZERO_INF_SIGN): Likewise.
4561 (test_exceptions): Handle underflow exceptions.
4562 (acos_test): Update for underflow exception expectations.
4563 (cexp_test): Likewise.
4564 (clog_test): Likewise.
4565 (clog10_test): Likewise.
4566 (csqrt_test): Likewise.
4567 (ctan_test): Likewise.
4568 (ctanh_test): Likewise.
4569 (exp_test): Likewise.
4570 (exp10_test): Likewise.
4571 (exp2_test): Likewise.
4572 (expm1_test): Likewise.
4573 (fma_test): Likewise.
4574 (j0_test): Likewise.
4575 (jn_test): Likewise.
4576 (nexttoward_test): Likewise.
4577 (pow_test): Likewise.
4578 (scalbn_test): Likewise.
4579 (scalbln_test): Likewise.
4580 (tan_test): Likewise.
4581 (y1_test): Likewise.
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4585 2012-05-23 David S. Miller <davem@davemloft.net>
4587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4588 (__libc_sigaction): Remove unused local variables.
4590 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4592 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4594 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4596 mktime: avoid signed integer overflow
4597 * time/mktime.c (__mktime_internal): Do not mishandle the case
4598 where diff == INT_MIN.
4600 mktime: simplify computation of average
4601 * time/mktime.c (ranged_convert): Use new time_t_avg function
4602 instead of rolling our own (probably-slower) code.
4604 mktime: do not assume signed right shift propagates sign bit
4605 * time/mktime.c (isdst_differ): New static function.
4606 (__mktime_internal): No need to normalize tm_isdst now.
4607 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4610 mktime: merge another wrapv change from gnulib
4611 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4612 from some compilers.
4614 mktime: remove incorrect attempt at unusual arithmetics
4615 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4616 The code didn't really work on such machines anyway.
4617 (TYPE_MINIMUM): Assume two's complement.
4618 (twos_complement_arithmetic): Verify that long_int and time_t
4619 are two's complement (or unsigned, in the latter case).
4621 mktime: check signed shifts on long_int and time_t, too
4622 * time/mktime.c (SHR): Check that shifts work as desired
4623 on the types long_int and time_t too, as SHR is used on
4626 mktime: do not assume 'long' is wide enough
4627 * time/mktime.c (verify): Move decl up.
4628 (long_int): New type.
4629 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4630 to remove assumption in the code that 'long' is wide enough to
4631 store year values. This assumption is not true on x32 and on
4632 some non-glibc platforms.
4634 mktime: merge wrapv change from gnulib
4635 * time/mktime.c (WRAPV): New macro.
4636 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4637 (guess_time_tm, __mktime_internal): Do not assume that signed
4638 integer overflow wraps around; modern compilers generate code
4639 where this assumption is no longer valid.
4641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4644 Replace "jmp L(pseudo_end)" with "ret".
4645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4648 2012-05-23 Andreas Jaeger <aj@suse.de>
4650 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4651 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4653 2012-05-23 Andreas Jaeger <aj@suse.de>
4654 Maximilian Attems <max@stro.at>
4656 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4662 code so that pseudo_end is just ret and the stack pointer is
4663 correct also for static library in error case.
4665 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4668 move to syscalls.list.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4674 * manual/install.texi (Running make install): Do not mention Linux
4675 kernel version for which pt_chown is not needed.
4676 (Linux): Do not mention problems with nscd with 2.0 kernels.
4677 * INSTALL: Regenerated.
4679 2012-05-23 Andreas Jaeger <aj@suse.de>
4681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4682 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4684 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4686 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4688 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4694 * sysdeps/unix/sysv/linux/bits/in.h
4695 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4697 2012-05-22 Roland McGrath <roland@hack.frob.com>
4699 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4700 (PREPARE_VERSION): Just use assert instead, it will be elided
4701 under [NDEBUG] anyway.
4703 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4705 * sysdeps/unix/sysv/linux/Makefile: Include
4706 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4707 (sysdep_routines): Remove sysctl.
4708 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4709 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4710 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4712 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4714 2012-05-22 Andreas Jaeger <aj@suse.de>
4716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4717 that pseudo_end is just ret and the stack pointer is correct also
4718 for static library in error case.
4720 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4723 * nss/nsswitch.c (defconfig_entries): New variable.
4724 (__nss_database_lookup): Don't leak defconfig entries.
4725 (nss_parse_service_list): Don't leak on error paths.
4726 (free_database_entries): New function.
4727 (free_defconfig): New function.
4728 (free_mem): Move common code to free_database_entries.
4730 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4736 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4737 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4740 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4741 (INTERNAL_SYSCALL_TYPES): Likewise.
4742 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4743 (LOAD_REGS_TYPES_[1-6]): Likewise.
4744 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4745 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4747 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4750 copysignl for GLIBC_2_0.
4751 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4752 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4754 logbl for GLIBC_2_0.
4755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4756 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4758 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4766 * time/mktime.c: Update copyright years.
4768 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4770 mktime: merge comment-quoting-style change from gnulib
4771 * time/mktime.c: Quote 'like this' in comments.
4772 The GNU coding standards suggest that we no longer quote `like this',
4773 as "`" and "'" are typically rendered asymmetrically nowadays.
4774 The typical gnulib style is to quote 'like this' when quoting
4775 code, and "like this" when quoting English.
4777 * time/mktime.c (compile-command): Add "-I.".
4779 mktime: merge mktime-internal.h change from gnulib
4780 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4782 mktime: merge time_r change from gnulib
4783 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4785 mktime: merge DEBUG change from gnulib
4786 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4787 case system <time.h> has a #define.
4789 mktime: merge <sys/types.h> change from gnulib
4790 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4791 since <time.t> is now guaranteed to define time_t.
4793 mktime: merge HAVE_CONFIG_H change from gnulib
4794 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4803 (struct rusage): Use anonymous union to pad each field to
4806 2012-05-21 David S. Miller <davem@davemloft.net>
4808 * Makefules (o-iterator): Remove .s cases.
4809 (compile-command.s): Delete.
4810 (COMPILE.s): Delete.
4811 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4813 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4815 * configure.in (libc_cv_predef_stack_protector): Only consider
4816 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4817 * configure: Regenerated.
4819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4822 New macro. Use R*LP on int and pointer.
4823 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4825 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4826 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4828 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4829 [__WORDSIZE_TIME64_COMPAT32] instead of
4830 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4831 (struct utmp): Likewise.
4832 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4833 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4835 (__WORDSIZE_TIME64_COMPAT32): This.
4836 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4837 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4838 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4841 (__WORDSIZE_TIME64_COMPAT32): New macro.
4843 2012-05-21 Andreas Jaeger <aj@suse.de>
4845 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4846 only if [SHARED]. Add prototype for __wcschr_ia32.
4848 2012-05-21 Roland McGrath <roland@hack.frob.com>
4850 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4851 of %rbp unmolested in the jmp_buf while mangling the low bits.
4852 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4853 unmolested high bits of %rbp while demangling the low bits.
4854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4856 2012-05-21 Andreas Jaeger <aj@suse.de>
4858 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4859 * sunrpc/svc_simple.c: Use it for registerrpc.
4860 * sunrpc/xcrypt.c: Use it for passwd2des.
4862 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4864 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4866 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4867 Don't define if [__SYSCALL_WORDSIZE != 32].
4868 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4871 2012-05-21 Bruno Haible <bruno@clisp.org>
4872 Andreas Jaeger <aj@suse.de>
4874 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4875 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4876 inptr and inend for must_buffer_ch.
4877 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4878 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4879 * stdio-common/Makefile (tests): Remove bug15.
4880 (bug15-ENV): Remove macro.
4881 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4884 2012-05-19 Andreas Jaeger <aj@suse.de>
4885 Roland McGrath <roland@hack.frob.com>
4887 * manual/contrib.texi: Completely rewritten. It contains now an
4888 alphabetical list of contributors and their contributions.
4890 2012-05-21 Richard Henderson <rth@twiddle.net>
4892 * misc/getauxval.c (__getauxval): Use unsigned long int.
4893 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4894 (getauxval): Use unsigned long int.
4896 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4900 2012-05-21 Roland McGrath <roland@hack.frob.com>
4902 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4903 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4904 __alignof__ (long double).
4906 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4910 2012-05-20 Richard Henderson <rth@twiddle.net>
4912 * misc/getauxval.c: New file.
4913 * misc/sys/auxv.h: New file.
4914 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4915 (routines): Add getauxval.
4916 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4918 * elf/dl-sysdep.c (_dl_auxv): Remove.
4919 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4920 * elf/dl-support.c (_dl_auxv): New variable.
4921 (_dl_aux_init): Initialize it.
4922 * manual/startup.texi (Auxiliary Vector): New node.
4923 * sysdeps/generic/bits/hwcap.h: New file.
4924 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4925 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4926 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4927 * sysdeps/sparc/sysdep.h: ... here. Include it.
4928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4941 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4945 2012-05-19 David S. Miller <davem@davemloft.net>
4947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4949 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4952 * math/s_ccosh.c: Include <float.h>
4953 (__ccosh): Avoid internal overflow calculating sinh and cosh
4954 values before multiplying by sin and cos values.
4955 * math/s_ccoshf.c: Likewise.
4956 * math/s_ccoshl.c: Likewise.
4957 * math/s_csin.c: Likewise.
4958 * math/s_csinf.c: Likewise.
4959 * math/s_csinl.c: Likewise.
4960 * math/s_csinh.c: Likewise.
4961 * math/s_csinhf.c: Likewise.
4962 * math/s_csinhl.c: Likewise.
4963 * math/libm-test.inc (ccos_test): Add more tests.
4964 (ccosh_test): Likewise.
4965 (csin_test): Likewise.
4966 (csinh_test): Likewise.
4967 * sysdeps/i386/fpu/libm-test-ulps: Update.
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4975 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4977 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4980 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4981 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4982 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4983 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4984 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4985 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4986 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4987 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4988 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4989 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4990 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4991 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4992 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4993 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4994 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4995 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4996 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4997 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4998 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4999 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5000 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5001 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5002 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5003 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5004 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5005 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5006 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5007 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5008 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5009 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5011 2012-05-18 Andreas Jaeger <aj@suse.de>
5013 * csu/.gitignore: Delete.
5015 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5017 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5018 (timex): Use __syscall_slong_t.
5020 2012-05-18 Andreas Jaeger <aj@suse.de>
5021 Carlos O'Donell <carlos_odonell@mentor.com>
5023 * manual/install.texi (Configuring and compiling): Update
5024 description about files modified in the source directory.
5025 * INSTALL: Regenerated.
5027 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5029 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5030 value. Use "or" to set return value to -1.
5031 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5032 negate return value.
5034 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5036 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5037 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5038 failure if the compiler has Graphite support disabled.
5039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5041 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5042 CFLAGS-memmove.c): Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5046 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5048 * sysdeps/x86_64/x32/_itoa.h: New file.
5050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5051 getdents system call only if kernel and user dirents have the
5052 same d_ino and d_off.
5054 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5055 LLONG_MAX != LONG_MAX.
5056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5057 (_fitoa_word): Likewise.
5059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5066 include <bits/wordsize.h>. Check __x86_64__ instead of
5068 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5069 if __x86_64__ is defined. Use anonymous union on fpstate.
5071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5074 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5077 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5079 Refer to _rtld_local_ro instead of _rtld_global_ro.
5080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5082 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5084 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5086 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5087 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5088 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5090 * sysdeps/powerpc/powerpc32/dl-machine.c
5091 (__elf_machine_runtime_setup) [PROF]: Don't reference
5094 2012-05-18 Andreas Jaeger <aj@suse.de>
5096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5097 function only available for GCCs before 3.4 since GCC 3.4
5098 introduced a builtin.
5100 (llrintf): Likewise.
5108 (nearbyint): Likewise.
5109 (nearbyintf): Likewise.
5115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5117 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5118 on both fields and cast pointer to __syscall_ulong_t.
5120 * bits/types.h (__fsword_t): New type.
5121 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5122 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5124 (__FSWORD_T_TYPE): Likewise.
5125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5126 (__FSWORD_T_TYPE): Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5128 (__FSWORD_T_TYPE): Likewise.
5129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5130 (__FSWORD_T_TYPE): Likewise.
5131 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5132 __SWORD_TYPE with __fsword_t.
5133 (statfs64): Likewise.
5135 2012-05-17 David S. Miller <davem@davemloft.net>
5137 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5139 2012-05-17 Andreas Jaeger <aj@suse.de>
5141 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5144 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5146 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5148 2012-05-17 Andreas Jaeger <aj@suse.de>
5150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5153 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5155 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5157 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5159 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5160 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5162 2012-05-17 Andreas Jaeger <aj@suse.de>
5163 Carlos O'Donell <carlos_odonell@mentor.com>
5166 * sysdeps/x86_64/multiarch/init-arch.h
5167 (bit_YMM_Usable): Rename to...
5168 (bit_AVX_Usable): ... this.
5169 (bit_FMA4_Usable): New macro.
5170 (bit_XMM_state): New macro.
5171 (bit_YMM_state): New macro.
5172 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5173 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5174 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5175 (CPUID_OSXSAVE): New macro.
5176 (CPUID_AVX): New macro.
5177 (CPUID_FMA4): New macro.
5178 (index_YMM_Usable): Rename to...
5179 (index_AVX_Usable): ... this.
5180 (HAS_AVX): Use HAS_ARCH_FEATURE.
5181 (HAS_FMA4): Likewise.
5182 (HAS_YMM_USABLE): Remove.
5183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5184 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5186 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5187 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5188 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5189 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5190 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5192 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5194 * math/libm-test.c: Support platforms without multiple rounding modes.
5195 * math/bug-nextafter.c: Support platforms without FP exceptions.
5196 * math/bug-nexttoward.c: Likewise.
5197 * math/test-fenv.c: Likewise.
5198 * math/test-misc.c: Likewise.
5199 * stdlib/bug-getcontext.c: Likewise.
5201 2012-05-17 Andreas Jaeger <aj@suse.de>
5203 * manual/examples/search.c (critter_cmp): Change signature to
5205 * manual/string.texi (Collation Functions): Likewise.
5207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5209 * bits/types.h: Fold copyright years.
5210 * bits/typesizes.h: Likewise.
5211 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5215 * time/time.h: Likewise.
5217 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5220 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5221 in instead of returning them. Return void.
5222 (__libc_mallinfo): Accumulate over all arenas.
5223 (__malloc_stats): Adjust for change in int_mallinfo interface.
5225 2012-05-16 Roland McGrath <roland@hack.frob.com>
5228 * configure.in (NM): Add AC_CHECK_TOOL for it.
5229 (libc_extra_cflags): New substituted variable.
5230 Check for -fstack-protector being used implicitly.
5231 * configure: Regenerated.
5232 * config.make.in (config-extra-cflags): New variable,
5233 gets @libc_extra_cflags@.
5234 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5237 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5238 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5239 * configure: Regenerated.
5240 * config.make.in (CPPUNDEFS): New substituted variable.
5241 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5242 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5243 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5247 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5248 (mq_attr): Use __syscall_slong_t.
5250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5253 Check __x86_64__ instead of __WORDSIZE.
5254 (_STAT_VER_LINUX): Likewise.
5255 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5256 __syscall_ulong_t and __syscall_slong_t.
5259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5267 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5269 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5273 include <bits/wordsize.h>. Check __x86_64__ instead of
5275 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5277 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5280 include <bits/wordsize.h>. Check __x86_64__ instead of
5282 (user_regs_struct): Use "__extension__ unsigned long long"
5283 instead of "unsigned long" if __x86_64__ is defined.
5284 (user): Likewise. Pad after pointer field if __ILP32__ is
5287 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5289 * configure.in (makeinfo): Require version 4.5 or later. Allow
5291 * configure: Regenerated.
5292 * manual/install.texi (texinfo): Increase version requirement to
5294 * INSTALL: Regenerated.
5296 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5300 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5302 * sysdeps/x86_64/x32/ffs.c: New file.
5304 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5306 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5307 defined. Use __syscall_ulong_t.
5308 (shminfo): Use __syscall_ulong_t.
5309 (shm_info): Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5314 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5316 (msgqnum_t): Use __syscall_ulong_t.
5317 (msglen_t): Likewise.
5318 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5321 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5326 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5327 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5329 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5333 include <bits/wordsize.h>. Check __x86_64__ instead of
5336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5337 "unsigned long long int" if __x86_64__ is defined.
5338 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5340 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5342 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5344 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5346 (GET_PC): Cast to uintptr_t first.
5347 (GET_FRAME): Likewise.
5348 (GET_STACK): Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5357 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5358 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5380 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5382 * Makerules (+depfiles): Also collect depfiles from .oS in
5384 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5385 .oS, $(libnldbl-routines)).
5387 * Makerules (native-compile-mkdep-flags): Define.
5388 * sunrpc/Makefile (extra-objs): Add $(addprefix
5389 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5390 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5391 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5392 calling $(make-target-directory).
5394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5396 * bits/types.h (__snseconds_t): Removed.
5397 * time/time.h (struct timespec): Replace __snseconds_t with
5399 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5400 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5403 (__SNSECONDS_T_TYPE): Likewise.
5404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5405 (__SNSECONDS_T_TYPE): Likewise.
5406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5407 (__SNSECONDS_T_TYPE): Likewise.
5409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5411 * sysdeps/mach/hurd/bits/typesizes.h
5412 (__SYSCALL_SLONG_TYPE): New macro.
5413 (__SYSCALL_ULONG_TYPE): Likewise.
5415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5417 * bits/types.h (__syscall_slong_t): New type.
5418 (__syscall_ulong_t): Likewise.
5420 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5421 (__SYSCALL_ULONG_TYPE): Likewise.
5422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5423 (__SYSCALL_SLONG_TYPE): Likewise.
5424 (__SYSCALL_ULONG_TYPE): Likewise.
5425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5426 (__SYSCALL_SLONG_TYPE): Likewise.
5427 (__SYSCALL_ULONG_TYPE): Likewise.
5428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5429 (__SYSCALL_SLONG_TYPE): Likewise.
5430 (__SYSCALL_ULONG_TYPE): Likewise.
5432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5434 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5435 Add sigaltstack-offsets.sym.
5436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5437 <sigaltstack-offsets.h>.
5438 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5439 longjmp_msg pointer.
5440 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5441 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5443 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5445 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5447 * elf/stackguard-macros.h: Remove file.
5448 * sysdeps/generic/stackguard-macros.h: New file.
5449 * sysdeps/i386/stackguard-macros.h: Likewise.
5450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5456 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5457 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5458 <elf/stackguard-macros.h>.
5461 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5462 __aligned__ in attribute.
5463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5464 (gregset_t): Likewise.
5466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5468 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5469 * sysdeps/x86_64/64/Implies-after: Here. New file.
5470 * sysdeps/x86_64/x32/Implies-after: New file.
5472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5475 and access return value for _dl_profile_fixup. Use R10_LP to
5478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5484 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5485 * sysdeps/x86_64/x32/sysdep.h: New file.
5487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5490 * sysdeps/x86_64/setjmp.S: Likewise.
5492 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5495 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5496 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5498 remove unused global constant.
5500 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5502 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5503 include of <not-cancel.h>.
5505 2012-05-15 Roland McGrath <roland@hack.frob.com>
5507 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5509 2012-05-15 Jeff Law <law@redhat.com>
5510 Andreas Jaeger <aj@suse.de>
5513 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5515 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5516 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5518 code changing __hst_map_handle.map.
5520 2012-05-15 Roland McGrath <roland@hack.frob.com>
5522 * configure.in (sysnames): Look for Implies-before and Implies-after
5524 * configure: Regenerated.
5526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5529 8-byte data alignment with LP_SIZE alignment.
5531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5538 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5542 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5550 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5551 (stackinfo_sub_sp): Likewise.
5553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5570 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5574 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5575 into R11_LP and load __x86_64_shared_cache_size_half into
5578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5583 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5592 powerpc32/power7/fpu/s_logb.c via #include.
5593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5594 powerpc32/power7/fpu/s_logbf.c via #include.
5595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5596 powerpc32/power7/fpu/s_logbl.c via #include.
5598 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5600 * README.libm: Remove file.
5602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5604 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5605 count for x32. Use R*_LP and omit operand-size suffix.
5607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5609 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5610 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5611 * sysdeps/x86_64/x32/shlib-versions: New file.
5613 2012-05-14 Roland McGrath <roland@hack.frob.com>
5615 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5616 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5617 Use _dl_fatal_printf instead.
5619 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5621 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5622 set if not set by the user. Do not allow for being unset.
5623 * sysdeps/unix/sysv/linux/configure: Regenerated.
5625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5627 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5628 the `q' suffix from lea and replace .quad with ASM_ADDR.
5630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5633 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5635 (PTR_DEMANGLE): Likewise.
5637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5639 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5641 (ASM_ADDR): Likewise.
5659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5661 * sysdeps/x86_64/x32/dl-machine.h: New file.
5663 2012-05-14 Andreas Jaeger <aj@suse.de>
5665 * manual/Makefile (subdir): Remove export of subdir.
5666 (all): Remove target.
5667 (.PHONY): Remove all from list.
5668 (mkinstalldirs): Remove.
5669 (.PHONY): Remove installdirs from list.
5670 ($(inst_infodir)/libc.info): Use make-target-directory.
5671 (installdirs): Remove.
5673 (glibc-targets): Remove.
5676 ($(objpfx)stubs ../po/manual.pot): Remove.
5677 ($(objpfx)stamp%): Remove.
5678 (make-target-directory): Remove.
5679 (subdir_install): Remove.
5687 * manual/.gitignore: Remove, it's not needed anymore.
5688 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5690 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5692 (texis): Renamed to $(objpfx)texis.
5693 (texis-path): New, contains path to generated files.
5694 (chapters.%): Use texis-path for complete path, add extra argument
5696 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5697 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5698 (summary,texi, stamp-summary): Use complete path of
5699 files. Generate files in build dir.
5700 (dir-add.texi): Build in build dir.
5701 (libm-err.texi,stamp-libm-err): Likewise.
5702 (version.texi, stamp-version): Likewise.
5703 (.%c.texi): Likewise.
5704 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5705 (mostlyclean): Remove target.
5706 (realclean): Remove target.
5707 (generated): Add new variable with contents from mostlyclean and
5708 realclean, remove entries duplicated in common-mostlyclean, add
5709 stamp-libm-err and stamp-version.
5710 (generated-dirs): Add libc directory.
5711 ($(inst_infodir)/libc.info): Install files from build dir.
5713 * manual/install.texi (Configuring and compiling): Adjust since
5714 the info files are not part of the tar ball anymore.
5716 2012-05-14 Andreas Jaeger <aj@suse.de>
5718 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5721 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5725 to 2.2.0 where earlier.
5726 * sysdeps/unix/sysv/linux/configure: Regenerated.
5727 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5728 Remove conditional code.
5729 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5730 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5731 Remove conditional code.
5732 [!__NR_lchown]: Likewise.
5733 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5734 [__NR_lchown]: Likewise.
5735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5736 comment referencing __ASSUME_LCHOWN_SYSCALL.
5737 * sysdeps/unix/sysv/linux/i386/sigaction.c
5738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5741 Remove conditional code.
5742 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5743 (__protocol_available): Remove #if 0 code.
5744 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5746 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5747 * sysdeps/unix/sysv/linux/kernel-features.h
5748 (__ASSUME_GETCWD_SYSCALL): Don't define.
5749 (__ASSUME_REALTIME_SIGNALS): Likewise.
5750 (__ASSUME_PREAD_SYSCALL): Likewise.
5751 (__ASSUME_PWRITE_SYSCALL): Likewise.
5752 (__ASSUME_POLL_SYSCALL): Likewise.
5753 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5754 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5756 (__ASSUME_SIOCGIFNAME): Don't define.
5757 (__ASSUME_MSG_NOSIGNAL): Likewise.
5758 (__ASSUME_SENDFILE): Define unconditionally.
5759 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5760 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5762 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5763 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5764 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5765 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5768 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5793 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5794 Remove conditional code.
5795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5796 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5797 Remove conditional code.
5798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5800 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5801 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5802 Remove conditional code.
5803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5804 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5805 Remove conditional code.
5806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5807 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5808 Remove conditional code.
5809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5810 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5811 Remove conditional code.
5812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5813 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5814 Remove conditional code.
5815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5816 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5819 * sysdeps/unix/sysv/linux/sigaction.c
5820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5822 * sysdeps/unix/sysv/linux/sigpending.c
5823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5825 * sysdeps/unix/sysv/linux/sigprocmask.c
5826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5828 * sysdeps/unix/sysv/linux/sigsuspend.c
5829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5832 (__libc_missing_rt_sigs): Remove.
5833 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5834 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5835 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5836 Remove conditional code.
5837 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5838 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5845 2012-05-14 Andreas Jaeger <aj@suse.de>
5847 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5848 it's not used in glibc.
5849 (__coshm1): Likewise.
5850 (__acosh1p): Likewise.
5853 * manual/string.texi (Copying and Concatenation): Add missing
5854 variable in concat example.
5855 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5861 __builtin_clzl with __builtin_clzll.
5863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5869 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5871 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5872 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5873 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5874 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5876 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5878 * NEWS: Update ia64 info.
5880 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5882 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5885 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5887 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5888 * sysdeps/unix/syscalls.list (dup3): Likewise.
5889 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5890 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5892 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5894 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5895 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5899 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5901 (TLS_IE): Use mov/add instead of movq/addq to load thread
5903 (TLS_GD_PREFIX): New.
5906 2012-05-11 David S. Miller <davem@davemloft.net>
5908 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5909 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5910 (_FPU_SETCW): Likewise.
5912 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5914 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5917 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5920 * iconvdata/gb18030.c: Update tables.
5921 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5922 characters specially.
5923 (BODY for TO_LOOP): Add encoding of missing ranges.
5925 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5928 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5929 * sysdeps/mach/hurd/dup3.c: Likewise.
5930 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5931 * sysdeps/powerpc/memmove.c:: Likewise.
5933 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5936 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5940 * elf/elf.h (R_X86_64_RELATIVE64): New.
5941 (R_X86_64_NUM): Updated.
5942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5943 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5944 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5945 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5946 tst-quad1pie tst-quad2pie
5947 (modules-names): Add tst-quadmod1 tst-quadmod2.
5948 ($(objpfx)tst-quad1): New dependency.
5949 ($(objpfx)tst-quad2): Likewise.
5950 ($(objpfx)tst-quad1pie): Likewise.
5951 ($(objpfx)tst-quad2pie): Likewise.
5952 * sysdeps/x86_64/tst-quad1.c: New file.
5953 * sysdeps/x86_64/tst-quad1pie.c: New file.
5954 * sysdeps/x86_64/tst-quad2.c: Likewise.
5955 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5956 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5957 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5958 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5959 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5963 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5964 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5965 * streams/stropts.h (t_scalar_t): Define type.
5967 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5968 (_PATH_PRESERVE): Set to "/var/lib".
5969 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5971 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5974 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5975 if __dir_mkfile succeeded.
5977 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5978 checking for _hurd_dtablesize. Unlock it right after having
5979 finished _hurd_dtable allocation.
5981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5983 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5984 * sysdeps/mach/hurd/configure: Regenerated.
5985 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5986 special-casing to...
5987 * sysdeps/gnu/configure.in: ... this new file.
5988 * sysdeps/unix/sysv/linux/configure: Regenerated.
5989 * sysdeps/gnu/configure: New generated file.
5991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5992 for Linux: use nsec instead of usec, as well as:
5993 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5994 members of type struct timespec.
5995 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5997 (struct stat64): Likewise.
5998 (_STATBUF_ST_NSEC): New macro.
5999 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6002 __strtoul_internal rather than strtoul.
6004 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6006 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6011 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6012 which preserves existing values.
6013 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6015 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6017 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6018 TIMEOUT values. Return EINVAL for NFDS values either negative or
6019 greater than FD_SETSIZE.
6021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6023 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6024 allocated, call __vm_protect to finish enabling the existing space, and
6025 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6026 allocate the remainder.
6028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6030 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6031 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6035 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6036 sysdeps/mach/hurd/readlink.c.
6038 * posix/tst-sysconf.c (posix_options): Only use
6039 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6040 _POSIX_SYNCHRONIZED_IO when they are defined
6041 * sysdeps/mach/hurd/bits/posix_opt.h:
6042 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6043 (_XOPEN_REALTIME): Undefine macro.
6044 (_XOPEN_REALTIME_THREADS): Undefine macro.
6045 (_XOPEN_SHM): Undefine macro.
6046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6050 (_POSIX_ASYNC_IO): Undefine macro.
6051 (_POSIX_PRIORITIZED_IO): Undefine macro.
6052 (_POSIX_SPIN_LOCKS): Define macro to -1.
6054 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6055 SA_NODEFER, SA_RESETHAND.
6056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6057 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6062 * elf/Makefile (pldd-modules): Define unconditionally.
6064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6066 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6070 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6071 Return ENOENT when name is empty.
6072 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6076 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6078 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6082 Fix mlock in all cases except non-readable pages.
6083 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6084 instead of VM_PROT_ALL as parameter to __vm_wire function.
6086 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6087 (__mkdir): When path is `/', just fail with EEXIST.
6088 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6092 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6093 <sys/uio.h> (for writev).
6094 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6095 and <sys/param.h> (for MIN).
6097 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6099 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6100 REQUESTED_TIME. Properly set the remaining time and return EINTR
6103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6105 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6106 Depend on against $(link-rpcuserlibs).
6108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6110 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6111 (__libc_stack_end): Do not use attribute_relro.
6112 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6113 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6114 to libthread-provided value.
6115 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6121 * bits/libc-lock.h (__libc_once_get): New macro.
6122 * sysdeps/mach/bits/libc-lock.h: Likewise.
6123 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6125 instead of using implementation details.
6127 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6128 * libio/freopen.c: Likewise.
6129 * libio/freopen64.c: Likewise.
6130 * misc/syslog.c: Likewise.
6131 * nscd/connections.c: Likewise.
6132 * nscd/netgroupcache.c: Likewise.
6133 * sysdeps/posix/getcwd.c: Likewise.
6135 2012-05-10 Roland McGrath <roland@hack.frob.com>
6137 * math/w_ilogbf.c: Add #include <limits.h>.
6139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6141 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6142 path instead of returning without unlocking.
6144 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6145 immediate-write ioctls.
6146 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6150 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6151 __builtin_frame_address instead of making assumptions about the
6152 location of the return address relative to DATA. Force early load of
6154 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6155 __builtin_frame_address.
6158 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6159 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6160 implement dup3 and do some further code clean-ups.
6161 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6166 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6168 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6169 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6170 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6171 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6172 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6175 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6176 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6177 when handler == SIG_ERR, not when handler != SIG_ERR.
6179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6181 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6182 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6185 accept4 for GNU Hurd.
6186 * include/sys/socket.h (__libc_accept4): New prototype.
6187 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6188 to implement __libc_accept4.
6189 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6191 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6194 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6195 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6200 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6204 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6205 assertion on O_CLOEXEC flag.
6206 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6207 * hurd/intern-fd.c: Likewise.
6208 * hurd/port2fd.c: Likewise.
6210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6213 * bits/in.h (IPV6_PKTINFO): Define new macro.
6214 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6216 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6223 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6227 * math/libm-test.inc (logb_test) : Additional logb tests.
6229 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6230 Andreas Jaeger <aj@suse.de>
6232 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6233 * configure: Regenerated.
6234 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6235 * config.make.in (link-obsolete-rpc): New substituted variable.
6236 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6237 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6238 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6239 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6240 so that libc.a contains the symbols.
6241 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6242 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6243 * sunrpc/auth_none.c: Likewise.
6244 * sunrpc/auth_unix.c: Likewise.
6245 * sunrpc/authdes_prot.c: Likewise.
6246 * sunrpc/authuxprot.c: Likewise.
6247 * sunrpc/clnt_gen.c: Likewise.
6248 * sunrpc/clnt_perr.c: Likewise.
6249 * sunrpc/clnt_raw.c: Likewise.
6250 * sunrpc/clnt_simp.c: Likewise.
6251 * sunrpc/clnt_tcp.c: Likewise.
6252 * sunrpc/clnt_udp.c: Likewise.
6253 * sunrpc/clnt_unix.c: Likewise.
6254 * sunrpc/des_crypt.c: Likewise.
6255 * sunrpc/des_soft.c: Likewise.
6256 * sunrpc/get_myaddr.c: Likewise.
6257 * sunrpc/key_call.c: Likewise.
6258 * sunrpc/key_prot.c: Likewise.
6259 * sunrpc/netname.c: Likewise.
6260 * sunrpc/pm_getmaps.c: Likewise.
6261 * sunrpc/pm_getport.c: Likewise.
6262 * sunrpc/pmap_clnt.c: Likewise.
6263 * sunrpc/pmap_prot.c: Likewise.
6264 * sunrpc/pmap_prot2.c: Likewise.
6265 * sunrpc/pmap_rmt.c: Likewise.
6266 * sunrpc/publickey.c: Likewise.
6267 * sunrpc/rpc_cmsg.c: Likewise.
6268 * sunrpc/rpc_common.c: Likewise.
6269 * sunrpc/rpc_dtable.c: Likewise.
6270 * sunrpc/rpc_prot.c: Likewise.
6271 * sunrpc/rpc_thread.c: Likewise.
6272 * sunrpc/rtime.c: Likewise.
6273 * sunrpc/svc.c: Likewise.
6274 * sunrpc/svc_auth.c: Likewise.
6275 * sunrpc/svc_raw.c: Likewise.
6276 * sunrpc/svc_run.c: Likewise.
6277 * sunrpc/svc_tcp.c: Likewise.
6278 * sunrpc/svc_udp.c: Likewise.
6279 * sunrpc/svc_unix.c: Likewise.
6280 * sunrpc/svcauth_des.c: Likewise.
6281 * sunrpc/xcrypt.c: Likewise.
6282 * sunrpc/xdr.c: Likewise.
6283 * sunrpc/xdr_array.c: Likewise.
6284 * sunrpc/xdr_float.c: Likewise.
6285 * sunrpc/xdr_intXX_t.c: Likewise.
6286 * sunrpc/xdr_mem.c: Likewise.
6287 * sunrpc/xdr_rec.c: Likewise.
6288 * sunrpc/xdr_ref.c: Likewise.
6289 * sunrpc/xdr_sizeof.c: Likewise.
6290 * sunrpc/xdr_stdio.c: Likewise.
6292 2012-05-10 Roland McGrath <roland@hack.frob.com>
6294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6295 change. Update copyright years.
6297 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6299 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6301 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6302 Joseph Myers <joseph@codesourcery.com>
6303 Paul Pluzhnikov <ppluzhnikov@google.com>
6306 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6308 [cross-compiling] (extra-libs): Likewise.
6309 [cross-compiling] (extra-libs-others): Likewise.
6310 [cross-compiling] (librpcsvc-routines): Likewise.
6311 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6312 [cross-compiling] (omit-deps): Likewise.
6313 (sunrpc-CPPFLAGS): New variable.
6314 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6315 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6316 (cross-rpcgen-objs): New variable.
6317 (extra-objs): Append $(cross-rpcgen-objs).
6318 ($(cross-rpcgen-objs)): New rule.
6319 ($(objpfx)cross-rpcgen): Likewise.
6320 (rpcgen-cmd): Define to use $(built-program-file). Expand
6322 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6323 ($(objpfx)x%.stmp): Likewise.
6324 * sunrpc/proto.h [IS_IN_build] (_): Define.
6325 [IS_IN_build] (_libc_intl_domainname): Likewise.
6327 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6330 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6331 and R_X86_64_TPOFF64.
6333 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6335 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6336 sysdeps/unix/sysv/syscalls.list.
6339 * sysdeps/unix/sysv/syscalls.list: Remove file.
6341 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6344 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6345 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6346 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6347 (__LC_IDENTIFICATION): Make these macros useful in #if
6348 expressions, as required by C99.
6350 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6352 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6353 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6356 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6358 * stdlib/longlong.h: Updated from GCC.
6360 2012-05-09 Andreas Jaeger <aj@suse.de>
6362 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6363 default is first entry.
6364 (run_mode): Set type.
6365 (main): Remove informal message about syslog.
6366 (options): Fix typo.
6369 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6372 (llrintf): Likewise.
6376 (nearbyint): Likewise.
6377 (nearbyintf): Likewise.
6379 2012-05-09 Andreas Jaeger <aj@suse.de>
6380 Pedro Alves <palves@redhat.com>
6382 * nscd/nscd.c (run_mode): Use enum.
6383 (main): Cleanup coding style issue.
6385 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6386 Andreas Jaeger <aj@suse.de>
6388 * nscd/nscd.c (go_background): Replaced with...
6389 (run_mode): ... this.
6390 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6391 (options): Add -F --foreground.
6392 (main): Implement it.
6393 (parse_opt): Parse it.
6395 2012-05-09 Andreas Jaeger <aj@suse.de>
6398 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6399 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6400 -Wconversion warning.
6401 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6404 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6406 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6408 (LC_ALL): Use macro-int-constant.
6409 (LC_COLLATE): Likewise.
6410 (LC_CTYPE): Likewise.
6411 (LC_MESSAGES): Likewise.
6412 (LC_MONETARY): Likewise.
6413 (LC_NUMERIC): Likewise.
6414 (LC_TIME): Likewise.
6415 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6416 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6418 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6420 [C99-based standards] (float_t): Expect type.
6421 [C99-based standards] (double_t): Expect type.
6422 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6424 [C99-based standards] (HUGE_VALL): Likewise.
6425 [C99-based standards] (INFINITY): Likewise.
6426 [C99-based standards] (NAN): Likewise.
6427 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6428 [C99-based standards] (FP_NAN): Likewise.
6429 [C99-based standards] (FP_NORMAL): Likewise.
6430 [C99-based standards] (FP_SUBNORMAL): Likewise.
6431 [C99-based standards] (FP_ZERO): Likewise.
6432 [C99-based standards] (FP_FAST_FMA): Use
6433 optional-macro-int-constant. Specify type. Require == 1.
6434 [C99-based standards] (FP_FAST_FMAF): Likewise.
6435 [C99-based standards] (FP_FAST_FMAL): Likewise.
6436 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6437 [C99-based standards] (FP_ILOGBNAN): Likewise.
6438 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6440 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6441 [C99-based standards] (math_errhandling): Specify type.
6442 [ISO99 || ISO11] (signgam): Do not allow.
6443 [non-C99-based standards] (copysignf): Do not allow.
6444 [non-C99-based standards] (exp2f): Likewise.
6445 [non-C99-based standards] (log2f): Likewise.
6446 [non-C99-based standards] (modff): Allow.
6447 [non-C99-based standards] (erff): Do not allow.
6448 [non-C99-based standards] (erfcf): Likewise.
6449 [non-C99-based standards] (gammaf): Likewise.
6450 [non-C99-based standards] (hypotf): Likewise.
6451 [non-C99-based standards] (j0f): Likewise.
6452 [non-C99-based standards] (j1f): Likewise.
6453 [non-C99-based standards] (jnf): Likewise.
6454 [non-C99-based standards] (lgammaf): Likewise.
6455 [non-C99-based standards] (tgammaf): Likewise.
6456 [non-C99-based standards] (y0f): Likewise.
6457 [non-C99-based standards] (y1f): Likewise.
6458 [non-C99-based standards] (ynf): Likewise.
6459 [non-C99-based standards] (isnanf): Likewise.
6460 [non-C99-based standards] (acoshf): Likewise.
6461 [non-C99-based standards] (asinhf): Likewise.
6462 [non-C99-based standards] (atanhf): Likewise.
6463 [non-C99-based standards] (cbrtf): Likewise.
6464 [non-C99-based standards] (expm1f): Likewise.
6465 [non-C99-based standards] (ilogbf): Likewise.
6466 [non-C99-based standards] (log1pf): Likewise.
6467 [non-C99-based standards] (logbf): Likewise.
6468 [non-C99-based standards] (nextafterf): Likewise.
6469 [non-C99-based standards] (remainderf): Likewise.
6470 [non-C99-based standards] (rintf): Likewise.
6471 [non-C99-based standards] (scalbf): Likewise.
6472 [non-C99-based standards] (copysignl): Likewise.
6473 [non-C99-based standards] (exp2l): Likewise.
6474 [non-C99-based standards] (log2l): Likewise.
6475 [non-C99-based standards] (modfl): Allow.
6476 [non-C99-based standards] (erfl): Do not allow.
6477 [non-C99-based standards] (erfcl): Likewise.
6478 [non-C99-based standards] (gammal): Likewise.
6479 [non-C99-based standards] (hypotl): Likewise.
6480 [non-C99-based standards] (j0l): Likewise.
6481 [non-C99-based standards] (j1l): Likewise.
6482 [non-C99-based standards] (jnl): Likewise.
6483 [non-C99-based standards] (lgammal): Likewise.
6484 [non-C99-based standards] (tgammal): Likewise.
6485 [non-C99-based standards] (y0l): Likewise.
6486 [non-C99-based standards] (y1l): Likewise.
6487 [non-C99-based standards] (ynl): Likewise.
6488 [non-C99-based standards] (isnanl): Likewise.
6489 [non-C99-based standards] (acoshl): Likewise.
6490 [non-C99-based standards] (asinhl): Likewise.
6491 [non-C99-based standards] (atanhl): Likewise.
6492 [non-C99-based standards] (cbrtl): Likewise.
6493 [non-C99-based standards] (expm1l): Likewise.
6494 [non-C99-based standards] (ilogbl): Likewise.
6495 [non-C99-based standards] (log1pl): Likewise.
6496 [non-C99-based standards] (logbl): Likewise.
6497 [non-C99-based standards] (nextafterl): Likewise.
6498 [non-C99-based standards] (remainderl): Likewise.
6499 [non-C99-based standards] (rintl): Likewise.
6500 [non-C99-based standards] (scalbl): Likewise.
6501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6502 [non-C99-based standards] (FP_*): Do not allow.
6503 [C99-based standards] (FP_*): Change to
6504 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6505 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6507 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6508 (SIG_ERR): Likewise.
6509 [X/Open-based standards] (SIG_HOLD): Likewise.
6510 (SIG_IGN): Likewise.
6511 (SIGABRT): Use macro-int-constant. Specify type. Require
6516 (SIGSEGV): Likewise.
6518 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6519 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6520 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6521 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6522 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6528 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6529 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6530 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6531 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6532 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6533 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6534 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6535 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6536 [X/Open-based standards] (SIGTRAP): Likewise.
6537 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6538 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6539 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6540 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6541 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6544 2012-05-08 Ian Wienand <ianw@vmware.com>
6547 * time/tzset.c (__tzset_parse_tz): Update default rules for
6548 daylight time changes in the Energy Policy Act of 2005.
6550 2012-05-09 Andreas Jaeger <aj@suse.de>
6553 * elf/ldconfig.c (parse_conf): Change string to make clear that
6554 ldconfig only issued a warning if ld.so.conf does not exist.
6556 2012-05-08 David S. Miller <davem@davemloft.net>
6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6559 movxtod instead of popping the value on the stack.
6561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6563 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6565 * config.h.in: Add HAVE_ARM_PCS_VFP.
6567 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6570 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6571 checking but the checks are disabled for any reason.
6573 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6575 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6576 and ELF64_R_TYPE with ELFW(R_TYPE).
6578 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6580 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6583 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6584 (settimeofday): Likewise.
6586 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6588 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6589 a struct th_u2 inside the union, and move tu_block/tu_code into
6590 a new th_u3 union of tu_block/tu_code inside of that. Move
6591 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6592 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6593 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6594 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6595 (th_stuff): Change to th_u1.tu_stuff.
6597 (th_msg): Change to th_u1.th_u2.tu_data.
6599 2012-05-07 David S. Miller <davem@davemloft.net>
6601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6605 (SETUP_PIC_REG): Use it.
6606 (SETUP_PIC_REG_LEAF): Use it.
6608 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6614 (EXPL_FINITE): Likewise.
6616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6617 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6621 (EXPL_FINITE): Likewise.
6623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6624 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6626 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6627 test of -max_value argument for long double.
6628 * sysdeps/i386/fpu/libm-test-ulps: Update.
6629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6631 2012-05-06 David S. Miller <davem@davemloft.net>
6633 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6634 quad soft-float symbols whose references which are compiler
6636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6638 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6644 (EXPL_FINITE): Likewise.
6648 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6649 Adjust comments for base varying.
6650 (__expl_finite): Change alias to EXPL_FINITE.
6651 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6653 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6656 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6659 (EXPL_FINITE): Likewise.
6663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6664 Adjust comments for base varying.
6665 (__expl_finite): Change alias to EXPL_FINITE.
6666 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6671 * math/libm-test.inc (check_float_internal): Correct ulp
6672 calculation for subnormal expected results.
6674 2012-05-06 Andreas Jaeger <aj@suse.de>
6676 * Makeconfig (+math-flags): New, set to -frounding-math.
6677 (+cflags): Add +math-flags so that all of glibc gets compiled with
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6682 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6684 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6690 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6691 (__ieee754_expl): Allow for and saturate large arguments.
6692 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6693 (u_threshold): Likewise.
6694 (__exp): Call __ieee754_exp before checking for overflow and
6696 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6697 (u_threshold): Likewise.
6698 (__expf): Call __ieee754_expf before checking for overflow and
6700 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6701 (u_threshold): Likewise.
6702 (__expl): Call __ieee754_expl before checking for overflow and
6704 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6705 (__ieee754_expl): Allow for and saturate large arguments.
6706 * math/libm-test.inc (exp_test): Add another test. Do not allow
6707 missing overflow exception on overflow.
6708 (expm1_test): Do not allow missing overflow exception on overflow.
6710 * sysdeps/i386/fpu/e_expl.c: Move to ...
6711 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6712 rather than using inline asm.
6713 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6714 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6715 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6717 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6724 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6726 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6727 sysdeps/unix/common/syscalls.list.
6730 (ftruncate): Likewise.
6731 (getrusage): Likewise.
6732 (gettimeofday): Likewise.
6733 (setpgid): Likewise.
6734 (setregid): Likewise.
6735 (setreuid): Likewise.
6736 (sigaction): Likewise.
6737 (truncate): Likewise.
6738 (vhangup): Likewise.
6739 * sysdeps/unix/common/syscalls.list: Remove file.
6740 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6741 * sysdeps/unix/sysv/linux/Implies: Likewise.
6743 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6769 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6777 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6784 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6788 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6790 * sysdeps/unix/common/bits/dirent.h: Remove file.
6791 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6793 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6794 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6795 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6796 * sysdeps/unix/bsd/isatty.c: Likewise.
6797 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6798 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6799 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6801 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6805 long double comparison inaccuracies.
6806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6809 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6811 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6814 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6818 nonzero digits before rounding a hex value.
6819 * stdlib/tst-strtod.c (tests): Add another test.
6821 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6823 * sysdeps/s390/fpu/libm-test-ulps: Update.
6825 2012-05-03 Andreas Jaeger <aj@suse.de>
6827 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6828 does not get optimized out.
6829 (malloc_opt_barrier): New.
6831 2012-05-03 Andreas Jaeger <aj@suse.de>
6832 Roland McGrath <roland@hack.frob.com>
6834 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6835 intermediate file deletion.
6836 (generated): Add .symlist files.
6838 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6841 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6842 Redirect under this condition.
6843 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6844 [__USE_GNU] (__dprintf_chk): Not under this condition.
6845 [__USE_GNU] (__vdprintf_chk): Likewise.
6846 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6847 under this condition.
6848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6849 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6850 [__USE_XOPEN2K8] (vdprintf): Likewise.
6851 [__USE_GNU] (__dprintf_chk): Not under this condition.
6852 [__USE_GNU] (__vdprintf_chk): Likewise.
6853 [__USE_GNU] (dprintf): Likewise.
6854 [__USE_GNU] (vdprintf): Likewise.
6856 2012-05-03 Roland McGrath <roland@hack.frob.com>
6858 * elf/Makefile (common-generated): Set this instead of generated for
6859 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6860 $(all-built-dso)-derived lists.
6862 2012-05-03 Andreas Jaeger <aj@suse.de>
6864 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * scripts/gen-FAQ.pl: Likewise.
6869 * manual/install.texi (Installation): Point to online location of
6871 * Makefile (files-for-dist): Remove FAQ.
6874 2012-05-02 Allan McRae <allan@archlinux.org>
6876 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6877 (LDFLAGS-reldepmod5.so): Likewise.
6878 (LDFLAGS-reldep6mod1.so): Likewise.
6879 (LDFLAGS-reldep6mod4.so): Likewise.
6880 (LDFLAGS-reldep8mod3.so): Likewise.
6881 (LDFLAGS-unload4mod1.so): Likewise.
6882 (LDFLAGS-unload4mod2.so): Likewise.
6883 (LDFLAGS-tst-initorder): Likewise.
6884 (LDFLAGS-tst-initordera2.so): Likewise.
6885 (LDFLAGS-tst-initordera3.so): Likewise.
6886 (LDFLAGS-tst-initordera4.so): Likewise.
6887 (LDFLAGS-tst-initorderb2.so): Likewise.
6888 (LDFLAGS-noload): Likewise.
6889 (LDFLAGS-next): Likewise.
6890 (LDFLAGS-order2mod1.so): Likewise.
6891 (LDFLAGS-order2mod2.so): Likewise.
6892 (LDFLAGS-tst-initorder2): Likewise.
6893 (LDFLAGS-tst-initorder2a.so): Likewise.
6894 (LDFLAGS-tst-initorder2b.so): Likewise.
6895 (LDFLAGS-tst-initorder2c.so): Likewise.
6896 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6898 2012-05-02 David S. Miller <davem@davemloft.net>
6900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6902 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6905 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6907 2012-05-02 Andreas Jaeger <aj@suse.de>
6909 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6910 since we manipulate rounding mode.
6911 (CPPFLAGS-test-idouble.c): Likewise.
6912 (CPPFLAGS-test-ifloat.c): Likewise.
6913 (CFLAGS-test-ldouble.c): Likewise.
6914 (CFLAGS-test-double.c): Likewise.
6915 (CFLAGS-test-float.c): Likewise.
6916 (CFLAGS-test-misc.c): Likewise.
6917 (CFLAGS-test-test-fenv.c): Likewise.
6919 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6924 comparisons to determine direction to adjust input.
6926 2012-05-01 Roland McGrath <roland@hack.frob.com>
6928 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6929 output to the target.
6931 * scripts/localplt.awk: New file.
6932 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6933 (check-localplt-CFLAGS): Variable removed.
6934 ($(all-built-dso:=.jmprel)): New static pattern rule.
6935 (generated): Add those targets.
6936 (localplt-built-dso): New variable.
6937 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6939 * elf/check-localplt.c: File removed.
6941 * scripts/check-execstack.awk: New file.
6942 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6943 (check-execstack-CFLAGS): Variable removed.
6944 ($(objpfx)check-execstack.h): Target removed.
6945 ($(objpfx)execstack-default): New target.
6946 (generated): Add that instead of check-execstack.h.
6947 ($(all-built-dso:=.phdr)): New static pattern rule.
6948 (generated): Add those targets.
6949 * elf/check-execstack.c: File removed.
6951 * scripts/check-textrel.awk: New file.
6952 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6953 (check-textrel-CFLAGS): Variable removed.
6954 (all-built-dso): Use := to define.o
6955 ($(all-built-dso:=.dyn)): New static pattern rule.
6956 (generated): Add those targets.
6957 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6958 * config.make.in (READELF): New substituted variable.
6959 * elf/check-textrel.c: File removed.
6961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6963 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6965 * conform/data/ctype.h-data [C99-based standards] (isblank):
6967 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6968 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6970 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6971 Specify type. Require positive value.
6974 [ISO || POSIX] (EILSEQ): Do not expect.
6975 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6976 Specify type. Require positive value.
6977 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7010 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7011 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7012 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7013 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7014 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7015 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7016 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7017 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7018 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7019 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7020 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7021 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7022 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7023 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7024 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7025 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7026 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7027 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7028 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7029 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7030 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7031 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7032 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7033 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7034 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7035 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7036 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7037 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7038 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7039 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7040 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7041 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7042 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7043 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7044 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7045 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7046 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7047 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7048 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7049 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7050 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7051 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7052 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7053 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7055 (FLT_ROUNDS): Expect as macro, not constant.
7056 (FLT_MANT_DIG): Use macro-int-constant.
7057 (DBL_MANT_DIG): Likewise.
7058 (LDBL_MANT_DIG): Likewise.
7059 (FLT_DIG): Likewise.
7060 (DBL_DIG): Likewise.
7061 (LDBL_DIG): Likewise.
7062 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7063 (DBL_MIN_EXP): Likewise.
7064 (LDBL_MIN_EXP): Likewise.
7065 (FLT_MAX_EXP): Use macro-int-constant.
7066 (DBL_MAX_EXP): Likewise.
7067 (LDBL_MAX_EXP): Likewise.
7068 (FLT_MAX_10_EXP): Likewise.
7069 (DBL_MAX_10_EXP): Likewise.
7070 (LDBL_MAX_10_EXP): Likewise.
7071 (FLT_MAX): Use macro-constant.
7072 (DBL_MAX): Likewise.
7073 (LDBL_MAX): Likewise.
7074 (FLT_EPSILON): Use macro-constant. Give upper bound.
7075 (DBL_EPSILON): Likewise.
7076 (LDBL_EPSILON): Likewise.
7077 (FLT_MIN): Likewise.
7078 (DBL_MIN): Likewise.
7079 (LDBL_MIN): Likewise.
7080 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7081 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7082 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7083 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7084 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7085 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7086 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7087 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7088 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7089 [ISO11] (FLT_TRUE_MIN): Likewise.
7090 [ISO11] (LDBL_TRUE_MIN): Likewise.
7091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7092 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7093 (SCHAR_MIN): Use macro-int-constant. Specify type.
7094 (SCHAR_MAX): Likewise.
7095 (UCHAR_MAX): Likewise.
7096 (CHAR_MIN): Likewise.
7097 (CHAR_MAX): Likewise.
7098 (MB_LEN_MAX): Use macro-int-constant.
7099 (SHRT_MIN): Use macro-int-constant. Specify type.
7100 (SHRT_MAX): Likewise.
7101 (USHRT_MAX): Likewise.
7102 (INT_MAX): Likewise.
7103 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7105 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7107 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7109 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7110 bound negative. Suffix upper bound with "L".
7111 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7113 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7115 [C99-based standards] (LLONG_MAX): Likewise.
7116 [C99-based standards] (ULLONG_MAX): Likewise.
7117 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7119 [ISO11] (max_align_t): Require type.
7120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7122 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7123 from $CFLAGS, without defining away __attribute__ calls.
7124 (checknamespace): Use $CFLAGS_namespace.
7126 * conform/conformtest.pl (@keywords): Only include C99 keywords
7127 for standards based on C99 or C11.
7129 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7131 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7134 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7135 usability of symbols in #if.
7137 * conform/conformtest.pl: If macro or constant types start
7138 "promoted:", expect the symbol to be of the following type
7139 promoted by the integer promotions.
7141 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7142 in one place. Also handle "macro-constant".
7144 * conform/conformtest.pl: Only accept expected macro values with
7145 "==". Parse all "macro" lines in one place.
7146 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7148 * conform/conformtest.pl: Handle braced types on "constant" lines
7149 instead of handling "typed-constant".
7150 * conform/data/signal.h-data: Use "constant" instead of
7153 * conform/conformtest.pl: Handle "optional-" at start of lines in
7154 one place rather than duplicating several cases. Handle each
7155 format of "macro" line with initial "optional-".
7157 * conform/conformtest.pl: Only accept expected constant or
7158 optional-constant values with "==". Parse all "constant" lines in
7159 one place. Parse all "optional-constant" lines in one place.
7160 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7161 * conform/data/fmtmsg.h-data: Likewise.
7162 * conform/data/netinet/in.h-data: Likewise.
7163 * conform/data/tar.h-data: Likewise.
7164 * conform/data/limits.h-data: Use "==" form on "constant" and
7165 "optional-constant" lines.
7167 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7168 Use -std=c99 for XOPEN2K.
7169 (@knownproblems): Remove.
7170 (newtoken): Don't check %isknown.
7172 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7173 Do not expect macro.
7174 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7186 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7187 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7204 [XPG3] (acosh): Likewise.
7205 [XPG3] (asinh): Likewise.
7206 [XPG3] (atanh): Likewise.
7207 [XPG3] (cbrt): Likewise.
7208 [XPG3] (expm1): Likewise.
7209 [XPG3] (ilogb): Likewise.
7210 [XPG3] (log1p): Likewise.
7211 [XPG3] (logb): Likewise.
7212 [XPG3] (nextafter): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7215 [XPG3] (remainder): Likewise.
7216 [XPG3] (rint): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7224 [UNIX98 || XOPEN2K] (scalb): Expect.
7225 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7226 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7337 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7363 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7364 _XOPEN_SOURCE_EXTENDED for XPG4.
7366 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7368 * Makeconfig (localtime): Remove variable.
7369 (inst_localtime-file): Likewise.
7371 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7392 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7396 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7397 comparisons to determine direction to adjust input.
7398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7399 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7409 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7411 * math/libm-test.inc (nexttoward_test): Add more tests.
7413 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7417 in version GLIBC_2.1, not GLIBC_2.0.
7418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7421 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7427 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7428 * math/libm-test.inc (acos_test): Add more tests.
7429 (asin_test): Likewise.
7430 * sysdeps/i386/fpu/libm-test-ulps: Update.
7431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7436 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7438 * math/libm-test.inc (acos_test_tonearest): New function.
7439 (acos_test_towardzero): Likewise.
7440 (acos_test_downward): Likewise.
7441 (acos_test_upward): Likewise.
7442 (asin_test_tonearest): Likewise.
7443 (asin_test_towardzero): Likewise.
7444 (asin_test_downward): Likewise.
7445 (asin_test_upward): Likewise.
7446 (main): Call the new functions.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7452 * math/e_exp10.c: Include <float.h>.
7453 (__ieee754_exp10): Handle underflow here rather than multiplying
7454 large negative argument by M_LN10.
7455 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7457 * math/e_exp10l.c: Include <float.h>.
7458 (__ieee754_exp10l): Handle underflow here rather than multiplying
7459 large negative argument by M_LN10l.
7460 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7461 spurious overflow exception on underflow.
7463 2012-04-29 Marek Polacek <polacek@redhat.com>
7465 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7466 (__fortify_function): New macro.
7467 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7468 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7469 __extern_always_inline.
7470 * libio/bits/stdio2.h: Likewise.
7471 * libio/bits/stdio.h: Likewise.
7472 * string/string.h: Likewise.
7473 * string/bits/string3.h: Likewise.
7474 * include/stdio.h: Likewise.
7475 * stdlib/bits/stdlib.h: Likewise.
7476 * stdlib/stdlib.h: Likewise.
7477 * rt/bits/mqueue2.h: Likewise.
7478 * rt/mqueue.h: Likewise.
7479 * posix/bits/unistd.h: Likewise.
7480 * posix/unistd.h: Likewise.
7481 * io/bits/poll2.h: Likewise.
7482 * io/bits/fcntl2.h: Likewise.
7483 * io/fcntl.h: Likewise.
7484 * io/sys/poll.h: Likewise.
7485 * misc/bits/syslog.h: Likewise.
7486 * misc/bits/syslog-ldbl.h: Likewise.
7487 * misc/sys/syslog.h: Likewise.
7488 * socket/bits/socket2.h: Likewise.
7489 * socket/sys/socket.h: Likewise.
7490 * debug/tst-chk1.c: Likewise.
7491 * wcsmbs/bits/wchar2.h: Likewise.
7492 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7493 * wcsmbs/wchar.h: Likewise.
7495 2012-04-29 Andreas Jaeger <aj@suse.de>
7497 * Makerules (tests): Remove enable-check-abi protection.
7498 (check-abi-warn): Remove.
7499 (check-abi-%): Remove check-abi-warn usage.
7501 * configure.in: Remove check-abi configure option.
7502 * configure: Regenerated.
7503 * config.make.in (enable-check-abi): Remove.
7505 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7508 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7509 double functions to double *_finite functions.
7512 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7513 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7515 * stdio-common/Makefile (tests): Add tst-sprintf3.
7516 * stdio-common/tst-sprintf3.c: New file.
7518 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7519 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7521 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7523 * conform/conformtest.pl: Remove duplicate typed-constant
7526 2012-04-28 David S. Miller <davem@davemloft.net>
7528 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7529 (check-abi-%): Remove AWK script prerequisite and explicit
7531 (check-abi): Rewrite to just diff the symlist with the abilist.
7532 (config-tls, config-abi-config): Delete, no longer used.
7533 (update-abi-%): Remove AWK script and explicit abilist directory.
7534 (update-abi): Rewrite to simply compare and conditionally copy the
7535 symlist and the sysdep abilist file. Remove update-abi-config
7537 * abilist/ld.abilist: Remove.
7538 * abilist/libBrokenLocale.abilist: Remove.
7539 * abilist/libanl.abilist: Remove.
7540 * abilist/libcrypt.abilist: Remove.
7541 * abilist/libdl.abilist: Remove.
7542 * abilist/librt.abilist: Remove.
7543 * abilist/libthread_db.abilist: Remove.
7544 * abilist/libutil.abilist: Remove.
7545 * scripts/extract-abilist.awk: Remove.
7546 * scripts/merge-abilist.awk: Remove.
7547 * sysdeps/generic/libcidn.abilist: New file.
7548 * sysdeps/generic/libnss_compat.abilist: New file.
7549 * sysdeps/generic/libnss_db.abilist: New file.
7550 * sysdeps/generic/libnss_dns.abilist: New file.
7551 * sysdeps/generic/libnss_files.abilist: New file.
7552 * sysdeps/generic/libnss_hesiod.abilist: New file.
7553 * sysdeps/generic/libnss_nis.abilist: New file.
7554 * sysdeps/generic/libnss_nisplus.abilist: New file.
7555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7556 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7560 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7561 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7566 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7578 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7581 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7585 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7690 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7694 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7696 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7698 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7700 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7753 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7755 * conform/conformtest.pl: Fix typo in handling typed-constant from
7758 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7760 * README: Cut down references to pre-2.6 Linux kernels and
7761 Linuxthreads. Update lists of configurations in libc and ports
7762 and sort alphabetically. Say "or newer" with Linux kernel version
7765 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7767 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7770 * math/libm-test.inc (logb_test_downward): New test to expose
7771 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7774 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7777 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7779 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7780 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7782 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7784 * sysdeps/unix/i386/brk.S: Remove file.
7785 * sysdeps/unix/i386/dl-brk.S: Likewise.
7786 * sysdeps/unix/i386/pipe.S: Likewise.
7787 * sysdeps/unix/i386/sigreturn.S: Likewise.
7788 * sysdeps/unix/i386/syscall.S: Likewise.
7789 * sysdeps/unix/i386/vfork.S: Likewise.
7790 * sysdeps/unix/i386/wait.S: Likewise.
7792 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7793 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7795 * configure.in (arm*-none*): Do not allow without
7796 --enable-hacker-mode.
7797 (netbsd*): Remove case setting base_os.
7798 (386bsd*): Likewise.
7799 (freebsd*): Likewise.
7803 (ultrix*): Likewise.
7804 (newsos*): Likewise.
7814 (solaris[2-9]*): Likewise.
7816 * configure: Regenerated.
7818 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7822 overflow or cancellation in calculating denominator.
7823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7825 down expression to avoid unexpected rounding in newer GCCs.
7826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7828 2012-04-26 David S. Miller <davem@davemloft.net>
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7831 long-double compat symbols.
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7846 2012-04-25 David S. Miller <davem@davemloft.net>
7848 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7849 HWCAP_* values only after the memory barriers have been defined.
7850 (atomic_full_barrier): Define.
7851 (atomic_read_barrier): Define.
7852 (atomic_write_barrier): Define.
7854 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7856 * shlib-versions: Add libgcc_s version information.
7857 * sysdeps/generic/libgcc_s.h: Remove.
7858 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7860 * sysdeps/gnu/unwind-resume.c: Likewise.
7861 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7863 2012-04-25 David S. Miller <davem@davemloft.net>
7865 * sysdeps/unix/sparc/brk.S: Delete.
7866 * sysdeps/unix/sparc/dl-brk.S: Delete.
7867 * sysdeps/unix/sparc/pipe.S: Delete.
7868 * sysdeps/unix/sparc/sysdep.S: Delete.
7869 * sysdeps/unix/sparc/sysdep.h: Delete.
7870 * sysdeps/unix/sparc/vfork.S: Delete.
7871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7872 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7874 ret_ERRVAL, r0, r1, MOVE): Define.
7875 (JUMPTARGET): Remove.
7876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7877 sysdeps/unix/sparc/sysdep.h
7878 (ENTRY, END): Remove.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7881 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7883 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7884 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7887 * timezone/README: Update upstream location and email address for
7889 * timezone/zdump.c: Update from tzcode 2012b.
7890 * timezone/zic.c: Likewise.
7892 * configure.in (libc_cv_as_needed): Remove test.
7893 * configure: Regenerated.
7894 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7895 conditional definition.
7896 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7897 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7898 * config.make.in (have-as-needed): Remove variable.
7900 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7901 Paul Pluzhnikov <ppluzhnikov@google.com>
7903 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7906 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7908 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7909 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7910 * sysdeps/sh/strlen.S: Likewise.
7912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7914 * sysdeps/unix/fork.S: Remove file.
7915 * sysdeps/unix/i386/fork.S: Likewise.
7916 * sysdeps/unix/sparc/fork.S: Likewise.
7918 * sysdeps/unix/system.c: Remove file.
7919 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7921 * sysdeps/unix/getegid.S: Remove file.
7922 * sysdeps/unix/geteuid.S: Likewise.
7924 2012-04-24 Roland McGrath <roland@hack.frob.com>
7926 * scripts/check-localplt.awk: New file.
7927 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7929 * scripts/data/localplt-generic.data: Add a comment.
7931 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7932 NODE when __dir_mkfile failed.
7933 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7934 Reported by Ludovic Courtès <ludo@gnu.org>.
7936 2012-04-24 Andreas Jaeger <aj@suse.de>
7938 * Makerules (common-clean): Also remove gen-as-const-headers
7941 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7943 * Makerules (native-compile): Do not change working directory for
7944 build. Use $(OUTPUT_OPTION) in command.
7945 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7947 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7950 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7951 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7952 * math/libm-test.inc (floor_test): Add more tests.
7953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7955 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7957 * sysdeps/unix/getdents.c: Remove file.
7958 * sysdeps/unix/sysv/getdents.c: Likewise.
7959 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7961 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7962 sysdeps/unix/mman/syscalls.list.
7964 (mprotect): Likewise.
7967 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7968 * sysdeps/unix/mman/syscalls.list: Remove.
7969 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7971 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7972 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7973 * configure: Regenerated.
7974 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7976 * config.make.in (libgcc_s_suffix): Remove variable.
7978 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7980 * sysdeps/unix/sysv/gethostname.c: Move to ...
7981 * sysdeps/posix/gethostname.c: ... here.
7983 * sysdeps/unix/execve.S: Remove file.
7985 * sysdeps/unix/_exit.S: Remove file.
7987 2012-04-23 Andreas Jaeger <aj@suse.de>
7990 * manual/Makefile: Remove make dist support, there's no
7991 need for a stand-alone documentation tar ball.
7992 (TEXI2DVI): Define always, it's not in Makeconfig.
7996 (glibc-doc-$(edition).tar): Removed
8000 (ETAGS): Remove, it's in Makeconfig.
8001 (move-if-change): Remove, it's in Makeconfig.
8003 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8006 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8007 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8008 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8009 (strtod_l, strtof_l, strtold_l): Remove __wur.
8010 It is not necessarily an error to ignore strtol's return value.
8011 One can reliably look at the stored endptr to decide whether
8012 the number had valid syntax.
8014 2012-04-21 Andreas Jaeger <aj@suse.de>
8017 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8019 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8021 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8022 * sysdeps/unix/sysv/Versions: Remove file.
8024 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8029 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8033 version from __vm86.
8035 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/unix/common/lxstat.c: Remove file.
8038 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8040 * sysdeps/unix/sysv/Makefile: Remove file.
8042 * sysdeps/unix/sysv/direct.h: Remove file.
8044 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8045 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8046 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8047 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8048 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8049 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8050 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8052 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8054 * sysdeps/unix/xmknod.c: Remove file.
8055 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8057 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8059 * sysdeps/unix/sysv/i386/time.S: Remove file.
8061 * sysdeps/unix/fxstat.c: Remove file.
8062 * sysdeps/unix/xstat.c: Likewise.
8063 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8065 * sysdeps/unix/sysv/sigaction.c: Remove file.
8067 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8068 (sysdep_headers): Remove variable.
8069 [termio.h not in sysdep_headers] (generated): Likewise.
8070 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8071 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8072 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8073 * sysdeps/unix/sysv/tcflow.c: Likewise.
8074 * sysdeps/unix/sysv/tcflush.c: Likewise.
8075 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8076 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8077 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8078 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8079 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8081 * sysdeps/unix/siglist.c: Remove file.
8083 * sysdeps/unix/getppid.S: Remove file.
8085 * sysdeps/unix/mkdir.c: Remove file.
8086 * sysdeps/unix/rmdir.c: Likewise.
8088 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8090 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8093 errlist-compat value.
8095 2012-04-18 David S. Miller <davem@davemloft.net>
8097 * sysdeps/generic/memcopy.h (reg_char): Delete.
8098 * debug/strcat_chk.c: Use char, not reg_char.
8099 * debug/strcpy_chk.c: Likewise.
8100 * debug/strncat_chk.c: Likewise.
8101 * debug/strncpy_chk.c: Likewise.
8102 * string/memchr.c: Likewise.
8103 * string/memrchr.c: Likewise.
8104 * string/rawmemchr.c: Likewise.
8105 * string/strcat.c: Likewise.
8106 * string/strchr.c: Likewise.
8107 * string/strchrnul.c: Likewise.
8108 * string/strcmp.c: Likewise.
8109 * string/strcpy.c: Likewise.
8110 * string/strncat.c: Likewise.
8111 * string/strncmp.c: Likewise.
8112 * string/strncpy.c: Likewise.
8114 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8116 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8117 __builtin_memcopy is called when src and dest ranges are known to not
8120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8123 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8124 fwd_align_merge macro call.
8125 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8126 bwd_align_merge macro call.
8127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8132 bwd_align_merge macros.
8133 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8134 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8137 2012-04-18 David S. Miller <davem@davemloft.net>
8139 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8141 2012-04-18 Andreas Jaeger <aj@suse.de>
8144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8145 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8149 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8150 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8152 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8153 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8154 Adjust for changed ldbl-128 files.
8156 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8157 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8160 2012-04-17 David S. Miller <davem@davemloft.net>
8162 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8164 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8166 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8167 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8168 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8169 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8173 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8176 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8177 * math/libm-test.inc: Add ilogb errno and exception tests.
8178 * math/w_ilogb.c: New file: ilogb wrapper.
8179 * math/w_ilogbf.c: New file: ilogbf wrapper.
8180 * math/w_ilogbl.c: New file: ilogbl wrapper.
8181 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8182 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8183 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8184 exception being thrown with 0.0 as argument.
8185 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8186 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8187 exception being thrown with 0.0 as argument.
8188 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8189 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8190 exception being thrown with 0.0 as argument.
8191 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8192 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8193 exception being thrown with 0.0 as argument.
8194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8195 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8197 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8200 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8201 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8202 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8204 2012-04-17 Petr Baudis <pasky@ucw.cz>
8206 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8209 2012-04-16 Marek Polacek <polacek@redhat.com>
8211 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8213 2012-04-16 Marek Polacek <polacek@redhat.com>
8215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8216 operands of fdivp instruction.
8218 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8220 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8221 * elf/tst-auditmod3b.c: Likewise.
8222 * elf/tst-auditmod4b.c: Likewise.
8223 * elf/tst-auditmod5b.c: Likewise.
8224 * elf/tst-auditmod6b.c: Likewise.
8225 * elf/tst-auditmod6c.c: Likewise.
8226 * elf/tst-auditmod7b.c: Likewise.
8227 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8228 * sysdeps/x86_64/preconfigure.in: Likewise.
8229 * sysdeps/x86_64/preconfigure: Regenerated.
8231 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8233 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8236 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8239 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8241 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8244 * locale/iso-639.def: Fix gl language name. Spotted by
8247 2012-04-12 Roland McGrath <roland@hack.frob.com>
8250 * libio/libio.h (__io_write_fn): Update comment.
8252 2012-04-12 Petr Baudis <pasky@ucw.cz>
8255 * stdio.texi (Hook Functions): The user provided writer function
8256 is not allowed to return -1.
8258 2012-04-11 David S. Miller <davem@davemloft.net>
8260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8262 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8264 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8265 Add a leading slash to rtkaio.
8267 2012-04-11 Jim Meyering <meyering@redhat.com>
8270 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8271 It is not necessarily an error to ignore fwrite's return
8272 value. One can reliably use ferror to test for errors after
8275 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8277 * bits/types.h (__snseconds_t): New type.
8278 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8280 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8282 (__SNSECONDS_T_TYPE): Likewise.
8283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8284 (__SNSECONDS_T_TYPE): Likewise.
8285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8286 (__SNSECONDS_T_TYPE): Likewise.
8288 2012-04-10 Andreas Jaeger <aj@suse.de>
8291 * manual/time.texi (Processor Time): Return type of times is
8292 elapsed real time since an arbitrary point in the past.
8293 (CPU Time): Move CLK_TCK from here...
8294 (Processor Time): ...to here. Correct description.
8295 * manual/conf.texi (Constants for Sysconf): Correct description of
8298 2012-04-10 David S. Miller <davem@davemloft.net>
8301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8302 where the is a gap between DT_REL(A) and DT_JMPREL.
8304 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8306 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8310 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8312 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8313 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8314 (dl_main): Handle --inhibit-cache.
8315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8317 * elf/dl-load.c (_dl_map_object): Use it.
8318 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8320 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8323 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8324 (__ieee754_powl): Saturate large exponents rather than testing for
8325 overflow of y*log2(x).
8326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8327 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8331 * math/s_ctan.c: Include <float.h>.
8332 (__ctan): Avoid internal overflow or cancellation in calculating
8334 * math/s_ctanf.c: Likewise.
8335 * math/s_ctanl.c: Likewise.
8336 * math/s_ctanh.c: Likewise.
8337 * math/s_ctanhf.c: Likewise.
8338 * math/s_ctanhl.c: Likewise.
8339 * math/libm-test.inc (ctan_test): Add more tests.
8340 (ctanh_test): Likewise.
8341 * sysdeps/i386/fpu/libm-test-ulps: Update.
8342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344 2012-04-09 Andreas Jaeger <aj@suse.de>
8347 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8348 is an optional BSD extension.
8351 * manual/stdio.texi (Opening Streams): Document additional fopen
8354 2012-04-09 Roland McGrath <roland@hack.frob.com>
8356 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8357 %eax without telling the compiler.
8359 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8362 * manual/install.texi: Use sourceware.org.
8364 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8367 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8368 (__ieee754_pow): Generate overflow and underflow using huge*huge
8369 and tiny*tiny rather than just returning constant infinity or zero
8370 for large exponents.
8371 * math/libm-test.inc (pow_test): Require overflow exceptions for
8372 applicable cases of large exponents.
8375 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8376 (__ieee754_pow): Use iterative multiplication algorithm only for
8377 integer exponents with absolute value below 1024. Check for odd
8378 integer exponents when using algorithm for real exponents.
8379 * math/libm-test.inc (pow_test): Add more tests.
8380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8382 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8385 * math/libm-test.inc (exp_test): Do not allow overflow exception
8388 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8391 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8392 instead of __kernel_standard_f.
8394 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8396 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8397 * sysdeps/x86_64/memset_chk.S: Likewise.
8399 2012-04-08 Andreas Jaeger <aj@suse.de>
8402 * manual/startup.texi (Environment Access): Describe return value
8403 for putenv and setenv.
8406 * manual/filesys.texi (Directory Entries): Add description for
8410 * manual/filesys.texi (Directory Entries): Clarify that it's file
8411 system not operating system in the description of DT_UNKNOWN.
8414 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8416 2012-04-08 Stephen Compall <s11@member.fsf.org>
8419 * manual/llio.texi (Opening and Closing Files): Add cross
8420 reference to explain mode argument.
8422 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8424 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8425 * sysdeps/x86_64/memset_chk.S: Likewise.
8427 2012-04-07 David S. Miller <davem@davemloft.net>
8429 * elf/elf.h (R_SPARC_WDISP10): Define.
8430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8433 R_SPARC_SIZE64 and R_SPARC_H34.
8435 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8438 conditions and remove no longer applicable assertion.
8440 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8442 * bits/byteswap.h: Include <features.h>.
8443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8446 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8448 * bits/byteswap.h (__bswap_16): Removed.
8449 Include <bits/byteswap-16.h> to get __bswap_16.
8450 * sysdeps/i386/bits/byteswap.h: Likewise.
8451 * sysdeps/s390/bits/byteswap.h: Likewise.
8452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8453 * bits/byteswap-16.h: New file.
8454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8455 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8456 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8457 * string/Makefile (headers): Add bits/byteswap-16.h.
8459 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8462 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8464 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8465 * nss/tst-nss-static.c: New.
8467 2012-04-06 Robert Millan <rmh@gnu.org>
8470 * manual/llio.texi (File Position Primitive): lseek
8471 refers to WHENCE when it really means OFFSET.
8473 2012-04-06 Andreas Jaeger <aj@suse.de>
8475 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8476 strncmp declarations.
8478 * abilist/libc.abilist: Add __poll and __ppoll.
8480 2012-04-05 David S. Miller <davem@davemloft.net>
8482 * scripts/check-local-headers.sh: Accept a host triplet in the
8483 path matched by the exclude regexp.
8485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8487 * sysdeps/powerpc/powerpc32/dl-machine.h
8488 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8489 * sysdeps/s390/s390-32/dl-machine.h
8490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8491 * sysdeps/sparc/sparc32/dl-machine.h
8492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8493 * sysdeps/sparc/sparc64/dl-machine.h
8494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8496 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8499 undefined symbol errors.
8501 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8504 2012-04-05 Michael Matz <matz@suse.de>
8507 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8509 2012-04-05 Andreas Jaeger <aj@suse.de>
8512 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8515 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8518 which ROUND is no valid rounding mode.
8520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8524 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8529 an exception using FPU order intentionally.
8531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8534 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8535 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8536 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8538 2012-04-05 Simon Josefsson <simon@josefsson.org>
8541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8542 EINVAL when BUFLEN is too smal.
8544 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8547 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8548 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8550 2012-04-03 Andreas Jaeger <aj@suse.de>
8553 * manual/setjmp.texi (System V contexts): Fix sentence.
8556 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8557 New macro for this case.
8558 [!__GNUC__] (__bswap_64): New inline function for this case.
8559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8560 * bits/byteswap.h: Likewise.
8561 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8562 ull, guard with __GLIBC_HAVE_LONG_LONG.
8564 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8565 __GLIBC_HAVE_LONG_LONG.
8567 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8568 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8570 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8574 inptr and inend, rather than using last_ch.
8576 2012-04-02 David S. Miller <davem@davemloft.net>
8578 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8579 * stdio-common/printf-parse.h (read_int): Change return type to
8580 'int', return -1 on INT_MAX overflow.
8581 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8582 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8583 overflows INT_MAX. Check for overflow of in-format-string precision
8584 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8585 SIZE_MAX not INT_MAX for integer overflow test.
8586 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8587 skip the construct in the format string but do not record anything.
8588 * stdio-common/bug22.c: Adjust to test both width/prevision
8589 INT_MAX overflow as well as total length INT_MAX overflow. Check
8590 explicitly for proper errno values.
8592 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8594 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8596 * string/test-strcmp.c [! WIDE]: Likewise.
8597 * time/tst-mktime2.c: Likewise for INT_MAX.
8598 * string/test-string.h: #include <sys/param.h> for MIN.
8600 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8601 * sysdeps/i386/init-first.c (init): Likewise.
8602 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8603 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8604 * sysdeps/sh/init-first.c (init): Likewise.
8606 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8608 * po/ru.po: Update from translation team.
8609 * po/vi.po: Likewise.
8611 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8613 * resolv/nss_dns/dns-host.c: Merge copyright years.
8615 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8618 Optimize memcpy with prefetch if
8619 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8620 src, dst pointers have unequal 16 byte alignments.
8622 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8625 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8626 from a CNAME entry and return the minimum ttl for the query.
8627 (gaih_getanswer_slice): Likewise.
8629 2012-03-30 Jeff Law <law@redhat.com>
8631 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8636 * resolv/nss_dns/dns-host.c: Update copyright year.
8638 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8640 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8641 requests to save a system call. Fix check that all bytes are sent.
8643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8644 comments for sendmmsg.
8646 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8650 with only 1 character between 0x0041 and 0x01b0.
8651 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8652 * wcsmbs/tst-mbsnrtowcs.c: New file.
8654 2012-03-29 David S. Miller <davem@davemloft.net>
8656 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8657 small copies by hand.
8659 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8662 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8663 _nss_compat_initgroups_dyn): Fall back to malloc/free
8664 for large group memberships.
8666 2012-03-28 David S. Miller <davem@davemloft.net>
8668 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8669 that branches into memcpy.
8670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8676 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8678 * sysdeps/sparc/mempcpy.S: New file.
8680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8681 the IFUNC routine in the libc case.
8682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8685 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8686 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8687 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8688 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8689 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8690 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8691 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8693 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8694 loop to 256 bytes instead of 64 bytes and fix test signedness.
8696 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8697 * sysdeps/sparc/sparc32/Makefile: rather than here...
8698 * sysdeps/sparc/sparc64/Makefile: and here.
8700 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8702 * malloc/mallocbug.c: Avoid warnings about unused variables.
8704 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8707 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8708 in the right place. Discard and retry query if response is
8709 larger than input buffer size.
8711 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8717 x for large integer exponent.
8718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8719 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8720 sign of result as needed afterwards.
8721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8722 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8723 result for underflowing pow the same as for overflow.
8724 (__kernel_standard_l): Handle powl overflow and underflow here
8725 rather than calling __kernel_standard.
8726 * math/libm-test.inc (pow_test): Add more tests.
8741 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8742 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8743 (__kernel_standard_l): New function.
8744 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8746 * math/w_acosl.c (__acosl): Likewise.
8747 * math/w_asinl.c (__asinl): Likewise.
8748 * math/w_atan2l.c (__atan2l): Likewise.
8749 * math/w_atanhl.c (__atanhl): Likewise.
8750 * math/w_coshl.c (__coshl): Likewise.
8751 * math/w_exp10l.c (__exp10l): Likewise.
8752 * math/w_exp2l.c (__exp2l): Likewise.
8753 * math/w_fmodl.c (__fmodl): Likewise.
8754 * math/w_hypotl.c (__hypotl): Likewise.
8755 * math/w_j0l.c (__j0l, __y0l): Likewise.
8756 * math/w_j1l.c (__j1l, __y1l): Likewise.
8757 * math/w_jnl.c (__jnl, __ynl): Likewise.
8758 * math/w_lgammal.c (__lgammal): Likewise.
8759 * math/w_log10l.c (__log10l): Likewise.
8760 * math/w_log2l.c (__log2l): Likewise.
8761 * math/w_logl.c (__logl): Likewise.
8762 * math/w_powl.c (__powl): Likewise.
8763 * math/w_remainderl.c (__remainderl): Likewise.
8764 * math/w_scalbl.c (sysv_scalbl): Likewise.
8765 * math/w_sinhl.c (__sinhl): Likewise.
8766 * math/w_sqrtl.c (__sqrtl): Likewise.
8767 * math/w_tgammal.c (__tgammal): Likewise.
8768 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8769 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8770 * math/libm-test.inc (acos_test): Add more tests.
8771 (acosh_test): Likewise.
8772 (asin_test): Likewise.
8773 (atanh_test): Likewise.
8774 (exp_test): Likewise.
8775 (exp10_test): Likewise.
8776 (exp2_test): Likewise.
8777 (expm1_test): Likewise.
8778 (lgamma_test): Likewise.
8779 (log_test): Likewise.
8780 (log10_test): Likewise.
8781 (log1p_test): Likewise.
8782 (log2_test): Likewise.
8783 (pow_test): Do not allow some spurious overflow exceptions.
8784 (sqrt_test): Add more tests.
8785 (tgamma_test): Likewise.
8786 (y0_test): Likewise.
8787 (y1_test): Likewise.
8788 (yn_test): Likewise.
8790 2012-03-27 Anton Blanchard <anton@samba.org>
8792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8798 2012-03-27 David S. Miller <davem@davemloft.net>
8800 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8802 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8805 2012-03-27 Andreas Jaeger <aj@suse.de>
8807 * sysdeps/x86_64/elf/configure.in: Moved to ...
8808 * sysdeps/x86_64/configure.in: ... here.
8809 * sysdeps/x86_64/elf/start.S: Moved to ...
8810 * sysdeps/x86_64/start.S: ... here.
8811 * sysdeps/x86_64/elf/configure: Delete.
8813 * sysdeps/x86_64/configure.in: Merge contents from
8814 sysdeps/i386/configure.in (without i686 check).
8816 * sysdeps/i386/elf/Versions: Merge into ...
8817 * sysdeps/i386/Versions: ... this.
8818 * sysdeps/i386/elf/Versions: Delete file.
8819 * sysdeps/i386/elf/start.S: Moved to ...
8820 * sysdeps/i386/start.S: ...here.
8821 * sysdeps/i386/elf/configure.in: Merge into...
8822 * sysdeps/i386/configure.in: ...here.
8823 * sysdeps/i386/elf/configure.in: Delete file.
8824 * sysdeps/i386/elf/configure: Delete file.
8826 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8827 * debug/backtracesyms.c: ... here.
8828 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8829 * debug/backtracesymsfd.c: ... here.
8830 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8831 * sysdeps/generic/ifunc-sel.h: ... here.
8833 * sysdeps/unix/i386/start.c: Delete file.
8834 * sysdeps/unix/sparc/start.c: Delete file.
8835 * sysdeps/unix/start.c: Delete file.
8837 * sysdeps/sh/elf/configure.in: Moved to ...
8838 * sysdeps/sh/configure.in: ... here.
8839 * sysdeps/sh/elf/start.S: Moved to ...
8840 * sysdeps/sh/start.S: ... here.
8841 * sysdeps/sh/elf/configure: Delete file.
8843 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8844 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8845 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8846 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8847 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8848 * sysdeps/powerpc/powerpc64/start.S: here.
8849 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8850 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8851 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8852 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8853 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8855 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8856 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8857 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8858 * sysdeps/powerpc/powerpc32/start.S: ... here.
8859 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8860 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8861 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8863 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8864 * sysdeps/powerpc/ifunc-sel.h: ... here.
8865 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8866 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8868 * sysdeps/sparc/elf/configure.in: Moved to ...
8869 * sysdeps/sparc/configure.in: ... here.
8870 * sysdeps/sparc/elf/configure: Delete file.
8871 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8872 * sysdeps/sparc/sparc32/start.S: ... here.
8873 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8874 * sysdeps/sparc/sparc64/start.S: ... here.
8875 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8876 * sysdeps/sparc/sparc32/Makefile: ... this.
8877 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8878 * sysdeps/sparc/sparc64/Makefile: ... this.
8880 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8881 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8882 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8883 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8884 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8885 * sysdeps/s390/s390-32/setjmp.S: ... here.
8886 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8887 * sysdeps/s390/s390-32/configure.in: ... here.
8888 * sysdeps/s390/s390-32/elf/configure: Delete file.
8889 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8890 * sysdeps/s390/s390-32/start.S: ... here.
8892 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8893 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8894 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8895 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8896 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8897 * sysdeps/s390/s390-64/setjmp.S: ... here.
8898 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8899 * sysdeps/s390/s390-64/configure.in: ... here
8900 * sysdeps/s390/s390-64/elf/configure: Delete file.
8901 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8902 * sysdeps/s390/s390-64/start.S: ... here.
8903 * sysdeps/s390/s390-64/elf/configure: Delete.
8905 * configure.in: Remove support for elf directories in sysdeps.
8907 * configure: Regenerated.
8908 * sysdeps/i386/configure: Regenerated.
8909 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8910 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8911 * sysdeps/s390/s390-32/configure: Regenerated.
8912 * sysdeps/s390/s390-64/configure: Regenerated.
8913 * sysdeps/sh/configure: Regenerated.
8914 * sysdeps/sparc/configure: Regenerated.
8915 * sysdeps/x86_64/configure: Regenerated.
8917 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8922 denormal result into account.
8924 2012-03-25 Roland McGrath <roland@hack.frob.com>
8926 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8927 Reported by Allan McRae <allan@archlinux.org>.
8929 2012-03-23 Jeff Law <law@redhat.com>
8931 * nss/getnssent.c (__nss_getent): Fix typo.
8933 2012-03-23 David S. Miller <davem@davemloft.net>
8935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8937 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8939 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8940 to pad to uint64_t for each field.
8941 (dl_tls_index): Replace unsigned long with uint64_t.
8943 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8944 Paul Pluzhnikov <ppluzhnikov@google.com>
8947 * grp/Makefile (otherlibs): Don't set it.
8948 * inet/Makefile (otherlibs): Likewise.
8949 * login/Makefile (otherlibs): Likewise.
8950 * nscd/Makefile (otherlibs): Likewise.
8951 * posix/Makefile (otherlibs): Likewise.
8952 * pwd/Makefile (otherlibs): Likewise.
8953 * rt/Makefile (otherlibs): Likewise.
8954 * sunrpc/Makefile (otherlibs): Likewise.
8955 * nss/Makefile (otherlibs): Likewise.
8956 Add libnss_files to routines and static-only-routines.
8957 ($(objpfx)getent): Remove rule.
8958 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8959 static-only-routines.
8961 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8964 * math/s_cexp.c: Include <float.h>.
8965 (__cexp): Handle exp result overflowing not necessarily
8966 overflowing both real and imaginary parts of result.
8967 * math/s_cexpf.c: Likewise.
8968 * math/s_cexpl.c: Likewise.
8969 * math/libm-test.inc (cexp_test): Add more tests.
8970 * sysdeps/i386/fpu/libm-test-ulps: Update.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8975 * include/link.h (ELFW): New macro.
8976 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8977 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8981 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8986 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8988 (struct La_x32_retval): Likewise.
8990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8992 * sysdeps/x86_64/preconfigure.in: New file.
8993 * sysdeps/x86_64/preconfigure: New generated file.
8995 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8998 * math/e_exp2l.c: Include <float.h>.
8999 (__ieee754_exp2l): Handle overflow and underflow cases
9000 separately. Only pass fractional part of argument to
9002 * math/libm-test.inc (exp2_test): Add more tests.
9004 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9005 negating x to take absolute value.
9006 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9011 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9012 computing low part if x was negated.
9013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9017 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9019 (pltexit): Cast int_retval to ptrdiff_t.
9020 * elf/tst-auditmod3b.c: Likewise.
9021 * elf/tst-auditmod4b.c: Likewise.
9022 * elf/tst-auditmod5b.c: Likewise.
9023 * elf/tst-auditmod6b.c: Likewise.
9024 * elf/tst-auditmod6c.c: Likewise.
9025 * elf/tst-auditmod7b.c: Likewise.
9027 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9028 and x32_gnu_pltexit.
9030 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9032 (La_x32_regs): New macro.
9033 (La_x32_retval): Likewise.
9034 (la_x32_gnu_pltenter): New function prototype.
9035 (la_x32_gnu_pltexit): Likewise.
9037 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9044 * configure.in (libc_cv_cc_nofma): Check for option to disable
9045 generation of FMA instructions.
9046 * configure: Regenerate.
9047 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9048 * sysdeps/ieee754/dbl-64/Makefile: New file.
9049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9050 Remove brandred-fma4.
9051 (CFLAGS-brandred-fma4.c): Remove.
9052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9058 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9061 LLONG_MAX != LONG_MAX.
9062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9063 (_fitoa_word): Likewise.
9064 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9065 LLONG_MAX != LONG_MAX.
9066 * stdio-common/_itowa.h: Include <_itoa.h>.
9067 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9068 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9069 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9070 only if not defined.
9071 (_ITOA_WORD_TYPE): Likewise.
9072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9073 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9075 2012-03-21 David S. Miller <davem@davemloft.net>
9077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9079 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9081 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9082 of x86_64 when setting libc_cv_slibdir, libdir and
9084 * sysdeps/unix/sysv/linux/configure: Regenerated.
9086 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9088 * manual/lang.texi (Old Varargs): Remove section.
9089 (How Variadic): Update menu.
9090 (va_start): Do not mention varargs.h.
9092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9093 Joseph Myers <joseph@codesourcery.com>
9095 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9097 * configure: Regenerated.
9099 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9101 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9102 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9105 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9108 * Makefile (files-for-dist): Remove NOTES.
9109 (NOTES): Remove rule.
9110 * README: Don't refer to NOTES.
9111 * manual/creature.texi: Don't include macros.texi.
9112 * manual/intro.texi (creature.texi): Remove comment referring to
9115 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9116 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9117 * configure: Regenerated.
9118 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9120 (libc_cv_as_i686): Likewise.
9121 (libc_cv_cc_avx): Likewise.
9122 (libc_cv_cc_sse2avx): Likewise.
9123 (libc_cv_cc_fma4): Likewise.
9124 (libc_cv_cc_novzeroupper): Likewise.
9125 * sysdeps/i386/configure: Regenerated.
9128 * sysdeps/i386/fpu/s_cexp.S: Remove.
9129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9131 * math/libm-test.inc (cexp_test): Add more tests.
9132 * sysdeps/i386/fpu/libm-test-ulps: Update.
9133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9135 2012-03-21 Allan McRae <allan@archlinux.org>
9137 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9139 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9142 * math/w_exp2.c: Do not include <float.h>.
9143 (o_threshold, u_threshold): Remove.
9144 (__exp2): Calculate result before checking finiteness and calling
9146 * math/w_exp2f.c: Likewise.
9147 * math/w_exp2l.c: Likewise.
9148 * math/libm-test.inc (exp2_test): Require overflow exception for
9152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9153 range of signed 64-bit integers before using fistpll. Remove
9154 checks for whether integers fit in mantissa bits.
9155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9156 the range of signed 32-bit integers before using fistpl. Remove
9157 checks for whether integers fit in mantissa bits.
9158 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9159 (__ieee754_powl): Test for y outside the range of signed 64-bit
9160 integers before using fistpll. Reduce 64-bit values to 63-bit
9162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9163 divide-by-zero is raised for zero to large negative powers.
9164 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9165 (__ieee754_powl): Test for y outside the range of signed 64-bit
9166 integers before using fistpll. Reduce 64-bit values to 63-bit
9168 * math/libm-test.inc (pow_test): Add more tests.
9170 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9172 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9173 <stdio-common/_itoa.h>.
9174 * debug/segfault.c: Likewise.
9175 * elf/dl-cache.c: Likewise.
9176 * elf/dl-minimal.c: Likewise.
9177 * elf/dl-misc.c: Likewise.
9178 * elf/dl-sysdep.c: Likewise.
9179 * elf/dl-version.c: Likewise.
9180 * elf/rtld.c: Likewise.
9181 * hurd/hurdsock.c: Likewise.
9182 * hurd/lookup-retry.c: Likewise.
9183 * malloc/malloc.c: Likewise.
9184 * malloc/mtrace.c: Likewise.
9185 * nscd/nscd_getgr_r.c: Likewise.
9186 * nscd/nscd_getpw_r.c: Likewise.
9187 * nscd/nscd_getserv_r.c: Likewise.
9188 * posix/getopt_init.c: Likewise.
9189 * posix/wordexp.c: Likewise.
9190 * stdio-common/_itoa.c: Likewise.
9191 * stdio-common/printf_fphex.c: Likewise.
9192 * stdio-common/vfprintf.c: Likewise.
9193 * string/_strerror.c: Likewise.
9194 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9195 * sysdeps/i386/i686/hp-timing.h: Likewise.
9196 * sysdeps/mach/_strerror.c: Likewise.
9197 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9198 * sysdeps/mach/hurd/sethostid.c: Likewise.
9199 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9200 * sysdeps/mach/xpg-strerror.c: Likewise.
9201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9203 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9204 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9205 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9206 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9207 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9208 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9209 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9210 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9211 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9223 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9225 * stdio-common/_itoa.h: Moved to ...
9226 * sysdeps/generic/_itoa.h: Here.
9228 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9230 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9231 instead of "_itoa.h" and "_itowa.h".
9232 * stdio-common/vfprintf.: Likewise.
9234 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9238 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9239 (__signbit): Likwise.
9243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9245 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9248 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9250 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9251 OVERFLOW_EXCEPTION_OK.
9252 * math/libm-test.inc ("Philosophy"): Update comment about
9254 (OVERFLOW_EXCEPTION): Define.
9255 (OVERFLOW_EXCEPTION_OK): Likewise.
9256 (INVALID_EXCEPTION_OK): Renumber.
9257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9258 (IGNORE_ZERO_INF_SIGN): Likewise.
9259 (test_exceptions): Handle FE_OVERFLOW.
9260 (exp10_test): Expect overflow exceptions.
9261 (exp2_test): Likewise.
9262 (expm1_test): Likewise.
9263 (nextafter_test): Likewise.
9264 (pow_test): Likewise.
9265 (scalbn_test): Likewise.
9266 (scalbln_test): Likewise.
9268 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9270 * sysdeps/x86_64/bits/atomic.h
9271 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9273 (atomic_exchange_acq): Likewise.
9274 (__arch_exchange_and_add_body): Likewise.
9275 (__arch_add_body): Likewise.
9276 (atomic_add_negative): Likewise.
9277 (atomic_add_zero): Likewise.
9279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9281 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9282 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9286 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9287 Check __x86_64__ instead of __WORDSIZE.
9289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9291 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9293 2012-03-19 David S. Miller <davem@davemloft.net>
9295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9297 * sysdeps/sparc/fpu/fenv_private.h: New file.
9298 * sysdeps/sparc/fpu/math_private.h: Use it.
9299 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9302 (libc_feholdexcept_setroundl): Remove.
9303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9310 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9311 int64_t instead of long int.
9312 (INSERT_WORDS64): Likwise.
9314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9316 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9317 _Unwind_GetCFA return to _Unwind_Ptr first.
9319 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9322 * math/s_clog.c: Include <float.h>.
9323 (__clog): Scale large or subnormal inputs.
9324 * math/s_clogf.c: Likewise.
9325 * math/s_clogl.c: Likewise.
9326 * math/s_clog10.c: Include <float.h>.
9327 (M_LOG10_2): Define.
9328 (__clog10): Scale large or subnormal inputs.
9329 * math/s_clog10f.c: Likewise.
9330 * math/s_clog10l.c: Likewise.
9331 * math/libm-test.inc (clog_test): Add more tests.
9332 (clog10_test): Likewise.
9333 * sysdeps/i386/fpu/libm-test-ulps: Update.
9334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9339 * math/libm-test.inc (atan2_test): Add another test.
9341 * Makerules (common-objdir-compile): Remove.
9342 * sysdeps/unix/Makefile (config-generated): Do not add
9343 $(unix-generated) to variable.
9344 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9345 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9347 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9349 [generic bits/local_lim.h] (before-compile): Do not append to
9351 [generic bits/local_lim.h] (common-generated): Likewise.
9352 [generic sys/param.h] (before-compile): Do not append to variable.
9353 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9354 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9356 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9358 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9359 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9360 [generic sys/param.h] ($(addprefix
9361 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9362 [generic sys/param.h] (common-generated): Do not append to
9364 [generic sys/param.h] (sysdep_headers): Likewise.
9365 [generic bits/errno.h] (before-compile): Do not append to
9367 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9369 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9370 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9371 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9372 [generic bits/errno.h] (common-generated): Do not append to
9374 [generic bits/ioctls.h] (before-compile): Do not append to
9376 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9378 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9379 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9383 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9384 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9385 [generic bits/ioctls.h] (common-generated): Do not append to
9387 [generic sys/syscall.h] (syscall.h): Remove variable.
9388 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9390 [generic sys/syscall.h] (before-compile): Do not append to
9392 [generic sys/syscall.h] (common-generated): Likewise.
9393 * sysdeps/unix/errnos-tmpl.c: Remove file.
9394 * sysdeps/unix/errnos.awk: Likewise.
9395 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9396 * sysdeps/unix/ioctls.awk: Likewise.
9397 * sysdeps/unix/mk-local_lim.c: Likewise.
9398 * sysdeps/unix/snarf-ioctls: Likewise.
9400 2012-03-19 Richard Henderson <rth@twiddle.net>
9402 * sysdeps/i386/fpu/fenv_private.h: New file.
9403 * sysdeps/i386/fpu/math_private.h: Use it.
9404 (math_opt_barrier, math_force_eval): Remove.
9405 (libc_feholdexcept_setround_53bit): Remove.
9406 (libc_feupdateenv_53bit): Remove.
9407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9408 (math_opt_barrier, math_force_eval): Remove.
9409 (libc_feholdexcept): Remove.
9410 (libc_feholdexcept_setround): Remove.
9411 (libc_fetestexcept, libc_fesetenv): Remove.
9412 (libc_feupdateenv_test): Remove.
9413 (libc_feupdateenv, libc_feholdsetround): Remove.
9414 (libc_feresetround): Remove.
9416 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9417 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9419 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9420 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9421 (libc_feupdateenv_testl): New.
9422 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9423 (libc_feupdateenv_testf): New.
9424 (libc_feupdateenv): Use libc_feupdateenv_test.
9425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9428 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9429 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9430 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9431 (libc_feresetround_noex): New.
9432 (libc_feresetround_noexf): New.
9433 (libc_feresetround_noexl): New.
9434 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9435 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9436 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9442 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9444 SET_RESTORE_ROUND_NOEX.
9445 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9446 SET_RESTORE_ROUND_NOEXF.
9447 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9448 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9449 (libc_feholdsetroundf): New.
9450 (libc_feresetround, libc_feresetroundf): New.
9452 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9453 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9454 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9456 * sysdeps/generic/math_private.h: Include <fenv.h>.
9457 (default_libc_feholdexcept): New.
9458 (default_libc_feholdexcept_setround): New.
9459 (default_libc_fesetenv, default_libc_feupdateenv): New.
9460 (libc_feholdexcept): Only define if undefined.
9461 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9463 (libc_feholdexcept_setroundl): Likewise.
9464 (libc_feholdexcept_setround_53bit): Likewise.
9465 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9468 (libc_feupdateenv_53bit): Likewise.
9469 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9470 (libc_feholdexcept): Convert from macro to inline function.
9471 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9472 (libc_fesetenv, libc_feupdateenv): Likewise.
9474 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9475 not previously defined.
9476 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9477 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9478 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9480 * sysdeps/ieee754/flt-32/math_private.h: New file.
9481 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9482 math_private.h below SET_FLOAT_WORD.
9483 (__isnan, __isinf_ns, __finite): Remove.
9484 (__isnanf, __isinf_nsf, __finitef): Remove.
9486 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9490 2012-03-17 David S. Miller <davem@davemloft.net>
9493 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9496 2012-03-16 David S. Miller <davem@davemloft.net>
9498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9504 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9505 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9506 sysdep_routines when subdir is sysvipc.
9507 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9510 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9512 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9514 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9521 (__lround): Renamed to ...
9522 (__llround): This. Replace long int with long long int.
9523 Define lround functions as aliases of llround functions.
9524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9528 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9529 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9530 adresses to uintptr_t. Replace "long int" and "unsigned long
9531 int" with "greg_t" on va_arg.
9533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9535 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9536 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9538 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9539 Move e_machine check before EI_CLASS check. Handle x32
9540 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9541 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9542 SKIP_EM_IA_64 and include
9543 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9545 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9546 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9547 (add_system_dir): New macro.
9549 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9550 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9552 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9563 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9565 * math/w_j0f.c (j0f): Likewise.
9567 * math/w_j0l.c (__j0l): Likewise.
9569 * math/w_j1.c (j1): Likewise.
9571 * math/w_j1f.c (j1f): Likewise.
9573 * math/w_j1l.c (__j1l): Likewise.
9575 * math/w_jn.c (jn): Likewise.
9577 * math/w_jnf.c (jnf): Likewise.
9579 * math/w_jnl.c (__jnl): Likewise.
9581 * math/libm-test.inc (j0_test): Add more tests.
9582 (j1_test): Likewise.
9583 (jn_test): Likewise. Add trailing semicolon to existing test.
9584 (y0_test): Likewise.
9585 (y1_test): Likewise.
9586 * sysdeps/i386/fpu/libm-test-ulps: Update.
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9592 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9593 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9595 (__tanl): Set errno for infinite argument.
9596 * sysdeps/i386/fpu/mptan.c: Remove.
9597 * sysdeps/i386/fpu/s_tan.S: Likewise.
9598 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9599 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9600 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9601 * math/libm-test.inc (tan_test): Add more tests and enable more
9602 tests for double and long double.
9603 * sysdeps/i386/fpu/libm-test-ulps: Update.
9604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9606 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9608 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9609 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9611 2012-03-16 Roland McGrath <roland@hack.frob.com>
9613 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9614 * configure.in: Use it for both main tree and add-ons.
9615 * configure: Regenerated.
9617 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9619 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9621 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9628 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9633 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9636 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9637 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9638 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9639 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9640 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9641 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9642 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9643 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9644 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9645 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9646 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9647 * math/libm-test.inc (cos_test): Add more tests and enable more
9648 tests for long double.
9649 (sin_test): Likewise.
9650 (sincos_test): Likewise.
9651 * sysdeps/i386/fpu/libm-test-ulps: Update.
9652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654 2012-03-16 David S. Miller <davem@davemloft.net>
9656 * sysdeps/sparc/fpu/math_private.h: New file.
9658 2012-03-15 David S. Miller <davem@davemloft.net>
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9674 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9675 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9677 * sysdeps/sparc/sparc-ifunc.h: New file.
9678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9723 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9725 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729 2012-03-15 Andreas Jaeger <aj@suse.de>
9732 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9733 ieee754/flt-32 implementation for sin, cos and sincos.
9734 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9735 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9736 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9737 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9738 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9739 ieee754/flt-32 implementation for tan.
9741 * math/libm-test.inc (cos_test): Enable some large input tests for
9743 (sin_test): Likewise.
9744 (sincos_test): Likewise.
9745 (tan_test): Add tests for large input.
9747 * sysdeps/i386/fpu/libm-test-ulps: Update.
9749 2012-03-15 Andreas Jaeger <aj@suse.de>
9752 * math/libm-test.inc (cos_test): Add more test cases.
9753 (sin_test): Likewise.
9754 (sincos_test): Likewise.
9756 2012-03-15 Andreas Jaeger <aj@suse.de>
9759 * math/libm-test.inc (cos_test): Add a test case for large input
9761 (sin_test): Likewise.
9762 (sincos_test): Likewise.
9764 2012-03-15 Andreas Jaeger <aj@suse.de>,
9765 Joseph Myers <joseph@codesourcery.com>
9768 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9769 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9770 * sysdeps/i386/fpu/branred.c: Likewise.
9771 * sysdeps/i386/fpu/dosincos.c: Likewise.
9772 * sysdeps/i386/fpu/mpa.c: Likewise.
9773 * sysdeps/i386/fpu/s_cos.S: Likewise.
9774 * sysdeps/i386/fpu/s_sin.S: Likewise.
9775 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9776 * sysdeps/i386/fpu/sincos32.c: Likewise.
9778 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9780 (libc_feupdateenv_53bit): Define.
9781 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9783 (libc_feupdateenv_53bit): Define.
9785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9786 53 bit (without extend i386 double precision).
9788 * math/libm-test.inc (sincos_test): Add tests for large input.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9794 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9798 2012-03-15 David S. Miller <davem@davemloft.net>
9800 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9803 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9828 fmin/fmax sysdep routines.
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9831 2012-03-14 David S. Miller <davem@davemloft.net>
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9905 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9910 * sysdeps/sparc/configure.in: New file.
9911 * sysdeps/sparc/configure: Generate.
9912 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9913 * configure: Regenerate.
9914 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9915 * config.make.in (have-as-vis3): New.
9916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9917 available use -Av9d instead of -Av9a.
9918 * sysdeps/sparc/sparc64/Makefile: Likewise.
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9935 fzeros/fnegs to load 0x80000000 into a float register instead of
9937 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9939 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9943 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9944 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9945 ($(inst_includedir)/bits/syscall.h): Remove rule.
9946 ($(objpfx)bits/syscall.d): Include instead of
9947 $(objpfx)syscall-list.d.
9948 (generated): Change syscall-list.h and syscall-list.d to
9949 bits/syscall.h and bits/syscall.d.
9951 2012-03-14 Roland McGrath <roland@hack.frob.com>
9954 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9956 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9959 * math/s_csqrt.c: Include <float.h>.
9960 (__csqrt): Scale large or subnormal inputs.
9961 * math/s_csqrtf.c: Likewise.
9962 * math/s_csqrtl.c: Likewise.
9963 * math/libm-test.inc (csqrt_test): Add more tests.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968 * math/libm-test.inc (hypot_test): Add more tests.
9970 2012-03-13 David S. Miller <davem@davemloft.net>
9973 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9974 double-precision for the calculation instead of scaling.
9976 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9979 manipulate bits before adding and subtracting TWO52[sx].
9980 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9985 2012-03-13 David S. Miller <davem@davemloft.net>
9987 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9988 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9990 rtld-global-offsets.h
9991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9999 'err' in the ifdef scope in which it is actually used.
10001 * nss/nss_db/db-init.c: Include string.h
10003 2012-03-12 David S. Miller <davem@davemloft.net>
10005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10006 masking out of the most significant byte of random value used.
10007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10008 Fix coding style in previous change.
10010 * sysdeps/unix/sysv/linux/kernel-features.h
10011 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10012 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10014 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10017 2012-03-11 David S. Miller <davem@davemloft.net>
10019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10020 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10022 for 'resultvar' otherwise things get truncated on 64-bit.
10024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10025 Fix masking out of the most significant byte of random value used.
10027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10029 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10033 2012-03-09 David S. Miller <davem@davemloft.net>
10035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10036 variables with appropriate CPP guards.
10037 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10038 frame pointer, not the stack pointer. Correct layout comments. Fix test
10039 on resulting framesize and the management of the outregs buffer for pltexit.
10040 Preserve floating point return values across _dl_call_pltexit call.
10041 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10042 framesize and the management of the outregs buffer for pltexit.
10043 Preserve floating point return values across _dl_call_pltexit
10045 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10046 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10047 (print_exit): Fix format string for return register value.
10049 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10051 * sunrpc/Makefile (others): Add rpcgen.
10052 ($(objpfx)rpcgen): Remove special build rule and dependency on
10054 * sunrpc/rpcgen.c: New file.
10056 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10059 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10060 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10061 * sysdeps/i386/crti.S: Likewise.
10062 * sysdeps/i386/crtn.S: Likewise.
10063 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10064 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10066 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10067 * sysdeps/sh/crti.S: Likewise.
10068 * sysdeps/sh/crtn.S: Likewise.
10069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10072 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10074 * locale/programs/locfile-kw.gperf: Likewise.
10075 * locale/programs/charmap-kw.h: Regenerated.
10076 * locale/programs/locfile-kw.h: Likewise.
10079 * intl/plural.y: Replace FSF snail mail address with URL.
10080 * intl/plural.c: Regenerated.
10082 2012-03-09 Richard Henderson <rth@twiddle.net>
10084 * include/math_private.h: Remove file.
10085 * math/math_private.h: Move file ...
10086 * sysdeps/generic/math_private.h: ... here.
10088 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10089 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10092 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10093 and <math_private.h>.
10094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10221 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10222 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10223 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10224 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10242 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10243 * sysdeps/ieee754/k_standard.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10393 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10404 * sysdeps/ieee754/s_lib_version.c: Likewise.
10405 * sysdeps/ieee754/s_matherr.c: Likewise.
10406 * sysdeps/ieee754/s_signgam.c: Likewise.
10407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10410 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10413 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10414 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10415 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10416 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10418 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10421 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10429 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10431 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10432 * sunrpc/rpc_main.c: Likewise.
10433 * sunrpc/rpc_svcout.c: Likewise.
10435 2012-03-09 David S. Miller <davem@davemloft.net>
10437 * include/math_private.h: New file.
10439 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10441 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10442 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10443 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10444 from <bits/socket_type.h>.
10445 (enum __socket_type): Don't define here.
10446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10448 bits/socket_type.h.
10451 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10452 checking __USE_GNU.
10454 * Makerules ($(inst_includedir)/%.h): New rule.
10455 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10456 (install-others): Remove variable setting.
10457 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10459 2012-03-08 Richard Henderson <rth@twiddle.net>
10461 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10462 from macro to inline function; merge with the
10463 !__LIBC_INTERNAL_MATH_INLINES version.
10464 (__ieee754_sqrtf): Likewise.
10466 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10467 to inline function.
10468 (__rintf, __floor, __floorf): Likewise.
10470 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10471 macro to inline function.
10472 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10475 not <math/math_private.h>.
10477 2012-03-08 David S. Miller <davem@davemloft.net>
10479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10481 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10483 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10485 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10487 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10488 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10490 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10492 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10493 be defined individually, they must be defined as a block. Define
10494 S for printing a string instead of hidint the different by using a
10495 macro for adding the 'l'.
10496 * stdio-common/tst-fphex-wide.c: Adjust.
10498 2012-03-07 Marek Polacek <polacek@redhat.com>
10500 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10502 2012-03-08 Marek Polacek <polacek@redhat.com>
10505 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10506 * stdio-common/tst-fphex.c: Define a few macros to make the
10507 test reusable. Use them.
10508 * stdio-common/tst-fphex-wide.c: New file.
10510 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10513 * manual/macros.texi (gnusystems): New macro.
10514 (nongnusystems): Likewise.
10515 (gnulinuxhurdsystems): Likewise.
10516 (gnuhurdsystems): Likewise..
10517 (gnulinuxsystems): Likewise.
10518 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10519 variants of the GNU system, not "GNU system".
10520 * manual/conf.texi: Likewise.
10521 * manual/errno.texi: Likewise. Update example of errno macro
10523 * manual/filesys.texi: Likewise.
10524 (getumask): Document as specific to GNU/Hurd.
10525 * manual/install.texi: Likewise. Reword some references to
10527 * manual/intro.texi: Likewise.
10528 * manual/io.texi: Likewise.
10529 (File Name Portability): Detail which constraints are inapplicable
10530 to all GNU systems and which are only inapplicable to GNU/Hurd.
10531 * manual/job.texi: Likewise.
10532 * manual/llio.texi: Likewise.
10533 (O_NOCTTY): Document as present on GNU/Linux.
10534 * manual/maint.texi: Likewise.
10535 * manual/memory.texi: Likewise.
10536 * manual/pattern.texi: Likewise.
10537 * manual/pipe.texi: Likewise.
10538 * manual/process.texi: Likewise.
10539 * manual/resource.texi: Likewise.
10540 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10542 * manual/setjmp.texi: Likewise.
10543 * manual/signal.texi: Likewise.
10544 * manual/startup.texi: Likewise.
10545 * manual/stdio.texi: Likewise.
10546 * manual/terminal.texi: Likewise.
10547 (ONLCR): Document as POSIX.
10548 (OXTABS): Document availability on GNU/Linux as XTABS.
10549 (ONOEOT): Document availability separately from other bits.
10550 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10551 * manual/time.texi: Likewise.
10552 * manual/users.texi: Likewise.
10553 * INSTALL: Regenerated.
10554 * sysdeps/gnu/errlist.c: Regenerated.
10556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10557 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10558 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10560 * configure: Regenerated.
10562 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10564 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10565 default includes instead of AC_HEADER_CHECK.
10566 * sysdeps/i386/configure: Regenerated.
10569 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10570 * math/s_cacoshf.c (__cacoshf): Likewise.
10571 * math/s_cacoshl.c (__cacoshl): Likewise.
10572 * math/s_casinh.c (__casinh): Set signs of result from argument.
10573 * math/s_casinhf.c (__casinhf): Likewise.
10574 * math/s_casinhl.c (__casinhl): Likewise.
10575 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10576 (casinh_test): Add more tests.
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10582 * po/zh_TW.po: Update from translation team.
10584 * login/Makefile (distribute): Remove variable.
10585 * catgets/Makefile: Likewise.
10586 * mach/Makefile: Likewise.
10587 * malloc/Makefile: Likewise.
10588 * misc/Makefile: Likewise.
10589 * iconv/Makefile: Likewise.
10590 * nscd/Makefile: Likewise.
10591 * hurd/Makefile: Likewise.
10592 * manual/Makefile: Likewise.
10593 * locale/Makefile: Likewise.
10594 * intl/Makefile: Likewise.
10595 * conform/Makefile: Likewise.
10596 * nss/Makefile: Likewise.
10597 * time/Makefile: Likewise.
10598 * soft-fp/Makefile: Likewise.
10599 * dirent/Makefile: Likewise.
10600 * gmon/Makefile: Likewise.
10601 * po/Makefile: Likewise.
10602 * rt/Makefile: Likewise.
10603 * socket/Makefile: Likewise.
10604 * math/Makefile: Likewise.
10605 * signal/Makefile: Likewise.
10606 * debug/Makefile: Likewise.
10607 * elf/Makefile: Likewise.
10608 * timezone/Makefile: Likewise.
10609 * stdlib/Makefile: Likewise.
10610 * iconvdata/Makefile: Likewise.
10611 * sunrpc/Makefile: Likewise.
10612 * io/Makefile: Likewise.
10613 * argp/Makefile: Likewise.
10614 * inet/Makefile: Likewise.
10615 * hesiod/Makefile: Likewise.
10616 * grp/Makefile: Likewise.
10617 * csu/Makefile: Likewise.
10618 * wctype/Makefile: Likewise.
10619 * crypt/Makefile: Likewise.
10620 * libio/Makefile: Likewise.
10621 * string/Makefile: Likewise.
10622 * nis/Makefile: Likewise.
10623 * resolv/Makefile: Likewise.
10624 * stdio-common/Makefile: Likewise.
10625 * wcsmbs/Makefile: Likewise.
10626 * dlfcn/Makefile: Likewise.
10627 * posix/Makefile: Likewise.
10630 * timezone/Makefile: Don't install timezone files, just the programs
10633 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10635 * nss/databases.def: Add missing gshadow entry.
10637 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10639 2012-03-06 Marek Polacek <polacek@redhat.com>
10642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10644 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10645 * stdio-common/tst-long-dbl-fphex.c: New file.
10647 2012-03-06 David S. Miller <davem@davemloft.net>
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10650 (set_obp_int): New function.
10651 (get_obp_int): New function.
10652 (__get_clockfreq_via_dev_openprom): Likewise.
10653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10654 Avoid unused variable warnings on 'val' and use builtin_expect.
10655 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10657 (INLINE_CLONE_SYSCALL): Likewise.
10659 2012-03-05 David S. Miller <davem@davemloft.net>
10661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10663 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10668 only for |x| >= 40.
10669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10671 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10674 Replace gettimeofday with __vdso_gettimeofday.
10676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10677 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10678 __vdso_clock_gettime and __vdso_getcpu.
10680 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10681 time with __vdso_time.
10683 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10685 * manual/lang.texi (size_t): Note types to which size_t may be
10686 equivalent with the GNU C Library, but do not describe when
10687 differences between them are significant.
10689 2012-03-05 Andreas Jaeger <aj@suse.de>
10691 * sysdeps/i386/fpu/libm-test-ulps: Update.
10693 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10696 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10697 (__ieee754_pow): Save and restore rounding mode and use
10698 round-to-nearest for main computations.
10699 * math/libm-test.inc (pow_test_tonearest): New function.
10700 (pow_test_towardzero): Likewise.
10701 (pow_test_downward): Likewise.
10702 (pow_test_upward): Likewise.
10703 (main): Call the new functions.
10704 * sysdeps/i386/fpu/libm-test-ulps: Update.
10705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708 * math/libm-test.inc (cosh_test_tonearest): New function.
10709 (cosh_test_towardzero): Likewise.
10710 (cosh_test_downward): Likewise.
10711 (cosh_test_upward): Likewise.
10712 (sinh_test_tonearest): Likewise.
10713 (sinh_test_towardzero): Likewise.
10714 (sinh_test_downward): Likewise.
10715 (sinh_test_upward): Likewise.
10716 (main): Call the new functions.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2012-03-05 Tom de Vries <tom@codesourcery.com>
10722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10723 default stack guard is set in last bytes.
10724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10726 2012-03-05 Kees Cook <keescook@chromium.org>
10728 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10731 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10732 possibly allocate from heap instead of stack.
10733 * stdio-common/bug-vfprintf-nargs.c: New file.
10734 * stdio-common/Makefile (tests): Add nargs overflow test.
10736 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10740 2012-03-03 Marek Polacek <polacek@redhat.com>
10742 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10743 * math/math_private.h: Likewise.
10744 * stdlib/tst-strtod.c: Likewise.
10745 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10746 * sysdeps/x86_64/bits/atomic.h: Likewise.
10748 2012-03-02 David S. Miller <davem@davemloft.net>
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10754 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10755 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10756 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10757 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10759 2012-03-02 Roland McGrath <roland@hack.frob.com>
10762 * manual/examples/README: New file, says the example source files
10763 can be used under GPL>=2.
10764 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10765 line containing just "*/".
10766 * manual/examples/add.c: Add copyright header (GPL>=2).
10767 * manual/examples/argp-ex1.c: Likewise.
10768 * manual/examples/argp-ex2.c: Likewise.
10769 * manual/examples/argp-ex3.c: Likewise.
10770 * manual/examples/argp-ex4.c: Likewise.
10771 * manual/examples/atexit.c: Likewise.
10772 * manual/examples/db.c: Likewise.
10773 * manual/examples/dir.c: Likewise.
10774 * manual/examples/dir2.c: Likewise.
10775 * manual/examples/execinfo.c: Likewise.
10776 * manual/examples/filecli.c: Likewise.
10777 * manual/examples/filesrv.c: Likewise.
10778 * manual/examples/fmtmsgexpl.c: Likewise.
10779 * manual/examples/genpass.c: Likewise.
10780 * manual/examples/inetcli.c: Likewise.
10781 * manual/examples/inetsrv.c: Likewise.
10782 * manual/examples/isockad.c: Likewise.
10783 * manual/examples/longopt.c: Likewise.
10784 * manual/examples/memopen.c: Likewise.
10785 * manual/examples/memstrm.c: Likewise.
10786 * manual/examples/mkfsock.c: Likewise.
10787 * manual/examples/mkisock.c: Likewise.
10788 * manual/examples/mygetpass.c: Likewise.
10789 * manual/examples/pipe.c: Likewise.
10790 * manual/examples/popen.c: Likewise.
10791 * manual/examples/rprintf.c: Likewise.
10792 * manual/examples/search.c: Likewise.
10793 * manual/examples/select.c: Likewise.
10794 * manual/examples/setjmp.c: Likewise.
10795 * manual/examples/sigh1.c: Likewise.
10796 * manual/examples/sigusr.c: Likewise.
10797 * manual/examples/stpcpy.c: Likewise.
10798 * manual/examples/strdupa.c: Likewise.
10799 * manual/examples/strftim.c: Likewise.
10800 * manual/examples/strncat.c: Likewise.
10801 * manual/examples/subopt.c: Likewise.
10802 * manual/examples/swapcontext.c: Likewise.
10803 * manual/examples/termios.c: Likewise.
10804 * manual/examples/testopt.c: Likewise.
10805 * manual/examples/testpass.c: Likewise.
10806 * manual/examples/timeval_subtract.c: Likewise.
10809 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10811 * manual/timeval_subtract.c.texi: ... here, new file.
10813 2012-03-02 David S. Miller <davem@davemloft.net>
10815 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10817 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10820 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10821 (__sin): Save and restore rounding mode and use round-to-nearest
10822 for all computations.
10823 (__cos): Save and restore rounding mode and use round-to-nearest
10824 for all computations.
10825 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10827 (tan): Save and restore rounding mode and use round-to-nearest for
10829 * math/libm-test.inc (cos_test_tonearest): New function.
10830 (cos_test_towardzero): Likewise.
10831 (cos_test_downward): Likewise.
10832 (cos_test_upward): Likewise.
10833 (sin_test_tonearest): Likewise.
10834 (sin_test_towardzero): Likewise.
10835 (sin_test_downward): Likewise.
10836 (sin_test_upward): Likewise.
10837 (tan_test_tonearest): Likewise.
10838 (tan_test_towardzero): Likewise.
10839 (tan_test_downward): Likewise.
10840 (tan_test_upward): Likewise.
10841 (main): Call the new functions.
10842 * sysdeps/i386/fpu/libm-test-ulps: Update.
10843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10847 small n, then large n, before computing and testing k+n.
10848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10853 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10854 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10861 * math/libm-test.inc (scalbn_test): Add more tests.
10862 (scalbln_test): Likewise.
10864 * manual/filesys.texi (mode_t): Describe constraints on size and
10865 signedness, not exact equivalence to a particular type.
10867 (ino64_t): Likewise.
10869 (nlink_t): Likewise.
10870 (blkcnt_t): Likewise.
10871 (blkcnt64_t): Likewise.
10872 * manual/llio.texi (off_t): Likewise.
10875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10876 (__ieee754_exp): Save and restore rounding mode and use
10877 round-to-nearest for all computations.
10878 * math/libm-test.inc (exp_test_tonearest): New function.
10879 (exp_test_towardzero): Likewise.
10880 (exp_test_downward): Likewise.
10881 (exp_test_upward): Likewise.
10882 (main): Call the new functions.
10883 * sysdeps/i386/fpu/libm-test-ulps: Update.
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10886 2012-03-01 Chris Demetriou <cgd@google.com>
10888 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10889 have predictable order.
10891 2012-03-01 David S. Miller <davem@davemloft.net>
10893 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10895 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10896 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10897 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10898 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10900 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10901 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10904 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10905 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10906 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10907 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10908 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10913 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10916 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10917 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10929 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10932 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10933 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10934 * sysdeps/sparc/elf/configure: Regenerated.
10936 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10938 * configure.in (AS, LD): Require binutils 2.20 or later.
10939 * configure: Regenerated.
10940 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10941 as required minimum version.
10942 * INSTALL: Regenerated.
10946 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10947 before squaring exponent.
10948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10949 bottom long double and 27 bits of top long double before squaring
10951 * math/libm-test.inc (erfc_test): Add more tests.
10952 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956 2012-03-01 Kai Tietz <ktietz@redhat.com>
10958 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10959 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10960 containing bit-fields.
10961 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10962 * soft-fp/single.h (_FP_UNION_S): Likewise.
10963 * soft-fp/double.h (_FP_UNION_D): Likewise.
10965 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10968 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10969 not include ../strcmp.S.
10970 [USE_AS_STRNCASECMP_L]: Likewise.
10971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10972 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10973 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10974 (__strncasecmp_l_ia32): Define as alias to
10975 __strncasecmp_l_nonascii.
10978 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985 2012-02-29 Jeff Law <law@redhat.com>
10987 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10988 out of bounds read.
10990 2012-02-29 Marek Polacek <polacek@redhat.com>
10993 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10994 * elf/Makefile: Add rules to run tst-unused-dep.out.
10996 2012-02-28 David S. Miller <davem@davemloft.net>
10998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11002 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11003 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11005 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11007 * math/libm-test.inc (llround_test): Move one test from
11008 lround_test. Use TEST_f_L in moved test.
11009 (lround_test): Move misplaced test to llround_test. Add testcase
11012 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11014 * sysdeps/x86_64/fpu/e_expf.S: New file.
11015 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11017 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11020 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11021 of remain_len that may cause incomplete multi-byte character and
11023 * posix/bug-regex33.c: New file.
11024 * posix/Makefile (tests): Add bug-regex33.
11026 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11028 * manual/macros.texi: New file.
11029 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11030 * manual/libc.texinfo: Include macros.texi.
11031 * manual/creatute.texi: Likewise.
11032 * manual/install.texi: Likewise.
11033 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11034 @glibcadj{} in references to the GNU C Library.
11035 * manual/charset.texi: Likewise.
11036 * manual/conf.texi: Likewise.
11037 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11038 when not using those macros.
11039 * manual/creature.texi: Likewise.
11040 * manual/crypt.texi: Likewise.
11041 * manual/errno.texi: Likewise.
11042 * manual/filesys.texi: Likewise.
11043 * manual/header.texi: Likewise.
11044 * manual/install.texi: Likewise.
11045 * manual/intro.texi: Likewise.
11046 * manual/io.texi: Likewise.
11047 * manual/job.texi: Likewise.
11048 * manual/lang.texi: Likewise.
11049 * manual/libc.texiinfo: Likewise.
11050 * manual/llio.texi: Likewise.
11051 * manual/locale.texi: Likewise.
11052 * manual/maint.texi: Likewise.
11053 * manual/math.texi: Likewise.
11054 * manual/memory.texi: Likewise.
11055 * manual/message.texi: Likewise.
11056 * manual/nss.texi: Likewise.
11057 * manual/pattern.texi: Likewise.
11058 * manual/process.texi: Likewise.
11059 * manual/resource.texi: Likewise.
11060 * manual/search.texi: Likewise.
11061 * manual/setjmp.texi: Likewise.
11062 * manual/signal.texi: Likewise.
11063 * manual/socket.texi: Likewise.
11064 * manual/startup.texi: Likewise.
11065 * manual/stdio.texi: Likewise.
11066 * manual/string.texi: Likewise.
11067 * manual/sysinfo.texi: Likewise.
11068 * manual/syslog.texi: Likewise.
11069 * manual/terminal.texi: Likewise.
11070 * manual/time.texi: Likewise.
11071 * manual/users.texi: Likewise.
11072 * INSTALL: Regenerated.
11073 * NOTES: Regenerated.
11074 * sysdeps/gnu/errlist.c: Regenerated.
11076 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11078 * include/dirent.h: Include <dirstream.h> before
11081 2012-02-28 David S. Miller <davem@davemloft.net>
11083 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11084 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11088 2012-02-27 David S. Miller <davem@davemloft.net>
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11096 frame pointer instead of stack pointer relative arg slot.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11101 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11104 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11106 2012-02-27 David S. Miller <davem@davemloft.net>
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11114 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11117 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11119 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11120 later. Allow versions 5-9.
11121 * configure: Regenerated.
11122 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11123 required minimum version and 4.6 as recommended version. Do not
11124 mention bugs in GCC 2.7 and 2.8.
11125 * INSTALL: Regenerated.
11127 2012-02-27 David S. Miller <davem@davemloft.net>
11129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11135 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11139 manipulate bits before adding and subtracting TWO112[sx].
11140 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11142 2012-02-27 Roland McGrath <roland@hack.frob.com>
11145 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11146 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11147 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11148 being in POSIX, because they are in 1003.1-2008.
11150 * rt/tst-aio.c: Include <fcntl.h>.
11151 * rt/tst-aio7.c: Likewise.
11152 * rt/tst-aio64.c: Likewise.
11154 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11156 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11158 * manual/install.texi (--with-headers): Describe headers as
11159 interface headers, not private headers.
11160 (Specific advice for GNU/Linux systems): Describe use of headers
11161 from "make headers_install", not private headers from older
11163 * INSTALL: Regenerated.
11164 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11166 * sysdeps/unix/sysv/linux/configure: Regenerated.
11168 * manual/llio.texi (fclean): Remove documentation.
11170 * manual/Makefile (libc-texi-generated): New variable. Include
11172 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11173 $(libc-texi-generated), not duplicated list of files.
11174 (version.texi, stamp-version): New rules.
11175 (realclean): Remove $(libc-texi-generated), not individual files
11176 from that list. Do not remove dir-add.texinfo.
11177 * manual/libc.texinfo: Comment out uses of edition numbers and
11178 references to printed manual. Remove last-updated dates.
11179 (EDITION): Comment out.
11181 (VERSION, UPDATED): Remove.
11182 (version.texi): Include.
11184 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11186 * sysdeps/posix/spawni.c: Include <signal.h>.
11187 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11188 * sysdeps/pthread/aio_fsync.c: Likewise.
11190 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11192 * conform/Makefile (tests): Run only when not cross-compiling and
11193 when fast-check is not defined.
11195 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11196 * conform/data/limits.h-data: Fixes for POSIX2008.
11197 * conform/run-conformtest.sh: Run all tests.
11198 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11200 * include/bits/dlfcn.h: Likewise.
11201 * include/langinfo.h: Likewise.
11202 * include/monetary.h: Likewise.
11203 * include/sys/poll.h: Likewise.
11205 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11207 * posix/spawn.h: Define __need_sigset_t.
11208 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11209 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11210 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11211 to get sigevent_t only.
11212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11213 only for __USE_GNU.
11214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11216 process_vm_writev only for __USE_GNU.
11217 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11219 * conform/Makefile: For now ignore errors from run-conformtest.
11220 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11221 POSIX to avoid namespace pollution. Don't prepend headers.
11222 * conform/data/aio.h-data: Fixes for POSIX testing.
11223 * conform/data/fcntl.h-data: Likewise.
11224 * conform/data/glob.h-data: Likewise.
11225 * conform/data/grp.h-data: Likewise.
11226 * conform/data/pthread.h-data: Likewise.
11227 * conform/data/pwd.h-data: Likewise.
11228 * conform/data/signal.h-data: Likewise.
11229 * conform/data/spawn.h-data: Likewise.
11230 * conform/data/stdio.h-data: Likewise.
11231 * conform/data/stdlib.h-data: Likewise.
11232 * conform/data/stropts.h-data: Likewise.
11233 * conform/data/sys/mman.h-data: Likewise.
11234 * conform/data/sys/stat.h-data: Likewise.
11235 * conform/data/sys/types.h-data: Likewise.
11236 * conform/data/sys/wait.h-data: Likewise.
11237 * conform/data/time.h-data: Likewise.
11238 * conform/data/unistd.h-data: Likewise.
11239 * conform/data/utime.h-data: Likewise.
11241 * io/sys/stat.h: fchmod was always in POSIX.
11242 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11243 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11244 * rt/aio.h: Define __need_timespec before including <time.h>.
11245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11246 struct. Add forward declaration of pthread_attr_t and use it in
11248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11250 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11251 always remove CLK_TCK definition.
11253 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11255 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11257 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11259 * conform/run-conformtest.sh: New file.
11260 * conform/Makefile: Run run-conformtest for tests.
11261 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11264 * conform/data/uchar.h-data: New file.
11265 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11266 * conform/data/arpa/inet.h-data: Likewise.
11267 * conform/data/assert.h-data: Likewise.
11268 * conform/data/complex.h-data: Likewise.
11269 * conform/data/cpio.h-data: Likewise.
11270 * conform/data/ctype.h-data: Likewise.
11271 * conform/data/dirent.h-data: Likewise.
11272 * conform/data/dlfcn.h-data: Likewise.
11273 * conform/data/errno.h-data: Likewise.
11274 * conform/data/fcntl.h-data: Likewise.
11275 * conform/data/float.h-data: Likewise.
11276 * conform/data/fmtmsg.h-data: Likewise.
11277 * conform/data/fnmatch.h-data: Likewise.
11278 * conform/data/ftw.h-data: Likewise.
11279 * conform/data/glob.h-data: Likewise.
11280 * conform/data/grp.h-data: Likewise.
11281 * conform/data/iconv.h-data: Likewise.
11282 * conform/data/inttypes.h-data: Likewise.
11283 * conform/data/langinfo.h-data: Likewise.
11284 * conform/data/libgen.h-data: Likewise.
11285 * conform/data/limits.h-data: Likewise.
11286 * conform/data/locale.h-data: Likewise.
11287 * conform/data/math.h-data: Likewise.
11288 * conform/data/monetary.h-data: Likewise.
11289 * conform/data/mqueue.h-data: Likewise.
11290 * conform/data/ndbm.h-data: Likewise.
11291 * conform/data/net/if.h-data: Likewise.
11292 * conform/data/netdb.h-data: Likewise.
11293 * conform/data/netinet/in.h-data: Likewise.
11294 * conform/data/nl_types.h-data: Likewise.
11295 * conform/data/poll.h-data: Likewise.
11296 * conform/data/pthread.h-data: Likewise.
11297 * conform/data/pwd.h-data: Likewise.
11298 * conform/data/regex.h-data: Likewise.
11299 * conform/data/sched.h-data: Likewise.
11300 * conform/data/search.h-data: Likewise.
11301 * conform/data/semaphore.h-data: Likewise.
11302 * conform/data/setjmp.h-data: Likewise.
11303 * conform/data/signal.h-data: Likewise.
11304 * conform/data/spawn.h-data: Likewise.
11305 * conform/data/stdarg.h-data: Likewise.
11306 * conform/data/stdio.h-data: Likewise.
11307 * conform/data/stdlib.h-data: Likewise.
11308 * conform/data/string.h-data: Likewise.
11309 * conform/data/strings.h-data: Likewise.
11310 * conform/data/stropts.h-data: Likewise.
11311 * conform/data/sys/ipc.h-data: Likewise.
11312 * conform/data/sys/mman.h-data: Likewise.
11313 * conform/data/sys/msg.h-data: Likewise.
11314 * conform/data/sys/resource.h-data: Likewise.
11315 * conform/data/sys/select.h-data: Likewise.
11316 * conform/data/sys/sem.h-data: Likewise.
11317 * conform/data/sys/shm.h-data: Likewise.
11318 * conform/data/sys/socket.h-data: Likewise.
11319 * conform/data/sys/stat.h-data: Likewise.
11320 * conform/data/sys/statvfs.h-data: Likewise.
11321 * conform/data/sys/time.h-data: Likewise.
11322 * conform/data/sys/timeb.h-data: Likewise.
11323 * conform/data/sys/times.h-data: Likewise.
11324 * conform/data/sys/types.h-data: Likewise.
11325 * conform/data/sys/uio.h-data: Likewise.
11326 * conform/data/sys/un.h-data: Likewise.
11327 * conform/data/sys/utsname.h-data: Likewise.
11328 * conform/data/sys/wait.h-data: Likewise.
11329 * conform/data/syslog.h-data: Likewise.
11330 * conform/data/tar.h-data: Likewise.
11331 * conform/data/termios.h-data: Likewise.
11332 * conform/data/utime.h-data: Likewise.
11333 * conform/data/utmpx.h-data: Likewise.
11334 * conform/data/varargs.h-data: Likewise.
11335 * conform/data/wchar.h-data: Likewise.
11336 * conform/data/wctype.h-data: Likewise.
11337 * conform/data/wordexp.h-data: Likewise.
11339 * include/stropts.h: New file.
11340 * include/uchar.h: New file.
11341 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11342 * include/assert.h: Likewise.
11343 * include/ctype.h: Likewise.
11344 * include/dirent.h: Likewise.
11345 * include/dlfcn.h: Likewise.
11346 * include/fcntl.h: Likewise.
11347 * include/fnmatch.h: Likewise.
11348 * include/glob.h: Likewise.
11349 * include/grp.h: Likewise.
11350 * include/libio.h: Likewise.
11351 * include/locale.h: Likewise.
11352 * include/math.h: Likewise.
11353 * include/net/if.h: Likewise.
11354 * include/netdb.h: Likewise.
11355 * include/netinet/in.h: Likewise.
11356 * include/pthread.h: Likewise.
11357 * include/pwd.h: Likewise.
11358 * include/regex.h: Likewise.
11359 * include/sched.h: Likewise.
11360 * include/search.h: Likewise.
11361 * include/setjmp.h: Likewise.
11362 * include/signal.h: Likewise.
11363 * include/stdio.h: Likewise.
11364 * include/stdlib.h: Likewise.
11365 * include/string.h: Likewise.
11366 * include/sys/cdefs.h: Likewise.
11367 * include/sys/mman.h: Likewise.
11368 * include/sys/msg.h: Likewise.
11369 * include/sys/resource.h: Likewise.
11370 * include/sys/select.h: Likewise.
11371 * include/sys/socket.h: Likewise.
11372 * include/sys/stat.h: Likewise.
11373 * include/sys/statvfs.h: Likewise.
11374 * include/sys/time.h: Likewise.
11375 * include/sys/times.h: Likewise.
11376 * include/sys/uio.h: Likewise.
11377 * include/sys/utsname.h: Likewise.
11378 * include/sys/wait.h: Likewise.
11379 * include/termios.h: Likewise.
11380 * include/time.h: Likewise.
11381 * include/ulimit.h: Likewise.
11382 * include/unistd.h: Likewise.
11383 * include/utime.h: Likewise.
11384 * include/wchar.h: Likewise.
11385 * include/wctype.h: Likewise.
11386 * include/wordexp.h: Likewise.
11388 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11390 * time/time.h: TIME_UTC must be a macro.
11391 Make timespec_get available for ISO C11 only as well.
11393 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11395 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11396 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11398 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11400 * configure.in: Use -o not -a in test for unsupported multi-arch.
11402 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11404 * manual/texinfo.tex: Update to version 2012-01-19.16.
11406 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11408 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11410 2012-02-24 Roland McGrath <roland@hack.frob.com>
11413 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11414 * manual/fdl-1.3.texi: New file.
11415 * manual/fdl-1.1.texi: File removed.
11418 * manual/libc.texinfo (FDL_VERSION): New @set.
11419 Use it for mention of FDL in cover text.
11420 (Documentation License): Use it in @include file name.
11422 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11423 Roland McGrath <roland@hack.frob.com>
11426 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11427 not LONG_LONG_MAX and LONG_LONG_MIN.
11428 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11429 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11431 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11438 manipulate bits before adding and subtracting TWO23[sx].
11439 * math/libm-test.inc (nearbyint_test): Add more tests.
11441 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11444 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11445 bits before adding and subtracting TWO23[sx].
11446 * math/libm-test.inc (rint_test): Add more tests.
11447 (rint_test_tonearest): Likewise.
11448 (rint_test_towardzero): Likewise.
11449 (rint_test_downward): Likewise.
11450 (rint_test_upward: Likewise.
11452 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11455 * include/stdc-predef.h: New file. Extracted from features.h.
11456 * include/features.h: Include stdc-predef.h.
11457 * Makefile (headers): Add stdc-predef.h.
11458 * CONFORMANCE (Compiler limitations): Update.
11460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11462 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11464 2012-02-21 David S. Miller <davem@davemloft.net>
11466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11469 2012-02-20 David S. Miller <davem@davemloft.net>
11471 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11472 using a normal save/restore sequence, rather than allocating a
11473 dummy stack frame just to store a frame pointer and restore.
11474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11476 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11478 * manual/install.texi: Fix stray word in line-wrapped comment.
11480 2012-02-20 David S. Miller <davem@davemloft.net>
11482 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11483 both binutils and gcc support GOTDATA.
11485 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11486 "rd %pc" in the PIC register setup sequences.
11488 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11489 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11491 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11497 (SYSCALL_ERROR_HANDLER): Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11501 (SYSCALL_ERROR_HANDLER): Likewise.
11503 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11504 (HAVE_GCC_GOTDATA): New.
11505 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11506 relocation support in both binutils and gcc.
11507 * sysdeps/sparc/elf/configure: Regenerate.
11509 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11510 * sysdeps/sparc/sparc32/elf/configure: Delete.
11511 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11512 * sysdeps/sparc/sparc64/elf/configure: Delete.
11513 * sysdeps/sparc/elf/configure.in: New file.
11514 * sysdeps/sparc/elf/configure: Generate.
11516 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11517 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11519 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11520 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11522 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11524 * manual/install.texi: Do not mention specific glibc version
11526 * manual/libc.texinfo (VERSION, UPDATED): Update.
11527 (@copying): Use @copyright{} and range of years.
11529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11532 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11533 [crti.S not in sysdirs] (generated): Do not append.
11534 [crti.S not in sysdirs] (omit-deps): Likewise.
11535 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11536 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11537 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11538 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11539 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11541 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11542 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11543 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11544 * csu/defs.awk: Remove file.
11545 * sysdeps/generic/initfini.c: Likewise.
11546 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11548 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11551 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11553 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11555 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11558 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11560 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11561 (__EPOLL_PACKED): Define to empty if not defined by
11563 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11570 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11572 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11574 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11592 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11594 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11595 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11597 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11599 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11602 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11604 * math/w_acos.c: Use non-signaling floating-point comparisons.
11605 * math/w_acosf.c: Likewise.
11606 * math/w_acosh.c: Likewise.
11607 * math/w_acoshf.c: Likewise.
11608 * math/w_acoshl.c: Likewise.
11609 * math/w_acosl.c: Likewise.
11610 * math/w_asin.c: Likewise.
11611 * math/w_asinf.c: Likewise.
11612 * math/w_asinl.c: Likewise.
11613 * math/w_atanh.c: Likewise.
11614 * math/w_atanhf.c: Likewise.
11615 * math/w_atanhl.c: Likewise.
11616 * math/w_exp2.c: Likewise.
11617 * math/w_exp2f.c: Likewise.
11618 * math/w_exp2l.c: Likewise.
11619 * math/w_j0.c: Likewise.
11620 * math/w_j0f.c: Likewise.
11621 * math/w_j0l.c: Likewise.
11622 * math/w_j1.c: Likewise.
11623 * math/w_j1f.c: Likewise.
11624 * math/w_j1l.c: Likewise.
11625 * math/w_jn.c: Likewise.
11626 * math/w_jnf.c: Likewise.
11627 * math/w_log.c: Likewise.
11628 * math/w_log10.c: Likewise.
11629 * math/w_log10f.c: Likewise.
11630 * math/w_log10l.c: Likewise.
11631 * math/w_log2.c: Likewise.
11632 * math/w_log2f.c: Likewise.
11633 * math/w_log2l.c: Likewise.
11634 * math/w_logf.c: Likewise.
11635 * math/w_logl.c: Likewise.
11636 * math/w_sqrt.c: Likewise.
11637 * math/w_sqrtf.c: Likewise.
11638 * math/w_sqrtl.c: Likewise.
11639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11640 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11645 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11648 * manual/string.texi (strnlen): Use correct parameter name in
11649 equivalent expression.
11651 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11654 * manual/users.texi (seteuid): Consistently use neweuid for
11657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11660 * manual/nss.texi (Services in the NSS configuration): Correct
11661 list of services in example configuration file.
11663 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11666 * manual/arith.texi: Remove statements about negative zero
11667 behaving identically to zero.
11669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11672 * manual/install.texi: Do not document upgrading from libc5.
11674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11677 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11679 2012-02-18 David S. Miller <davem@davemloft.net>
11681 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11682 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11683 %o7 across the call.
11684 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11687 SETUP_PIC_REG_LEAF.
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11689 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11690 * sysdeps/sparc/crtn.S: Likewise.
11692 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11694 * aout/Makefile: Remove.
11696 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11699 * manual/examples/argp-ex1.c (main): Format definition in GNU
11701 * manual/examples/argp-ex2.c (main): Likewise.
11702 * manual/examples/argp-ex3.c (main): Likewise.
11703 * manual/examples/argp-ex4.c (main): Likewise.
11704 * manual/examples/longopt.c (main): Use new-style prototype
11706 * manual/examples/strncat.c (main): Specify return type and use
11707 (void) for arguments.
11708 * manual/examples/subopt.c (main): Use char **argv argument.
11710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11713 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11716 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11719 * manual/string.texi (strchr): Change when strchrnul is
11722 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11725 * manual/locale.texi (setlocale): Document LOCPATH.
11727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11730 * manual/process.texi (execle): Move @dots{} before last argument.
11732 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11735 * manual/charset.texi (Generic Charset Conversion): Fix typo
11736 (LC_TYPE -> LC_CTYPE).
11738 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11741 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11742 (scalbnf): Likewise.
11743 (scalbnl): Likewise.
11744 (scalbln): Likewise.
11745 (scalblnf): Likewise.
11746 (scalblnl): Likewise.
11747 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11748 (vwarnx): Likewise.
11751 * manual/filesys.texi (telldir): Use braces around return type.
11752 * manual/llio.texi (mmap): Add space after comma.
11753 (mmap64): Likewise.
11754 * manual/math.texi (jn): Use @var{} on parameter names.
11760 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11762 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11764 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11765 (sched_get_priority_max): Likewise.
11766 * manual/signal.texi (sigvec): Add space after comma.
11767 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11769 (if_indextoname): Likewise.
11770 (if_freenameindex): Likewise.
11771 (sendto): Use ',' instead of '.' in prototype.
11772 * manual/startup.texi (syscall): Use @dots{} instead of literal
11774 * manual/stdio.texi (__fpending): Separate initial words of
11775 paragraph from @deftypefun line.
11776 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11778 (vsyslog): Use @var{} on parameter names.
11779 * manual/terminal.texi (stty): Use @var{} on parameter names.
11780 * manual/users.texi (getutmp): Use @var{} on parameter names.
11781 (getutmpx): Likewise.
11783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11786 * manual/stdio.texi (fopen): Fix typos in description of
11789 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11792 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11793 get clock_id definition.
11795 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11798 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11799 (madvise): Cast every argument to void on its own.
11801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11804 * manual/startup.texi (Exit Status): Fix typo.
11806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11809 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11810 * manual/examples/argp-ex2.c: Likewise.
11811 * manual/examples/argp-ex3.c: Likewise.
11813 2012-02-16 Richard Henderson <rth@redhat.com>
11815 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11816 * sysdeps/s390/s390-32/initfini.c: Remove.
11817 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11818 * sysdeps/s390/s390-64/initfini.c: Remove.
11820 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11822 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11823 compiler output for sysdeps/generic/initfini.c.
11824 * sysdeps/sh/elf/initfini.c: Remove file.
11826 2012-02-16 David S. Miller <davem@davemloft.net>
11829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11831 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11832 * sysdeps/sparc/crti.S: New file.
11833 * sysdeps/sparc/crtn.S: New file.
11834 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11835 * sysdeps/sparc/sparc64/Makefile: Likewise.
11837 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11840 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11842 2012-02-15 Roland McGrath <roland@hack.frob.com>
11845 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11847 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11848 (write, read, close): Likewise.
11849 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11851 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11853 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11854 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11855 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11856 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11858 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11862 2012-02-14 Marek Polacek <polacek@redhat.com>
11864 * sysdeps/x86_64/crti.S: New file.
11865 * sysdeps/x86_64/crtn.S: New file.
11866 * sysdeps/x86_64/elf/initfini.c: Remove file.
11868 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11871 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11873 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11875 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11879 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11882 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11883 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11884 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11886 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11890 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11892 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11893 __feraiseexcept instead of feraiseexcept.
11895 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11896 nanosleep invocations.
11897 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11898 strings, and add error checking for a nanosleep invocations.
11900 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11902 Replace FSF snail mail address with URLs, as per GNU coding standards.
11903 Most of the snail mail addresses were wrong anyway, and omitting
11904 them makes the source code easier to maintain. Almost all of the
11905 changes are to license notices and to locale LC_IDENTIFICATION
11906 addresses, except for this one:
11907 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11908 not its snail mail address.
11910 2012-02-09 Richard Henderson <rth@twiddle.net>
11912 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11913 of kernel-features.h.
11915 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11917 2012-02-08 Marek Polacek <polacek@redhat.com>
11919 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11920 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11921 * sysdeps/gnu/_G_config.h: Likewise.
11922 * sysdeps/generic/_G_config.h: Likewise.
11924 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11926 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930 * sysdeps/powerpc/powerpc32/crti.S: New file.
11931 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11932 * sysdeps/powerpc/powerpc64/crti.S: New file.
11933 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11935 * Makeconfig (have-initfini): Don't set.
11936 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11937 * configure.in (nopic_initfini): Don't substitute.
11938 * config.h.in (HAVE_INITFINI): Don't #undef.
11939 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11940 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11942 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11944 Support crti.S and crtn.S provided directly by architectures.
11945 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11946 [crti.S in sysdirs] (omit-deps): Likewise.
11947 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11948 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11949 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11950 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11951 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11952 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11953 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11954 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11955 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11956 compiler output for sysdeps/generic/initfini.c.
11957 * sysdeps/i386/elf/Makefile: Remove file.
11958 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11960 2012-02-07 Marek Polacek <polacek@redhat.com>
11962 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11963 * sysdeps/gnu/_G_config.h: Likewise.
11964 * sysdeps/mach/hurd/_G_config.h: Likewise.
11966 2012-02-07 Marek Polacek <polacek@redhat.com>
11968 * math/Makefile (tests): Add tst-CMPLX2.
11969 * math/tst-CMPLX2.c: New file.
11971 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11975 * math/libm-test.inc (jn_test): Add missing L suffix.
11977 2012-02-06 Marek Polacek <polacek@redhat.com>
11979 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11980 * sysdeps/i386/fpu/e_powf.S: Likewise.
11981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11982 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11984 * sysdeps/i386/fpu/e_pow.S: Likewise.
11985 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11987 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11988 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11989 * sysdeps/i386/fpu/e_log2.S: Likewise.
11990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11991 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11992 * sysdeps/i386/fpu/e_powl.S: Likewise.
11993 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11996 * sysdeps/i386/fpu/e_logl.S: Likewise.
11997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11998 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11999 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12000 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12003 * sysdeps/i386/fpu/e_log.S: Likewise.
12004 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12006 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12007 * sysdeps/i386/fpu/e_logf.S: Likewise.
12008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12010 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12012 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12013 * sysdeps/i386/fpu/e_log10.S: Likewise.
12014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12020 * sysdeps/i386/asm-syntax.h: Likewise.
12021 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12024 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12025 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12026 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12027 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12028 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12030 * sysdeps/powerpc/sysdep.h: Likewise.
12031 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12037 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12041 * sysdeps/i386/sysdep.h: Include <features.h>.
12042 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12045 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12049 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12052 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12054 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12055 (SETUP_PIC_REG): Use GET_PC_THUNK.
12056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12061 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12062 for non-PIC compilation.
12063 (SETUP_PIC_REG): Add .p2align directive.
12064 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12065 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12106 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12108 * math/tst-CMPLX.c: Include <stdio.h>.
12110 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12112 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12114 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12115 * sysdeps/sparc/bits/mathdef.h: Likewise.
12117 2012-01-31 Marek Polacek <polacek@redhat.com>
12119 * libio/libio.h: Don't define _PARAMS.
12120 * locale/programs/config.h: Don't define PARAMS.
12121 * stdlib/strtol_l.c: Likewise.
12122 (__strtol_l): Remove PARAMS from the prototype.
12124 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12126 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12127 names. Just use the correct names. Remove unnecessary wrapper
12129 * malloc/arena.c: Likewise.
12130 * malloc/hooks.c: Likewise.
12132 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12133 ARENA_TEST says not to. Simplify test for creation of a new arena.
12134 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12136 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12138 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12140 (update_get_addr): New function.
12141 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12142 GET_ADDR_MODULE parameter.
12144 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12146 * crypt/cert.c: Remove __STDC__ conditionals.
12147 * crypt/crypt-entry.c: Likewise.
12148 * crypt/crypt_util.c: Likewise.
12149 * libio/filedoalloc.c: Likewise.
12150 * libio/fileops.c: Likewise.
12151 * libio/genops.c: Likewise.
12152 * libio/iofclose.c: Likewise.
12153 * libio/iofdopen.c: Likewise.
12154 * libio/iofopen.c: Likewise.
12155 * libio/iofopen64.c: Likewise.
12156 * libio/iogetdelim.c: Likewise.
12157 * libio/iopopen.c: Likewise.
12158 * libio/obprintf.c: Likewise.
12159 * libio/oldfileops.c: Likewise.
12160 * libio/oldiofclose.c: Likewise.
12161 * libio/oldiofdopen.c: Likewise.
12162 * libio/oldiofopen.c: Likewise.
12163 * libio/oldiopopen.c: Likewise.
12164 * libio/wfiledoalloc.c: Likewise.
12165 * libio/wgenops.c: Likewise.
12166 * locale/programs/xmalloc.c: Likewise.
12167 * misc/syslog.c: Likewise.
12168 * stdio-common/xbug.c: Likewise.
12169 * string/memchr.c: Likewise.
12170 * string/memcmp.c: Likewise.
12171 * string/memrchr.c: Likewise.
12172 * string/rawmemchr.c: Likewise.
12173 * sysdeps/posix/getcwd.c: Likewise.
12174 * time/strftime_l.c: Likewise.
12176 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12178 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12179 * config.make.in (config-cflags-sse2avx): Define.
12180 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12183 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12185 * scripts/config.guess: Update from upstream config git repository.
12186 * scripts/config.sub: Likewise.
12188 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12190 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12192 (R_TILEPRO_*, R_TILEGX_*): New macros.
12194 * scripts/firstversions.awk: Fix bug in version range handling.
12196 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12200 * include/sys/epoll.h: New file.
12201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12204 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12206 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12207 Avoid unnecessary __WORDSIZE == 64 test.
12208 (fmaxf): Use VEX format if possible.
12213 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12214 * math/math_private.h: Remove libc_fegetround* and
12216 * sysdeps/i386/configure.in: Check for -msse2avx.
12217 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12218 also if SSE2AVX is defined.
12219 Remove libc_fegetround* and libc_fesetround*.
12220 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12221 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12230 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12232 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12238 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12241 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12243 * Makeconfig (libm): Define.
12244 * elf/Makefile: Add rules to build and run tst-relsort1.
12245 * elf/tst-relsort1.c: New file.
12246 * elf/tst-relsort1mod1.c: New file.
12247 * elf/tst-relsort1mod2.c: New file.
12249 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12251 * math/s_ldexp.c: Remove __STDC__ conditionals.
12252 * math/s_ldexpf.c: Likewise.
12253 * math/s_ldexpl.c: Likewise.
12254 * math/s_nextafter.c: Likewise.
12255 * math/s_nexttowardf.c: Likewise.
12256 * math/s_significand.c: Likewise.
12257 * math/s_significandf.c: Likewise.
12258 * math/s_significandl.c: Likewise.
12259 * math/w_jnl.c: Likewise.
12260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12288 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12300 * sysdeps/ieee754/k_standard.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12380 * sysdeps/ieee754/s_matherr.c: Likewise.
12381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12386 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12388 * crypt/md5.h: Remove __STDC__ conditionals.
12389 * libio/libioP.h: Likewise.
12390 * locale/programs/config.h: Likewise.
12391 * sysdeps/generic/sysdep.h: Likewise.
12392 * sysdeps/i386/asm-syntax.h: Likewise.
12393 * sysdeps/s390/asm-syntax.h: Likewise.
12394 * sysdeps/unix/sysdep.h: Likewise.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12398 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12400 * libio/libio.h: Remove __STDC__ conditionals.
12401 * malloc/obstack.h: Likewise.
12402 * math/complex.h: Likewise.
12403 * math/math.h: Likewise.
12404 * sysdeps/generic/_G_config.h: Likewise.
12405 * sysdeps/gnu/_G_config.h: Likewise.
12406 * sysdeps/mach/hurd/_G_config.h: Likewise.
12407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12408 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12409 * sysdeps/sparc/bits/mathdef.h: Likewise.
12411 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12414 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12415 Clean up HAS_* macros.
12416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12417 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12427 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12429 * elf/tst-unique3.cc (gets): Remove declaration.
12430 * elf/tst-unique3lib.cc (gets): Likewise.
12431 * elf/tst-unique3lib2.cc (gets): Likewise.
12432 * elf/tst-unique4.cc (gets): Likewise.
12434 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12436 * include/stdio.h: Add C++ protection. Add gets declarations and
12438 * debug/tst-chk1.c: Don't declare gets here.
12439 * stdio-common/tst-gets.c: Likewise.
12441 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12443 * posix/glob: Remove directory.
12445 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12447 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12449 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12451 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12452 of the non-standard EPFNOSUPPORT.
12454 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12456 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12457 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12458 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12460 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12462 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12464 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12466 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12468 * nscd/grpcache.c (cache_addgr): Likewise.
12469 * nscd/hstcache.c (cache_addhst): Likewise.
12470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12471 * nscd/pwdcache.c (cache_addpw): Likewise.
12472 * nscd/servicescache.c (cache_addserv): Likewise.
12474 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12476 * malloc/malloc.c: Various cleanups.
12477 * malloc/hooks.c: Likewise.
12479 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12480 * stdlib/bug-fmtmsg1.c: New file.
12482 * stdlib/fmtmsg.c (init): Add missing unlock.
12483 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12485 2012-01-12 Marek Polacek <polacek@redhat.com>
12487 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12490 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12492 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12494 macro to ensure uniqueness of label name.
12495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12498 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12502 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12507 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12511 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12512 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12515 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12522 * math/bits/math-finite.h: Add ldexp support.
12524 2012-01-10 Marek Polacek <polacek@redhat.com>
12526 * locale/programs/localedef.h (show_archive_content): Add noreturn
12529 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12533 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12535 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12537 * io/Makefile (headers): Add bits/poll2.h.
12539 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12542 typo #include statement.
12544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12546 * include/sys/cdefs.h: Define __attribute_alloc_size.
12547 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12548 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12549 * elf/pldd.c: Likewise.
12550 * iconv/iconv_charmap.c: Likewise.
12551 * iconv/iconvconfig.c: Likewise.
12552 * iconv/strtab.c: Likewise.
12553 * locale/programs/locale.c: Likewise.
12554 * locale/programs/localedef.h: Likewise.
12555 * locale/programs/simple-hash.c: Likewise.
12556 * nscd/nscd.h: Likewise.
12557 * nss/makedb.c: Likewise.
12558 * sysdeps/generic/ldconfig.h: Likewise.
12559 * locale/programs/localedef.c: Remove xmalloc prototype.
12560 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12562 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12567 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12569 * math/Makefile (tests): Add tst-CMPLX.
12570 * math/tst-CMPLX.c: New file.
12572 * math/complex.h (CMPLXL): Fix typo.
12574 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12575 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12577 * debug/tst-chk1.c: Add poll and ppoll tests.
12578 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12579 * include/sys/poll.h: Add hidden proto for ppoll.
12580 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12581 * sysdeps/mach/hurd/ppoll.c: Likewise.
12582 * io/ppoll.c: Likewise.
12583 * debug/poll_chk.c: New file.
12584 * debug/ppoll_chk.c: New file.
12585 * include/bits/poll2.h: New file.
12586 * io/bits/poll2.h: New file.
12589 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12591 * configure.in: static is always set to yes. Remove.
12592 * config.make.in: Don't set build-static.
12593 * Makeconfig: Remove use of build-static.
12594 * dlfcn/Makefile: Likewise.
12595 * elf/Makefile: Likewise.
12596 * math/Makefile: Likewise.
12597 * misc/Makefile: Likewise.
12598 * nptl/Makefile: Likewise.
12599 * sysdeps/mach/hurd/Makefile: Likewise.
12601 * configure.in: PWD_P is not used anymore.
12602 * config.make.in: Remove PWD_P entry.
12604 * configure.in: Remove last remnants of RANLIB.
12605 No need to check for signed size_t anymore.
12606 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12608 Remove __builtin_expect test because we require at least gcc 3.4.
12609 * aclocal.m4: Likewise.
12611 * wcsmbs/mbrtoc16.c: Implement using towc function.
12612 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12613 * wcsmbs/wcsmbsload.c: Likewise.
12614 * iconv/gconv_simple.c: Likewise.
12615 * iconv/gconv_int.h: Likewise.
12616 * iconv/gconv_builtin.h: Likewise.
12617 * iconv/iconv_prog.c: Remove CHAR16 handling.
12619 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12621 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12623 * configure.in: Remove --with-elf and --enable-bounded options.
12624 Dont set base_machine for ia64. More non-ELF conditions removed.
12625 Remove testing and setting of leading underscore information.
12626 * config.make.in (build-bounded): Set to no.
12627 * config.h.in: Remove NO_UNDERSCORES entry.
12628 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12630 * csu/start.c: Remove !NO_UNDERSCORE code.
12631 * locale/localeinfo.h: Likewise.
12632 * sysdeps/generic/machine-gmon.h: Likewise.
12633 * sysdeps/generic/sysdep.h: Likewise.
12634 * sysdeps/i386/sysdep.h: Likewise.
12635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12636 * sysdeps/mach/sysdep.h: Likewise.
12637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12639 * sysdeps/sh/sysdep.h: Likewise.
12640 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12641 * sysdeps/unix/i386/sysdep.S: Likewise.
12642 * sysdeps/unix/sparc/start.c: Likewise.
12643 * sysdeps/unix/sparc/sysdep.S: Likewise.
12644 * sysdeps/unix/sparc/sysdep.h: Likewise.
12645 * sysdeps/unix/start.c: Likewise.
12646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12647 * sysdeps/x86_64/sysdep.h: Likewise.
12649 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12652 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12654 * argp/argp-fmtstream.h: Use const instead __const.
12655 * argp/argp.h: Likewise.
12656 * assert/assert.h: Likewise.
12657 * bits/fenv.h: Likewise.
12658 * bits/sched.h: Likewise.
12659 * bits/sigset.h: Likewise.
12660 * bits/sigthread.h: Likewise.
12661 * catgets/nl_types.h: Likewise.
12662 * conform/data/pthread.h-data: Likewise.
12663 * crypt/crypt-private.h: Likewise.
12664 * crypt/crypt.h: Likewise.
12665 * crypt/crypt_util.c: Likewise.
12666 * ctype/ctype.h: Likewise.
12667 * debug/execinfo.h: Likewise.
12668 * debug/mbsnrtowcs_chk.c: Likewise.
12669 * debug/mbsrtowcs_chk.c: Likewise.
12670 * debug/wcsnrtombs_chk.c: Likewise.
12671 * debug/wcsrtombs_chk.c: Likewise.
12672 * debug/wcstombs_chk.c: Likewise.
12673 * dirent/dirent.h: Likewise.
12674 * dlfcn/dlfcn.h: Likewise.
12675 * elf/neededtest4.c: Likewise.
12676 * grp/grp.h: Likewise.
12677 * gshadow/gshadow.h: Likewise.
12678 * iconv/gconv.h: Likewise.
12679 * iconv/gconv_int.h: Likewise.
12680 * iconv/gconv_simple.c: Likewise.
12681 * iconv/iconv.h: Likewise.
12682 * iconv/loop.c: Likewise.
12683 * iconv/skeleton.c: Likewise.
12684 * include/aio.h: Likewise.
12685 * include/aliases.h: Likewise.
12686 * include/argz.h: Likewise.
12687 * include/arpa/inet.h: Likewise.
12688 * include/assert.h: Likewise.
12689 * include/dirent.h: Likewise.
12690 * include/dlfcn.h: Likewise.
12691 * include/execinfo.h: Likewise.
12692 * include/fcntl.h: Likewise.
12693 * include/fenv.h: Likewise.
12694 * include/glob.h: Likewise.
12695 * include/grp.h: Likewise.
12696 * include/libintl.h: Likewise.
12697 * include/mntent.h: Likewise.
12698 * include/netdb.h: Likewise.
12699 * include/pwd.h: Likewise.
12700 * include/rpc/netdb.h: Likewise.
12701 * include/sched.h: Likewise.
12702 * include/search.h: Likewise.
12703 * include/shadow.h: Likewise.
12704 * include/signal.h: Likewise.
12705 * include/stdio.h: Likewise.
12706 * include/stdlib.h: Likewise.
12707 * include/string.h: Likewise.
12708 * include/sys/socket.h: Likewise.
12709 * include/sys/stat.h: Likewise.
12710 * include/sys/statfs.h: Likewise.
12711 * include/sys/statvfs.h: Likewise.
12712 * include/sys/syslog.h: Likewise.
12713 * include/sys/time.h: Likewise.
12714 * include/sys/uio.h: Likewise.
12715 * include/time.h: Likewise.
12716 * include/unistd.h: Likewise.
12717 * include/utmp.h: Likewise.
12718 * include/wchar.h: Likewise.
12719 * include/wctype.h: Likewise.
12720 * inet/aliases.h: Likewise.
12721 * inet/arpa/inet.h: Likewise.
12722 * inet/netinet/ether.h: Likewise.
12723 * inet/netinet/in.h: Likewise.
12724 * intl/libintl.h: Likewise.
12725 * io/bits/fcntl2.h: Likewise.
12726 * io/fcntl.h: Likewise.
12727 * io/ftw.h: Likewise.
12728 * io/sys/poll.h: Likewise.
12729 * io/sys/stat.h: Likewise.
12730 * io/sys/statfs.h: Likewise.
12731 * io/sys/statvfs.h: Likewise.
12732 * io/utime.h: Likewise.
12733 * libio/bits/stdio.h: Likewise.
12734 * libio/bits/stdio2.h: Likewise.
12735 * libio/libio.h: Likewise.
12736 * libio/libioP.h: Likewise.
12737 * libio/stdio.h: Likewise.
12738 * locale/lc-ctype.c: Likewise.
12739 * locale/locale.h: Likewise.
12740 * login/utmp.h: Likewise.
12741 * malloc/arena.c: Likewise.
12742 * malloc/malloc.c: Likewise.
12743 * malloc/malloc.h: Likewise.
12744 * malloc/mcheck.c: Likewise.
12745 * malloc/mtrace.c: Likewise.
12746 * math/bits/mathcalls.h: Likewise.
12747 * math/fenv.h: Likewise.
12748 * math/math_private.h: Likewise.
12749 * misc/bits/error.h: Likewise.
12750 * misc/bits/syslog.h: Likewise.
12751 * misc/err.h: Likewise.
12752 * misc/error.h: Likewise.
12753 * misc/fstab.h: Likewise.
12754 * misc/mntent.h: Likewise.
12755 * misc/regexp.h: Likewise.
12756 * misc/search.h: Likewise.
12757 * misc/sgtty.h: Likewise.
12758 * misc/sys/mman.h: Likewise.
12759 * misc/sys/syslog.h: Likewise.
12760 * misc/sys/uio.h: Likewise.
12761 * misc/sys/xattr.h: Likewise.
12762 * misc/ttyent.h: Likewise.
12763 * nis/rpcsvc/ypclnt.h: Likewise.
12764 * nss/nss.h: Likewise.
12765 * posix/bits/unistd.h: Likewise.
12766 * posix/fnmatch.h: Likewise.
12767 * posix/glob.h: Likewise.
12768 * posix/sched.h: Likewise.
12769 * posix/spawn.h: Likewise.
12770 * posix/sys/wait.h: Likewise.
12771 * posix/unistd.h: Likewise.
12772 * posix/wordexp.h: Likewise.
12773 * pwd/pwd.h: Likewise.
12774 * resolv/netdb.h: Likewise.
12775 * resource/sys/resource.h: Likewise.
12776 * rt/aio.h: Likewise.
12777 * rt/bits/mqueue2.h: Likewise.
12778 * rt/mqueue.h: Likewise.
12779 * shadow/shadow.h: Likewise.
12780 * signal/signal.h: Likewise.
12781 * socket/send.c: Likewise.
12782 * socket/sendto.c: Likewise.
12783 * socket/sys/socket.h: Likewise.
12784 * stdio-common/printf.h: Likewise.
12785 * stdlib/bits/stdlib.h: Likewise.
12786 * stdlib/fmtmsg.h: Likewise.
12787 * stdlib/monetary.h: Likewise.
12788 * stdlib/stdlib.h: Likewise.
12789 * stdlib/ucontext.h: Likewise.
12790 * streams/stropts.h: Likewise.
12791 * string/argz.h: Likewise.
12792 * string/bits/string2.h: Likewise.
12793 * string/string.h: Likewise.
12794 * string/strings.h: Likewise.
12795 * sunrpc/rpc/auth.h: Likewise.
12796 * sunrpc/rpc/auth_des.h: Likewise.
12797 * sunrpc/rpc/clnt.h: Likewise.
12798 * sunrpc/rpc/netdb.h: Likewise.
12799 * sunrpc/rpc/pmap_clnt.h: Likewise.
12800 * sunrpc/rpc/xdr.h: Likewise.
12801 * sysdeps/generic/inttypes.h: Likewise.
12802 * sysdeps/generic/net/if.h: Likewise.
12803 * sysdeps/generic/sys/swap.h: Likewise.
12804 * sysdeps/gnu/net/if.h: Likewise.
12805 * sysdeps/gnu/utmpx.h: Likewise.
12806 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12807 * sysdeps/i386/i486/bits/string.h: Likewise.
12808 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12809 * sysdeps/s390/bits/string.h: Likewise.
12810 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12811 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12812 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12813 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12814 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12815 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12818 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12819 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12820 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12822 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12823 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12824 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12834 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12835 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12838 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12840 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12841 * sysvipc/sys/ipc.h: Likewise.
12842 * sysvipc/sys/msg.h: Likewise.
12843 * sysvipc/sys/sem.h: Likewise.
12844 * sysvipc/sys/shm.h: Likewise.
12845 * termios/termios.h: Likewise.
12846 * time/sys/time.h: Likewise.
12847 * time/time.h: Likewise.
12848 * wcsmbs/bits/wchar2.h: Likewise.
12849 * wcsmbs/uchar.h: Likewise.
12850 * wcsmbs/wchar.h: Likewise.
12851 * wctype/wctype.h: Likewise.
12854 * Makeconfig: Remove all but ELF support including AIX support.
12855 * Makerules: Likewise.
12856 * config.h.in: Likewise.
12857 * config.make.in: Likewise.
12858 * configure: Likewise.
12859 * configure.in: Likewise.
12860 * csu/Makefile: Likewise.
12861 * csu/version.c: Likewise.
12862 * debug/Makefile: Likewise.
12863 * dlfcn/Makefile: Likewise.
12864 * elf/Makefile: Likewise.
12865 * extra-lib.mk: Likewise.
12866 * iconv/Makefile: Likewise.
12867 * include/libc-symbols.h: Likewise.
12868 * include/shlib-compat.h: Likewise.
12869 * resolv/Makefile: Likewise.
12870 * resolv/res_libc.c: Likewise.
12871 * rt/Makefile: Likewise.
12872 * sysdeps/i386/asm-syntax.h: Likewise.
12873 * sysdeps/i386/sysdep.h: Likewise.
12874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12875 * sysdeps/mach/sysdep.h: Likewise.
12876 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12877 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12878 * sysdeps/s390/asm-syntax.h: Likewise.
12879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12881 * sysdeps/sh/sysdep.h: Likewise.
12882 * sysdeps/unix/sparc/sysdep.h: Likewise.
12883 * sysdeps/wordsize-32/divdi3.c: Likewise.
12884 * sysdeps/x86_64/sysdep.h: Likewise.
12886 * argp/Versions: Remove _argp_unlock_xxx.
12889 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12890 * abilist/libBrokenLocale.abilist: Likewise.
12891 * abilist/libanl.abilist: Likewise.
12892 * abilist/libc.abilist: Likewise.
12893 * abilist/libcrypt.abilist: Likewise.
12894 * abilist/libdl.abilist: Likewise.
12895 * abilist/libm.abilist: Likewise.
12896 * abilist/libnsl.abilist: Likewise.
12897 * abilist/libpthread.abilist: Likewise.
12898 * abilist/libresolv.abilist: Likewise.
12899 * abilist/librt.abilist: Likewise.
12900 * abilist/libthread_db.abilist: Likewise.
12901 * abilist/libutil.abilist: Likewise.
12902 * abilist/libnss_db.abilist: New file.
12904 * scripts/abilist.awk: Add support for indirect functions.
12906 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12908 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12910 * shlib-versions: Remove entries for ports architectures.
12912 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12914 * elf/stackguard-macros.h: Remove support for IA-64.
12915 * elf/tst-auditmod1.c: Likewise.
12916 * sysdeps/generic/ldsodefs.h: Likewise.
12918 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12919 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12923 * configure.in: Remove --enable-omitfp support.
12925 * config.make.in: Likewise.
12926 * Makeconfig: Likewise.
12927 * manual/install.texi: Likewise.
12929 In case anyone cares, the IA-64 architecture could move to ports.
12930 * sysdeps/ia64/*: Removed.
12931 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12932 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12935 * configure.in: Remove entries for unsupported architectures.
12938 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12939 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12941 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12942 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12943 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12944 fall back to using wcrtomb.
12945 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12946 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12948 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12949 * wcsmbs/tst-c16c32-1.c: New file.
12951 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12954 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12956 * elf/tst-unique3.cc: Add explicit declaration of gets.
12957 * elf/tst-unique3lib.cc: Likewise.
12958 * elf/tst-unique3lib2.cc: Likewise.
12959 * elf/tst-unique4.cc: Likewise.
12961 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12963 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12966 * assert/assert.h (static_assert): Don't define for C++.
12967 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12968 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12970 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12972 * iconv/loop.c (single loop): Fix assertion in storing of
12975 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12977 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12979 * posix/getconf.c: Update copyright year.
12980 * nss/getent.c: Likewise.
12981 * nss/makedb.c: Likewise.
12982 * iconv/iconvconfig.c: Likewise.
12983 * iconv/iconv_prog.c: Likewise.
12984 * elf/ldconfig.c: Likewise.
12985 * elf/pldd.c: Likewise.
12986 * elf/sotruss.ksh: Likewise.
12987 * catgets/gencat.c: Likewise.
12988 * csu/version.c: Likewise.
12989 * elf/ldd.bash.in: Likewise.
12990 * elf/sprof.c (print_version): Likewise.
12991 * locale/programs/locale.c: Likewise.
12992 * locale/programs/localedef.c: Likewise.
12993 * login/programs/pt_chown.c: Likewise.
12994 * nscd/nscd.c (print_version): Likewise.
12995 * debug/xtrace.sh: Likewise.
12996 * malloc/memusage.sh: Likewise.
12997 * malloc/mtrace.pl: Likewise.
12998 * debug/catchsegv.sh: Likewise.
13000 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13002 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13005 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13008 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13009 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13011 * iconv/gconv_int.h: Likewise.
13012 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13013 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13014 from libc for GLIBC_2.16.
13015 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13016 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13017 * wcsmbs/uchar.h: Really define mbstate_t.
13018 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13019 * wcsmbs/c16rtomb.c: New file.
13020 * wcsmbs/mbrtoc16.c: New file.
13021 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13022 for C/POSIX locale.
13023 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13024 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13026 * wcsmbs/wchar.h: Add missing __restrict.
13028 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13031 * time/Makefile (routines): Add timespec_get.
13032 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13033 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13034 timespec for ISO C11.
13035 * time/timespec_get.c: New file.
13036 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13040 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13041 * stdlib/stdlib.h: Declare aligned_alloc.
13042 * Versions.def: Add GLIBC_2.16 for libc.
13043 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13046 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13049 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13053 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13056 * assert/assert.h (static_assert): Define.
13058 * version.h: Update for 2.16 development version.
13061 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13064 * version.h (RELEASE): Bump for 2.15 release.
13065 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13067 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13068 Patch by Marek Polacek <mpolacek@redhat.com>.
13070 * bits/byteswap.h: Protect long long constants with __extension__.
13071 * sysdeps/i386/bits/byteswap.h: Likewise.
13072 * sysdeps/ia64/bits/byteswap.h: Likewise.
13073 * sysdeps/s390/bits/byteswap.h: Likewise.
13074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13076 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13080 destination buffer.
13081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13083 2011-12-23 Marek Polacek <polacek@redhat.com>
13085 * elf/dl-addr.c (determine_info): Add inline keyword.
13086 * elf/tst-auditmod4b.c (check_avx): Likewise.
13087 * elf/tst-auditmod6b.c (check_avx): Likewise.
13088 * elf/tst-auditmod6c.c (check_avx): Likewise.
13089 * elf/tst-auditmod7b.c (check_avx): Likewise.
13091 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13096 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13100 processing for last bytes.
13102 2011-08-06 Bruno Haible <bruno@clisp.org>
13105 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13106 U+0385, not to U+1FEE.
13109 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13110 entry for U+00A5 U+0301.
13112 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13115 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13116 buffer for the output is too small.
13118 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13122 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13123 SSE flags if possible.
13125 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13129 processing for last bytes.
13131 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13133 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13134 (syscall-list-default-options, syscall-list-default-condition)
13135 (syscall-list-includes): Define.
13136 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13137 list of ABIs and options and #if conditions for each ABI. Do not
13138 handle common syscalls between ABIs specially.
13139 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13141 (syscall-list-variants, syscall-list-32bit-options)
13142 (syscall-list-32bit-condition, syscall-list-64bit-options)
13143 (syscall-list-64bit-condition): Define.
13144 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13145 (syscall-list-variants, syscall-list-32bit-options)
13146 (syscall-list-32bit-condition, syscall-list-64bit-options)
13147 (syscall-list-64bit-condition): Define.
13148 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13150 (syscall-list-variants, syscall-list-32bit-options)
13151 (syscall-list-32bit-condition, syscall-list-64bit-options)
13152 (syscall-list-64bit-condition): Define.
13153 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13155 (syscall-list-variants, syscall-list-32bit-options)
13156 (syscall-list-32bit-condition, syscall-list-64bit-options)
13157 (syscall-list-64bit-condition): Define.
13159 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13161 * locale/iso-639.def: Add brx entry.
13164 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13165 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13167 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13168 __feraiseexcept_renamed.
13170 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13173 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13174 EPOLLET with unsigned values.
13175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13178 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13179 to large cancellation.
13180 * math/s_cacoshf.c: Likewise.
13181 * math/s_cacoshl.c: Likewise.
13183 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13187 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13188 * math/s_cacoshf.c: Likewise.
13189 * math/s_cacoshl.c: Likewise.
13191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13194 * iconv/gconv.h: Define __GCONV_SWAP.
13195 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13196 * iconvdata/utf-16.c: Likewise.
13197 * iconvdata/utf-32.c: Likewise.
13199 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13203 numerator after shifting it by one limb.
13205 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13208 under [__USE_EXTERN_INLINES].
13210 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13213 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13215 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13217 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13218 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13220 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13222 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13223 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13224 for strncasecmp/strncasecmp_l compilation.
13225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13226 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13228 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13231 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13234 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13237 * time/tzfile.c (__tzfile_read): Check values from file header.
13239 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13241 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13242 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13243 * powerpc/powerpc32/dl-start.S: Likewise.
13244 * powerpc/powerpc32/elf/start.S: Likewise.
13245 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13246 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13247 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13248 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13249 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13250 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13251 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13252 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13253 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13254 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13255 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13256 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13257 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13258 * powerpc/powerpc32/memset.S: Likewise.
13259 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13260 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13261 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13262 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13263 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13264 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13265 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13266 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13267 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13268 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13270 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13271 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13273 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13275 * math/libm-test.inc: Added more nearbyint tests.
13276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13281 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13283 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13286 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13288 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13289 Add wcscpy-ssse3 wcscpy-c.
13290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13291 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13292 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13293 * sysdeps/x86_64/wcschr.S: New file.
13294 * sysdeps/x86_64/wcsrchr.S: New file.
13295 * string/test-strcmp.c: Remove checking of wcscmp function for
13297 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13298 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13299 wcsrchr-sse2 wcsrchr-c.
13300 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13301 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13302 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13303 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13304 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13305 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13306 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13307 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13309 * wcsmbc/wcschr.c (WCSCHR): New macro.
13311 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13313 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13314 * wcsmbs/test-wcsrchr.c: New file.
13315 * string/test-strrchr.c: Add wcsrchr support.
13317 * wcsmbs/test-wcscpy.c: New file.
13318 * string/test-strcpy.c: Add wcscpy support.
13321 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13326 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13329 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13331 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13334 Minor optimizations.
13336 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13337 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13338 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13340 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13342 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13343 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13344 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13345 for gcc to avoid warnings.
13346 * inet/Makefile (tests): Add tst-checks.
13347 * inet/tst-checks.c: New file.
13349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13355 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13356 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13358 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13360 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13365 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13367 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13370 conditional on GCC version.
13371 (__arch_compare_and_exchange_val_8_acq)
13372 (__arch_compare_and_exchange_val_16_acq)
13373 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13374 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13375 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13377 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13379 * sysdeps/sh/backtrace.c: New file.
13381 2011-12-02 Andreas Schwab <schwab@redhat.com>
13383 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13386 2011-12-01 Andreas Schwab <schwab@redhat.com>
13388 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13389 falling back to utime.
13391 2011-11-30 Andreas Schwab <schwab@redhat.com>
13393 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13394 expectations for float.
13396 2011-11-29 Andreas Schwab <schwab@redhat.com>
13398 * locale/weight.h (findidx): Add parameter len.
13399 * locale/weightwc.h (findidx): Likewise.
13400 * posix/fnmatch_loop.c (FCT): Adjust caller.
13401 * posix/regcomp.c (build_equiv_class): Likewise.
13402 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13403 * posix/regexec.c (check_node_accept_bytes): Likewise.
13404 * string/strcoll_l.c (STRCOLL): Likewise.
13405 * string/strxfrm_l.c (STRXFRM): Likewise.
13407 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13409 * Makefile.in: Remove CVSOPT handling.
13410 * configure.in: Remove use of AC_REVISION.
13411 * iconvdata/Makefile (distribute): No need to filter out CVS.
13412 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13415 2011-11-16 Andreas Schwab <schwab@redhat.com>
13417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13418 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13419 [USE_AS_STRNCASECMP_L]: Likewise.
13420 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13421 NO_TLS_DIRECT_SEG_REFS.
13422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13423 Fix argument offsets for non-PIC.
13424 [USE_AS_STRNCASECMP_L]: Likewise.
13425 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13426 NO_TLS_DIRECT_SEG_REFS.
13428 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13430 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13432 * locale/loadlocale.c (_nl_load_locale): Likewise.
13434 2011-11-15 Andreas Schwab <schwab@redhat.com>
13436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13437 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13439 (SYSCALL_GETTIME): Set errno on error.
13441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13442 count references to noai6ai_cached.
13444 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13446 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13448 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13449 FD_CLOEXEC for /proc/self/maps.
13451 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13452 FD_CLOEXEC for /proc/meminfo.
13454 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13457 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13458 FD_CLOEXEC for given file.
13460 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13462 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13463 FD_CLOEXEC for /etc/hosts.
13464 (_gethtent): Likewise.
13466 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13468 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13469 cancellation and set FD_CLOEXEC for /etc/netgroup.
13471 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13472 reading /etc/publickey.
13474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13475 allow cancellation when reading /etc/group.
13477 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13479 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13481 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13482 when using data file.
13484 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13486 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13487 (write_nis_obj): Use "c" and "e" in fopen.
13489 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13491 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13493 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13495 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13497 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13500 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13502 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13504 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13506 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13507 file parsing and set FD_CLOEXEC.
13509 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13511 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13513 2011-11-14 Andreas Schwab <schwab@redhat.com>
13515 * malloc/arena.c (arena_get2): Don't call reused_arena when
13516 _int_new_arena failed.
13518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13521 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13524 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13526 to compile strcasecmp and strncasecmp.
13527 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13528 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13532 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13534 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13535 locale-defines.sym to gen-as-const-headers.
13536 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13537 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13539 to compile strcasecmp and strncasecmp.
13540 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13541 strcasecmp_l and strncasecmp_l.
13542 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13543 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13544 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13546 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13548 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13549 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13550 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13551 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13552 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13554 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13556 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13557 result of SYSDEP_GETTIME_CPU to retval.
13558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13559 parameter list to macro. Remove trailing semicolon. Adjust users.
13561 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13564 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13569 from unused variable.
13571 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13573 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13576 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13579 * sunrpc/rpc_prot.c (rejected): Fix case value.
13581 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13582 unsigned long long int to avoid warnings in shift.
13584 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13586 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13589 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13590 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13593 * nis/nis_table.c (nis_list): Use variable of correct type for
13594 result of __follow_path call.
13596 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13598 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13599 of math functions ceil, trunc, floor, round, and sqrt, when
13600 avaliable on the platform.
13601 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13607 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13609 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13612 2011-11-11 Roland McGrath <roland@hack.frob.com>
13614 * include/unistd.h: Fix __readlink return type.
13615 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13617 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13619 * stdlib/ucontext.h: Undo last change for makecontext.
13621 2011-11-11 Andreas Schwab <schwab@redhat.com>
13623 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13625 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13626 * setjmp/setjmp.h: Mark functions as non-leaf.
13627 * setjmp/bits/setjmp2.h: Likewise.
13628 * stdlib/ucontext.h: Likewise.
13630 2011-11-10 Andreas Schwab <schwab@redhat.com>
13632 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13633 (reused_arena): Don't check arena limit.
13634 (arena_get2): Atomically check arena limit.
13636 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13638 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13639 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13644 2011-11-07 Andreas Schwab <schwab@redhat.com>
13646 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13647 handler when locking.
13649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13650 Fix size of allocated buffer.
13652 2011-11-04 Andreas Schwab <schwab@redhat.com>
13655 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13656 declarations for long double functions.
13657 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13659 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13661 2011-11-03 Andreas Schwab <schwab@redhat.com>
13663 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13666 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13669 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13671 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13673 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13675 * include/alloca.h (stackinfo_alloca_round): Define.
13676 (extend_alloca): Use it.
13677 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13678 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13681 * scripts/check-local-headers.sh: Ignore libaudit.h.
13683 * nscd/Makefile (extra-objs): Make recursively expanded.
13685 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13687 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13690 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13691 * posix/tst-rfc3484-2.c: Likewise.
13692 * posix/tst-rfc3484-3.c: Likewise.
13694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13696 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13698 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13699 process_vm_writev from libc using GLIBC_2.15 version.
13701 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13703 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13705 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13708 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13711 * nss/getent.c (initgroups_keys): Show error message in case no group
13714 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13715 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13716 __bump_nl_timestamp.
13717 * nscd/connections (nscd_init): When host database is served open
13718 netlink socket and request notification about configuration changes.
13719 (main_loop_poll): Track netlink file descriptor and bump timestamp
13720 in case data becomes available.
13721 (main_loop_epoll): Likewise.
13722 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13723 (database_pers_head): Add extra_data fileds.
13724 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13726 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13729 in6ai data, call __free_in6ai.
13730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13731 Add -DHAVE_NETLINK.
13732 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13733 interface information. Reuse previous data if netlink timestamp
13735 (__bump_nl_timestamp): New function.
13736 (__free_in6ai): New function.
13738 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13741 close_not_cancel_no_status here.
13742 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13744 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13747 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13750 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13751 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13752 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13754 2011-07-03 Andreas Jaeger <aj@suse.de>
13757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13758 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13759 * math/libm-test.inc (sin_test): Add test case.
13761 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13764 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13767 * elf/chroot_canon.c (chroot_canon): Cleanups.
13769 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13772 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13773 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13775 * string/test-strchr.c: Make usable for strchrnul testing.
13776 * string/test-strchrnul.c: New file.
13777 * string/Makefile (strop-tests): Add strchrnul.
13779 * po/it.po: Update from translation team.
13780 * po/es.po: Likewise.
13782 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13785 the three constants needed as parameters. Drop the others.
13786 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13787 __m128i_strloadu_tolower.
13788 Create and initialize variable zero and use it in all the places
13789 where _mm_setzero_si128 was used.
13791 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13792 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13793 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13797 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13798 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13799 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13801 __mpranred, __mptan.
13802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13812 2011-10-28 Andreas Schwab <schwab@redhat.com>
13814 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13815 redefine if SHARED.
13816 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13819 wide char related routines to wcsmbs subdir.
13821 2011-10-27 Andreas Schwab <schwab@redhat.com>
13824 * misc/sys/cdefs.h (__THROWNL): Define.
13825 * posix/unistd.h: Use __THREADNL instead of __THREAD
13826 for memory synchronization functions.
13828 2011-10-26 Roland McGrath <roland@hack.frob.com>
13831 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13833 * manual/stdio.texi (Obstack Streams): Node removed.
13835 2011-10-26 Andreas Schwab <schwab@redhat.com>
13837 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13841 * math/math_private.h (math_force_eval): Allow non-addressable
13843 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13845 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13848 file is not needed.
13850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13857 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13864 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13867 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13868 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13870 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13879 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13880 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13883 place. Use VEX encoding when compiling for AVX.
13885 2011-10-25 Andreas Schwab <schwab@redhat.com>
13887 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13888 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13890 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13894 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13895 useless if() expression.
13896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13908 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13916 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13918 2011-10-25 Andreas Schwab <schwab@redhat.com>
13920 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13926 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13927 .text section. Avoid duplicate constants.
13928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13974 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13976 * sysdeps/x86_64/dla.h: Move to ...
13977 * sysdeps/x86_64/fpu/dla.h: ...here.
13978 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13979 situations. Use __builtin_fma only for gcc 4.6 and up.
13981 * config.make.in: Add have-mfma4 entry.
13982 * configure.in: Substitute libc_cv_cc_fma4.
13983 * math/Makefile (dbl-only-routines): Add sincostab.
13984 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13985 Use __sincostab not sincos.
13986 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13993 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13994 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13995 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13996 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13999 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14001 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14002 define aliases when function name is a macro.
14003 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14004 sysdeps/ieee754/dbl-64/sincos.tbl.
14005 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14006 fma4-enabled routines.
14007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14016 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14017 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14019 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14020 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14022 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14023 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14025 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14027 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14028 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14038 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14049 2011-10-24 Andreas Schwab <schwab@redhat.com>
14051 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14053 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14057 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14061 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14062 Remove unused variable magic_bits.
14063 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14065 * string/strnlen.c: Define and use STRNLEN macro.
14066 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14067 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14069 * wcsmbs/wcslen.c: Define and use WCSLEN.
14070 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14071 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14072 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14073 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14075 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14078 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14081 strnlen-sse2-no-bsf.
14082 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14084 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14085 Add strnlen support.
14086 (USE_AS_STRNLEN): New macro.
14087 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14089 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14090 * sysdeps/x86_64/wcslen.S: New file.
14092 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14095 XMM-moves are used for copying on small sizes.
14097 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14099 * wcsmbs/Makefile (strop-tests): Add wcschr.
14100 * wcsmbs/test-wcschr.c: New file.
14101 * string/test-strchr.c: Update.
14102 Add wcschr support.
14105 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14107 * wcsmbs/Makefile (strop-tests): Add wcslen.
14108 * wcsmbs/test-wcslen.c: New file.
14109 * string/test-strlen.c: Update.
14110 Add wcslen support.
14113 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14115 * po/it.po: Update from translation team.
14117 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14119 * sysdeps/x86_64/wcscmp.S: Update.
14120 Fix wrong comparison semantics.
14121 wcscmp shall use signed comparison not unsigned.
14122 Don't use substraction to avoid overflow bug.
14123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14124 * wcsmbc/wcscmp.c: Likewise.
14125 * string/test-strcmp.c: Likewise.
14126 Add new tests to check cases with negative values.
14128 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14130 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14131 * sysdeps/x86_64/dla.h: ...here. New file.
14132 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14142 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14145 __ynl_finite aliases.
14147 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14151 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14153 [DLA_FMA] (EMULV): Use DLA_FMA.
14154 [DLA_FMA] (MUL12): Use EMULV.
14155 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14156 that are not needed.
14157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14165 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14167 * math/s_nan.c: Undef __nan.
14168 * math/s_nanf.c: Undef __nanf.
14169 * math/s_nanl.c: Undef __nanl.
14170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14173 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14175 * math/s_catan.c: Add branch predictions.
14176 * math/s_catanf.c: Likewise.
14177 * math/s_catanh.c: Likewise.
14178 * math/s_catanhf.c: Likewise.
14179 * math/s_catanhl.c: Likewise.
14180 * math/s_catanl.c: Likewise.
14181 * math/s_cexp.c: Likewise.
14182 * math/s_cexpf.c: Likewise.
14183 * math/s_cexpl.c: Likewise.
14184 * math/s_clog.c: Likewise.
14185 * math/s_clog10.c: Likewise.
14186 * math/s_clog10f.c: Likewise.
14187 * math/s_clog10l.c: Likewise.
14188 * math/s_clogf.c: Likewise.
14189 * math/s_clogl.c: Likewise.
14190 * math/s_csqrt.c: Likewise.
14191 * math/s_csqrtf.c: Likewise.
14192 * math/s_csqrtl.c: Likewise.
14193 * math/s_ctanf.c: Likewise.
14194 * math/s_ctanh.c: Likewise.
14195 * math/s_ctanhf.c: Likewise.
14196 * math/s_ctanhl.c: Likewise.
14197 * math/s_ctanl.c: Likewise.
14199 * math/math_private.h: Define __nan, __nanf, __nanl.
14200 * math/s_cacosh.c: Include <math_private.h>.
14201 * math/s_cacoshl.c: Likewise.
14202 * math/s_casinh.c: Likewise.
14203 * math/s_casinhf.c: Likewise.
14204 * math/s_casinhl.c: Likewise.
14205 * math/s_ccos.c: Rely entire on ccosh.
14206 * math/s_ccosf.c: Rely entire on ccoshf.
14207 * math/s_ccosl.c: Rely entirely on ccoshl.
14208 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14209 Remove tests for FE_INVALID.
14210 * math/s_ccoshf.c: Likewise.
14211 * math/s_ccoshl.c: Likewise.
14212 * math/s_csin.c: Likewise.
14213 * math/s_csinf.c: Likewise.
14214 * math/s_csinh.c Likewise.
14215 * math/s_csinhf.c: Likewise.
14216 * math/s_csinhl.c: Likewise.
14217 * math/s_csinl.c: Likewise.
14218 * math/s_ctan.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14220 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14223 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14226 compilation problems.
14228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14231 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14233 * sysdeps/i386/configure.in: Test for -mfma4 option.
14234 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14235 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14236 COMMON_CPUID_INDEX_80000001.
14237 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14238 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14239 use it if FMA3 is not supported.
14240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14242 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14243 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14245 2011-10-20 Andreas Schwab <schwab@redhat.com>
14248 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14249 it would create a cycle with a link time dependency.
14251 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14253 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14255 * string/Makefile (strop-tests): Add rawmemchr.
14256 * string/test-rawmemchr.c: New file.
14258 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14260 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14261 when compiling str{,n}casecmp and when AVX is available. Hook up
14262 new optimized code in initializers.
14264 2011-10-19 Andreas Schwab <schwab@redhat.com>
14266 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14267 __feraiseexcept instead of feraiseexcept.
14269 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14271 * math/math_private.h: Define defaults for libc_fetestexcept and
14273 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14279 libc_fetestexcept and libc_feupdateenv.
14281 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14282 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14283 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14284 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14285 libc_feholdexcept_setround.
14287 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14288 Add s_nearbyint-c and s_nearbyintf-c.
14289 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14290 nearbyintf inlines.
14291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14296 * math/math_private.h: Define defaults for libc_fegetround,
14297 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14298 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14299 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14301 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14302 standard functions.
14303 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14304 Remove comments and hacks for old compiler versions.
14305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14306 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14307 libc_feholdexceptl.
14309 2011-10-18 Andreas Schwab <schwab@redhat.com>
14311 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14312 (__feraiseexcept_renamed): Add __NTH.
14313 (feraiseexcept): Add __NTH. Rename local variables to fix
14314 namespace violations.
14316 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14318 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14322 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14323 recently added interfaces.
14324 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14326 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14327 about macro parameter expansion.
14329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14330 __NO_MATH_INLINES is defined. Cleanups.
14332 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14333 and __floorf is target has SSE4.1.
14334 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14337 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14339 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14341 (floorf): Likewise.
14343 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14345 2011-10-17 Andreas Schwab <schwab@redhat.com>
14347 * misc/sys/cdefs.h: Fix last change.
14349 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14352 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14354 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14356 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14364 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14365 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14366 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14368 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14371 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14375 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14376 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14377 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14379 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14380 ceil, ceilf, floor, floorf.
14382 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14383 Perform IRELATIVE relocations last.
14385 * elf/do-rel.h: Add another parameter nrelative, replacing the
14386 local variable with the same name. Change name of the function
14387 to end in Rel or Rela (uppercase).
14388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14389 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14390 elf_dynamic_do_##reloc function.
14392 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14394 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14395 is sufficient, at least on modern CPUs.
14397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14399 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14402 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14404 * math/bits/math-finite.h: Add entries for exp.
14405 * math/e_expl.c: Add __*_finite alias.
14406 * sysdeps/i386/fpu/e_exp.S: Likewise.
14407 * sysdeps/i386/fpu/e_expf.S: Likewise.
14408 * sysdeps/i386/fpu/e_expl.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14410 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14417 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14418 is sufficient, at least on modern CPUs.
14420 * ctype/ctype-info.c (__ctype_init): Define.
14421 * include/ctype.h (__ctype_init): Declare.
14422 (__ctype_b_loc): The variable is always initialized.
14423 (__ctype_toupper_loc): Likewise.
14424 (__ctype_tolower_loc): Likewise.
14425 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14426 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14428 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14430 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14432 * configure.in: Also look in $cxxmachine/include for C++ system
14435 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14437 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14438 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14439 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14440 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14442 (USE_AS_WMEMCMP): New macro.
14444 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14445 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14446 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14447 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14449 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14450 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14452 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14453 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14455 (USE_AS_WMEMCMP): New macro.
14456 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14457 * sysdeps/string/test-memcmp.c: Update.
14458 Fix simple_wmemcmp.
14460 * wcsmbs/wmemcmp.c: Update.
14461 (WMEMCMP): New macro.
14464 2011-10-12 Andreas Jaeger <aj@suse.de>
14467 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14469 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14471 * libio/iofwide.c (do_length): Avoid warning.
14473 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14475 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14477 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14479 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14480 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14481 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14482 * sysdeps/i386/i686/fpu/e_log.S: New file.
14483 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14484 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14486 * ctype/ctype.h: Add support for inlined isXXX functions when
14487 compiling C++ code.
14489 2011-10-14 Andreas Schwab <schwab@redhat.com>
14491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14495 2011-10-13 Roland McGrath <roland@hack.frob.com>
14498 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14500 2011-10-13 Andreas Schwab <schwab@redhat.com>
14502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14503 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14506 * sysdeps/x86_64/memrchr.S: Check for zero size.
14508 * string/stratcliff.c: Add memrchr tests.
14510 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14513 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14514 rawmemchr-sse2 rawmemchr-sse2-bsf.
14515 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14518 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14519 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14520 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14521 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14522 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14525 * string/memrchr.c (MEMRCHR): New macro.
14527 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14529 Add integration with gcc's -ffinite-math-only and optimize wrapper
14531 * Versions.def: Define GLIBC_2.15 version for libm.
14532 * math/Makefile (headers): Add bits/math-finite.h.
14533 * math/bits/math-finite.h: New file.
14534 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14535 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14536 * math/e_acoshl.c: Add __*_finite alias.
14537 * math/e_acosl.c: Likewise.
14538 * math/e_asinl.c: Likewise.
14539 * math/e_atan2l.c: Likewise.
14540 * math/e_atanhl.c: Likewise.
14541 * math/e_coshl.c: Likewise.
14542 * math/e_exp10.c: Likewise.
14543 * math/e_exp10f.c: Likewise.
14544 * math/e_exp10l.c: Likewise.
14545 * math/e_exp2l.c: Likewise.
14546 * math/e_fmodl.c: Likewise.
14547 * math/e_gammal_r.c: Likewise.
14548 * math/e_hypotl.c: Likewise.
14549 * math/e_j0l.c: Likewise.
14550 * math/e_j1l.c: Likewise.
14551 * math/e_jnl.c: Likewise.
14552 * math/e_lgammal_r.c: Likewise.
14553 * math/e_log10l.c: Likewise.
14554 * math/e_log2l.c: Likewise.
14555 * math/e_logl.c: Likewise.
14556 * math/e_powl.c: Likewise.
14557 * math/e_sinhl.c: Likewise.
14558 * math/e_sqrtl.c: Likewise.
14559 * math/e_scalb.c: Completely rewritten and optimized.
14560 * math/e_scalbf.c: Likewise.
14561 * math/e_scalbl.c: Likewise.
14562 * math/w_acos.c: Likewise.
14563 * math/w_acosf.c: Likewise.
14564 * math/w_acosl.c: Likewise.
14565 * math/w_acosh.c: Likewise.
14566 * math/w_acoshf.c: Likewise.
14567 * math/w_acoshl.c: Likewise.
14568 * math/w_asin.c: Likewise.
14569 * math/w_asinf.c: Likewise.
14570 * math/w_asinl.c: Likewise.
14571 * math/w_atan2.c: Likewise.
14572 * math/w_atan2f.c: Likewise.
14573 * math/w_atan2l.c: Likewise.
14574 * math/w_atanh.c: Likewise.
14575 * math/w_atanhf.c: Likewise.
14576 * math/w_atanhl.c: Likewise.
14577 * math/w_exp10.c: Likewise.
14578 * math/w_exp10f.c: Likewise.
14579 * math/w_exp10l.c: Likewise.
14580 * math/w_fmod.c: Likewise.
14581 * math/w_fmodf.c: Likewise.
14582 * math/w_fmodl.c: Likewise.
14583 * math/w_j0.c: Likewise.
14584 * math/w_j0f.c: Likewise.
14585 * math/w_j0l.c: Likewise.
14586 * math/w_j1.c: Likewise.
14587 * math/w_j1f.c: Likewise.
14588 * math/w_j1l.c: Likewise.
14589 * math/w_jn.c: Likewise.
14590 * math/w_jnf.c: Likewise.
14591 * math/w_log.c: Likewise.
14592 * math/w_logf.c: Likewise.
14593 * math/w_logl.c: Likewise.
14594 * math/w_log10.c: Likewise.
14595 * math/w_log10f.c: Likewise.
14596 * math/w_log10l.c: Likewise.
14597 * math/w_log2.c: Likewise.
14598 * math/w_log2f.c: Likewise.
14599 * math/w_log2l.c: Likewise.
14600 * math/w_pow.c: Likewise.
14601 * math/w_powf.c: Likewise.
14602 * math/w_powl.c: Likewise.
14603 * math/w_remainder.c: Likewise.
14604 * math/w_remainderf.c: Likewise.
14605 * math/w_remainderl.c: Likewise.
14606 * math/w_scalb.c: Likewise.
14607 * math/w_scalbf.c: Likewise.
14608 * math/w_scalbl.c: Likewise.
14609 * math/w_sqrt.c: Likewise.
14610 * math/w_sqrtf.c: Likewise.
14611 * math/w_sqrtl.c: Likewise.
14612 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14613 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14615 * math/math_private.h: Declare __kernel_standard_f.
14616 * math/w_cosh.c: Remove cruft and optimize a bit.
14617 * math/w_coshf.c: Likewise.
14618 * math/w_coshl.c: Likewise.
14619 * math/w_exp2.c: Likewise.
14620 * math/w_exp2f.c: Likewise.
14621 * math/w_exp2l.c: Likewise.
14622 * math/w_hypot.c: Likewise.
14623 * math/w_hypotf.c: Likewise.
14624 * math/w_hypotl.c: Likewise.
14625 * math/w_lgamma.c: Likewise.
14626 * math/w_lgamma_r.c: Likewise.
14627 * math/w_lgammaf.c: Likewise.
14628 * math/w_lgammaf_r.c: Likewise.
14629 * math/w_lgammal.c: Likewise.
14630 * math/w_lgammal_r.c: Likewise.
14631 * math/w_sinh.c: Likewise.
14632 * math/w_sinhf.c: Likewise.
14633 * math/w_sinhl.c: Likewise.
14634 * math/w_tgamma.c: Likewise.
14635 * math/w_tgammaf.c: Likewise.
14636 * math/w_tgammal.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14639 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14640 Minor optimizations. Pretty printing. Remove cruft.
14641 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14645 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14646 * sysdeps/i386/fpu/e_asin.S: Likewise.
14647 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14648 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14649 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14650 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14654 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14655 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14656 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14657 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14658 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14659 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14660 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14661 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14662 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14663 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14664 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14665 * sysdeps/i386/fpu/e_log.S: Likewise.
14666 * sysdeps/i386/fpu/e_log10.S: Likewise.
14667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14669 * sysdeps/i386/fpu/e_log2.S: Likewise.
14670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14672 * sysdeps/i386/fpu/e_logf.S: Likewise.
14673 * sysdeps/i386/fpu/e_logl.S: Likewise.
14674 * sysdeps/i386/fpu/e_pow.S: Likewise.
14675 * sysdeps/i386/fpu/e_powf.S: Likewise.
14676 * sysdeps/i386/fpu/e_powl.S: Likewise.
14677 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14678 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14679 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14683 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14684 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14685 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14712 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14715 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14717 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14719 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14720 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14721 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14722 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14723 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14781 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14782 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14783 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14784 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14785 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14786 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14787 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14788 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14789 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14794 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14796 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14797 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14798 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14799 (__isnanf): Likewise.
14800 (__isinf_ns): Likewise.
14801 (__isinf_nsf): Likewise.
14802 (__finite): Likewise.
14803 (__finitef): Likewise.
14804 (__ieee754_sqrt): Define as macro.
14805 (__ieee754_sqrtf): Define as macro.
14806 (__ieee754_sqrtl): Define as macro.
14807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14809 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14810 __FINITE_MATH_ONLY__ consistent.
14811 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14813 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14815 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14820 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14822 * po/ja.po: Update from translation team.
14824 2011-10-08 Roland McGrath <roland@hack.frob.com>
14826 * locale/programs/locarchive.c (prepare_address_space): New function.
14827 (create_archive, enlarge_archive, open_archive): Use it.
14829 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14830 inside [SHARED], where it is used.
14832 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14834 * nss/getent.c (netgroup_keys): Remove unused variable.
14835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14837 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14839 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14845 * math/Makefile (libm-calls): Add s_isinf_ns.
14846 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14847 * math/multc3.c: Likewise.
14848 * math/s_casin.c: Likewise.
14849 * math/s_casinf.c: Likewise.
14850 * math/s_casinl.c: Likewise.
14851 * math/s_ccos.c: Likewise.
14852 * math/s_ccosf.c: Likewise.
14853 * math/s_ccosl.c: Likewise.
14854 * math/s_ctan.c: Likewise.
14855 * math/s_ctanf.c: Likewise.
14856 * math/s_ctanh.c: Likewise.
14857 * math/s_ctanhf.c: Likewise.
14858 * math/s_ctanhl.c: Likewise.
14859 * math/s_ctanl.c: Likewise.
14860 * math/w_fmod.c: Likewise.
14861 * math/w_fmodf.c: Likewise.
14862 * math/w_fmodl.c: Likewise.
14863 * math/w_remainder.c: Likewise.
14864 * math/w_remainderf.c: Likewise.
14865 * math/w_remainderl.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14867 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14870 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14871 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14872 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14873 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14875 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14877 * stdio-common/printf_fphex.c: Likewise.
14878 * stdio-common/printf_size.c: Likewise.
14880 * math/e_exp10.c: Include math_private.h using <...> not "...".
14881 * math/e_exp10f.c: Likewise.
14882 * math/e_exp10l.c: Likewise.
14883 * math/e_exp2l.c: Likewise.
14884 * math/e_j0l.c: Likewise.
14885 * math/e_j1l.c: Likewise.
14886 * math/e_jnl.c: Likewise.
14887 * math/e_lgammal_r.c: Likewise.
14888 * math/e_rem_pio2l.c: Likewise.
14889 * math/e_scalb.c: Likewise.
14890 * math/e_scalbf.c: Likewise.
14891 * math/e_scalbl.c: Likewise.
14892 * math/k_cosl.c: Likewise.
14893 * math/k_sinl.c: Likewise.
14894 * math/k_tanl.c: Likewise.
14895 * math/s_cacoshf.c: Likewise.
14896 * math/s_catan.c: Likewise.
14897 * math/s_catanf.c: Likewise.
14898 * math/s_catanh.c: Likewise.
14899 * math/s_catanhf.c: Likewise.
14900 * math/s_catanhl.c: Likewise.
14901 * math/s_catanl.c: Likewise.
14902 * math/s_ccosh.c: Likewise.
14903 * math/s_ccoshf.c: Likewise.
14904 * math/s_ccoshl.c: Likewise.
14905 * math/s_cexp.c: Likewise.
14906 * math/s_cexpf.c: Likewise.
14907 * math/s_cexpl.c: Likewise.
14908 * math/s_clog.c: Likewise.
14909 * math/s_clog10.c: Likewise.
14910 * math/s_clog10f.c: Likewise.
14911 * math/s_clog10l.c: Likewise.
14912 * math/s_clogf.c: Likewise.
14913 * math/s_clogl.c: Likewise.
14914 * math/s_csin.c: Likewise.
14915 * math/s_csinf.c: Likewise.
14916 * math/s_csinh.c: Likewise.
14917 * math/s_csinhf.c: Likewise.
14918 * math/s_csinhl.c: Likewise.
14919 * math/s_csinl.c: Likewise.
14920 * math/s_csqrt.c: Likewise.
14921 * math/s_csqrtf.c: Likewise.
14922 * math/s_csqrtl.c: Likewise.
14923 * math/s_ctan.c: Likewise.
14924 * math/s_ctanf.c: Likewise.
14925 * math/s_ctanh.c: Likewise.
14926 * math/s_ctanhf.c: Likewise.
14927 * math/s_ctanhl.c: Likewise.
14928 * math/s_ctanl.c: Likewise.
14929 * math/s_ldexp.c: Likewise.
14930 * math/s_ldexpf.c: Likewise.
14931 * math/s_ldexpl.c: Likewise.
14932 * math/s_significand.c: Likewise.
14933 * math/s_significandf.c: Likewise.
14934 * math/s_significandl.c: Likewise.
14935 * math/w_acos.c: Likewise.
14936 * math/w_acosf.c: Likewise.
14937 * math/w_acosh.c: Likewise.
14938 * math/w_acoshf.c: Likewise.
14939 * math/w_acoshl.c: Likewise.
14940 * math/w_acosl.c: Likewise.
14941 * math/w_asin.c: Likewise.
14942 * math/w_asinf.c: Likewise.
14943 * math/w_asinl.c: Likewise.
14944 * math/w_atan2.c: Likewise.
14945 * math/w_atan2f.c: Likewise.
14946 * math/w_atan2l.c: Likewise.
14947 * math/w_atanh.c: Likewise.
14948 * math/w_atanhf.c: Likewise.
14949 * math/w_atanhl.c: Likewise.
14950 * math/w_cosh.c: Likewise.
14951 * math/w_coshf.c: Likewise.
14952 * math/w_coshl.c: Likewise.
14953 * math/w_dremf.c: Likewise.
14954 * math/w_exp10.c: Likewise.
14955 * math/w_exp10f.c: Likewise.
14956 * math/w_exp10l.c: Likewise.
14957 * math/w_exp2.c: Likewise.
14958 * math/w_exp2f.c: Likewise.
14959 * math/w_fmod.c: Likewise.
14960 * math/w_fmodf.c: Likewise.
14961 * math/w_fmodl.c: Likewise.
14962 * math/w_hypot.c: Likewise.
14963 * math/w_hypotf.c: Likewise.
14964 * math/w_hypotl.c: Likewise.
14965 * math/w_j0.c: Likewise.
14966 * math/w_j0f.c: Likewise.
14967 * math/w_j0l.c: Likewise.
14968 * math/w_j1.c: Likewise.
14969 * math/w_j1f.c: Likewise.
14970 * math/w_j1l.c: Likewise.
14971 * math/w_jn.c: Likewise.
14972 * math/w_jnf.c: Likewise.
14973 * math/w_jnl.c: Likewise.
14974 * math/w_lgamma.c: Likewise.
14975 * math/w_lgamma_r.c: Likewise.
14976 * math/w_lgammaf.c: Likewise.
14977 * math/w_lgammaf_r.c: Likewise.
14978 * math/w_lgammal.c: Likewise.
14979 * math/w_lgammal_r.c: Likewise.
14980 * math/w_log.c: Likewise.
14981 * math/w_log10.c: Likewise.
14982 * math/w_log10f.c: Likewise.
14983 * math/w_log10l.c: Likewise.
14984 * math/w_log2.c: Likewise.
14985 * math/w_log2f.c: Likewise.
14986 * math/w_log2l.c: Likewise.
14987 * math/w_logf.c: Likewise.
14988 * math/w_logl.c: Likewise.
14989 * math/w_pow.c: Likewise.
14990 * math/w_powf.c: Likewise.
14991 * math/w_powl.c: Likewise.
14992 * math/w_remainder.c: Likewise.
14993 * math/w_remainderf.c: Likewise.
14994 * math/w_remainderl.c: Likewise.
14995 * math/w_scalb.c: Likewise.
14996 * math/w_scalbf.c: Likewise.
14997 * math/w_scalbl.c: Likewise.
14998 * math/w_sinh.c: Likewise.
14999 * math/w_sinhf.c: Likewise.
15000 * math/w_sinhl.c: Likewise.
15001 * math/w_sqrt.c: Likewise.
15002 * math/w_sqrtf.c: Likewise.
15003 * math/w_sqrtl.c: Likewise.
15004 * math/w_tgamma.c: Likewise.
15005 * math/w_tgammaf.c: Likewise.
15006 * math/w_tgammal.c: Likewise.
15008 * po/ja.po: Update from translation team.
15010 2011-09-29 Andreas Jaeger <aj@suse.de>
15013 * sunrpc/netname.c (netname2host): Fix logic.
15017 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15019 * math/w_remainder.c (__remainder): Likewise.
15020 * math/w_remainderf.c (__remainderf): Likewise.
15021 * math/libm-test.inc (remainder_test): Add test cases.
15023 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15025 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15028 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15030 * string/test-memcmp.c: Avoid unncessary #defines.
15031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15033 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15035 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15036 Use new sse2 version for core i3 - i7 as it's faster
15037 than sse42 version.
15038 (bit_Prefer_PMINUB_for_stringop): New.
15039 * sysdeps/x86_64/rawmemchr.S: Update.
15040 Replace with faster SSE2 version.
15041 * sysdeps/x86_64/memrchr.S: New file.
15042 * sysdeps/x86_64/memchr.S: Update.
15043 Replace with faster SSE2 version.
15045 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15047 * elf/dl-load.c (lose): Add cast to avoid warning.
15049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15051 * po/ca.po: Update from translation team.
15053 * inet/getnetgrent_r.c: Hook up nscd.
15054 * nscd/Makefile (routines): Add nscd_netgroup.
15055 (nscd-modules): Add netgroupcache.
15056 (CFLAGS-netgroupcache.c): Define.
15057 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15058 (cache_search): Add const to second parameter.
15059 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15061 (dbs): Add netgrdb entry.
15062 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15063 (verify_persistent_db): Handle netgrdb.
15064 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15065 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15067 (netgroup_response_header): Define.
15068 (innetgroup_response_header): Define.
15069 (datahead): Add netgroup_response_header and innetgroup_response_header
15071 * nscd/nscd.conf: Add entries for netgroup cache.
15072 * nscd/nscd.h (dbtype): Add netgrdb.
15073 (_PATH_NSCD_NETGROUP_DB): Define.
15074 (netgroup_iov_disabled): Declare.
15075 (xmalloc, xcalloc, xrealloc): Move declarations here.
15076 (cache_search): Adjust prototype.
15077 Add netgroup-related prototypes.
15078 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15079 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15080 (__nscd_innetgr): Declare.
15081 * nscd/selinux.c (perms): Use access_vector_t as element type and
15082 add netgroup-related initializers.
15083 * nscd/netgroupcache.c: New file.
15084 * nscd/nscd_netgroup.c: New file.
15085 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15086 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15087 For four parameters use innetgr.
15088 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15089 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15090 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15091 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15093 * nscd/connections.c (register_traced_file): Don't register file
15094 for disabled databases.
15096 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15098 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15100 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15101 from tree and freeing node.
15103 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15105 * nss/nsswitch.c (__nss_database_lookup): Handle
15106 nss_parse_service_list out of memory case.
15108 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15110 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15111 out of memory case.
15113 2011-10-04 Andreas Schwab <schwab@redhat.com>
15115 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15116 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15118 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15119 elf_machine_rela, elf_machine_lazy_rel.
15120 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15121 (ELF_DYNAMIC_DO_REL): Likewise.
15122 (ELF_DYNAMIC_DO_RELA): Likewise.
15123 (ELF_DYNAMIC_RELOCATE): Likewise.
15124 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15125 to ELF_DYNAMIC_DO_REL.
15126 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15127 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15128 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15131 skip_ifunc, don't call ifunc function if non-zero.
15132 (elf_machine_rela): Likewise.
15133 (elf_machine_lazy_rel): Likewise.
15134 (elf_machine_lazy_rela): Likewise.
15135 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15136 (elf_machine_lazy_rel): Likewise.
15137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15139 (elf_machine_lazy_rel): Likewise.
15140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15142 (elf_machine_lazy_rel): Likewise.
15143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15144 (elf_machine_lazy_rel): Likewise.
15145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15146 (elf_machine_lazy_rel): Likewise.
15147 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15148 (elf_machine_lazy_rel): Likewise.
15149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15150 (elf_machine_lazy_rel): Likewise.
15151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15152 (elf_machine_lazy_rel): Likewise.
15153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15154 (elf_machine_lazy_rel): Likewise.
15156 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15158 * nss/nss_files/files-init.c (_nss_files_init): Use static
15159 initialization for all the *_traced_file variables.
15161 2011-09-28 Andreas Schwab <schwab@redhat.com>
15163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15165 2011-09-27 Roland McGrath <roland@hack.frob.com>
15168 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15170 2011-09-27 Andreas Schwab <schwab@redhat.com>
15172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15173 Reread the line before reparsing it.
15175 2011-09-26 Andreas Schwab <schwab@redhat.com>
15177 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15179 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15180 Maxim Kuvyrkov <maxim@codesourcery.com>
15181 Joseph Myers <joseph@codesourcery.com>
15183 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15184 if needed for __stack_chk_guard.
15186 2011-09-19 Roland McGrath <roland@hack.frob.com>
15188 * sysdeps/posix/spawni.c (script_execute): Always define it.
15189 It will be optimized away if unused.
15190 (maybe_script_execute): New function.
15191 (__spawni): Call it.
15193 * Makerules: Don't include tls.make.
15194 (config-tls): Always set to thread.
15195 * tls.make.c: File removed.
15197 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15199 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15200 * config.make.in (CPPFLAGS-config): New substituted variable.
15202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15207 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15208 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15210 2011-09-15 Roland McGrath <roland@hack.frob.com>
15212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15213 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15215 (CALL_FAIL): Likewise.
15216 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15217 (CALL_FAIL): Macro removed.
15218 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15220 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15222 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15223 for __FINITE_MATH_ONLY__ == 1.
15225 2011-09-15 Andreas Schwab <schwab@redhat.com>
15227 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15228 __ieee754_sqrt instead of sqrt.
15229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15230 __ieee754_sqrtf instead of sqrtf.
15231 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15232 __floorf instead of floorf.
15233 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15234 __floorf, __truncf instead of floorf, truncf.
15236 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15238 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15240 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15241 __extern_always_inline.
15242 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15245 2011-09-14 Andreas Schwab <schwab@redhat.com>
15247 * elf/rtld.c (dl_main): Also relocate in dependency order when
15248 doing symbol dependency testing.
15250 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15253 Always define `refsym'.
15255 2011-09-13 Andreas Schwab <schwab@redhat.com>
15257 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15258 (__FD_ELT): Renamed from __FDELT.
15259 * misc/bits/select2.h (__FD_ELT): Likewise.
15260 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15261 __FD_MASK instead of __FDELT, __FDMASK.
15262 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15264 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15267 * elf/Makefile (gen-ldd): Fix pattern.
15269 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15270 (init_tls): Likewise.
15272 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15276 2011-09-12 Andreas Schwab <schwab@redhat.com>
15278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15279 `struct cmsghdr *' instead of `void *'.
15280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15283 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15285 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15287 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15288 ldd_rewrite_script.
15290 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15292 * configure.in: Remove --with-tls option.
15293 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15294 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15295 out in case it is missing.
15296 * sysdeps/ia64/elf/configure.in: Likewise.
15297 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15298 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15299 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15300 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15301 * sysdeps/sh/elf/configure.in: Likewise.
15302 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15304 * sysdeps/x86_64/elf/configure.in: Likewise.
15305 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15306 * sysdeps/mach/hurd/tls.h: Likewise.
15309 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15312 * configure.in: Fix use of AC_INIT.
15314 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15316 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15318 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15320 * malloc/hooks.c: Likewise.
15323 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15324 variables statically.
15325 (narenas): Initialize.
15326 (list_lock): Initialize.
15327 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15328 initializtion of main_arena and list_lock. Small cleanups.
15329 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15330 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15331 Add initializers to main_arena and mp_.
15332 (malloc_state): Remove pagesize member. Change all users to use
15335 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15336 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15337 is always initialized.
15339 * malloc/malloc.c: Removed unused configurations and dead code.
15340 * malloc/arena.c: Likewise.
15341 * malloc/hooks.c: Likewise.
15342 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15344 * include/tls.h: Removed. USE___THREAD must always be defined.
15345 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15346 * elf/dl-libc.c: Likewise.
15347 * elf/dl-tsd.c: Likewise.
15348 * include/errno.h: Likewise.
15349 * include/netdb.h: Likewise.
15350 * include/resolv.h: Likewise.
15351 * inet/herrno-loc.c: Likewise.
15352 * inet/herrno.c: Likewise.
15353 * malloc/arena.c: Likewise.
15354 * malloc/hooks.c: Likewise.
15355 * malloc/malloc.c: Likewise.
15356 * resolv/res-state.c: Likewise.
15357 * resolv/res_libc.c: Likewise.
15358 * sysdeps/i386/dl-machine.h: Likewise.
15359 * sysdeps/ia64/dl-machine.h: Likewise.
15360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15364 * sysdeps/sh/dl-machine.h: Likewise.
15365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15367 * sysdeps/unix/i386/sysdep.S: Likewise.
15368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15374 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15379 * sysdeps/x86_64/dl-machine.h: Likewise.
15380 * tls.make.c: Likewise.
15382 * configure.in: Remove --with-__thread option. Make tests for
15383 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15384 tls_model attribute fail if no support is available. Remove
15386 * Makeconfig: Adjust for dropped configure option. All features are
15388 * Makerules: Likewise.
15389 * Versions.def: Likewise.
15390 * argp/argp-fmtstream.c: Likewise.
15391 * argp/argp-fmtstream.h: Likewise.
15392 * argp/argp-help.c: Likewise.
15393 * assert/assert.c: Likewise.
15394 * config.h.in: Likewise.
15395 * config.make.in: Likewise.
15396 * configure: Likewise.
15397 * configure.in: Likewise.
15398 * csu/Versions: Likewise.
15399 * csu/init.c: Likewise.
15400 * elf/tst-audit2.c: Likewise.
15401 * elf/tst-tls10.c: Likewise.
15402 * elf/tst-tls10.h: Likewise.
15403 * elf/tst-tls11.c: Likewise.
15404 * elf/tst-tls12.c: Likewise.
15405 * elf/tst-tls14.c: Likewise.
15406 * elf/tst-tlsmod11.c: Likewise.
15407 * elf/tst-tlsmod12.c: Likewise.
15408 * elf/tst-tlsmod13.c: Likewise.
15409 * elf/tst-tlsmod13a.c: Likewise.
15410 * elf/tst-tlsmod14a.c: Likewise.
15411 * elf/tst-tlsmod15b.c: Likewise.
15412 * elf/tst-tlsmod16a.c: Likewise.
15413 * elf/tst-tlsmod16b.c: Likewise.
15414 * elf/tst-tlsmod7.c: Likewise.
15415 * elf/tst-tlsmod8.c: Likewise.
15416 * elf/tst-tlsmod9.c: Likewise.
15417 * gmon/gmon.c: Likewise.
15418 * grp/fgetgrent_r.c: Likewise.
15419 * grp/putgrent.c: Likewise.
15420 * hurd/fopenport.c: Likewise.
15421 * include/libc-symbols.h: Likewise.
15422 * include/tls.h: Likewise.
15423 * intl/gettextP.h: Likewise.
15424 * intl/loadinfo.h: Likewise.
15425 * locale/global-locale.c: Likewise.
15426 * locale/localeinfo.h: Likewise.
15427 * mach/devstream.c: Likewise.
15428 * malloc/arena.c: Likewise.
15429 * malloc/set-freeres.c: Likewise.
15430 * misc/err.c: Likewise.
15431 * misc/getttyent.c: Likewise.
15432 * misc/mntent_r.c: Likewise.
15433 * posix/getopt.c: Likewise.
15434 * posix/wordexp.c: Likewise.
15435 * pwd/fgetpwent_r.c: Likewise.
15436 * resolv/Versions: Likewise.
15437 * resolv/res_hconf.c: Likewise.
15438 * shadow/fgetspent_r.c: Likewise.
15439 * shadow/putspent.c: Likewise.
15440 * stdio-common/printf_fphex.c: Likewise.
15441 * stdio-common/tmpfile.c: Likewise.
15442 * stdlib/abort.c: Likewise.
15443 * stdlib/fmtmsg.c: Likewise.
15444 * sunrpc/auth_unix.c: Likewise.
15445 * sunrpc/clnt_perr.c: Likewise.
15446 * sunrpc/clnt_tcp.c: Likewise.
15447 * sunrpc/clnt_udp.c: Likewise.
15448 * sunrpc/clnt_unix.c: Likewise.
15449 * sunrpc/openchild.c: Likewise.
15450 * sunrpc/svc_simple.c: Likewise.
15451 * sunrpc/svc_tcp.c: Likewise.
15452 * sunrpc/svc_udp.c: Likewise.
15453 * sunrpc/svc_unix.c: Likewise.
15454 * sunrpc/xdr.c: Likewise.
15455 * sunrpc/xdr_array.c: Likewise.
15456 * sunrpc/xdr_rec.c: Likewise.
15457 * sunrpc/xdr_ref.c: Likewise.
15458 * sunrpc/xdr_stdio.c: Likewise.
15460 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15462 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15464 2011-07-03 Andreas Jaeger <aj@suse.de>
15466 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15467 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15468 regenerate with gen-libm-tests.pl.
15470 2010-05-12 Petr Baudis <pasky@suse.cz>
15473 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15474 around j0() zero points by switching to j1().
15475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15480 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15487 Patch in part by Pavel Roskin <proski@gnu.org>.
15490 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15492 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15493 Free memory block if necessary.
15496 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15497 be NULL. Don't lock in this case.
15499 2011-09-09 Roland McGrath <roland@hack.frob.com>
15501 * elf/elf.h (ELFOSABI_GNU): New macro.
15502 (ELFOSABI_LINUX): Define to that.
15504 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15506 * string/strncat.c (strncat): Undef the symbol in case it has been
15507 defined in bits/string.h.
15509 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15511 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15513 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15516 2011-08-17 Andreas Jaeger <aj@suse.de>
15518 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15520 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15521 Ian Lance Taylor <iant@google.com>
15523 * math/libm-test.inc (lround_test): New testcase.
15524 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15526 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15528 * Makefile: Remove support for automatic cvs check-ins.
15529 * Makerules: Likewise.
15530 * config.make.in: Likewise.
15531 * configure.in: Likewise.
15532 * intl/Makefile: Likewise.
15533 * locale/Makefile: Likewise.
15534 * po/Makefile: Likewise.
15535 * posix/Makefile: Likewise.
15536 * sysdeps/gnu/Makefile: Likewise.
15537 * sysdeps/mach/hurd/Makefile: Likewise.
15538 * sysdeps/sparc/sparc32/Makefile: Likewise.
15541 * posix/Makefile (bug-regex32-ENV): Define.
15542 Patch by John Stanley <jpsinthemix@verizon.net>.
15544 * misc/Makefile (headers): Add bits/select2.h.
15545 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15546 * misc/bits/select2.h: New file.
15547 * include/bits/select2.h: New file.
15548 * debug/Makefile (routines): Add fdelt_chk.
15549 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15550 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15552 * debug/fdelt_chk.c: New file.
15554 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15555 * wcsmbs/test-wmemcmp.c: Likewise.
15556 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15557 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15559 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15561 * string/Makefile (strop-tests): Add memcmp.
15562 * string/test-wmemcmp.c: New file.
15563 * string/test-memcmp.c: Add wmemcmp support.
15565 2011-09-08 Roland McGrath <roland@hack.frob.com>
15568 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15571 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15572 garbage value in a __mach_port_mod_refs call in the cases of the
15573 task-self and thread-self ports.
15575 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15577 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15579 2011-09-08 Andreas Schwab <schwab@redhat.com>
15581 * elf/dl-load.c (lose): Check for non-null L.
15583 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15585 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15587 * elf/dl-libc.c (dlerror_run): Pass back error code from
15591 * elf/dl-load.c (lose): Free l_origin if it is valid.
15593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15600 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15602 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15604 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15605 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15608 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15609 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15610 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15611 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15612 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15613 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15615 2011-08-15 Alan Modra <amodra@gmail.com>
15618 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15619 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15620 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15621 ppc_mcount to static-only-routines.
15622 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15624 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15625 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15627 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15630 for finite and infinity parameters.
15632 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15635 and add nop instructions for throughput optimization.
15636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15638 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15641 aligned copy for power7 with vector-scalar instructions.
15642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15644 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15649 2011-09-07 Andreas Schwab <schwab@redhat.com>
15652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15655 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15658 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15659 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15663 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15666 Forgot to demangle the pointer.
15668 * sysdeps/i386/sysdep.h: Define atom_text_section.
15669 * sysdeps/x86_64/sysdep.h: Likewise.
15670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15671 section with atom_text_section.
15672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15674 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15680 already be defined. Change to take two parameters and don't assign
15681 result to variable. Adjust all users.
15682 Define INTERNAL_GETTIME if not already defined.
15683 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15686 HAVE_CLOCK_GETTIME_VSYSCALL.
15687 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15690 gettimeofday vsyscall, just use time.
15692 2011-09-06 Andreas Schwab <schwab@redhat.com>
15694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15697 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15699 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15703 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15705 syscall if possible.
15707 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15709 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15710 e_ident. Don't pass to find_mapsXX.
15711 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15713 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15716 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15717 * sysdeps/x86_64/multiarch/strchr.S: Update.
15718 Check bit_slow_BSF bit.
15719 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15720 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15723 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15726 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15728 (tryshell): Define.
15729 (__spawni): Change last parameter to be flag. Test
15730 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15731 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15732 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15733 * posix/spawni.c: Likewise.
15734 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15735 * posix/spawnp.c: Likewise. Change normal version to use
15736 SPAWN_XFLAGS_USE_PATH.
15737 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15738 SPAWN_XFLAGS_TRY_SHELL.
15741 * posix/glob.h: Remove gcc 1.x support.
15744 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15746 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15749 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15751 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15752 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15758 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15760 * sysdeps/x86_64/wcscmp.S: New file.
15762 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15763 wcscmp-c wcscmp-sse2
15764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15765 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15767 * wcsmbs/wcscmp.c: Allow renaming.
15769 2011-09-05 David S. Miller <davem@davemloft.net>
15771 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15772 stack slot, rather than the struct return pointer slot.
15773 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15774 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15778 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15780 * po/ja.po: Update from translation team.
15783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15784 kernel in 64-bit binaries.
15786 2011-09-01 David S. Miller <davem@davemloft.net>
15788 * elf/elf.h (HWCAP_SPARC_*): Move to..
15789 * sysdeps/sparc/sysdep.h: this new file and add new values.
15790 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15791 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15792 _DL_HWCAP_COUNT to 24.
15793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15795 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15796 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15797 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15799 instead of magic constants.
15800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15802 2011-08-31 David S. Miller <davem@davemloft.net>
15804 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15806 Reimplement to do errno handling inline.
15807 (SYSCALL_ERROR_HANDLER): New macro.
15808 (__SYSCALL_STRING): Do not do errno handling in asm.
15809 (__CLONE_SYSCALL_STRING): Delete.
15810 (__INTERNAL_SYSCALL_STRING): Delete.
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15812 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15813 (PSEUDO): Reimplement to do errno handling inline.
15814 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15815 (SYSCALL_ERROR_HANDLER): New macro.
15816 (__SYSCALL_STRING): Do not do errno handling in asm.
15817 (__CLONE_SYSCALL_STRING): Delete.
15818 (__INTERNAL_SYSCALL_STRING): Delete.
15819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15820 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15822 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15823 (inline_syscall*): Add 'err' argument.
15824 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15825 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15826 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15827 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15829 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15830 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15832 2011-08-30 Andreas Schwab <schwab@redhat.com>
15834 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15836 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15838 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15841 2011-08-24 David S. Miller <davem@davemloft.net>
15843 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15845 2011-08-24 Andreas Schwab <schwab@redhat.com>
15847 * elf/Makefile: Add rules to build and run unload8 test.
15848 * elf/unload8.c: New file.
15849 * elf/unload8mod1.c: New file.
15850 * elf/unload8mod1x.c: New file.
15851 * elf/unload8mod2.c: New file.
15852 * elf/unload8mod3.c: New file.
15854 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15857 2011-08-23 David S. Miller <davem@davemloft.net>
15859 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15860 subtract stack bias.
15861 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15862 %sp not %fp in calculations.
15863 (_JMPBUF_UNWINDS_ADJ): Likewise.
15865 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15866 (aio_suspend): Call it to force an exception region around the
15867 AIO_MISC_WAIT() invocation.
15869 2011-08-23 Andreas Schwab <schwab@redhat.com>
15871 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15874 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15876 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15878 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15879 and <dl-machine.h>.
15880 (Elf64_FuncDesc): Remove.
15882 2011-08-22 David S. Miller <davem@davemloft.net>
15884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15885 sigaltstack check, add missing cfi directives.
15886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15887 missing cfi directives, and sigaltstack handling.
15889 2011-08-16 Andreas Schwab <schwab@redhat.com>
15892 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15893 object is seen twice.
15894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15896 * elf/Makefile (distribute): Add tst-initorder2.c.
15897 (tests): Add tst-initorder2.
15898 (modules-names): Add tst-initorder2a tst-initorder2b
15899 tst-initorder2c tst-initorder2d. Add rules to build them.
15900 ($(objpfx)tst-initorder2.out): New rule.
15901 * elf/tst-initorder2.c: New file.
15902 * elf/tst-initorder2.exp: New file.
15904 2011-08-22 Andreas Schwab <schwab@redhat.com>
15906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15908 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15909 dependencies back to end of function.
15911 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15912 $(elfobjdir)/ld.so.
15914 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15917 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15919 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15921 of __vdso_gettimeofday.
15922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15923 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15925 (_libc_vdso_platform_setup): Remove initialization of
15926 __vdso_gettimeofday and __vdso_time.
15928 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15930 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15931 and fgetc_unlocked.
15932 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15935 * elf/dl-open.c (add_to_global): Report additions to the global scope
15936 for LD_DEBUG=scopes.
15937 (dl_open_worker): Also print scope of newly loaded dependencies.
15938 (_dl_show_scope): Indicate if there is no scope.
15941 * stdio-common/Makefile (tests): Add bug24.
15942 * stdio-common/bug24.c: New file.
15944 2011-08-19 Andreas Jaeger <aj@suse.de>
15947 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15948 non-existant file when using close-on-exec mode.
15950 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15953 the very first instruction.
15955 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15956 the CFI state in the end.
15957 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15958 inclusion of dl-trampoline.h.
15959 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15961 2011-08-19 Andreas Schwab <schwab@redhat.com>
15963 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15964 expectations for long double.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15967 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15969 2011-08-14 David S. Miller <davem@davemloft.net>
15971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15972 artificual limit depends upon the system page size.
15974 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15976 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15977 * resolv/Makefile: Define CFLAGS-libresolv.
15979 2011-08-17 Andreas Schwab <schwab@redhat.com>
15981 * nss/makedb.c (compute_tables): Make variables used in nested
15984 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15986 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15987 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15988 if buffer was too small.
15990 * elf/pldd.c (main): Attach to all threads in the process.
15991 Rewrite /proc handling to use *at functions.
15993 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15995 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15996 specifies first scope to show.
15997 (dl_open_worker): Update callers. Move printing scope of new
15998 object to before the relocation.
15999 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16000 * sysdeps/generic/ldsodefs.h: Update declaration.
16002 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16003 string for the scope number.
16005 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16007 * nscd/servicescache.c (cache_addserv): Make sure written is always
16010 2011-08-14 Roland McGrath <roland@hack.frob.com>
16012 * sysdeps/i386/i486/bits/atomic.h
16013 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16014 statement expression, so as to suppress "set but not used" warning.
16015 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16017 * string/strncat.c (STRNCAT): Use prototype definition.
16019 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16020 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16022 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16023 (localedef-modules): Add localedef.
16024 (locale-modules): Add locale.
16026 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16027 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16028 to avoid a warning.
16030 2011-08-14 David S. Miller <davem@davemloft.net>
16032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16033 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16035 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16037 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16038 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16039 * elf/rtld.c (dl_main): Set l_name of vDSO.
16040 Call _dl_show_scope when DL_DEBUG_SCOPES.
16041 (process_dl_debug): Recognize scopes flag and also set it for all.
16042 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16043 Declare _dl_show_scope.
16045 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16046 (do_dlopen): Pass caller_dlopen to dl_open.
16047 (__libc_dlopen_mode): Initialize caller_dlopen.
16049 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16050 of libc. Make tolower call locale-independent. Optimize a bit by
16051 using isdigit instead of isalnum.
16052 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16054 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16056 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16057 was a dependency or dynamically loaded.
16059 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16061 * intl/l10nflist.c: Allow architecture-specific pop function.
16062 * sysdeps/x86_64/l10nflist.c: New file.
16064 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16067 2011-08-10 Andreas Schwab <schwab@redhat.com>
16069 * include/dirent.h: Add libc_hidden_proto for scandirat and
16070 scandirat64. Don't declare __scandirat64.
16071 * dirent/scandirat.c: Add libc_hidden_def.
16072 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16073 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16075 2011-08-10 David S. Miller <davem@davemloft.net>
16077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16083 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16085 * Versions.def [libc]: Add GLIBC_2.15.
16086 * dirent/Makefile (routines): Add scandirat and scandirat64.
16087 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16089 * dirent/dirent.h: Declare scandirat and scandirat64.
16090 * dirent/scandirat.c: New file.
16091 * dirent/scandirat64.c: New file.
16092 * sysdeps/wordsize-64/scandirat.c: New file.
16093 * sysdeps/wordsize-64/scandirat64.c: New file.
16094 * dirent/opendir.c: Define opendirat.
16095 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16097 * dirent/scandir64.c: Adjust for scandir.c change.
16098 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16099 __scandirat64, and __scandir_cancel_handler.
16100 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16101 additional parameter and use openat instead of open (outside of ld.so).
16102 Add new __opendir as wrapper around __opendirat.
16103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16104 here without requiring old scandirat implementation.
16106 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16108 * dirent/scandir.c (cancel_handler): Renamed to
16109 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16110 defined. Adjust users.
16111 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16114 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16116 * string/test-string.h (IMPL): Use __STRING to expand name and then
16119 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16122 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16124 * string/Makefile: Update.
16125 (strop-tests): Append strncat.
16126 * string/test-wcscmp.c: New file.
16127 New comprehensive test for wcscmp.
16128 * string/test-strcmp.c: Update.
16129 (WIDE): New define.
16131 2011-07-22 Andreas Schwab <schwab@redhat.com>
16133 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16136 2011-07-26 Andreas Schwab <schwab@redhat.com>
16138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16139 encoding to ACE if AI_IDN.
16141 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16144 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16146 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16149 Fix overflow bug in strncat.
16150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16152 * string/test-strncat.c: Update.
16153 Add new tests for checking overflow bugs.
16155 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16158 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16159 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16160 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16162 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16163 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16164 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16165 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16168 (USE_AS_STRCAT): Define.
16169 Add strcat and strncat support.
16170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16172 2011-07-25 Andreas Schwab <schwab@redhat.com>
16174 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16175 __n bigger than INT_MAX+1.
16176 (__strncmp_g): Likewise.
16178 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16180 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16181 * libio/stido.h: Likewise.
16183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16188 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16195 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16200 (_dl_x86_64_save_sse): Likewise.
16202 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16206 (_dl_x86_64_save_sse): Likewise.
16208 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16210 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16212 2011-07-21 Andreas Schwab <schwab@redhat.com>
16214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16216 (_dl_x86_64_save_sse): Use correct AVX check.
16218 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16221 bug in strncpy/strncat.
16222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16224 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16226 * string/tester.c (test_strcat): Add tests for different alignments
16227 of source and destination.
16228 (test_strncat): Likewise.
16230 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16233 * posix/glob.c (glob): Check passed in values before using them in
16234 expressions to avoid some overflows.
16235 (glob_in_dir): Likewise.
16238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16239 check for AVX enablement so that we don't crash with old kernels and
16241 * elf/tst-audit4.c: Add same checks here.
16242 * elf/tst-audit6.c: Likewise.
16244 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16246 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16248 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16250 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16252 * po/cs.po: Update from translation team.
16253 * po/bg.po: Likewise.
16255 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16257 * misc/sys/cdefs.h: Add support for const attribute.
16258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16259 to gnu_dev_{major,minor,makedev} functions.
16261 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16263 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16265 2011-07-20 Andreas Schwab <schwab@redhat.com>
16267 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16270 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16273 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16274 register in order to avoid conflicts with the soft frame pointer
16275 being held in r11 when necessary.
16276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16277 (INTERNAL_VSYSCALL_NCS): Likewise.
16279 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16281 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16282 * elf/dl-fini.c (_dl_fini): Adjust caller.
16283 * elf/dl-close.c (_dl_close_worker): Likewise.
16284 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16286 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16288 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16289 "aux_cache->nlibs < 0".
16291 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16292 in the reload-count case.
16294 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16297 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16298 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16300 * sysdeps/x86_64/multiarch/strcat.S: New file.
16301 * sysdeps/x86_64/multiarch/strncat.S: New file.
16302 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16304 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16305 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16307 (USE_AS_STRCAT): Define.
16308 Add strcat and strncat support.
16309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16312 * string/strncat.c: Update.
16313 (USE_AS_STRNCAT): Define.
16314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16315 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16317 * sysdeps/x86_64/multiarch/init-arch.h
16318 (bit_Prefer_PMINUB_for_stringop): New.
16319 (index_Prefer_PMINUB_for_stringop): Likewise.
16320 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16321 bit_Prefer_PMINUB_for_stringop.
16323 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16325 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16327 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16328 of casting of buffer.
16329 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16330 buffer32 and buffer64.
16331 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16332 writes instead of casting of buffer.
16333 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16335 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16338 2011-07-19 Andreas Schwab <schwab@redhat.com>
16340 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16342 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16344 * nscd/nscd.c (termination_handler): Don't do anything for a database
16345 if it has not yet been initialized.
16347 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16349 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16351 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16353 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16355 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16357 * po/nl.po: Update from translation team.
16358 * po/sv.po: Likewise.
16360 2011-07-16 Roland McGrath <roland@hack.frob.com>
16362 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16363 now disallowed by GCC.
16365 * configure.in (use-default-link): Default to yes if a test -shared
16366 link meets our qualifications.
16367 * configure: Regenerated.
16369 * config.make.in (output-format): New variable.
16370 * configure.in: Check for ld --print-output-format support.
16371 * configure: Regenerated.
16372 * Makerules ($(common-objpfx)format.lds)
16373 [$(output-format) != unknown]: Just use $(output-format),
16374 instead of the linker-script munging.
16376 2011-07-14 Roland McGrath <roland@hack.frob.com>
16378 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16379 of $(common-objpfx)shlib.lds.
16380 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16382 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16383 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16385 * configure.in (-z relro check): Adjust test code to add a large
16386 writable data section after it.
16387 * configure: Regenerated.
16389 2011-07-11 Roland McGrath <roland@hack.frob.com>
16391 * configure.in (-z relro check): Fix test code to make the variable
16393 * configure: Regenerated.
16395 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16397 * nscd/nscd.h (struct traced_file): Define.
16398 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16399 elements. Add traced_files.
16400 (inotify_fd): Declare.
16401 (register_traced_file): Declare.
16402 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16403 (inotify_fd): Export.
16404 (resolv_conf_descr): Remove.
16405 (nscd_init): Move inotify descriptor creation to main.
16406 Don't register files for notification here.
16407 (register_traced_file): New function.
16408 (invalidate_cache): Don't use reset_res to determine whether to call
16409 res_init, go through the list of registered files.
16410 (main_loop_poll): The inotify descriptors are now stored in the
16411 structures for the traced files.
16412 (main_loop_epoll): Likewise
16413 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16414 to __nss_disable_nscd.
16415 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16416 for a database anymore. Check the records for all the registered
16418 * nss/Makefile (libnss_files-routines): Add files-init.
16419 (libnss_db-routines): Add db-init.
16420 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16421 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16422 * nss/nss_db/db-init.c: New file.
16423 * nss/nss_files/files-init.c: New file.
16424 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16425 __nss_lookup_function.
16426 (__nss_lookup_function): Call nss_load_library.
16427 (nss_load_all_libraries): New function.
16428 (__nss_disable_nscd): Take parameter with callback function for files
16429 to register. Set is_nscd. Load all the DSOs for the NSS modules
16430 used for the cached services.
16431 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16433 options for features to all the files in nscd.
16435 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16437 2011-07-10 Roland McGrath <roland@hack.frob.com>
16439 * csu/elf-init.c (__libc_csu_init): Comment typo.
16441 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16443 * po/pl.po: Update from translation team.
16444 * po/ja.po: Likewise.
16445 * po/ru.po: Likewise.
16446 * po/ko.po: Likewise.
16447 * po/fr.po: Likewise.
16449 2011-07-09 Roland McGrath <roland@hack.frob.com>
16451 * configure.in (.ctors/.dtors header and trailer check):
16452 Use an empirical test on a built program.
16453 * configure: Regenerated.
16455 * configure.in (-z relro check): Use an empirical test on a built DSO.
16456 Detect, but do not require, on ia64.
16457 * configure: Regenerated.
16459 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16460 Update tests that use readelf to use $READELF instead.
16461 * configure: Regenerated.
16463 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16465 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16466 if the result is not used.
16468 2011-07-05 Andreas Jaeger <aj@suse.de>
16471 * stdlib/tst-strtod.c: Add testcase.
16473 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16475 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16476 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16477 The latter has a higher limit. Take additional parameter to pass to
16479 (__pathconf): Pass file to __statfs_link_max.
16480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16482 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16486 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16490 (__statfs_filesize_max): Likewise.
16491 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16493 2011-07-05 Andreas Jaeger <aj@suse.de>
16495 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16497 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16499 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16501 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16504 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16506 * Makefile (strop-tests): Add strncat.
16507 * string/test-strncat.c: New file.
16509 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16511 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16513 2011-06-21 Andreas Jaeger <aj@suse.de>
16515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16516 Copy rule from iconvdata/Makefile.
16518 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16521 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16522 but no long options are defined, just return 'W'.
16524 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16527 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16529 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16531 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16533 (innetgr): Likewise.
16535 2011-07-05 Roland McGrath <roland@hack.frob.com>
16537 * config.make.in (install_root): Default to $(DESTDIR).
16539 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16543 2011-07-02 Roland McGrath <roland@hack.frob.com>
16545 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16547 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16548 containing directory rather than embedding absolute directory names.
16550 * scripts/check-local-headers.sh: Rewritten using awk.
16551 Match by word, not by line. Print error messages for matches.
16552 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16554 * Makerules [shlib-lds-flags empty]:
16555 ($(common-objpfx)libc_pic.opts): New target.
16556 ($(common-objpfx)libc_pic.os.clean): New target.
16557 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16559 * config.make.in (OBJCOPY): New variable.
16560 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16561 * configure: Regenerated.
16563 * config.make.in (use-default-link): New variable.
16564 * configure.in (use_default_link): Grok --with-default-link to set it.
16565 * configure: Regenerated.
16566 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16567 (shlib-lds, shlib-lds-flags): Define to empty.
16569 * Makerules (shlib-lds): New variable.
16570 (shlib-lds-flags): New variable.
16571 (build-shlib, build-moduile, build-module-asneeded): Use it.
16572 ($(common-objpfx)libc.so): Use $(shlib-lds).
16573 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16574 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16576 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16577 DT_FLAGS/DT_FLAGS_1 with zero flags.
16579 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16580 linker script munging.
16582 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16584 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16586 * crypt/sha512.c (sha512_process_block): Perform total addition using
16587 128-bit if possible.
16588 (__sha512_finish_ctx): Likewise.
16589 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16591 * crypt/sha256.c (SWAP64): Define.
16592 (sha256_process_block): Perform total addition using 64-bit if
16594 (__sha256_finish_ctx): Likewise.
16596 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16598 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16600 * nscd/hstcache.c (cache_addhst): Likewise.
16601 * nscd/grpcache.c (cache_addgr): Likewise.
16602 * nscd/aicache.c (addhstaiX): Likewise
16603 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16605 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16607 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16609 * nscd/hstcache.c (cache_addhst): Likewise.
16610 * nscd/grpcache.c (cache_addgr): Likewise.
16611 * nscd/aicache.c (addhstaiX): Likewise
16613 2011-07-01 Andreas Schwab <schwab@redhat.com>
16615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16616 domain only when needed.
16618 2011-06-30 Andreas Schwab <schwab@redhat.com>
16620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16621 is always restored.
16623 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16625 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16626 are re-adding the entry.
16627 * nscd/servicescache.c (cache_addserv): Likewise.
16629 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16631 * sysdeps/generic/dl-irel.h: fix protection against multiple
16633 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16635 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16638 * malloc/memusage.sh: Fix quoting in message.
16639 * debug/xtrace.sh: Likewise.
16641 * configure.in: Remove support for --experimental-malloc option, make
16643 * config.make.in: Likewise.
16644 * malloc/Makefile: Likewise.
16646 2011-06-27 Andreas Schwab <schwab@redhat.com>
16648 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16649 two-byte characters.
16651 2011-06-27 Roland McGrath <roland@hack.frob.com>
16653 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16654 AC_CACHE_CHECK invocation.
16655 * configure: Regenerated.
16657 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16659 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16662 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16663 bit from old_res_options.
16665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16667 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16668 value type for setfct.
16670 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16673 __gettimeofday instead of gettimeofday.
16675 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16677 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16679 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16686 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16689 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16690 strcpy-sse2-unaligned strncpy-sse2-unaligned
16691 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16692 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16693 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16694 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16695 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16698 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16699 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16700 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16701 (STRCPY): Support SSE2 and SSSE3 versions.
16703 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16706 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16707 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16708 kernels which artificially limit size of requests.
16710 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16713 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16714 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16715 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16716 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16717 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16718 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16719 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16720 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16722 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16723 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16724 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16725 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16726 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16728 Enable unaligned load optimization for Intel Core i3, i5 and i7
16730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16732 (index_Fast_Unaligned_Load): Define.
16733 (HAS_FAST_UNALIGNED_LOAD): Define.
16735 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16737 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16739 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16743 until it is clear that the information is realy needed.
16744 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16746 2011-06-22 Andreas Schwab <schwab@redhat.com>
16748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16750 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16753 /sys/devices/system/cpu/online if it is usable.
16755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16756 reading the information from the /proc filesystem to once a second.
16758 2011-06-21 Andreas Jaeger <aj@suse.de>
16760 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16761 NULL after inclusion of kernel headers.
16763 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16765 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16766 calls to internal_setent.
16769 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16770 addresses using gethostbyname4_r ignore IPv4 addresses.
16772 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16773 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16775 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16777 2011-06-20 David S. Miller <davem@davemloft.net>
16779 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16781 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16783 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16784 (elf_irel): Use it.
16785 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16786 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16787 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16788 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16789 * sysdeps/x86_64/dl-irel.h: Likewise.
16791 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16792 * elf/dl-sym.c: Likewise.
16794 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16796 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16797 need to dereference resplen2.
16799 2011-06-14 Andreas Schwab <schwab@redhat.com>
16801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16805 * Makeconfig: Define vardbdir and inst_vardbdir.
16806 * nss/Makefile: Add rules to install db-Makefile.
16808 * nss/nss_db/db-XXX.c: Cleanup.
16810 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16811 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16813 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16814 * nss/makedb.c: Implement -g option to specify that value strings
16815 are generated and should not be added to table iterated over for
16817 * nss/nss_db/db-initgroups.c: New file.
16819 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16822 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16823 (internal_getgrouplist): Adjust to name change.
16824 Update use_initgroups_entry if this is not the first call.
16825 * nss/databases.def: Add initgroups entry.
16827 * nss/makedb.c (compute_tables): Check result of multiple hash table
16828 sizes to minimize maximum chain length.
16830 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16832 * Versions.def: Add entry for libnss_db.
16833 * shlib-versions: Likewise.
16834 * nss/Makefile: Add rules to build libnss_db.
16835 * nss/Versions: Add libnss_db information. Organize libnss_files
16837 * nss/db-Makefile: Add gshadow support. Change rules for the new
16838 makedb progra. Some minor improvements to generate smaller files.
16839 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16841 * nss/makedb.c: ...here.
16842 Improve database format to be smaller and require less memory at
16844 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16846 * nss/nss_db/db-netgrp.c: Likewise.
16847 * nss/nss_db/db-open.c: Likewise.
16848 * nss/nss_files/flies-XXX.x: Adjust comments.
16849 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16850 * nss/nss_files/files-grp.c: Likewise.
16851 * nss/nss_files/files-hosts.c: Likewise.
16852 * nss/nss_files/files-network.c: Likewise.
16853 * nss/nss_files/files-proto.c: Likewise.
16854 * nss/nss_files/files-pwd.c: Likewise.
16855 * nss/nss_files/files-rpc.c: Likewise.
16856 * nss/nss_files/files-service.c: Likewise.
16857 * nss/nss_files/files-sgrp.c: Likewise.
16858 * nss/nss_files/files-spwd.c: Likewise.
16859 * nss/nss_db/db-alias.c: Removed.
16860 * nss/nss_db/dummy-db.h: Removed.
16862 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16864 * nss/makedb.c: Rewritten to not use database library.
16865 * nss/Makefile: Update to build new makedb program.
16867 2011-06-14 Andreas Jaeger <aj@suse.de>
16869 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16870 memset declaration.
16872 2011-06-10 Andreas Schwab <schwab@redhat.com>
16874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16877 2011-06-10 Roland McGrath <roland@hack.frob.com>
16879 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16880 * elf/Makefile ($(objpfx)ld.so): Likewise.
16882 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16883 Don't list ld.so twice in dependencies.
16885 * posix/bug-regex31.c: Include <stdlib.h>.
16887 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16889 * nis/nss_compat/compat-spwd.c
16890 (getspent_next_nss_netgr): Remove unused variable.
16891 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16893 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16894 nonmembers" output to use the right array.
16896 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16898 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16900 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16901 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16902 * catgets/gencat.c (read_input_file): Likewise.
16903 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16906 variable definition inside #if's controlling its use.
16908 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16910 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16912 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16914 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16917 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16919 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16920 * configure: Regenerated.
16922 * Makerules: Revert last change.
16923 * elf/Makefile: Likewise.
16925 2011-06-09 Roland McGrath <roland@hack.frob.com>
16927 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16928 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16929 (reloc-link): Likewise.
16931 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16933 * elf/Makefile: Add rules to build pldd.
16934 * elf/pldd.c: New file.
16935 * elf/pldd-xx.c: New file.
16937 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16939 * version.h: Update for 2.15 development version.
16941 2011-06-07 David S. Miller <davem@davemloft.net>
16943 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16946 elf_machine_lazy_rel): Likewise.
16947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16949 elf_machine_lazy_rel): Likewise.
16950 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16951 dl_hwcap via passed in argument.
16952 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16955 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16957 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16959 2011-06-06 Roland McGrath <roland@hack.frob.com>
16962 * manual/fdl-1.1.texi: New file, verbatim from:
16963 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16964 * manual/lgpl-2.1.texi: New file, verbatim from:
16965 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16966 * manual/Makefile (licenses): New variable, list those new file names.
16968 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16970 * manual/fdl.texi: File removed.
16971 * manual/lesser.texi: File removed.
16972 * manual/libc.texinfo (Copying, Documentation License):
16973 Use new @include file names, put @appendix directive before @include.
16975 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16978 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16979 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16980 (mq_open): Add __NTH.
16982 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16985 Assume Intel Core i3/i5/i7 processor if AVX is available.
16987 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16992 2011-05-31 Andreas Schwab <schwab@redhat.com>
16994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16995 memory. Use alloca_account. Fix memory leak when retrying.
16997 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16999 * version.h (RELEASE): Bump for 2.14 release.
17000 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17002 * config.make.in (RANLIB): Remove entry.
17004 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17006 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17007 (libc.pot): Work around missing support for .ksh extension in xgettext.
17010 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17011 if both request failed.
17012 (send_dg): In case of server errors clear resplen or *resplen2.
17015 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17016 when there are multiple maps.
17017 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17018 (_dl_fini): Remove test here.
17020 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17022 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17025 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17026 bit from old_res_options.
17027 (gaih_inet): Likewise.
17030 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17033 * resolv/res_init.c (res_setoptions): Make the code more compact.
17036 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17040 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17042 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17045 * malloc/malloc.h: Declare malloc hook variables as volatile.
17047 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17051 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17052 raise in the comment.
17053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17057 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17060 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17061 grow the buffers more if it already has to be sufficient.
17062 (build_wcs_upper_buffer): Likewise.
17063 * posix/regexec.c (check_matching): Likewise.
17064 (clean_state_log_if_needed): Likewise.
17065 (extend_buffers): Don't enlarge buffers beyond size of the input
17067 Patches mostly by Emil Wojak <emil@wojak.eu>.
17068 * posix/bug-regex32.c: New file.
17069 * posix/Makefile (tests): Add bug-regex32.
17071 * locale/findlocale.c (_nl_find_locale): Return right away if
17072 _nl_explode_name failed.
17073 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17077 * debug/xtrace.sh: Unify messages.
17078 * malloc/memusage.sh: Likewise.
17081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17082 time symbol from vDSO. Substitute with vsyscall if not available.
17083 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17086 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17087 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17089 Add sendmmsg and internal_sendmmsg.
17090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17091 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17094 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17095 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17098 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17102 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17108 * iconvdata/Makefile (tests): Add bug-iconv9.
17109 * iconvdata/bug-iconv9.c: New file.
17111 2011-05-27 Andreas Schwab <schwab@redhat.com>
17114 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17116 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17119 (struct user_regs_struct): Change intcs field back to cs.
17121 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17123 * po/ja.po: Update from translation team.
17125 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17131 2011-05-20 Andreas Schwab <schwab@redhat.com>
17133 * stdlib/longlong.h: Update from GCC.
17135 2011-05-23 Andreas Schwab <schwab@redhat.com>
17137 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17139 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17140 Add parameter name.
17141 (__sysconf): Pass it down.
17143 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17146 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17149 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17150 add in in __libc_use_alloca calls. Adjust callers.
17151 (glob): Use malloc in some situations.
17153 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17154 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17157 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17159 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17160 and CLOCK_BOOTTIME_ALARM.
17163 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17166 * string/_strerror.c (__strerror_r): Print negative errors as signed
17170 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17171 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17172 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17174 * configure.in: Fix typo in redirection and correct removal of test
17175 files in two cases.
17178 * locale/setlocale.c (new_composite_name): Fix test to check for
17179 identical name of all categories.
17182 * libio/filedoalloc.c (local_isatty): New function.
17183 (_IO_file_doallocate): Use local_isatty.
17184 * stdio-common/perror.c (perror): In case a new stream is used
17185 forward the stream error.
17186 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17189 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17194 * include/alloca.h (extend_alloca_account): Define.
17197 * posix/regex.h: Fix comments with documentation of user-accessible
17198 fields after compilation and describe correct free'ing of pattern
17199 after re_compile_pattern.
17200 Patch by Reuben Thomas <rrt@sc3d.org>.
17202 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17204 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17205 and -mno-altivec to prevent the compiler from using Altivec and/or
17206 VSX instructions when the corresponding registers are not available.
17208 2011-05-19 Andreas Schwab <schwab@redhat.com>
17210 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17212 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17214 * libio/freopen.c (freopen): Use __dup2, not dup2.
17215 * libio/freopen64.c (freopen64): Likewise.
17217 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17220 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17221 * math/Makefile (tests): Add test-powl.
17222 (CFLAGS-test-powl.c): Define.
17223 * math/test-powl.c: New file.
17225 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17227 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17229 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17232 * iconvdata/gb18030.c: Update to GB18020-2005.
17234 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17236 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17237 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17238 Patch by Aharon Robbins <arnold@skeeve.com>.
17241 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17245 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17246 through underflows.
17249 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17250 point to strings before performing equality test for error_one_per_line
17254 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17258 (struct user_fpregs_struct): Avoid __uint*_t types.
17261 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17262 symbol info. Use it instead of calling _dl_addr locally.
17263 (lock_and_info): New function.
17264 (tr_freehook): Call lock_and_info and pass symbol info as additional
17265 parameter to tr_where.
17266 (tr_mallochook): Likewise.
17267 (tr_reallochook): Likewise.
17268 (tr_memalignhook): Likewise.
17270 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17271 used and couldn't be at all thread-safe.
17273 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17275 * libio/freopen.c (freopen): Don't close old file descriptor
17276 before the new one is opened. Instead dup the new file descriptor
17277 to the old one after the new stream is created.
17278 * libio/freopen64.c (freopen64): Likewise.
17279 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17280 * libio/fileops.c (_IO_new_file_close_it): Handle new
17281 _IO_FLAGS2_NOCLOSE flag.
17282 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17283 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17284 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17285 _IO_FLAGS2_NOCLOSE flag.
17286 * include/unistd.h: Add hidden_proto for dup3.
17287 Define __have_dup3.
17288 * io/dup3.c: Define hidden symbol.
17289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17292 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17293 when an incomplete long option is used.
17294 * posix/tst-getopt_long1.c: New file.
17295 * posix/Makefile (tests): Add tst-getopt_long1.
17298 * scripts/config.guess: Update from autoconf-2.68.
17299 * scripts/config.sub: Likewise.
17302 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17304 (has_cpuclock): ...this. New function.
17305 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17306 macro here based on has_cpuclock code.
17309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17310 First byte (not low byte) is now always NUL.
17311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17314 Use non-cancelable interfaces.
17317 * locale/iso-639.def: Add entry for Sorani.
17320 * include/stdlib.h: Move include protection to the right place.
17321 Define abort_msg_s. Declare __abort_msg with it.
17322 * stdlib/abort.c (__abort_msg): Adjust type.
17323 * assert/assert.c (__assert_fail_base): New function. Majority
17324 of code from __assert_fail. Allocate memory for __abort_msg with
17326 (__assert_fail): Now call __assert_fail_base.
17327 * assert/assert-perr.c: Remove bulk of implementation. Use
17328 __assert_fail_base.
17329 * include/assert.hL Declare __assert_fail_base.
17330 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17332 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17334 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17338 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17339 until all modules are registered in the DTV.
17340 * elf/Makefile: Add rules to build and run tst-tls19.
17341 * elf/tst-tls19.c: New file.
17342 * elf/tst-tls19mod1.c: New file.
17343 * elf/tst-tls19mod2.c: New file.
17344 * elf/tst-tls19mod3.c: New file.
17345 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17348 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17352 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17353 two-byte sequence errors.
17354 * iconvdata/Makefile (tests): Add bug-iconv8.
17355 * iconvdata/bug-iconv8.c: New file.
17358 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17361 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17364 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17365 (dummy_getcfa): New function.
17366 (init): Get _Unwind_GetCFA address, use dummy if not found.
17367 (backtrace_helper): In recursion check, also check whether CFA changes.
17368 (__backtrace): Completely initialize arg.
17370 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17371 storing incomplete byte sequence in state object. Avoid testing for
17372 guaranteed too small input if we know there is enough data available.
17374 2011-05-11 Andreas Schwab <schwab@redhat.com>
17376 * Makeconfig (+link-pie): Indent.
17377 * Rules (binaries-pie): Define if $(have-fpie) and
17379 (binaries-shared): Also filter out $(binaries-pie).
17380 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17381 * nscd/Makefile (others-pie): Add nscd.
17382 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17383 ($(objpfx)nscd): Remove command override.
17384 * login/Makefile (others-pie): Add pt_chown.
17385 ($(objpfx)pt_chown): Remove command override.
17386 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17387 remove command overrides.
17389 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17391 * libio/tst_putwc.c: Fix error messages.
17394 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17395 currently writing and seek to current position when not.
17396 * libio/Makefile (tests): Add bug-fclose1.
17397 * libio/bug-fclose1.c: New file.
17399 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17402 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17403 don't set DF_1_NODELETE here.
17404 (do_lookup_x): When entering new entry test for copy relocation
17405 and if necessary set DF_1_NODELETE flag.
17406 * elf/tst-unique4.cc: New file.
17407 * elf/tst-unique4.h: New file.
17408 * elf/tst-unique4lib.cc: New file.
17409 * elf/Makefile: Add rules to build and run tst-unique4.
17410 Patch by Piotr Bury <pbury@goahead.com>.
17412 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17415 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17418 * misc/mntent_r.c (addmntent): Flush the stream after the output
17421 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17422 (is_trusted_path_normalize): Skip initial colon. Append slash
17423 to empty buffer. Duplicate is_trusted_path code but allow
17424 constructed patch to be prefix.
17425 (is_dst): Allow $ORIGIN followed by /.
17426 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17427 Correct testing of result of is_trusted_path_normalize
17428 (decompose_rpath): Fix warning.
17430 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17433 * grp/initgroups.c (internal_getgrouplist): When we found the service
17434 list through the initgroups entry in nsswitch.conf do not always
17435 continue on a successful lookup. Don't always use the
17436 __nss_group_database value if it is set.
17437 * nss/nsswitch.conf (initgroups): Change action for successful db
17438 lookup to continue for compatibility.
17440 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17443 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17445 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17447 * iconvdata/tst-tables.sh: Likewise.
17448 * iconvdata/cp770.c: New file.
17449 * iconvdata/cp771.c: New file.
17450 * iconvdata/cp772.c: New file.
17451 * iconvdata/cp773.c: New file.
17452 * iconvdata/cp774.c: New file.
17453 * iconvdata/testdata/CP770: New file.
17454 * iconvdata/testdata/CP770..UTF8: New file.
17455 * iconvdata/testdata/CP771: New file.
17456 * iconvdata/testdata/CP771..UTF8: New file.
17457 * iconvdata/testdata/CP772: New file.
17458 * iconvdata/testdata/CP772..UTF8: New file.
17459 * iconvdata/testdata/CP773: New file.
17460 * iconvdata/testdata/CP773..UTF8: New file.
17461 * iconvdata/testdata/CP774: New file.
17462 * iconvdata/testdata/CP774..UTF8: New file.
17464 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17466 * iconvdata/gen-8bit-gap.sh: Likewise.
17467 * iconvdata/gen-8bit.sh: Likewise.
17469 * locale/iso-639.def: Add ary entry.
17472 * locale/C-translit.h.in: Add U20A1 transliteration.
17475 * locale/iso-639.def: Add wae entry.
17476 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17479 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17483 * locale/C-translit.h.in: Add entry for U20B9.
17484 Patch by pravin.d.s@gmail.com.
17486 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17489 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17490 ENAMETOOLONG use generic getcwd.
17491 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17492 in rtld. Use *stat64.
17493 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17494 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17495 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17496 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17497 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17498 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17499 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17500 __fstatat64 macros.
17501 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17502 * dirent/rewinddir.c: Add libc_hidden_def.
17503 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17504 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17506 * include/dirent.h (__alloc_dir): Add flags parameter.
17507 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17508 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17510 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17511 from fdopendir if O_CLOEXEC is already set.
17513 2011-03-15 Alan Modra <amodra@gmail.com>
17515 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17516 l_tls_firstbyte_offset non-zero. Save padding offset in
17517 l_tls_firstbyte_offset for later use.
17518 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17519 freeing static tls block.
17521 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17523 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17524 where #ifdef was intended. The intent is to prevent ARG_MAX from
17525 being defined by the kernel headers.
17527 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17530 * resolv/resolv.h: Define RES_NOTLDQUERY.
17531 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17532 no-tld-query and set RES_NOTLDQUERY.
17533 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17534 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17535 modern BIND to search name as TLD unless forbidden.
17537 2011-05-07 Petr Baudis <pasky@suse.cz>
17538 Ulrich Drepper <drepper@gmail.com>
17541 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17542 (is_trusted_path): ...to here.
17543 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17544 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17545 using is_trusted_path_normalize() in setuid scripts.
17547 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17550 __BEGIN/__END_DECLS.
17552 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17555 NSS_STATUS_NOTFOUND if no record was found.
17557 2011-05-05 Andreas Schwab <schwab@redhat.com>
17559 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17560 (headers-not-in-tirpc): Remove rpc/netdb.h
17561 * resolv/netdb.h: Revert last change.
17563 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17565 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17566 circular dependency between libgcc.a and libc.a.
17568 2011-05-05 Andreas Schwab <schwab@redhat.com>
17570 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17571 * nis/Makefile: Don't install rpcsvc/*.
17572 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17573 instead of <rpc/types.h>.
17574 (MAXHOSTNAMELEN): Define.
17576 2011-05-03 Andreas Schwab <schwab@redhat.com>
17578 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17580 2011-04-28 Maciej Babinski <mbabinski@google.com>
17583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17584 gethostbyname4_r when IPv6 results are possible.
17586 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17590 _PC_PIPE_BUF handling.
17592 2011-04-30 Bruno Haible <bruno@clisp.org>
17595 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17596 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17598 * inet/getnameinfo.c (getnameinfo): Likewise.
17600 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17602 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17603 to groups setting in database lookup.
17604 * nss/nsswitch.conf: Add initgroups entry.
17606 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17609 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17611 Patch by Eric Blake <eblake@redhat.com>.
17613 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17615 * sunrpc/Makefile (need-export-routines): Add svc_run.
17616 (routines): Remove svc_run.
17617 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17618 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17619 * sunrpc/svc_run.c (svc_run): Likewise.
17620 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17622 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17625 problem in reallocation in last patch.
17627 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17629 * sunrpc/Makefile: Move inclusion of Rules.
17631 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17633 * nss/nss_files/files-initgroups.c: New file.
17634 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17635 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17636 _nss_files_initgroups_dyn.
17638 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17640 * elf/elf.h (R_ARM_IRELATIVE): Define.
17642 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17644 * po/ru.po: Update from translation team.
17646 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17648 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17651 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17655 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17660 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17668 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17673 * stdlib/bug-getcontext.c: New file.
17674 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17676 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17678 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17679 instructions into .machine "z9-109".
17680 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17681 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17683 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17685 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17686 between environment variables and auxiliary vector.
17688 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17690 * Makefile: Add rules to build linkobj/libc.so.
17691 * include/libc-symbols.h: Define libc_hidden_nolink.
17692 * include/rpc/auth.h: Mark functions which are to be hidden.
17693 * include/rpc/auth_des.h: Likewise.
17694 * include/rpc/auth_unix.h: Likewise.
17695 * include/rpc/clnt.h: Likewise.
17696 * include/rpc/des_crypt.h: Likewise.
17697 * include/rpc/key_prot.h: Likewise.
17698 * include/rpc/pmap_clnt.h: Likewise.
17699 * include/rpc/pmap_prot.h: Likewise.
17700 * include/rpc/pmap_rmt.h: Likewise.
17701 * include/rpc/rpc_msg.h: Likewise.
17702 * include/rpc/svc.h: Likewise.
17703 * include/rpc/svc_auth.h: Likewise.
17704 * include/rpc/xdr.h: Likewise.
17705 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17706 * nss/Makefile: Likewise.
17707 * sunrpc/Makefile: Don't install headers. Build library with normal
17708 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17709 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17710 for the compat linking library. Remove use of INTDEF/INTUSE.
17711 * sunrpc/auth_none.c: Likewise.
17712 * sunrpc/auth_unix.c: Likewise.
17713 * sunrpc/authdes_prot.c: Likewise.
17714 * sunrpc/authuxprot.c: Likewise.
17715 * sunrpc/clnt_gen.c: Likewise.
17716 * sunrpc/clnt_perr.c: Likewise.
17717 * sunrpc/clnt_raw.c: Likewise.
17718 * sunrpc/clnt_simp.c: Likewise.
17719 * sunrpc/clnt_tcp.c: Likewise.
17720 * sunrpc/clnt_udp.c: Likewise.
17721 * sunrpc/clnt_unix.c: Likewise.
17722 * sunrpc/des_crypt.c: Likewise.
17723 * sunrpc/des_soft.c: Likewise.
17724 * sunrpc/get_myaddr.c: Likewise.
17725 * sunrpc/key_call.c: Likewise.
17726 * sunrpc/key_prot.c: Likewise.
17727 * sunrpc/netname.c: Likewise.
17728 * sunrpc/pm_getmaps.c: Likewise.
17729 * sunrpc/pm_getport.c: Likewise.
17730 * sunrpc/pmap_clnt.c: Likewise.
17731 * sunrpc/pmap_prot.c: Likewise.
17732 * sunrpc/pmap_prot2.c: Likewise.
17733 * sunrpc/pmap_rmt.c: Likewise.
17734 * sunrpc/publickey.c: Likewise.
17735 * sunrpc/rpc_cmsg.c: Likewise.
17736 * sunrpc/rpc_common.c: Likewise.
17737 * sunrpc/rpc_dtable.c: Likewise.
17738 * sunrpc/rpc_prot.c: Likewise.
17739 * sunrpc/rpc_thread.c: Likewise.
17740 * sunrpc/rtime.c: Likewise.
17741 * sunrpc/svc.c: Likewise.
17742 * sunrpc/svc_auth.c: Likewise.
17743 * sunrpc/svc_authux.c: Likewise.
17744 * sunrpc/svc_raw.c: Likewise.
17745 * sunrpc/svc_run.c: Likewise.
17746 * sunrpc/svc_simple.c: Likewise.
17747 * sunrpc/svc_tcp.c: Likewise.
17748 * sunrpc/svc_udp.c: Likewise.
17749 * sunrpc/svc_unix.c: Likewise.
17750 * sunrpc/svcauth_des.c: Likewise.
17751 * sunrpc/xcrypt.c: Likewise.
17752 * sunrpc/xdr.c: Likewise.
17753 * sunrpc/xdr_array.c: Likewise.
17754 * sunrpc/xdr_float.c: Likewise.
17755 * sunrpc/xdr_intXX_t.c: Likewise.
17756 * sunrpc/xdr_mem.c: Likewise.
17757 * sunrpc/xdr_rec.c: Likewise.
17758 * sunrpc/xdr_ref.c: Likewise.
17759 * sunrpc/xdr_sizeof.c: Likewise.
17760 * sunrpc/xdr_stdio.c: Likewise.
17762 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17765 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17766 * sysdeps/ia64/dl-tls.h: Likewise.
17767 * sysdeps/powerpc/dl-tls.h: Likewise.
17768 * sysdeps/s390/dl-tls.h: Likewise.
17769 * sysdeps/sh/dl-tls.h: Likewise.
17770 * sysdeps/sparc/dl-tls.h: Likewise.
17771 * sysdeps/x86_64/dl-tls.h: Likewise.
17772 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17774 2011-03-14 Andreas Schwab <schwab@redhat.com>
17776 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17777 rpath element also skip the following colon.
17778 (expand_dynamic_string_token): Add is_path parameter and pass
17779 down to DL_DST_REQUIRED and _dl_dst_substitute.
17780 (decompose_rpath): Call expand_dynamic_string_token with
17781 non-zero is_path. Ignore empty rpaths.
17782 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17785 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17790 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17793 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17794 Patch by Filipe David Manana <fdmanana@apache.org>.
17796 2011-04-07 Andreas Schwab <schwab@redhat.com>
17798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17799 Maintain aligned stack.
17800 (CHECK_RSP): Remove unused macro.
17802 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17804 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17807 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17809 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17811 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17813 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17816 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17817 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17818 * sysdeps/x86_64/memmove.c: New file.
17819 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17820 (memcpy): Renamed to ...
17821 (__new_memcpy): This.
17822 (memcpy): Provide GLIBC_2_14 memcpy.
17823 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17824 (memcpy): Provide GLIBC_2_2_5 memcpy.
17826 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17829 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17831 2011-03-30 Andreas Schwab <schwab@redhat.com>
17833 * misc/syncfs.c: New file.
17834 * misc/Makefile (routines): Add syncfs.
17835 * posix/unistd.h: Declare syncfs.
17836 * sysdeps/unix/syscalls.list: Add syncfs.
17838 2011-04-01 Andreas Schwab <schwab@redhat.com>
17840 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17850 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17860 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17861 sync_file_range.c with -fexceptions.
17862 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17863 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17864 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17865 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17866 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17867 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17869 sync_file_range as cancellation point
17870 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17871 now a wrapper around __call_sync_file_range with cancellation handling.
17872 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17874 function name to __call_sync_file_range.
17875 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17876 Add call_sync_file_range.
17878 2011-04-01 Andreas Schwab <schwab@redhat.com>
17880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17885 * iconv/iconv.h: Fix typo in comment.
17886 * io/fcntl.h: Likewise.
17887 * libio/stdio.h: Likewise.
17888 * posix/spawn.h: Likewise.
17889 * posix/unistd.h: Likewise.
17890 * stdlib/stdlib.h: Likewise.
17891 * time/time.h: Likewise.
17892 * wcsmbs/wchar.h: Likewise.
17894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17895 open_by_handle): Add.
17896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17897 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17898 Augment a few comments.
17899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17904 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17907 * io/fcntl.h (AT_EMPTY_PATH): Define.
17909 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17911 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17912 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17913 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17915 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17916 * Versions.def: Add GLIBC_2.14.
17917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17920 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17926 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17929 * string/test-strncmp.c (do_page_test): New function.
17930 (check2): Likewise.
17931 (test_main): Call check2.
17932 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17934 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17938 Handle cache information in CPU leaf 4.
17939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17941 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17944 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17945 character representation.
17946 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17948 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17950 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17951 END(__isnan) to END(__isnanf) to match function entry point/label
17952 EALIGN(__isnanf,...).
17954 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17956 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17958 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17961 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17962 copy from the symbol referenced in the relocation to initialize the
17964 Patch by Piotr Bury <pbury@goahead.com>.
17965 * elf/Makefile: Add rules to build and tst-unique3.
17966 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17967 * elf/tst-unique3.cc: New file.
17968 * elf/tst-unique3.h: New file.
17969 * elf/tst-unique3lib.cc: New file.
17970 * elf/tst-unique3lib2.cc: New file.
17972 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17974 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17976 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17977 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17980 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17982 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17983 to-be-loaded object along a path to loader is ld.so.
17985 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17986 Ulrich Drepper <drepper@gmail.com>
17988 * sysdeps/x86_64/memset.S: After aligning destination, code
17989 branches to different locations depending on the value of
17990 misalignment, when multiarch is enabled. Fix this.
17992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17995 Set _x86_64_preferred_memory_instruction for AMD processsors.
17996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17997 Set bit_Prefer_SSE_for_memop for AMD processors.
17999 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18001 * libio/fmemopen.c (fmemopen): Optimize a bit.
18003 2011-03-03 Andreas Schwab <schwab@redhat.com>
18005 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18007 2011-03-03 Roland McGrath <roland@redhat.com>
18009 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18011 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18013 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18014 __bzero_ultra1 instead of __memset_ultra1.
18016 2011-02-23 Andreas Schwab <schwab@redhat.com>
18017 Ulrich Drepper <drepper@gmail.com>
18020 * include/link.h (struct link_map): Add l_orig_initfini.
18021 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18022 returning unsuccessfully.
18023 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18024 close of a file loaded at startup, restore the original l_initfini
18026 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18027 list, store the pointer.
18028 * elf/Makefile ($(objpfx)noload-mem): New rule.
18029 (noload-ENV): Define.
18030 (tests): Add $(objpfx)noload-mem.
18031 * elf/noload.c: Include <memcheck.h>.
18032 (main): Call mtrace. Close all opened handles.
18034 2011-02-17 Andreas Schwab <schwab@redhat.com>
18037 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18038 dependencies are missing.
18040 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18042 Fix __if_freereq crash: Unlike the generic version which uses free,
18044 * sysdeps/mach/hurd/ifreq.h: New file.
18046 2011-01-27 Petr Baudis <pasky@suse.cz>
18047 Ulrich Drepper <drepper@gmail.com>
18050 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18051 to extend_alloca().
18052 * stdio-common/bug23.c: New file.
18053 * stdio-common/Makefile (tests): Add bug23.
18055 2010-09-28 Andreas Schwab <schwab@redhat.com>
18056 Ulrich Drepper <drepper@gmail.com>
18059 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18060 before performing relro protection. At old place add assertion
18061 to make sure nothing changed.
18063 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18064 Glauber de Oliveira Costa <glommer@gmail.com>
18066 * elf/elf.h: Add new ARM TLS relocs.
18068 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18071 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18073 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18075 * sysdeps/wordsize-64/tst-writev.c: New file.
18077 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18079 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18080 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18081 insns in _dl_start to prevent a TOC reference before relocs are
18084 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18087 * Makeconfig: Remove RANLIB definition.
18088 * Makerules: Don't use RANLIB.
18089 * aclocal.m4: Remove ranlib test.
18090 * configure.in: No need to check for ranlib.
18091 * elf/rtld-Rules: Don't use RANLIB.
18093 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18095 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18097 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18098 inclusion protection macro.
18100 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18101 SIGRTMIN and SIGRTMAX and print information in that case only when
18102 SIGRTMIN is defined.
18104 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18106 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18107 arginfo fn returning -1.
18109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18110 and thousands string is zero terminated.
18112 2011-02-03 Andreas Schwab <schwab@redhat.com>
18114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18115 sysdeps/unix/sysv/linux/bits/socket.h.
18117 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18119 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18120 (__CPU_COUNT): Remove old macros.
18121 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18122 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18123 (__CPU_ALLOC, __CPU_FREE): Add macros.
18124 (__sched_cpualloc, __sched_cpufree): Add declarations.
18126 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18128 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18129 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18130 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18131 (readdhstai): Return value of addhstaiX call.
18132 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18133 (addgrbyX): Return value returned by cache_addgr.
18134 (readdgrbyname): Return value returned by addgrbyX.
18135 (readdgrbygid): Likewise.
18136 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18137 (addpwbyX): Return value returned by cache_addpw.
18138 (readdpwbyname): Return value returned by addhstbyX.
18139 (readdpwbyuid): Likewise.
18140 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18141 (addservbyX): Return value returned by cache_addserv.
18142 (readdservbyname): Return value returned by addservbyX:
18143 (readdservbyport): Likewise.
18144 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18145 (addhstbyX): Return value returned by cache_addhst.
18146 (readdhstbyname): Return value returned by addhstbyX.
18147 (readdhstbyaddr): Likewise.
18148 (readdhstbynamev6): Likewise.
18149 (readdhstbyaddrv6): Likewise.
18150 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18151 (readdinitgroups): Return value returned by addinitgroupsX.
18152 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18153 (prune_cache): Keep track of timeout value of re-added entries.
18154 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18155 * nscd/nscd.h: Adjust prototypes of readd* functions.
18157 2011-02-04 Roland McGrath <roland@redhat.com>
18159 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18160 (nis_stats): Likewise.
18161 * nis/nis_modify.c (nis_modify): Likewise.
18162 * nis/nis_remove.c (nis_remove): Likewise.
18163 * nis/nis_add.c (nis_add): Likewise.
18165 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18167 * posix/fnmatch_loop.c: Add some consts.
18169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18171 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18174 * config.make.in (config-cflags-novzeroupper): Define.
18175 * configure.in: Substitute libc_cv_cc_novzeroupper.
18176 * elf/Makefile (AVX-CFLAGS): Define.
18177 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18178 (CFLAGS-tst-auditmod4a.c): Likewise.
18179 (CFLAGS-tst-auditmod4b.c): Likewise.
18180 (CFLAGS-tst-auditmod6b.c): Likewise.
18181 (CFLAGS-tst-auditmod6c.c): Likewise.
18182 (CFLAGS-tst-auditmod7b.c): Likewise.
18183 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18185 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18187 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18188 function to the callback.
18189 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18191 2011-02-02 Andreas Schwab <schwab@redhat.com>
18193 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18196 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18199 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18201 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18203 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18206 * elf/Makefile: Add rules to build and run new test.
18207 * elf/tst-initorder.c: New file.
18208 * elf/tst-initorder.exp: New file.
18209 * elf/tst-initordera1.c: New file.
18210 * elf/tst-initordera2.c: New file.
18211 * elf/tst-initordera3.c: New file.
18212 * elf/tst-initordera4.c: New file.
18213 * elf/tst-initorderb1.c: New file.
18214 * elf/tst-initorderb2.c: New file.
18215 * elf/tst-order-a1.c: New file.
18216 * elf/tst-order-a2.c: New file.
18217 * elf/tst-order-a3.c: New file.
18218 * elf/tst-order-a4.c: New file.
18219 * elf/tst-order-b1.c: New file.
18220 * elf/tst-order-b2.c: New file.
18221 * elf/tst-order-main.c: New file.
18222 New test case by George Gensure <werkt0@gmail.com>.
18224 2010-10-01 Andreas Schwab <schwab@redhat.com>
18226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18227 decoding ACE if AI_CANONIDN.
18229 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18231 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18233 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18235 * version.h (RELEASE): Bump for 2.13 release.
18236 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18238 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18242 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18249 * posix/getconf.c: Update copyright year.
18250 * catgets/gencat.c: Likewise.
18251 * csu/version.c: Likewise.
18252 * debug/catchsegv.sh: Likewise.
18253 * debug/xtrace.sh: Likewise.
18254 * elf/ldconfig.c: Likewise.
18255 * elf/ldd.bash.in: Likewise.
18256 * elf/sprof.c (print_version): Likewise.
18257 * iconv/iconv_prog.c: Likewise.
18258 * iconv/iconvconfig.c: Likewise.
18259 * locale/programs/locale.c: Likewise.
18260 * locale/programs/localedef.c: Likewise.
18261 * malloc/memusage.sh: Likewise.
18262 * malloc/mtrace.pl: Likewise.
18263 * nscd/nscd.c (print_version): Likewise.
18264 * nss/getent.c: Likewise.
18266 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18267 PF_CAIF, and PF_ALG.
18268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18270 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18272 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18273 (modules-names): Use them.
18274 (ifunc-test-modules, ifunc-pie-tests): Define.
18275 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18276 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18277 (test-extras): Likewise.
18278 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18279 $(compile-command.c).
18280 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18281 (all-built-dso): Define.
18282 (check-textrel.out, check-execstack.out): Depend on it.
18284 * configure.in: Don't override --enable-multi-arch.
18286 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18289 * nscd/hstcache.c (tryagain): Define.
18290 (cache_addhst): Return tryagain not notfound for temporary errors.
18291 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18294 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18298 to make the syscall.
18299 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18302 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18303 and fall back to matching as normal character if the string ends before
18304 the matching ']' is found. This is what POSIX requires.
18305 * posix/testfnm.c: Adjust test result.
18306 * posix/globtest.sh: Adjust test result. Add new test.
18307 * posix/tst-fnmatch.input: Likewise.
18308 * posix/tst-fnmatch2.c: Add new test.
18310 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18312 * elf/Makefile (check-execstack): Revert last change. Depend on
18314 (check-execstack.h): New target.
18315 (generated): Add check-execstack.h.
18316 * elf/check-execstack.c: Include "check-execstack.h".
18317 (main): Revert last change.
18318 (handle_file): Return zero if GNU_STACK is absent and
18319 DEFAULT_STACK_PERMS doesn't include PF_X.
18321 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18323 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18324 in child fails because the descriptor is already closed.
18325 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18326 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18334 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18335 temporary buffer used to handle multi lookups locally.
18336 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18338 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18340 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18343 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18345 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18346 alignment for SSE2.
18348 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18351 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18352 characters. When rounding increased number of integer digits recompute
18354 * stdio-common/tst-grouping.c: New file.
18355 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18357 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18359 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18360 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18362 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18364 * bits/select.h: Likewise.
18366 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18368 * po/ja.po: Update from translation team.
18370 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18373 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18374 implementation just like for lxstat, fxstatat, et al.
18376 2010-12-27 Jim Meyering <meyering@redhat.com>
18379 * posix/regexec.c (build_trtable): Return failure indication upon
18380 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18382 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18385 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18386 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18391 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18394 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18395 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18397 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18399 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18400 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18401 script has SORT_BY_INIT_PRIORITY.
18402 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18403 NO_CTORS_DTORS_SECTIONS is defined.
18404 * elf/soinit.c: Likewise.
18405 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18406 NO_CTORS_DTORS_SECTIONS is defined.
18407 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18408 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18409 * sysdeps/sh/init-first.c: Likewise.
18410 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18412 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18414 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18415 always use the slow path.
18417 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18419 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18420 similar rule which adds the sysdep directories to the header search in
18421 order to pick up the correct platform stackinfo.h.
18422 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18423 perform test if it is, otherwise return successfully without testing.
18424 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18425 DEFAULT_STACK_PERMS define in stackinfo.h.
18426 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18427 defined in stackinfo.h.
18428 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18429 DEFAULT_STACK_PERMS defined in stackinfo.h.
18430 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18431 * sysdeps/ia64/stackinfo.h: Likewise.
18432 * sysdeps/s390/stackinfo.h: Likewise.
18433 * sysdeps/sh/stackinfo.h: Likewise.
18434 * sysdeps/sparc/stackinfo.h: Likewise.
18435 * sysdeps/x86_64/stackinfo.h: Likewise.
18436 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18437 PF_X for powerpc64. Retain PF_X for powerpc32.
18439 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18441 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18444 GETDENTS_64BIT_ALIGNED.
18446 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18448 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18450 2010-12-10 Andreas Schwab <schwab@redhat.com>
18452 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18456 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18458 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18459 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18461 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18464 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18467 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18469 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18471 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18473 * po/it.po: Update from translation team.
18475 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18480 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18482 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18484 2010-11-24 Andreas Schwab <schwab@redhat.com>
18486 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18488 (gaih_getanswer_slice): Likewise.
18490 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18494 2010-05-31 Petr Baudis <pasky@suse.cz>
18497 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18498 silently even in the chroot mode.
18500 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18502 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18503 last patch a bit. Pretty printing
18505 2010-05-31 Petr Baudis <pasky@suse.cz>
18508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18509 initialization of skip_initgroups_dyn.
18511 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18516 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18518 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18520 2010-11-11 Andreas Schwab <schwab@redhat.com>
18522 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18523 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18524 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18525 ($(objpfx)tst-fnmatch-mem): New rule.
18526 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18527 * posix/tst-fnmatch.c (main): Call mtrace.
18529 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18532 Support Intel processor model 6 and model 0x2c.
18534 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18539 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18542 * string/test-strncasecmp.c (check_result): New function.
18543 (do_one_test): Use it.
18544 (check1): New function.
18545 (test_main): Use it.
18546 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18547 Support strcasecmp and strncasecmp.
18549 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18552 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18555 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18557 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18561 * sysdeps/x86_64/multiarch/bzero.S: New file.
18562 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18563 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18564 * sysdeps/x86_64/multiarch/memset.S: New file.
18565 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18567 Set bit_Prefer_SSE_for_memop for Intel processors.
18568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18570 (index_Prefer_SSE_for_memop): Define.
18571 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18573 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18578 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18582 (__x86_64_raw_data_cache_size_half): Likewise.
18583 (__x86_64_raw_shared_cache_size): Likewise.
18584 (__x86_64_raw_shared_cache_size_half): Likewise.
18586 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18587 (__x86_64_raw_data_cache_size_half): Likewise.
18588 (__x86_64_raw_shared_cache_size): Likewise.
18589 (__x86_64_raw_shared_cache_size_half): Likewise.
18590 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18591 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18592 and __x86_64_raw_shared_cache_size_half. Round
18593 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18594 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18595 to multiple of 256 bytes.
18597 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18601 of inacessible symlinks. Verify result of symlink before returning it.
18602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18603 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18605 2010-10-28 Erich Ritz <erichritz@gmail.com>
18607 * math/math.h (isinf): Fix typo in comment.
18609 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18611 * po/da.po: Update from translation team.
18613 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18615 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18616 is added to the list.
18618 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18619 Ulrich Drepper <drepper@gmail.com>
18621 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18622 the global list here. Move code to...
18623 (_dl_add_to_namespace_list): ...here. New function.
18624 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18625 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18626 * elf/dl-load.c (lose): Don't remove the element from the list.
18627 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18628 (_dl_map_object): Likewise.
18630 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18633 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18634 into all bytes of SSE register.
18635 Patch by Richard Li <richardpku@gmail.com>.
18637 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18640 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18643 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18645 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18646 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18653 2010-10-22 Andreas Schwab <schwab@redhat.com>
18655 * include/dlfcn.h (__RTLD_SECURE): Define.
18656 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18657 mode & __RTLD_SECURE instead.
18658 (open_path): Rename preloaded parameter to secure.
18659 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18660 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18661 * elf/dl-deps.c (openaux): Likewise.
18662 * elf/rtld.c (struct map_args): Remove is_preloaded.
18663 (map_doit): Don't use it.
18664 (dl_main): Likewise.
18665 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18666 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18668 2010-09-09 Andreas Schwab <schwab@redhat.com>
18670 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18671 (sysd-rules-targets): Remove duplicates.
18672 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18673 rtld-%.$o dependency.
18675 2010-10-18 Andreas Schwab <schwab@redhat.com>
18677 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18678 _dl_map_object do it.
18680 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18682 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18683 fast fma builtins, define the macros in the C99 standard.
18684 (FP_FAST_FMAF): Likewise.
18685 (FP_FAST_FMAL): Likewise.
18686 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18688 * bits/mathdef.h: Update copyright year.
18689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18691 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18693 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18694 builtins, define the macros in the C99 standard.
18695 (FP_FAST_FMAF): Likewise.
18696 (FP_FAST_FMAL): Likewise.
18697 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18699 (FP_FAST_FMAF): Likewise.
18701 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18704 * math/libm-test.inc (fma_test): Some new testcases.
18705 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18707 y and infinite z. Do multiplication by C already in long double.
18708 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18710 y and infinite z. Do bitwise or of inexact bit into u.d.
18711 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18712 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18713 * sysdeps/i386/fpu/s_fma.S: Removed.
18714 * sysdeps/i386/fpu/s_fmal.S: Removed.
18716 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18719 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18721 computation is not scheduled after fetestexcept. Fix value
18722 of minimum denormal long double.
18724 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18727 * math/libm-test.inc (fma_test): Add some more tests.
18728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18731 2010-10-15 Andreas Schwab <schwab@redhat.com>
18733 * scripts/data/localplt-s390-linux-gnu.data: New file.
18734 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18736 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18739 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18740 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18742 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18744 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18746 if one of x and y is very large and the other is subnormal.
18747 * sysdeps/s390/fpu/s_fmaf.c: New file.
18748 * sysdeps/s390/fpu/s_fma.c: New file.
18749 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18750 * sysdeps/powerpc/fpu/s_fma.S: New file.
18751 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18752 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18753 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18755 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18758 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18761 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18762 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18763 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18764 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18765 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18768 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18771 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18772 * posix/bug-regex31.input: Add test case.
18774 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18776 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18777 * posix/bug-regex31.input: New file.
18780 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18781 (parse_sub_exp): Fix last change, use postorder.
18783 * posix/bug-regex31.c: New file.
18784 * posix/Makefile: Add rules to build and run bug-regex31.
18786 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18789 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18792 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18793 to have entries in sys_siglist.
18796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18799 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18802 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18803 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18804 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18805 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18807 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18808 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18809 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18810 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18811 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18812 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18814 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18815 * math/ftestexcept.c (fetestexcept): Likewise.
18816 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18817 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18820 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18821 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18824 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18827 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18830 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18832 * string/bug-strstr1.c: New file.
18833 * string/Makefile: Add rules to build and run bug-strstr1.
18835 2010-10-05 Eric Blake <eblake@redhat.com>
18838 * string/str-two-way.h (two_way_long_needle): Always clear memory
18839 when skipping input due to the shift table.
18841 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18844 * malloc/mcheck.c: Handle large requests.
18847 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18848 for strncmp and strncasecmp.
18849 * string/stratcliff.c: Add tests for strcmp and strncmp.
18850 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18852 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18854 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18857 2010-09-30 Andreas Jaeger <aj@suse.de>
18859 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18860 (CGROUP_SUPER_MAGIC): Define.
18861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18862 Handle btrfs and cgroup file systems.
18863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18866 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18868 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18869 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18871 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18874 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18875 trying to locate the ELF header.
18877 2010-09-27 Andreas Schwab <schwab@redhat.com>
18880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18881 Mask out sign-bit copies when constructing f_fsid.
18883 2010-09-24 Petr Baudis <pasky@suse.cz>
18885 * debug/stack_chk_fail_local.c: Add missing licence exception.
18886 * debug/warning-nop.c: Likewise.
18888 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18891 implementing getdents64 using getdents syscall, set d_type if
18892 __ASSUME_GETDENTS32_D_TYPE.
18894 2010-09-16 Andreas Schwab <schwab@redhat.com>
18896 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18897 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18899 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18902 * posix/unistd.h: Undo change of feature selection for ftruncate from
18905 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18907 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18910 2010-09-20 Andreas Schwab <schwab@redhat.com>
18912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18916 2010-09-14 Andreas Schwab <schwab@redhat.com>
18918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18919 variables after CHECK_SP call.
18920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18922 2010-09-13 Andreas Schwab <schwab@redhat.com>
18923 Ulrich Drepper <drepper@redhat.com>
18925 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18926 re-relocationg ld.so.
18927 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18928 _dl_init_paths call.
18929 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18932 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18934 * resolv/res_init.c (__res_vinit): Count the default server we added.
18936 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18937 Ulrich Drepper <drepper@redhat.com>
18940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18941 (____longjmp_chk): Use %ebx for saving value across system call.
18944 2010-09-06 Andreas Schwab <schwab@redhat.com>
18946 * manual/Makefile: Don't mix pattern rules with normal rules.
18948 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18950 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18952 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18953 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18954 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18959 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18962 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18963 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18965 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18967 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18968 * sysdeps/x86_64/addmul_1.S: Likewise.
18969 * sysdeps/x86_64/lshift.S: Likewise.
18970 * sysdeps/x86_64/mul_1.S: Likewise.
18971 * sysdeps/x86_64/rshift.S: Likewise.
18972 * sysdeps/x86_64/sub_n.S: Likewise.
18973 * sysdeps/x86_64/submul_1.S: Likewise.
18975 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18977 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18978 Define __sched_param instead of SCHED_* and sched_param when
18979 <bits/sched.h> is included with __need_schedparam defined.
18980 * bits/sched.h [__need_schedparam]
18981 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18982 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18983 (__defined_schedparam): Define to 1.
18984 (__sched_param): New structure, identical to sched_param.
18985 (__need_schedparam): Undefine.
18987 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18990 (epoll_create1): Declare.
18992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18994 2010-08-31 Andreas Schwab <schwab@redhat.com>
18997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18998 shifting retval into place.
19000 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19002 * nis/rpcsvc/nis.h: Update copyright notice.
19003 * nis/rpcsvc/nis.x: Likewise.
19004 * nis/rpcsvc/nis_callback.h: Likewise.
19005 * nis/rpcsvc/nis_callback.x: Likewise.
19006 * nis/rpcsvc/nis_object.x: Likewise.
19007 * nis/rpcsvc/nis_tags.h: Likewise.
19008 * nis/rpcsvc/yp.h: Likewise.
19009 * nis/rpcsvc/yp.x: Likewise.
19010 * nis/rpcsvc/ypupd.h: Likewise.
19011 * nis/yp_xdr.c: Likewise.
19012 * nis/ypupdate_xdr.c: Likewise.
19014 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19015 mainly the body of pmap_getport. Add parameters to specify timeouts.
19016 (pmap_getport): Use __libc_rpc_getport.
19017 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19018 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19019 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19021 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19026 2010-08-27 Roland McGrath <roland@redhat.com>
19028 * sysdeps/i386/i686/multiarch/Makefile
19029 (CFLAGS-varshift.c): New variable.
19031 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19033 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19034 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19038 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19040 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19042 * sysdeps/x86_64/strlen.S: Unroll the loop.
19043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19044 strlen-sse2 strlen-sse2-bsf.
19045 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19046 __strlen_no_bsf if bit_Slow_BSF is set.
19047 (__strlen_sse42): Removed.
19048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19049 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19051 2010-08-25 Roland McGrath <roland@redhat.com>
19053 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19054 * sysdeps/x86_64/multiarch/varshift.c: New file.
19055 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19056 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19057 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19060 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19063 strlen-sse2 strlen-sse2-bsf.
19064 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19065 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19066 (__strlen_sse2): Removed.
19067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19070 bit_Slow_BSF for Atom.
19071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19072 (index_Slow_BSF): Define.
19073 (HAS_SLOW_BSF): Define.
19075 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19078 * resolv/res_init.c (__res_vinit): When no server address at all
19079 is given default to loopback.
19081 2010-08-24 Roland McGrath <roland@redhat.com>
19083 * configure.in: Remove config-name.h generation.
19084 * configure: Regenerated.
19085 * config-name.in: File removed.
19086 * scripts/config-uname.sh: New file.
19087 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19088 ($(objdir)config-name.h): New target.
19090 * sunrpc/rpc_parse.h: Avoid nested comment.
19092 2010-08-24 Richard Henderson <rth@redhat.com>
19093 Ulrich Drepper <drepper@redhat.com>
19094 H.J. Lu <hongjiu.lu@intel.com>
19096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19098 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19099 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19100 _mm_alignr_epi8 with _mm_loadu_si128.
19101 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19102 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19103 (__m128i_shift_right): Removed.
19104 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19105 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19106 * sysdeps/x86_64/multiarch/varshift.h: New file.
19107 * sysdeps/x86_64/multiarch/varshift.S: New file.
19109 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19111 * configure.in: Move assembler checks to before sysdep dir checking.
19113 2010-08-20 Petr Baudis <pasky@suse.cz>
19115 * LICENSES: Sync the sunrpc license.
19117 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19119 * sunrpc/auth_des.c: Update copyright notice once again.
19120 * sunrpc/auth_none.c: Likewise.
19121 * sunrpc/auth_unix.c: Likewise.
19122 * sunrpc/authdes_prot.c: Likewise.
19123 * sunrpc/authuxprot.c: Likewise.
19124 * sunrpc/bindrsvprt.c: Likewise.
19125 * sunrpc/clnt_gen.c: Likewise.
19126 * sunrpc/clnt_perr.c: Likewise.
19127 * sunrpc/clnt_raw.c: Likewise.
19128 * sunrpc/clnt_simp.c: Likewise.
19129 * sunrpc/clnt_tcp.c: Likewise.
19130 * sunrpc/clnt_udp.c: Likewise.
19131 * sunrpc/clnt_unix.c: Likewise.
19132 * sunrpc/des_crypt.c: Likewise.
19133 * sunrpc/des_soft.c: Likewise.
19134 * sunrpc/get_myaddr.c: Likewise.
19135 * sunrpc/getrpcport.c: Likewise.
19136 * sunrpc/key_call.c: Likewise.
19137 * sunrpc/key_prot.c: Likewise.
19138 * sunrpc/openchild.c: Likewise.
19139 * sunrpc/pm_getmaps.c: Likewise.
19140 * sunrpc/pm_getport.c: Likewise.
19141 * sunrpc/pmap_clnt.c: Likewise.
19142 * sunrpc/pmap_prot.c: Likewise.
19143 * sunrpc/pmap_prot2.c: Likewise.
19144 * sunrpc/pmap_rmt.c: Likewise.
19145 * sunrpc/rpc/auth.h: Likewise.
19146 * sunrpc/rpc/auth_unix.h: Likewise.
19147 * sunrpc/rpc/clnt.h: Likewise.
19148 * sunrpc/rpc/des_crypt.h: Likewise.
19149 * sunrpc/rpc/key_prot.h: Likewise.
19150 * sunrpc/rpc/netdb.h: Likewise.
19151 * sunrpc/rpc/pmap_clnt.h: Likewise.
19152 * sunrpc/rpc/pmap_prot.h: Likewise.
19153 * sunrpc/rpc/pmap_rmt.h: Likewise.
19154 * sunrpc/rpc/rpc.h: Likewise.
19155 * sunrpc/rpc/rpc_des.h: Likewise.
19156 * sunrpc/rpc/rpc_msg.h: Likewise.
19157 * sunrpc/rpc/svc.h: Likewise.
19158 * sunrpc/rpc/svc_auth.h: Likewise.
19159 * sunrpc/rpc/types.h: Likewise.
19160 * sunrpc/rpc/xdr.h: Likewise.
19161 * sunrpc/rpc_clntout.c: Likewise.
19162 * sunrpc/rpc_cmsg.c: Likewise.
19163 * sunrpc/rpc_common.c: Likewise.
19164 * sunrpc/rpc_cout.c: Likewise.
19165 * sunrpc/rpc_dtable.c: Likewise.
19166 * sunrpc/rpc_hout.c: Likewise.
19167 * sunrpc/rpc_main.c: Likewise.
19168 * sunrpc/rpc_parse.c: Likewise.
19169 * sunrpc/rpc_parse.h: Likewise.
19170 * sunrpc/rpc_prot.c: Likewise.
19171 * sunrpc/rpc_sample.c: Likewise.
19172 * sunrpc/rpc_scan.c: Likewise.
19173 * sunrpc/rpc_scan.h: Likewise.
19174 * sunrpc/rpc_svcout.c: Likewise.
19175 * sunrpc/rpc_tblout.c: Likewise.
19176 * sunrpc/rpc_util.c: Likewise.
19177 * sunrpc/rpc_util.h: Likewise.
19178 * sunrpc/rpcinfo.c: Likewise.
19179 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19180 * sunrpc/rpcsvc/key_prot.x: Likewise.
19181 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19182 * sunrpc/rpcsvc/mount.x: Likewise.
19183 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19184 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19185 * sunrpc/rpcsvc/rex.x: Likewise.
19186 * sunrpc/rpcsvc/rstat.x: Likewise.
19187 * sunrpc/rpcsvc/rusers.x: Likewise.
19188 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19189 * sunrpc/rpcsvc/spray.x: Likewise.
19190 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19191 * sunrpc/rtime.c: Likewise.
19192 * sunrpc/svc.c: Likewise.
19193 * sunrpc/svc_auth.c: Likewise.
19194 * sunrpc/svc_authux.c: Likewise.
19195 * sunrpc/svc_raw.c: Likewise.
19196 * sunrpc/svc_run.c: Likewise.
19197 * sunrpc/svc_simple.c: Likewise.
19198 * sunrpc/svc_tcp.c: Likewise.
19199 * sunrpc/svc_udp.c: Likewise.
19200 * sunrpc/svc_unix.c: Likewise.
19201 * sunrpc/svcauth_des.c: Likewise.
19202 * sunrpc/xcrypt.c: Likewise.
19203 * sunrpc/xdr.c: Likewise.
19204 * sunrpc/xdr_array.c: Likewise.
19205 * sunrpc/xdr_float.c: Likewise.
19206 * sunrpc/xdr_mem.c: Likewise.
19207 * sunrpc/xdr_rec.c: Likewise.
19208 * sunrpc/xdr_ref.c: Likewise.
19209 * sunrpc/xdr_sizeof.c: Likewise.
19210 * sunrpc/xdr_stdio.c: Likewise.
19212 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19215 2010-08-19 Andreas Schwab <schwab@redhat.com>
19217 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19219 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19221 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19224 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19226 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19228 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19231 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19233 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19234 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19236 2010-07-26 Anton Blanchard <anton@samba.org>
19238 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19239 * malloc/arena.c (heap_trim): Likewise.
19241 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19243 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19246 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19248 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19250 * sysdeps/i386/elf/Makefile: New file.
19252 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19254 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19255 from fanotify_init.
19256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19259 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19261 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19263 * sysdeps/multiarch/strcmp.S: Likewise.
19265 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19268 strncase_l-nonascii.
19269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19270 Add strncase_l-ssse3.
19271 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19272 * sysdeps/x86_64/strcmp.S: Likewise.
19273 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19274 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19275 * sysdeps/x86_64/strncase.S: New file.
19276 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19277 * sysdeps/x86_64/strncase_l.S: New file.
19278 * string/Makefile (strop-tests): Add strncasecmp.
19279 * string/test-strncasecmp.c: New file.
19281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19284 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19285 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19287 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19289 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19291 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19293 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19297 2010-05-01 Alan Modra <amodra@gmail.com>
19299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19300 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19301 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19302 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19303 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19304 tidying. Don't tail-call __sigjmp_save for static lib.
19305 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19307 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19308 (CALL_MCOUNT): Add eh info, and nop after bl.
19309 (TAIL_CALL_SYSCALL_ERROR): New macro.
19310 (PSEUDO_RET): Use it.
19311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19312 Correct save location of integer regs and cr.
19313 (_dl_profile_resolve): Correct cr save location. Delete nops
19314 after bl when SHARED. Reduce cfi size a little by better
19315 placement of cfi directives.
19316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19317 make a stack frame. Instead use parm save area as a temp.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19319 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19321 Don't make a stack frame for parent, use parm save area.
19322 Increase child stack frame to 112 bytes. Don't save unused reg,
19323 and adjust reg usage. Set up cfi on error recovery and
19324 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19326 (__makecontext): Add dummy nop after jump to exit.
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19328 Use correct parm save area and cr save, reduce stack frame.
19329 Correct cfi for possible PSEUDO_RET frame setup.
19330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19331 Branch to local label emitted by PSEUDO_RET rather than
19334 2010-08-12 Andreas Schwab <schwab@redhat.com>
19337 * locale/programs/locale.c (print_assignment): New function.
19338 (show_locale_vars): Use it.
19340 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19342 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19344 (struct statfs64): Likewise.
19345 (_STATFS_F_FLAGS): Define.
19346 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19348 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19349 (ST_VALID): Define locally.
19350 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19351 __statvfs_getflags, use the provided value.
19352 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19353 __ASSUME_STATFS_F_FLAGS.
19355 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19358 Add sys/fanotify.h.
19359 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19360 fanotify_mask for GLIBC_2.13.
19361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19362 fanotify_init and fanotify_mark.
19363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19364 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19368 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19369 prlimit64 for GLIBC_2.13.
19370 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19380 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19383 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19384 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19386 * nss/Makefile: Add rules to build and run tst-nss-test1.
19387 * shlib-versions: Add entry for libnss_test1.
19388 * nss/nss_test1.c: New file.
19389 * nss/tst-nss-test1.c: New file.
19391 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19392 (__nss_configure_lookup): Set appropriate entry in
19393 __nss_configure_lookup to true.
19394 * nss/nsswitch.h: Define enum with indeces of databases in
19395 databases and __nss_database_custom arrays. Declare
19396 __nss_database_custom.
19397 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19398 to avoid using nscd when custom rules are installed.
19399 * nss/getXXbyYY_r.c: Likewise.
19400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19402 * nss/nss_files/files-parse.c: Whitespace fixes.
19404 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19407 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19408 * posix/fnmatch_loop.c: Likewise.
19410 2010-07-17 Andi Kleen <ak@linux.intel.com>
19412 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19413 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19414 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19415 * Versions.def [GLIBC_2.13]: Add.
19417 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19420 Also fail if tpwd after pwuid call is NULL.
19422 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19424 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19425 when converting to ms.
19427 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19429 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19430 EOPNOTSUPP errors with ENOTTY.
19431 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19432 EOPNOTSUPP errors with ENOTTY.
19434 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19437 Add strcasecmp_l-ssse3.
19438 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19440 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19442 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19444 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19446 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19448 * string/Makefile (strop-tests): Add strcasecmp.
19449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19450 strcasecmp_l-nonascii.
19451 (gen-as-const-headers): Add locale-defines.sym.
19452 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19453 * sysdeps/x86_64/strcasecmp.S: New file.
19454 * sysdeps/x86_64/strcasecmp_l.S: New file.
19455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19456 * sysdeps/x86_64/locale-defines.sym: New file.
19457 * string/test-strcasecmp.c: New file.
19459 * string/test-strcasestr.c: Test both ends of the range of characters.
19460 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19462 2010-07-29 Roland McGrath <roland@redhat.com>
19465 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19467 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19469 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19472 2010-07-27 Andreas Schwab <schwab@redhat.com>
19474 * manual/memory.texi (Malloc Tunable Parameters): Document
19477 2010-07-26 Roland McGrath <roland@redhat.com>
19480 * configure.in (-fgnu89-inline check): Set and substitute
19481 gnu89_inline, not libc_cv_gnu89_inline.
19482 * configure: Regenerated.
19483 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19485 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19487 * string/test-strnlen.c: New file.
19488 * string/Makefile (strop-tests): Add strnlen.
19489 * string/tester.c (test_strnlen): Add a few more test cases.
19490 * string/tst-strlen.c: Better error reporting.
19492 * sysdeps/x86_64/strnlen.S: New file.
19494 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19497 lower-latency instructions.
19499 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19501 * string/test-strcasestr.c: New file.
19502 * string/test-strstr.c: New file.
19503 * string/Makefile (strop-tests): Add strstr and strcasestr.
19504 * string/str-two-way.h: Don't undefine MAX.
19505 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19507 2010-07-21 Andreas Schwab <schwab@redhat.com>
19509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19510 strcasestr-nonascii.
19511 (CFLAGS-strcasestr-nonascii.c): Define.
19512 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19514 Remove unused attribute.
19516 2010-07-20 Roland McGrath <roland@redhat.com>
19518 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19519 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19520 ld.so.cache was broken. With it, there is no way to disable dsocaps
19521 like LD_HWCAP_MASK can disable hwcaps.
19523 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19525 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19527 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19529 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19530 call in strcasestr.
19531 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19532 __strcasestr_sse42_nonascii.
19533 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19534 strcasestr-nonascii.c.
19535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19537 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19544 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19549 2010-07-06 Andreas Schwab <schwab@redhat.com>
19552 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19555 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19558 _PC_PIPE_BUF using F_GETPIPE_SZ.
19560 2010-07-05 Roland McGrath <roland@redhat.com>
19562 * manual/arith.texi (Rounding Functions): Fix rint description
19563 implicit in round description.
19565 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19567 * elf/Makefile: Fix linking for a few tests to make recent linker
19570 2010-06-30 Andreas Schwab <schwab@redhat.com>
19572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19573 $(common-objpfx)libc_nonshared.a.
19575 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19577 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19578 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19579 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19580 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19581 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19582 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19583 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19584 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19599 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19600 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19601 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19602 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19603 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19604 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19605 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19606 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19607 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19608 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19609 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19610 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19626 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19628 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19629 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19630 * string/memmove.c (memmove): Renamed to ...
19631 (MEMMOVE): ...this. Default to memmove.
19632 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19633 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19636 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19637 mempcpy-ssse3-back memmove-ssse3-back.
19638 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19641 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19642 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19643 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19644 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19645 * sysdeps/x86_64/multiarch/memmove.c: New file.
19646 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19647 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19648 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19649 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19653 (index_Fast_Copy_Backward): Define.
19654 (HAS_ARCH_FEATURE): Define.
19655 (HAS_FAST_REP_STRING): Define.
19656 (HAS_FAST_COPY_BACKWARD): Define.
19658 2010-06-21 Andreas Schwab <schwab@redhat.com>
19660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19661 Restore proper fallback handling.
19663 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19666 * posix/group_member.c (__group_member): Correct checking loop.
19668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19669 OOM in getpwuid_r correctly. Return error number when the caller
19670 should return, otherwise -1.
19671 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19672 call returning > 0 value.
19673 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19675 2010-06-07 Andreas Schwab <schwab@redhat.com>
19677 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19678 libc_nonshared.a from targets in modules-names.
19680 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19682 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19685 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19692 2010-06-02 Andreas Schwab <schwab@redhat.com>
19694 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19696 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19707 2010-06-14 Roland McGrath <roland@redhat.com>
19709 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19711 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19713 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19714 __REDIRECT followed by __THROW.
19715 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19716 * posix/getopt.h (getopt): Likewise.
19718 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19720 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19721 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19722 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19724 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19725 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19727 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19731 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19735 Properly check family and model.
19737 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19741 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19743 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19745 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19747 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19750 2010-05-19 Andreas Schwab <schwab@redhat.com>
19752 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19755 2010-05-21 Andreas Schwab <schwab@redhat.com>
19757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19758 and internal_recvmmsg.
19759 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19762 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19764 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19768 2010-05-20 Andreas Schwab <schwab@redhat.com>
19770 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19772 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19774 POWER7 optimizations.
19775 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19776 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19778 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19780 * version.h: Update for 2.13 development version.
19782 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19785 exceptions. Return 0.
19787 2010-05-07 Roland McGrath <roland@redhat.com>
19789 * elf/ldconfig.c (main): Add a const.
19791 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19793 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19794 (args_options): Add no-idn option.
19795 (ahosts_keys_int): Add idn_flags to ai_flags.
19796 (parse_option): Handle 'i' option to clear idn_flags.
19798 * malloc/malloc.c (_int_free): Possible race in the most recently
19799 added check. Only act on the data if no current modification
19802 See ChangeLog.17 for earlier changes.