1 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5 if x * y might underflow to zero and z is zero.
6 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8 * math/libm-test.inc (min_subnorm_value): New variable.
9 (fma_test): Add more tests.
10 (fma_test_towardzero): Likewise.
11 (fma_test_downward): Likewise
12 (fma_test_upward): Likewise.
13 (initialize): Set min_subnorm_value.
15 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21 mode for addition resulting in exact zero.
22 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27 * math/libm-test.inc (fma_test): Add more tests.
28 (fma_test_towardzero): New function.
29 (fma_test_downward): Likewise.
30 (fma_test_upward): Likewise.
31 (main): Call the new functions.
33 2012-09-28 David S. Miller <davem@davemloft.net>
35 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37 2012-09-28 Roland McGrath <roland@hack.frob.com>
39 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42 * sysdeps/gnu/_G_config.h: Moved to ...
43 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45 * sysdeps/generic/_G_config.h: ... here.
47 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
49 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52 Conditionalize target on [libnss_test1.so-version].
54 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57 (elfobjdir): Move out of conditionals.
59 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61 (__nss_lookup_function): Conditionalize label remove_from_tree on
62 [!DO_STATIC_NSS || SHARED], matching its only use.
64 2012-09-28 David S. Miller <davem@davemloft.net>
66 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73 when HWCAP_SPARC_CRYPTO is present.
75 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
77 * io/tst-mknodat.c: Create a FIFO instead of a socket.
79 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
82 * stdio-common/vfprintf.c (process_string_arg): Revert
85 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
87 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
89 * stdio-common/tst-sprintf.c: Include <locale.h>
90 (main): Test sprintf's handling of incomplete multibyte
93 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
95 * elf/dl-runtime.c (VERSYMIDX): Removed.
96 * elf/dl-version.c (VERSYMIDX): Likewise.
97 * elf/do-rel.h (VERSYMIDX): Likewise.
99 * elf/dynamic-link.h (VERSYMIDX): Likewise.
100 * elf/rtld.c (VALIDX): Likewise.
102 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
103 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
104 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
105 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
109 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
111 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
113 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
116 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
118 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
119 addresses are in the same scope as 192.0.2/24.
120 * posix/gai.conf: Document new scope table defaults.
122 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
125 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
126 for ftell. Compute offsets from write pointers instead.
127 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
129 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
132 * libio/Makefile (tests): New test case tst-fseek.
133 * libio/tst-fseek.c: New test case to verify that fseek/ftell
134 combination works in wide mode.
135 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
136 state when the external buffer state changes.
138 2012-09-27 David S. Miller <davem@davemloft.net>
141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
142 pass reloc->r_addend in as the 'high' argument to
143 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
147 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
149 * rt/tst-aio2.c: Include <pthread.h>.
150 * rt/tst-aio3.c: Likewise.
152 2012-09-27 Steve Ellcey <sellcey@mips.com>
154 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
156 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
158 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
159 contents on [SHARED].
161 2012-09-26 Marek Polacek <polacek@redhat.com>
165 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
166 for C++ and GCC <4.3 as well as for non GCC compilers.
168 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
172 2012-09-25 Roland McGrath <roland@hack.frob.com>
174 * Makefile.in (all, install): Declare with .PHONY.
175 Reported by Michael Hope <michael.hope@linaro.org>.
177 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
179 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
180 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
182 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
184 (sydep_routines): Add the new and the internal functions.
185 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
186 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
188 (GLIBC_2.17): Add the new function.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
190 (GLIBC_2.17): Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
192 (GLIBC_2.17): Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
194 (GLIBC_2.17): Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
197 2012-09-25 Alan Modra <amodra@gmail.com>
199 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
200 Add release barrier before setting once_control to say
201 initialisation is done. Add hints on lwarx. Use macro in
203 (clear_once_control): Add release barrier.
205 2012-09-25 Joseph Myers <joseph@codesourcery.com>
208 * math/s_clog.c (__clog): Handle more values close to |z| = 1
210 * math/s_clog10.c (__clog10): Likewise.
211 * math/s_clog10f.c (__clog10f): Likewise.
212 * math/s_clog10l.c (__clog10l): Likewise.
213 * math/s_clogf.c (__clogf): Likewise.
214 * math/s_clogl.c (__clogl): Likewise.
215 * math/Makefile (libm-calls): Add x2y2m1.
216 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
217 (__x2y2m1): Likewise.
218 (__x2y2m1l): Likewise.
219 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
220 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
222 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
223 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
224 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
225 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
226 * sysdeps/i386/fpu/libm-test-ulps: Update.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
230 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
231 int as type of variable DEPTH.
232 (glob): Use size_t instead of int as type of variables NEWCOUNT
235 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
237 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
239 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
240 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
241 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
242 macros for using routine as __sincosf_ia32.
243 Use macro for function declaration and weak_alias.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
246 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
249 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
251 * math/s_cexpf.c (__cexpf): Likewise.
252 * math/s_csinf.c (__csinf): Likewise.
253 * math/s_csinhf.c (__csinhf): Likewise.
254 * math/s_ctanf.c (__ctanf): Likewise.
255 * math/s_ctanhf.c (__ctanhf): Likewise.
256 * math/s_ccosh.c (__ccoshf): Likewise.
257 * math/s_cexp.c (__cexpl): Likewise.
258 * math/s_csin.c (__csin): Likewise.
259 * math/s_csinh.c (__csinh): Likewise.
260 * math/s_ctan.c (__ctan): Likewise.
261 * math/s_ctanh.c (ctanh): Likewise.
262 * math/s_ccoshl.c (__ccoshl): Likewise.
263 * math/s_cexpl.c (__cexpl): Likewise.
264 * math/s_csinl.c (__csinl): Likewise.
265 * math/s_csinhl.c (__csinhl): Likewise.
266 * math/s_ctanl.c (__ctanl): Likewise.
267 * math/s_ctanhl.c (__ctanhl): Likewise.
269 2012-09-25 Joseph Myers <joseph@codesourcery.com>
271 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
272 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
273 (_IO_off_t): Define to __off_t, not _G_off_t.
274 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
275 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
276 (_IO_wint_t): Define to wint_t, not _G_wint_t.
277 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
278 type of __dummy and __dummy2 fields.
279 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
280 (_G_ssize_t): Likewise.
281 (_G_off_t): Likewise.
282 (_G_pid_t): Likewise.
283 (_G_uid_t): Likewise.
284 (_G_wchar_t): Likewise.
285 (_G_wint_t): Likewise.
286 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
287 (_G_ssize_t): Likewise.
288 (_G_off_t): Likewise.
289 (_G_pid_t): Likewise.
290 (_G_uid_t): Likewise.
291 (_G_wchar_t): Likewise.
292 (_G_wint_t): Likewise.
293 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
294 (_G_ssize_t): Likewise.
295 (_G_off_t): Likewise.
296 (_G_pid_t): Likewise.
297 (_G_uid_t): Likewise.
298 (_G_wchar_t): Likewise.
299 (_G_wint_t): Likewise.
301 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
303 * malloc/arena.c: Include malloc-sysdep.h.
304 (shrink_heap): Use check_may_shrink_heap to decide if madvise
305 is sufficient to shrink the heap or an unmap is needed.
306 * sysdeps/generic/malloc-sysdep.h: New file. Define
307 new function check_may_shrink_heap.
308 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
309 new function check_may_shrink_heap.
311 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
313 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
316 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
318 * catgets/test-gencat.sh: Add "set -e".
319 * elf/tst-pathopt.sh: Likewise.
320 * grp/tst_fgetgrent.sh: Likewise.
321 * iconvdata/run-iconv-test.sh: Likewise.
322 * intl/tst-gettext.sh: Likewise.
323 * intl/tst-gettext2.sh: Likewise.
324 * intl/tst-gettext4.sh: Likewise.
325 * intl/tst-gettext6.sh: Likewise.
326 * intl/tst-translit.sh: Likewise.
327 * io/ftwtest-sh: Likewise.
328 * libio/test-freopen.sh: Likewise.
329 * malloc/tst-mtrace.sh: Likewise.
330 * posix/globtest.sh: Likewise.
331 * posix/tst-getconf.sh: Likewise.
332 * posix/wordexp-tst.sh: Likewise.
333 * stdio-common/tst-printf.sh: Likewise.
334 * stdio-common/tst-unbputc.sh: Likewise.
335 * stdlib/tst-fmtmsg.sh: Likewise.
336 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
337 * catgets/Makefile: Do not specify -e option when running
338 testsuite shell scripts.
339 * elf/Makefile: Likewise.
340 * grp/Makefile: Likewise.
341 * iconvdata/Makefile: Likewise.
342 * intl/Makefile: Likewise.
343 * io/Makefile: Likewise.
344 * libio/Makefile: Likewise.
345 * malloc/Makefile: Likewise.
346 * posix/Makefile: Likewise.
347 * stdio-common/Makefile: Likewise.
348 * stdlib/Makefile: Likewise.
349 * sysdeps/x86_64/Makefile: Likewise.
351 * io/ftwtest-sh: Add copyright header.
352 * posix/globtest.sh: Likewise.
353 * posix/tst-getconf.sh: Likewise.
354 * posix/wordexp-tst.sh: Likewise.
355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
357 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
360 * Makeconfig (+link): Defined as $(+link-static) if
361 $(build-shared) isn't yes.
362 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
364 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
366 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
369 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
370 new chunk size with MALLOC_ALIGN_MASK.
372 2012-09-24 Joseph Myers <joseph@codesourcery.com>
375 * stdio-common/printf_fphex.c: Include <stdbool.h> and
377 (__printf_fphex): Determine rounding using get_rounding_mode and
379 * stdio-common/tst-printf-round.c (struct hex_test): New
381 (hex_tests): New variable.
382 (test_hex_in_one_mode): New function.
383 (do_test): Also run tests for hex float output.
385 2012-09-21 Joseph Myers <joseph@codesourcery.com>
387 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
388 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
389 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
390 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
391 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
392 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
393 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
394 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
396 2012-09-20 Joseph Myers <joseph@codesourcery.com>
398 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
399 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
400 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
401 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
403 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
406 * elf/rtld.c (dl_main): Limit the check for self loading to normal
408 * elf/tst-rtld-load-self.sh: New test.
409 * elf/Makefile: Run it.
411 2012-09-18 Joseph Myers <joseph@codesourcery.com>
413 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
414 (tst-writev-ENV): Remove.
415 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
417 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
419 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
421 2012-09-17 Joseph Myers <joseph@codesourcery.com>
423 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
425 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
427 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
428 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
429 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
432 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
435 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
436 * config.make.in (have-cpp-asm-debuginfo): Removed.
437 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
438 * configure: Regenerated.
440 2012-09-14 Joseph Myers <joseph@codesourcery.com>
443 * stdio-common/printf_fp.c: Include <stdbool.h> and
445 (___printf_fp): Determine rounding using get_rounding_mode and
447 * stdio-common/tst-printf-round.c: New file.
448 * stdio-common/Makefile (tests): Add tst-printf-round.
449 (link-libm): New variable.
450 ($(objpfx)tst-printf-round): Depend in $(link-libm).
452 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
455 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
456 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
458 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
461 2012-09-13 Joseph Myers <joseph@codesourcery.com>
463 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
464 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
465 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
468 2012-09-12 Joseph Myers <joseph@codesourcery.com>
471 * include/rounding-mode.h: New file.
472 * sysdeps/generic/get-rounding-mode.h: Likewise.
473 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
474 * stdlib/strtod_l.c: Include <rounding-mode.h>.
475 (MAX_VALUE): New macro.
476 (MIN_VALUE): Likewise.
477 (overflow_value): New function.
478 (underflow_value): Likewise.
479 (round_and_return): Use overflow_value and underflow_value to
480 determine return values in overflow and underflow cases. Use
481 round_away to determine rounding depending on rounding mode.
482 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
483 determine return values in overflow and underflow cases.
484 * stdlib/tst-strtod-round.c: Include <fenv.h>.
485 (struct test_results): New structure.
486 (struct test): Use struct test_results to store expected results
487 for all rounding modes.
488 (TEST): Include expected results for all rounding modes.
489 (test_in_one_mode): New function.
490 (do_test): Use test_in_one_mode to compute and check results.
491 Check results for all rounding modes.
492 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
495 2012-12-09 Allan McRae <allan@archlinux.org>
497 * sysdeps/i386/fpu/libm-test-ulps: Update
499 2012-09-11 Joseph Myers <joseph@codesourcery.com>
501 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
502 (_G_int32_t): Likewise.
503 (_G_uint16_t): Likewise.
504 (_G_uint32_t): Likewise.
505 (_G_HAVE_BOOL): Likewise.
506 (_G_HAVE_ATEXIT): Likewise.
507 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
508 (_G_HAVE_IO_FILE_OPEN): Likewise.
509 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
510 (_G_int32_t): Likewise.
511 (_G_uint16_t): Likewise.
512 (_G_uint32_t): Likewise.
513 (_G_HAVE_BOOL): Likewise.
514 (_G_HAVE_ATEXIT): Likewise.
515 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
516 (_G_HAVE_IO_FILE_OPEN): Likewise.
517 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
518 (_G_int32_t): Likewise.
519 (_G_uint16_t): Likewise.
520 (_G_uint32_t): Likewise.
521 (_G_HAVE_BOOL): Likewise.
522 (_G_HAVE_ATEXIT): Likewise.
523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
524 (_G_HAVE_IO_FILE_OPEN): Likewise.
526 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
528 * csu/libc-tls.c: Update copyright years.
530 2012-09-10 Joseph Myers <joseph@codesourcery.com>
532 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
533 [!_G_USING_THUNKS]: Remove conditional code.
534 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
535 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
537 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
538 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
539 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
540 (_G_VTABLE_LABEL_PREFIX): Likewise.
541 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
542 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
543 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
544 (_G_VTABLE_LABEL_PREFIX): Likewise.
545 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
546 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
547 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
548 (_G_VTABLE_LABEL_PREFIX): Likewise.
549 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
551 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
553 * libio/Makefile: Include ../Makeconfig before tests.
554 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
555 only if $(build-shared) is yes.
557 * iconv/gconv_db.c: Update copyright years.
559 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
561 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
562 unwind info if defined PIC. Fix special cases description.
563 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
565 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
567 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
569 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
571 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
573 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
576 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
577 (LDLIBS-tst-chk4): This.
578 (LDFLAGS-tst-chk5): Renamed to ...
579 (LDLIBS-tst-chk5): This.
580 (LDFLAGS-tst-chk6): Renamed to ...
581 (LDLIBS-tst-chk6): This.
582 (LDFLAGS-tst-lfschk4): Renamed to ...
583 (LDLIBS-tst-lfschk4): This.
584 (LDFLAGS-tst-lfschk5): Renamed to ...
585 (LDLIBS-tst-lfschk5): This.
586 (LDFLAGS-tst-lfschk6): Renamed to ...
587 (LDLIBS-tst-lfschk6): This.
589 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
590 on $(common-objpfx)soversions.mk.
592 2012-09-07 Joseph Myers <joseph@codesourcery.com>
595 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
598 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
600 * malloc/arena.c (arena_get_retry): New function that gets
601 another arena for the caller to try its request on.
602 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
603 current arena cannot fulfill the request.
604 (__libc_memalign): Likewise.
605 (__libc_memalign): Likewise.
606 (__libc_pvalloc): Likewise.
607 (__libc_calloc): Likewise.
609 2012-09-05 John Tobey <john.tobey@gmail.com>
612 * manual/arith.texi (Operations on Complex): Fix description
615 2012-09-06 Joseph Myers <joseph@codesourcery.com>
618 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
622 * manual/memory.texi (Memory): Make order of menu items match
625 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
627 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
628 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
629 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
631 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
633 * csu/libc-tls.c (static_dtv): Renamed to ...
634 (_dl_static_dtv): This. Make it global.
635 (_dl_initial_dtv): Removed.
636 (__libc_setup_tls): Updated.
637 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
638 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
641 2012-09-06 Petr Machata <pmachata@redhat.com>
643 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
644 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
645 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
646 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
648 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
651 * csu/libc-tls.c (_dl_initial_dtv): New variable.
652 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
655 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
658 * Makeconfig (link-static-before-libc): Replace $(+prector)
660 (link-static-after-libc): Replace $(+postctor) with
662 (link-bounded): Replace $(+prector)/$(+postctor) with
663 $(+prectorT)/$(+postctorT).
664 (+prectorT): New macro.
665 (+postctorT): Likewise.
667 2012-09-06 Joseph Myers <joseph@codesourcery.com>
669 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
670 (round_str): Handle values above the maximum for IBM long double
672 * stdlib/tst-strtod-round.c (tests): Regenerated.
674 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
676 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
678 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
679 zarch_nohighgprs around the zarch optimized routines.
680 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
681 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
685 2012-09-05 David S. Miller <davem@davemloft.net>
687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
689 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
690 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
691 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
692 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
695 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
697 * malloc/arena.c: Fold copyright years.
698 * malloc/mcheck.c, malloc/memusage.c: Likewise.
700 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
702 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
704 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
706 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
708 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
710 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
711 change internal state upon failure.
713 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
715 * malloc/mcheck.c (mcheck_check_all): Fix typo.
716 * malloc/memusage.c (mmap): Likewise.
717 (mmap64, mremap): Likewise. Adjust name in comment.
719 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
721 * libio/fileops.c: Fix typos in comments.
722 * libio/oldfileops.c: Likewise.
723 * libio/wfileops.c: Likewise.
725 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
728 * malloc/Makefile (tests): Add tst-malloc-usable test case.
729 (tst-malloc-usable-ENV): Set environment for test case.
730 * malloc/hooks.c (malloc_check_get_size): New function to get
732 * malloc/malloc.c (musable): Use malloc_check_get_size.
733 * malloc/tst-malloc-usable.c: New test case.
735 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
737 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
739 2012-09-05 Allan McRae <allan@archlinux.org>
742 * configure.in (CXX_SYSINCLUDES): Use compiler output to
743 determine header location.
744 * configure: Regenerated.
746 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
748 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
750 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
751 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
755 2012-09-04 David S. Miller <davem@davemloft.net>
757 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
758 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
761 2012-09-04 Florian Weimer <fweimer@redhat.com>
763 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
766 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
768 2012-09-04 Joseph Myers <joseph@codesourcery.com>
771 * libio/iogetdelim.c: Include <limits.h>.
772 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
773 + len + 1 would overflow.
775 2012-09-03 Andreas Jaeger <aj@suse.de>
777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
778 * sysdeps/i386/fpu/libm-test-ulps: Update.
780 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
782 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
783 Add s_sinf-sse2, s_conf-sse2.
785 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
786 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
787 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
788 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
790 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
791 for using routine as __sinf_ia32.
792 Use macro for function declaration and weak_alias.
793 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
794 for using routine as __cosf_ia32.
795 Use macro for function declaration and weak_alias.
797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
798 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
800 * sysdeps/x86_64/fpu/s_sinf.S: New file.
801 * sysdeps/x86_64/fpu/s_cosf.S: New file.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
804 * math/libm-test.inc (cos_test): Add more test cases.
805 (sin_test): Likewise.
806 (sincos_test): Likewise.
808 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
810 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
811 (IFUNC_RESOLVE): Make pointers to the specialized implementations
813 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
815 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
818 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
819 first element of the GOT.
820 (elf_machine_load_address): Return the difference between
821 the runtime address of _DYNAMIC and elf_machine_dynamic ().
823 2012-09-01 Allan McRae <allan@archlinux.org>
826 * configure.in (AWK): Require gawk version 3.0 or later.
827 * configure: Regenerated.
829 2012-09-01 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/unix/sysv/linux/kernel-features.h
832 (__ASSUME_POSIX_CPU_TIMERS): Remove.
833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
834 [__NR_clock_getres]: Make code unconditional.
835 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
836 (clock_getcpuclockid): Remove code left unreachable by removal of
838 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
840 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
841 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
843 Make code unconditional.
844 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
845 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
846 * sysdeps/unix/sysv/linux/clock_settime.c
847 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
849 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
850 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
852 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
855 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
856 scripts/test-installation.pl.
858 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
859 and $ld_so_version if it is set.
861 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
865 failure if reading from procfs failed.
866 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
868 2012-08-27 Joseph Myers <joseph@codesourcery.com>
870 * sysdeps/unix/sysv/linux/kernel-features.h
871 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
872 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
873 Remove conditional code.
874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
875 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
876 Remove conditional code.
877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
878 * sysdeps/unix/sysv/linux/i386/fxstat.c
879 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
881 * sysdeps/unix/sysv/linux/i386/fxstatat.c
882 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
884 * sysdeps/unix/sysv/linux/i386/lxstat.c
885 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
887 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
888 Remove conditional code.
889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
890 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
891 Remove conditional code.
892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
895 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
897 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
898 Remove conditional code.
899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
903 2012-08-27 Mike Frysinger <vapier@gentoo.org>
906 * NEWS: Add fixed bug number.
908 2012-08-27 Joseph Myers <joseph@codesourcery.com>
911 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
912 underflowing exponent in case of negative sign.
913 * stdlib/tst-strtod-round-data: Add more tests.
914 * stdlib/tst-strtod-round.c (tests): Regenerated.
917 * stdlib/strtod_l.c (NDIG): Remove.
919 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
920 smallest representable value.
921 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
922 lie within an exact representation of 1/2 ulp of the result.
923 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
925 (TENS_P9_IDX): Define unconditionally.
926 (TENS_P9_SIZE): Likewise.
927 (TENS_P10_IDX): Likewise.
928 (TENS_P10_SIZE): Likewise.
929 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
930 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
931 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
932 entries for 10^2^13 and 10^2^14.
933 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
934 (TENS_P13_IDX): Define.
935 (TENS_P13_SIZE): Likewise.
936 (TENS_P14_IDX): Likewise.
937 (TENS_P14_SIZE): Likewise.
938 (_fpioconst_pow10): Change array size to
939 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
941 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
942 1024]: Add entries for 10^2^13 and 10^2^14.
943 [LAST_POW10 > _LAST_POW10]: Remove #error.
944 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
945 (_fpioconst_pow10): Change array size to
946 FPIOCONST_POW10_ARRAY_SIZE.
947 * stdlib/gen-fpioconst.c: New file.
948 * stdlib/gen-tst-strtod-round.c: Likewise.
949 * stdlib/tst-strtod-round-data: Likewise.
950 * stdlib/tst-strtod-round.c: Likewise.
951 * stdlib/Makefile (tests): Add tst-strtod-round.
954 * stdlib/strtod_l.c: Include <stdint.h>.
955 (NDEBUG): Do not define.
956 (round_and_return): Change EXPONENT parameter to type intmax_t.
957 Rearrange calculations to avoid internal overflow possibilities.
958 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
959 Rearrange calculations to avoid internal overflow possibilities.
960 Assert that number fits inside MPNSIZE limbs.
961 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
962 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
963 calculations and add assertions to avoid internal overflow
964 possibilities. Add casts to avoid signed/unsigned operations.
965 * stdlib/tst-strtod-overflow.c: New file.
966 * stdlib/Makefile (tests): Add tst-strtod-overflow.
968 2012-08-25 Marek Polacek <polacek@redhat.com>
970 * time/time.h: Fix some typos in comments.
972 2012-08-23 Roland McGrath <roland@hack.frob.com>
974 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
975 * posix/tst-rfc3484-2.c: Likewise.
976 * posix/tst-rfc3484-3.c: Likewise.
978 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
980 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
981 (EF_ARM_ABI_FLOAT_HARD): Likewise.
983 2012-08-23 Joseph Myers <joseph@codesourcery.com>
985 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
986 #include of fxstatat64.c.
988 2012-08-22 Roland McGrath <roland@hack.frob.com>
990 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
991 * shadow/getspent_r.c: Likewise.
992 * shadow/getspnam.c: Likewise.
993 * shadow/getspnam_r.c: Likewise.
994 * gshadow/getsgent.c: Likewise.
995 * gshadow/getsgent_r.c: Likewise.
996 * gshadow/getsgnam.c: Likewise.
997 * gshadow/getsgnam_r.c: Likewise.
998 * inet/getnetbyad.c: Likewise.
999 * inet/getnetbyad_r.c: Likewise.
1000 * inet/getnetbynm.c: Likewise.
1001 * inet/getnetbynm_r.c: Likewise.
1002 * inet/getnetent.c: Likewise.
1003 * inet/getnetent_r.c: Likewise.
1004 * inet/getproto.c: Likewise.
1005 * inet/getproto_r.c: Likewise.
1006 * inet/getprtent.c: Likewise.
1007 * inet/getprtent_r.c: Likewise.
1008 * inet/getprtname.c: Likewise.
1009 * inet/getprtname_r.c: Likewise.
1010 * inet/getrpcbyname.c: Likewise.
1011 * inet/getrpcbyname_r.c: Likewise.
1012 * inet/getrpcbynumber.c: Likewise.
1013 * inet/getrpcbynumber_r.c: Likewise.
1014 * inet/getrpcent.c: Likewise.
1015 * inet/getrpcent_r.c: Likewise.
1016 * inet/getaliasent.c: Likewise.
1017 * inet/getaliasent_r.c: Likewise.
1018 * inet/getaliasname.c: Likewise.
1019 * inet/getaliasname_r.c: Likewise.
1020 * nscd/getgrgid_r.c: Likewise.
1021 * nscd/getgrnam_r.c: Likewise.
1022 * nscd/gethstbyad_r.c: Likewise.
1023 * nscd/gethstbynm3_r.c: Likewise.
1024 * nscd/getpwnam_r.c: Likewise.
1025 * nscd/getpwuid_r.c: Likewise.
1026 * nscd/getsrvbynm_r.c: Likewise.
1027 * nscd/getsrvbypt_r.c: Likewise.
1028 * nscd/gai.c: Likewise.
1030 * configure.in (build_nscd): New substituted variable, set
1031 by --disable-build-nscd and defaults to $use_nscd.
1032 * configure: Regenerated.
1033 * config.make.in (build-nscd): New substituted variable.
1034 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1035 Change conditional to require [$(build-nscd) = yes] as well.
1036 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1039 * configure.in (use_nscd): New substituted variable, set by
1040 --disable-nscd. If enabled, define USE_NSCD.
1041 * configure: Regenerated.
1042 * config.h.in: Add USE_NSCD.
1043 * config.make.in (use-nscd): New substituted variable.
1044 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1045 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1046 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1047 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1048 (CFLAGS-getgrnam_r.c): Likewise.
1049 (CFLAGS-initgroups.c): Likewise.
1050 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1051 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1053 * inet/getnetgrent_r.c
1054 (nscd_setnetgrent): New function, broken out of ...
1055 (setnetgrent): ... here. Call it.
1056 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1057 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1058 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1059 * nscd/Makefile (routines, aux): Move definitions after include of
1060 Makeconfig. Conditionalize on [$(use-nscd) != no].
1061 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1062 Conditionalize on [USE_NSCD].
1063 (is_nscd, nscd_init_cb): Likewise.
1064 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1065 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1066 * nss/nss_db/db-init.c: Likewise.
1067 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1069 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1070 (make_request): Use it.
1071 (cache_valid_p): New function.
1072 (__check_pf): Use it.
1073 * NEWS: Add item for --disable-nscd.
1075 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1077 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1078 to support sed >= 4.2.1-20-ga9bf076.
1079 * configure: Regenerated.
1081 2012-08-22 Roland McGrath <roland@hack.frob.com>
1083 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1084 Conditionalize whole body on [IREL].
1086 2012-08-22 Jeff Law <law@redhat.com>
1089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1090 if the family is PF_UNSPEC.
1092 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1094 * Makerules (lib-version): Rename from V.
1095 (install-lib-nosubdir): Change V to lib-version.
1097 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1100 * powerpc32/power6/wcschr.c: New file.
1101 * powerpc32/power6/wcscpy.c: New file.
1102 * powerpc32/power6/wcsrchr.c: New file.
1103 * powerpc64/power6/wcschr.c: New file.
1104 * powerpc64/power6/wcscpy.c: New file.
1105 * powerpc64/power6/wcsrchr.c: New file.
1107 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1109 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1110 (two_way_short_needle): Use it.
1111 * string/strstr.c (AVAILABLE1_USES_J): Define.
1112 * string/strcasestr.c: Likewise.
1114 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1116 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1119 * NEWS: Add an entry.
1120 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1121 define their defaults.
1122 (two_way_short_needle): Detect end-of-string on-the-fly.
1123 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1124 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1125 * string/bug-strcasestr1.c: New test.
1126 * string/Makefile: Run it.
1128 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1131 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1132 the first character.
1134 2012-08-21 Roland McGrath <roland@hack.frob.com>
1136 * csu/elf-init.c (__libc_csu_irel): Function removed.
1137 * csu/libc-start.c (apply_irel): New function.
1138 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1140 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/unix/sysv/linux/kernel-features.h
1143 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1144 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1145 <kernel-features.h>.
1146 [__NR_fadvise64_64]: Make code unconditional.
1147 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1148 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1149 !__NR_fadvise64_64)]: Likewise.
1150 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1151 !__NR_fadvise64_64))]: Likewise.
1152 [__NR_fadvise64]: Make code unconditional.
1153 [!__NR_fadvise64]: Remove conditional code.
1154 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1155 <kernel-features.h>.
1156 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1158 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1161 not include <kernel-features.h>.
1162 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1164 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1166 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1167 include <kernel-features.h>.
1168 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1170 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1173 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1176 slight instruction rearrangements per scrollpipe analysis.
1177 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1179 2012-08-20 Roland McGrath <roland@hack.frob.com>
1181 * manual/syslog.texi (syslog; vsyslog, closelog):
1182 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1183 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1185 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1186 DSOCAPS to match condition on defining it.
1188 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1190 * sysdeps/unix/sysv/linux/kernel-features.h
1191 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1193 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1194 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1196 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1197 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1199 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1200 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1202 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1203 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1205 * sysdeps/unix/sysv/linux/kernel-features.h
1206 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1207 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1209 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1210 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1211 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1212 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1213 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1214 Make code unconditional.
1215 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1216 (__mmap64) [!__NR_mmap2]: Likewise.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1218 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1219 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1221 [__NR_mmap2]: Make code unconditional.
1222 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1223 (__mmap64) [!__NR_mmap2]: Likewise.
1225 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1227 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1229 2012-08-18 Andreas Jaeger <aj@suse.de>
1231 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1233 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1235 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1236 * include/unistd.h (__have_sock_cloexec): Likewise.
1237 (__have_pipe2): Likewise.
1238 (__have_dup3): Likewise.
1240 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1243 * include/unistd.h (__have_pipe2): Change define into an extern int.
1244 (__have_dup3): Likewise.
1245 * socket/have_sock_cloexec.c: Include fcntl.h.
1246 (__have_pipe2): New variable.
1247 (__have_dup3): Likewise.
1249 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1251 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1253 2012-08-17 Marek Polacek <polacek@redhat.com>
1255 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1256 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1258 2012-08-17 Roland McGrath <roland@hack.frob.com>
1260 * configure.in: Add AC_SUBST for sysheaders.
1261 * configure: Regenerated.
1262 * config.make.in (sysheaders): New substituted variable.
1264 * sysdeps/unix/mkfifo.c: Moved ...
1265 * sysdeps/posix/mkfifo.c: ... here.
1266 * sysdeps/unix/mkfifoat.c: Moved ...
1267 * sysdeps/posix/mkfifoat.c: ... here.
1269 * sysdeps/unix/utime.c: Moved ...
1270 * sysdeps/posix/utime.c: ... here.
1272 * sysdeps/unix/time.c: Moved ...
1273 * sysdeps/posix/time.c: ... here.
1274 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1277 * sysdeps/unix/nice.c: Moved ...
1278 * sysdeps/posix/nice.c: ... here.
1280 * sysdeps/unix/alarm.c: Moved ...
1281 * sysdeps/posix/alarm.c: ... here.
1283 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1285 2012-08-17 Jeff Law <law@redhat.com>
1287 * intl/Makefile (codeset_mo): New variable.
1288 ($(codeset_mo)): New target.
1289 (tst-codeset.out): Depend on that. Remove explicit rule.
1290 (tst-gettext3.out, tst-gettext5.out): Likewise.
1291 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1292 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1293 * intl/tst-codeset.sh: Remove.
1294 * intl/tst-gettext3.sh: Likewise.
1295 * intl/tst-gettext5.sh: Likewise.
1297 2012-08-17 Roland McGrath <roland@hack.frob.com>
1299 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1300 * sysdeps/unix/syscalls.list: ... here.
1302 * sysdeps/posix/getaddrinfo.c
1303 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1304 (gaiconf_init, gaiconf_reload): Use them.
1306 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1307 Define using time_t rather than struct timespec.
1309 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1310 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1312 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1314 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1315 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1318 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1319 __libc_cleanup_push argument.
1321 * bits/param.h: New file.
1322 * misc/sys/param.h: New file.
1323 * include/sys/param.h: New file.
1324 * misc/Makefile (headers): Add bits/param.h.
1325 * sysdeps/generic/sys/param.h: File removed.
1326 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1327 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1328 * sysdeps/mach/hurd/bits/param.h: New file.
1329 * sysdeps/mach/hurd/sys/param.h: New file.
1331 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1334 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1336 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1337 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1340 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1341 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1342 rather than -D_IO_MTSAFE_IO conditionally.
1343 * stdio-common/Makefile (CPPFLAGS): Likewise.
1344 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1345 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1346 Use $(libio-mtsafe).
1347 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1349 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1350 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1351 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1352 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1353 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1354 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1355 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1356 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1357 (CFLAGS-fread_u_chk.c): Likewise.
1358 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1359 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1360 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1361 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1362 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1363 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1364 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1365 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1366 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1368 * libio/Makefile: Test [$(libc-reentrant) = yes]
1369 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1372 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1373 * sysdeps/pthread/configure: File removed.
1374 * sysdeps/pthread/Makeconfig: New file.
1375 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1376 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1378 2012-08-16 Gary Benson <gbenson@redhat.com>
1380 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1381 unmapping the first object in a namespace.
1383 2012-08-16 Roland McGrath <roland@hack.frob.com>
1385 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1386 (__internal_setnetgrent): ... this. Add internal_function to
1387 definition. Add libc_hidden_def.
1388 (setnetgrent): Update caller.
1389 (internal_endnetgrent): Renamed to ...
1390 (__internal_endnetgrent): ... this. Add internal_function to
1391 definition. Add libc_hidden_def.
1392 (endnetgrent): Update caller.
1393 (internal_getnetgrent_r): Renamed to ...
1394 (__internal_getnetgrent_r): ... this. Add internal_function to
1395 definition. Add libc_hidden_def.
1396 (__getnetgrent_r): Update caller.
1397 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1399 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1401 * stdlib/longlong.h: Update from GCC.
1403 2012-08-16 Roland McGrath <roland@hack.frob.com>
1405 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1406 on _QL, which is set by umul_ppmm but never used.
1407 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1408 variables, which are set by GMP macros but never used.
1409 * stdio-common/_itowa.c (_itowa): Likewise.
1410 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1411 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1413 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1415 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1416 struct La_sh_regs is not constant.
1417 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1418 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1419 and struct La_sparc64_regs are not constant.
1421 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1423 * sysdeps/unix/sysv/linux/kernel-features.h
1424 (__ASSUME_POSIX_TIMERS): Remove.
1425 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1426 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1427 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1428 Make code unconditional.
1429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1430 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1431 Make code unconditional.
1432 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1433 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1434 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1436 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1437 Make code unconditional.
1438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1439 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1440 (__libc_missing_posix_timers): Remove.
1442 2012-08-15 Roland McGrath <roland@hack.frob.com>
1444 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1445 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1447 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1449 * elf/dl-sym.c: Include <stdlib.h>.
1451 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1452 constants, which avoids warnings in 32-bit builds.
1454 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1455 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1457 * misc/lseek.c: File moved to ...
1458 * io/lseek.c: ... here.
1460 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1462 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1463 shifting LEN more than 31 bits at once.
1465 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1468 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1469 segmentation fault for a case of two empty input strings.
1470 * string/test-strncasecmp.c (check1): Renamed to...
1472 (bz14195): Add new testcase for two empty input strings and N > 0.
1473 (test_main): Call new testcase, adapt for renamed function.
1475 2012-08-15 Andreas Jaeger <aj@suse.de>
1478 * crypt/md5test2.c: New test, based on test supplied by Serge
1479 Belyshev <belyshev@depni.sinp.msu.ru>.
1480 * crypt/Makefile (xtests): Add md5test-giant..
1481 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1483 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1486 * crypt/md5.c (md5_process_block): Don't assume the buffer
1487 length is less than 2**32.
1488 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1489 length is less than 2**64.
1491 2012-08-15 Roland McGrath <roland@hack.frob.com>
1493 * string/str-two-way.h: Include <sys/param.h>.
1494 (MAX): Macro removed.
1496 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1497 Move #define and #undef of memmove to just before and after
1498 including <string.h>.
1500 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1501 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1502 and after including <string.h>. Move declarations of
1503 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1504 to before #include "string/memmove.c".
1506 * include/dirent.h: Declare __getdirentries.
1508 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1509 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1511 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1513 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1514 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1515 * sysdeps/i386/configure: Regenerated.
1516 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1517 STABS_CURRENT_FILE, and STABS_FUN.
1518 (END): Remove call to STABS_FUN_END.
1519 (STABS_CURRENT_FILE1): Delete.
1520 (STABS_CURRENT_FILE): Likewise.
1521 (STABS_FUN): Likewise.
1522 (STABS_FUN_END): Likewise.
1523 (STABS_FUN2): Likewise.
1524 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1525 * sysdeps/x86_64/configure: Regenerated.
1527 2012-08-14 Roland McGrath <roland@hack.frob.com>
1529 * elf/dl-open.c: Include <atomic.h>.
1530 * elf/dl-lookup.c: Likewise.
1532 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1534 * sysdeps/unix/sysv/linux/kernel-features.h
1535 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1536 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1538 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1540 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1541 condition on __ASSUME_CLONE_THREAD_FLAGS.
1543 2012-08-14 Andreas Jaeger <aj@suse.de>
1545 * sysdeps/i386/fpu/libm-test-ulps: Update.
1547 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1549 * include/atomic.h (atomic_exchange_and_add): Split into ...
1550 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1553 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1557 2012-08-13 Jeff Law <law@redhat.com>
1559 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1560 null byte in the output string.
1562 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1564 * sysdeps/unix/sysv/linux/kernel-features.h
1565 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1566 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1567 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1568 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1569 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1570 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1571 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1573 2012-08-09 Jeff Law <law@redhat.com>
1576 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1577 When avoid_arena is set, don't retry in the that arena. Pick the
1578 next one, whatever it might be.
1579 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1580 (arena_lock): Pass in new parameter to arena_get2.
1581 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1583 (__libc_malloc): Unify retrying after main arena failure with
1584 __libc_memalign version.
1585 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1587 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1590 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1591 to __redirect_strstr.
1592 (__strstr_sse42): Use typeof __redirect_strstr.
1593 (__strstr_ia32): Likewise.
1594 (__libc_strstr): New prototype.
1595 (strstr): Renamed to ...
1596 (__libc_strstr): This.
1597 (strstr): New strong alias of __libc_strstr.
1598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1599 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1602 (__libc_time): New prototype.
1603 (time_ifunc): Replace time with __libc_time.
1604 (time): New strong alias and hidden definition of __libc_time.
1605 (__GI_time): Remove strong alias.
1606 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1608 (memmove): Redefined to __redirect_memmove.
1609 (__memmove_sse2): Use typeof __redirect_memmove.
1610 (__memmove_ssse3): Likewise.
1611 (__memmove_ssse3_back): Likewise.
1612 (__libc_memmove): New prototype.
1613 (memmove): Renamed to ...
1614 (__libc_memmove): This.
1615 (memmove): New strong alias of __libc_memmove.
1617 2012-08-08 Mark Salter <msalter@redhat.com>
1620 (R_MN10300_TLS_GD): Define.
1621 (R_MN10300_TLS_LD): Likewise.
1622 (R_MN10300_TLS_LDO): Likewise.
1623 (R_MN10300_TLS_GOTIE): Likewise.
1624 (R_MN10300_TLS_IE): Likewise.
1625 (R_MN10300_TLS_LE): Likewise.
1626 (R_MN10300_TLS_DTPMOD): Likewise.
1627 (R_MN10300_TLS_DTPOFF): Likewise.
1628 (R_MN10300_TLS_TPOFF): Likewise.
1629 (R_MN10300_SYM_DIFF): Likewise.
1630 (R_MN10300_ALIGN): Likewise.
1631 (R_MN10300_NUM): Update.
1633 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1638 2012-08-08 Roland McGrath <roland@hack.frob.com>
1640 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1642 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1643 sysdeps/unix -> sysdeps/posix move.
1644 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1646 2012-08-07 Allan McRae <allan@archlinux.org>
1649 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1650 (SUNOS_CPP): Likewise.
1651 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1653 (open_input): Call CPP using execvp.
1655 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1657 * sysdeps/unix/sysv/linux/kernel-features.h
1658 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1659 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1660 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1661 (__ASSUME_WAITID_SYSCALL): Likewise.
1662 * sysdeps/unix/sysv/linux/dl-execstack.c
1663 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1665 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1667 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1668 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1669 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1671 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1673 [__ASSUME_WAITID_SYSCALL]: Likewise.
1674 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1676 2012-08-07 Roland McGrath <roland@hack.frob.com>
1678 * sysdeps/unix/closedir.c: Renamed to ...
1679 * sysdeps/posix/closedir.c: ... here.
1680 * sysdeps/unix/dirfd.c: Renamed to ...
1681 * sysdeps/posix/dirfd.c: ... here.
1682 * sysdeps/unix/dirstream.h: Renamed to ...
1683 * sysdeps/posix/dirstream.h: ... here.
1684 * sysdeps/unix/fdopendir.c: Renamed to ...
1685 * sysdeps/posix/fdopendir.c: ... here.
1686 * sysdeps/unix/opendir.c: Renamed to ...
1687 * sysdeps/posix/opendir.c: ... here.
1688 * sysdeps/unix/readdir.c: Renamed to ...
1689 * sysdeps/posix/readdir.c: ... here.
1690 * sysdeps/unix/readdir_r.c: Renamed to ...
1691 * sysdeps/posix/readdir_r.c: ... here.
1692 * sysdeps/unix/rewinddir.c: Renamed to ...
1693 * sysdeps/posix/rewinddir.c: ... here.
1694 * sysdeps/unix/seekdir.c: Renamed to ...
1695 * sysdeps/posix/seekdir.c: ... here.
1696 * sysdeps/unix/telldir.c: Renamed to ...
1697 * sysdeps/posix/telldir.c: ... here.
1698 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1699 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1700 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1701 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1703 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1704 * bits/fcntl.h: ... here.
1706 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1708 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1709 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1710 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1711 (struct flock): Move l_start, l_len to the beginning.
1712 Use __pid_t for l_pid.
1713 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1714 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1715 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1716 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1717 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1718 [__USE_LARGEFILE64] (struct flock64): New type.
1719 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1721 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1722 * bits/dirent.h: ... here.
1724 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1725 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1727 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1730 Change from 2.6.0 to 2.6.16.
1731 * sysdeps/unix/sysv/linux/configure: Regenerated.
1732 * sysdeps/unix/sysv/linux/kernel-features.h
1733 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1734 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1736 (__ASSUME_UTIMES): Likewise.
1737 (__ASSUME_CLONE_STOPPED): Remove.
1738 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1739 architectures, not kernel version.
1740 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1741 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1742 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1743 (__ASSUME_WAITID_SYSCALL): Likewise.
1744 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1745 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1746 * README: State 2.6.16 as minimum Linux kernel version. Do not
1747 refer to older versions.
1749 2012-08-06 Roland McGrath <roland@hack.frob.com>
1751 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1752 Define alphasort64 as an alias.
1753 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1754 Define versionsort64 as an alias.
1755 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1756 Define scandir64 as an alias.
1757 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1758 Define scandirat64 as an alias.
1759 * dirent/alphasort64.c (alphasort64):
1760 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1761 * dirent/versionsort64.c: Likewise.
1762 * dirent/scandir64.c: Likewise.
1763 * dirent/scandirat64.c: Likewise.
1764 * sysdeps/wordsize-64/alphasort.c: File removed.
1765 * sysdeps/wordsize-64/alphasort64.c: File removed.
1766 * sysdeps/wordsize-64/scandir.c: File removed.
1767 * sysdeps/wordsize-64/scandir64.c: File removed.
1768 * sysdeps/wordsize-64/scandirat.c: File removed.
1769 * sysdeps/wordsize-64/scandirat64.c: File removed.
1770 * sysdeps/wordsize-64/versionsort.c: File removed.
1771 * sysdeps/wordsize-64/versionsort64.c: File removed.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1781 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1783 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1785 [defined __arch64__ || defined __sparcv9]
1786 (__INO_T_MATCHES_INO64_T): New macro.
1787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1788 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1789 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1790 * sysdeps/unix/sysv/linux/bits/dirent.h
1791 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1792 (_DIRENT_MATCHES_DIRENT64): New macro.
1794 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1795 Define lockf64 as an alias.
1796 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1797 Define fseeko64 as an alias.
1798 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1799 Define ftello64 as an alias.
1800 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1801 Define _IO_fgetpos64 and fgetpos64 as aliases.
1802 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1803 Define _IO_fsetpos64 and fsetpos64 as aliases.
1804 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1805 Conditionalize body on this.
1806 * libio/fseeko64.c: Likewise.
1807 * libio/ftello64.c: Likewise.
1808 * libio/iofgetpos64.c: Likewise.
1809 * libio/iofsetpos64.c: Likewise.
1810 * sysdeps/wordsize-64/lockf.c: File removed.
1811 * sysdeps/wordsize-64/lockf64.c: File removed.
1812 * sysdeps/wordsize-64/fseeko.c: File removed.
1813 * sysdeps/wordsize-64/fseeko64.c: File removed.
1814 * sysdeps/wordsize-64/ftello.c: File removed.
1815 * sysdeps/wordsize-64/ftello64.c: File removed.
1816 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1817 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1818 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1819 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1831 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1833 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1835 [defined __arch64__ || defined __sparcv9]
1836 (__OFF_T_MATCHES_OFF64_T): New macro.
1837 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1838 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1840 (__OFF_T_MATCHES_OFF64_T): New macro.
1842 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1844 * stdlib/secure-getenv.c (__secure_getenv): Replace
1845 GLIBC_2_16 with GLIBC_2_17.
1847 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1852 2012-08-03 David S. Miller <davem@davemloft.net>
1854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1856 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1860 (__ASSUME_CORRECT_SI_PID): Likewise.
1861 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1862 (__ASSUME_TMPFS_NAME): Likewise.
1863 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1864 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1865 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1866 (HAVE_AUX_SECURE): Make definition unconditional.
1867 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1868 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1870 2012-08-03 Roland McGrath <roland@hack.frob.com>
1872 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1873 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1874 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1876 __eloop_threshold instead of SYMLOOP_MAX.
1878 * sysdeps/generic/eloop-threshold.h: New file.
1879 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1881 * elf/chroot_canon.c (chroot_canon): Likewise.
1883 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1887 Change to 2.6.0 everywhere.
1888 * sysdeps/unix/sysv/linux/configure: Regenerated.
1889 * sysdeps/unix/sysv/linux/kernel-features.h
1890 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1891 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1893 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1894 (__ASSUME_FUTEX_REQUEUE): Remove.
1895 (__ASSUME_STATFS64): Define unconditionally.
1896 (__ASSUME_AT_SECURE): Likewise.
1897 (__ASSUME_CORRECT_SI_PID): Likewise.
1898 (__ASSUME_TGKILL): Define without depending on kernel version for
1900 (__ASSUME_UTIMES): Likewise.
1901 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1903 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1904 (__ASSUME_TMPFS_NAME): Likewise.
1905 * README: Update reference to Linux kernel versions.
1907 2012-08-02 Marek Polacek <polacek@redhat.com>
1910 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1911 libc_cv_asm_type_prefix with %.
1912 * configure: Regenerated.
1913 * include/libc-symbols.h: Remove comment about
1914 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1915 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1916 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1917 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1918 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1919 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1920 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1921 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1922 * elf/tst-unique2mod1.c: Likewise.
1923 * elf/tst-unique1mod2.c: Likewise.
1924 * elf/tst-unique1mod1.c: Likewise.
1925 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1926 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1927 Replace ASM_TYPE_DIRECTIVE with .type.
1928 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1929 * sysdeps/i386/sysdep.h: Likewise.
1930 * sysdeps/x86_64/sysdep.h: Likewise.
1931 * sysdeps/sh/sysdep.h: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1933 Do not define ASM_TYPE_DIRECTIVE.
1934 * sysdeps/powerpc/sysdep.h: Likewise.
1935 * sysdeps/powerpc/powerpc32/sysdep.h:
1936 Replace ASM_TYPE_DIRECTIVE with .type.
1937 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1938 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1939 * sysdeps/i386/fpu/e_powf.S: Likewise.
1940 * sysdeps/i386/fpu/e_expl.S: Likewise.
1941 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1943 * sysdeps/i386/fpu/e_pow.S: Likewise.
1944 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1946 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1947 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1948 * sysdeps/i386/fpu/e_log2.S: Likewise.
1949 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1950 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1951 * sysdeps/i386/fpu/e_powl.S: Likewise.
1952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1953 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1954 * sysdeps/i386/fpu/e_logl.S: Likewise.
1955 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1956 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1957 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1960 * sysdeps/i386/fpu/e_log.S: Likewise.
1961 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1962 * sysdeps/i386/fpu/e_logf.S: Likewise.
1963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1965 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1966 * sysdeps/i386/fpu/e_log10.S: Likewise.
1967 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1968 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1969 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1970 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1971 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1972 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1973 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1974 * sysdeps/i386/i686/strtok.S: Likewise.
1975 * sysdeps/i386/i386-mcount.S: Likewise.
1976 * sysdeps/i386/strtok.S: Likewise.
1977 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1978 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1979 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1981 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1982 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1983 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1984 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1985 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1986 * sysdeps/x86_64/_mcount.S: Likewise.
1987 * sysdeps/x86_64/strtok.S: Likewise.
1988 * sysdeps/sh/_mcount.S: Likewise.
1990 2012-08-01 Roland McGrath <roland@hack.frob.com>
1992 * libio/iofopen.c: Include <fcntl.h>.
1993 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1994 (_IO_fopen64, fopen64): Define as aliases.
1995 * libio/iofopen64.c: Include <fcntl.h>.
1996 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1997 Conditionalize body on this.
1998 * sysdeps/wordsize-64/iofopen.c: File removed.
1999 * sysdeps/wordsize-64/iofopen64.c: File removed.
2001 2012-08-01 Marek Polacek <polacek@redhat.com>
2003 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2004 Use dlfcn directly instead of a variable.
2005 (binfmt-subdir): Do not define.
2008 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2011 Remove all definitions.
2012 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2013 <kernel-features.h>.
2014 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2015 (miss_F_GETOWN_EX): Remove all definitions.
2016 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2018 [!__ASSUME_FCNTL64]: Remove conditional code.
2019 [__ASSUME_FCNTL64]: Make code unconditional.
2020 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2021 <kernel-features.h>.
2022 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2023 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2024 (lockf64) [__NR_fcntl64]: Make code unconditional.
2025 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2027 * sysdeps/unix/sysv/linux/kernel-features.h
2028 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2029 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2030 Make code unconditional.
2031 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2032 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2034 [__NR_vfork]: Make code unconditional.
2035 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2036 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2038 [__NR_vfork]: Make code unconditional.
2039 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2040 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2042 2012-08-01 Roland McGrath <roland@hack.frob.com>
2044 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2045 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2047 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2048 Define mkstemp64 as an alias.
2049 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2050 Define mkstemps64 as an alias.
2051 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2052 Define mkostemp64 as an alias.
2053 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2054 Define mkostemps64 as an alias.
2055 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2056 Conditionalize body on this.
2057 * misc/mkostemp64.c: Likewise.
2058 * misc/mkostemps64.c: Likewise.
2059 * misc/mkstemps64.c: Likewise.
2060 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2061 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2062 * sysdeps/wordsize-64/mkostemp.c: File removed.
2063 * sysdeps/wordsize-64/mkstemp.c: File removed.
2064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2070 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2071 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2072 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2073 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2075 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2076 compat_symbol macros from <shlib-compat.h> rather than the underlying
2077 default_symbol_version and symbol_version macros, so that DEFAULT
2078 lines in shlib-versions are respected.
2079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2081 2012-08-01 Florian Weimer <fweimer@redhat.com>
2083 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2084 Declare with warn_unused_result.
2085 (setgid, setregid, setegid, setresgid): Likewise.
2086 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2088 * WUR-REPORT: Remove set*id functions.
2090 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2092 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2094 2012-07-31 Roland McGrath <roland@hack.frob.com>
2096 * include/sys/socket.h (__libc_accept, __libc_accept4):
2097 Add attribute_hidden.
2098 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2100 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2102 * inet/getnetgrent_r.c (setup): Likewise.
2104 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2106 2012-07-31 David S. Miller <davem@davemloft.net>
2108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2110 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2113 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2114 value between 1.0 and 2.0 and smaller part has absolute value less
2116 * math/s_clog10.c (__clog10): Likewise.
2117 * math/s_clog10f.c (__clog10f): Likewise.
2118 * math/s_clog10l.c (__clog10l): Likewise.
2119 * math/s_clogf.c (__clogf): Likewise.
2120 * math/s_clogl.c (__clogl): Likewise.
2121 * math/libm-test.inc (clog_test): Add more tests.
2122 (clog10_test): Likewise.
2123 * sysdeps/i386/fpu/libm-test-ulps: Update.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2126 2012-07-31 Florian Weimer <fweimer@redhat.com>
2128 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2129 Exit with zero in case no suitable GID is found, and write a
2130 message to standard error.
2132 2012-07-30 Roland McGrath <roland@hack.frob.com>
2134 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2136 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2137 (MAXPATHLEN): Removed.
2138 (NOGROUP, NODEV): New macros.
2139 (setbit, clrbit, isset, isclr): New macros.
2140 (howmany, roundup, powerof2): New macros.
2141 (DEV_BSIZE): New macro.
2143 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2144 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2146 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2147 definition on [!__NO_LONG_DOUBLE_MATH].
2149 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2150 PTR_MANGLE and PTR_DEMANGLE.
2152 * socket/accept4.c (accept4): Rename to __libc_accept4.
2153 Define accept4 as a weak alias.
2155 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2156 on [_DIRENT_HAVE_D_TYPE].
2157 * io/ftw.c (ftw_dir): Likewise.
2159 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2161 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2163 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2164 Use the BSD numbers rather than the arbitrary ones we had.
2165 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2166 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2167 (SIGXCPU, SIGXFSZ): New macros.
2170 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2171 initializer on [_LIBC_REENTRANT].
2173 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2174 definitions inside [_POSIX_MAPPED_FILES].
2176 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2178 * dirent/opendir.c: Include <fcntl.h>.
2180 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2181 (__libc_getspecific): Likewise.
2182 (__libc_key_create): Likewise.
2184 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2185 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2186 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2187 (tmpfile64): Define as alias.
2188 * sysdeps/wordsize-64/tmpfile.c: File removed.
2189 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2191 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2193 * stdio-common/vfscanf.c: Include <stdbool.h>.
2194 * nss/makedb.c: Likewise.
2195 * stdio-common/_i18n_number.h: Likewise.
2196 * argp/argp-help.c: Likewise.
2197 * posix/wordexp.c: Likewise.
2198 * sysdeps/posix/spawni.c: Likewise.
2199 * nss/nss_files/files-initgroups.c: Likewise.
2200 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2201 * nss/nss_files/files-initgroups.c: Likewise.
2202 * nss/nss_db/db-netgrp.c: Likewise.
2203 * nss/nss_db/db-initgroups.c: Likewise.
2204 * io/fchmodat.c: Include <sys/stat.h>.
2206 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2207 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2209 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2212 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2213 Add multiple inclusion protection.
2215 2012-07-27 David S. Miller <davem@davemloft.net>
2217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2219 2012-07-27 Gary Benson <gbenson@redhat.com>
2222 * elf/rtld.c: Include <stap-probe.h>.
2223 (dl_main): Added static probes "init_start" and "init_complete".
2224 * elf/dl-load.c: Include <stap-probe.h>.
2225 (lose): Take new parameter "nsid".
2226 Added static probe "map_failed".
2227 (_dl_map_object_from_fd): Pass namespace id to lose.
2228 Added static probe "map_start".
2229 (open_verify): Pass namespace id to lose.
2230 * elf/dl-open.c: Include <stap-probe.h>.
2231 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2232 and "reloc_complete".
2233 * elf/dl-close.c: Include <stap-probe.h>.
2234 (_dl_close_worker): Added static probes "unmap_start" and
2236 * elf/rtld-debugger-interface.txt: New file documenting the above.
2238 2012-07-26 Roland McGrath <roland@hack.frob.com>
2240 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2241 rather than a string variable.
2242 * sunrpc/rpc_main.c (h_output): Likewise.
2243 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2245 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2247 * inet/check_native.c: New file.
2249 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2252 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2253 if larger part has absolute value 1.0.
2254 * math/s_clog10.c (__clog10): Likewise.
2255 * math/s_clog10f.c (__clog10f): Likewise.
2256 * math/s_clog10l.c (__clog10l): Likewise.
2257 * math/s_clogf.c (__clogf): Likewise.
2258 * math/s_clogl.c (__clogl): Likewise.
2259 * math/libm-test.inc (clog_test): Add more tests.
2260 (clog10_test): Likewise.
2261 * sysdeps/i386/fpu/libm-test-ulps: Update.
2262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2265 (pltexit): Likewise.
2266 (La_regs): Likewise.
2267 (La_retval): Likewise.
2268 (int_retval): Likewise.
2269 Update #error for removed macros to refer only to definitions in
2271 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2273 (pltexit): Likewise.
2274 (La_regs): Likewise.
2275 (La_retval): Likewise.
2276 (int_retval): Likewise.
2277 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2279 (pltexit): Likewise.
2280 (La_regs): Likewise.
2281 (La_retval): Likewise.
2282 (int_retval): Likewise.
2283 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2285 (pltexit): Likewise.
2286 (La_regs): Likewise.
2287 (La_retval): Likewise.
2288 (int_retval): Likewise.
2289 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2291 (pltexit): Likewise.
2292 (La_regs): Likewise.
2293 (La_retval): Likewise.
2294 (int_retval): Likewise.
2295 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2297 (pltexit): Likewise.
2298 (La_regs): Likewise.
2299 (La_retval): Likewise.
2300 (int_retval): Likewise.
2301 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2303 (pltexit): Likewise.
2304 (La_regs): Likewise.
2305 (La_retval): Likewise.
2306 (int_retval): Likewise.
2307 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2308 macro definitions in tst-audit.h.
2309 * sysdeps/i386/tst-audit.h: New file.
2310 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2311 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2312 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2313 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2314 * sysdeps/sh/tst-audit.h: Likewise.
2315 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2316 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2317 * sysdeps/x86_64/tst-audit.h: Likewise.
2319 2012-07-26 Andreas Jaeger <aj@suse.de>
2321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2325 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2326 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2328 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2332 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2335 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2337 (si_call_addr, si_syscall, si_arch): Define new macro.
2338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2340 (si_call_addr, si_syscall, si_arch): Define new marcro.
2341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2343 (si_call_addr, si_syscall, si_arch): Define new macro.
2344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2346 (si_call_addr, si_syscall, si_arch): Define new macro.
2348 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2352 Change to 2.4.21 where previously 2.4.1.
2353 * sysdeps/unix/sysv/linux/configure: Regenerated.
2354 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2355 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2356 Linux kernel version.
2357 (__ASSUME_STD_AUXV): Remove.
2358 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2360 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2361 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2362 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2363 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2364 (__ASSUME_NETLINK_SUPPORT): Likewise.
2365 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2366 (__no_netlink_support): Remove conditional definition.
2367 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2369 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2370 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2371 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2372 (if_nameindex_ioctl): Remove.
2373 (if_nameindex_netlink): Do not handle __no_netlink_support.
2374 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2376 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2377 Remove conditional code.
2378 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2380 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2382 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2383 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2384 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2386 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2387 [!__ASSUME_STD_AUXV]: Remove conditional code.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2389 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2390 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2392 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2393 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2395 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2397 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2398 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2400 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2402 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2405 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2408 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2410 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2412 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2414 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2417 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2419 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2422 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2424 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2426 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2428 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2431 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2433 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2435 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2437 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2440 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2442 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2443 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2444 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2445 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2446 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2447 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2448 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2449 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2450 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2451 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2452 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2453 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2454 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2455 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2466 2012-07-25 Florian Weimer <fweimer@redhat.com>
2468 * Versions.def: Add GLIBC_2.17.
2469 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2470 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2471 Introduce __libc_secure_getenv.
2472 * stdlib/Versions (2.17): Add secure_getenv
2473 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2474 * stdlib/secure-getenv.c: Rename __secure_getenv to
2475 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2476 symbol __secure_getenv for GLIBC_2.0.
2477 * stdlib/tst-secure-getenv.c: New.
2478 * stdlib/Makefile (tests): Add testcase.
2479 * manual/startup.texi (Environment Access): Document
2481 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2482 __libc_secure_getenv.
2483 * inet/ruserpass.c (ruserpass): Likewise.
2484 * malloc/mtrace.c (mtrace): Likewise.
2485 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2486 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2487 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2488 * sysdeps/posix/tempname.c: Likewise. Evaluate
2490 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2491 __secure_getenv to __libc_secure_getenv.
2492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2505 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2507 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2508 (struct La_i86_retval): Likewise.
2509 (struct La_x86_64_regs): Likewise.
2510 (struct La_x86_64_retval): Likewise.
2511 (struct La_x32_regs): Likewise.
2512 (struct La_x32_retval): Likewise.
2513 (struct La_ppc32_regs): Likewise.
2514 (struct La_ppc32_retval): Likewise.
2515 (struct La_ppc64_regs): Likewise.
2516 (struct La_ppc64_retval): Likewise.
2517 (struct La_sh_regs): Likewise.
2518 (struct La_sh_retval): Likewise.
2519 (struct La_s390_32_regs): Likewise.
2520 (struct La_s390_32_retval): Likewise.
2521 (struct La_s390_64_regs): Likewise.
2522 (struct La_s390_64_retval): Likewise.
2523 (struct La_sparc32_regs): Likewise.
2524 (struct La_sparc32_retval): Likewise.
2525 (struct La_sparc64_regs): Likewise.
2526 (struct La_sparc64_retval): Likewise.
2527 (struct audit_ifaces): Remove architecture-specific pltenter and
2529 * sysdeps/i386/ldsodefs.h: New file.
2530 * sysdeps/powerpc/ldsodefs.h: Likewise.
2531 * sysdeps/s390/ldsodefs.h: Likewise.
2532 * sysdeps/sh/ldsodefs.h: Likewise.
2533 * sysdeps/sparc/ldsodefs.h: Likewise.
2534 * sysdeps/x86_64/ldsodefs.h: Likewise.
2536 2012-07-25 Marek Polacek <polacek@redhat.com>
2539 * math/libm-test.inc (yn_test): Add another test.
2540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2541 to ERANGE when the result is +-Inf.
2542 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2543 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2544 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2545 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2547 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2549 * conform/data/time.h-data (NULL): Use macro-constant. Require
2551 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2553 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2555 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2557 * configure.in <sysdeps resolving>: Correct printing
2559 * configure: Regenerate.
2561 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2563 * math/w_ilogb.c: Include <limits.h>.
2564 * math/w_ilogbl.c: Likewise.
2566 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2568 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2569 va_copy. Document allowing for unavailable va_copy only as
2570 pre-C99 compatibility.
2571 * manual/string.texi (Copying and Concatenation): Use va_copy
2572 instead of __va_copy in concat example.
2574 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2576 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2577 (__sendto): Use create_address_port. Initialize APORT and deallocate
2580 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2581 with O_NOLINK passed to __file_name_lookup.
2583 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2584 with O_NOLINK passed to __file_name_lookup.
2586 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2587 negative N or less than NGIDS.
2589 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2590 type to string_t. Set ERANGE as errno and return it if NAME is not big
2591 enough. Use memcpy instead of strncpy.
2593 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2595 * elf/Makefile (check-data): Remove.
2596 (localplt.data): New vpath directive.
2597 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2598 instead of $(check-data).
2599 * scripts/data/localplt-generic.data: Move to ...
2600 * sysdeps/generic/localplt.data: ... here.
2601 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2602 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2603 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2606 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2609 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2612 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2615 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2618 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2622 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2625 PPC32 and PPC64 files.
2626 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2627 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2629 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2631 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2632 __makecontext_ret to ...
2633 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2634 ... here and call exit if uc_link is NULL. New file.
2635 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2636 __makecontext_ret.S.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2638 __makecontext_ret to ...
2639 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2640 ... here and call exit if uc_link is NULL. New file.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2642 __makecontext_ret.S.
2644 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2646 * elf/elf.h (R_390_IRELATIVE): New definition.
2647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2648 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2649 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2651 (elf_machine_lazy_rel): Likewise.
2652 * sysdeps/s390/dl-irel.h: New file.
2653 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2654 * sysdeps/s390/s390-64/memset.S: New asm code.
2655 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2656 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2657 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2658 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2659 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2660 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2661 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2662 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2663 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2664 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2665 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2666 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2667 * sysdeps/s390/s390-32/memset.S: New asm code.
2668 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2670 2012-07-17 Marek Polacek <polacek@redhat.com>
2673 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2674 * sysdeps/s390/s390-64/configure.in: Likewise.
2675 * sysdeps/sparc/configure.in: Likewise.
2676 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2677 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2678 * sysdeps/i386/configure.in: Likewise.
2679 * sysdeps/x86_64/configure.in: Likewise.
2680 * sysdeps/sh/configure.in: Likewise.
2681 * sysdeps/s390/s390-32/configure: Regenerated.
2682 * sysdeps/s390/s390-64/configure: Likewise.
2683 * sysdeps/x86_64/configure: Likewise.
2684 * sysdeps/sh/configure: Likewise.
2685 * sysdeps/powerpc/powerpc64/configure: Likewise.
2686 * sysdeps/powerpc/powerpc32/configure: Likewise.
2687 * sysdeps/sparc/configure: Likwise.
2688 * sysdeps/i386/configure: Likewise.
2690 * elf/dl-open.c: Comment fixes.
2692 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2694 * Makefile [CXX] (check-data): Remove.
2695 [CXX] (c++-types.data): New vpath directive.
2696 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2697 vpath. Do not allow for C++ type data being missing.
2698 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2699 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2700 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2701 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2702 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2703 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2704 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2707 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2710 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2713 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2716 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2719 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2722 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2725 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2728 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2729 definitions to architecture-specific files.
2733 * sysdeps/i386/tls-macros.h: New file.
2734 * sysdeps/powerpc/tls-macros.h: Likewise.
2735 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2736 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2737 * sysdeps/sh/tls-macros.h: Likewise.
2738 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2739 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2740 * sysdeps/x86_64/tls-macros.h: Likewise.
2742 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2744 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2745 zero value for regular exit case.
2747 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2748 (__start_context): Preserve zero value for regular exit case.
2750 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2751 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2753 * manual/setjmp.texi (setcontext): Clarify normal process
2754 termination when uc_link is the null pointer.
2755 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2758 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2760 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2761 preprocessor. Test for each exception mask separately.
2763 2012-07-16 Andreas Jaeger <aj@suse.de>
2765 * po/ru.po: Update from translation team.
2767 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2769 * conform/data/string.h-data (NULL): Use macro-constant. Require
2771 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2772 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2773 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2774 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2777 2012-07-13 Andreas Jaeger <aj@suse.de>
2779 * po/fr.po: Update from translation team.
2781 2012-07-12 Marek Polacek <polacek@redhat.com>
2784 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2785 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2788 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2792 Change to 2.4.1 where previously 2.4.0.
2793 * sysdeps/unix/sysv/linux/configure: Regenerated.
2794 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2795 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2797 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2798 (__ASSUME_AT_CLKTCK): Remove.
2799 (__ASSUME_AT_PAGESIZE): Likewise.
2800 (__ASSUME_AT_XID): Likewise.
2801 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2802 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2803 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2805 (HAVE_AUX_PAGESIZE): Likewise.
2806 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2807 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2808 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2810 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2814 the temporary buffer used to invoke __gethostbyname2_r,
2815 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2816 host_data / struct gaih_addrtuple.
2817 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2818 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2819 header file nss/nsswitch.h.
2820 * nss/nsswitch.h (global scope): Add definition of implementation
2821 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2822 resolv/nss_dns/dns-host.c).
2824 2012-07-11 Andreas Jaeger <aj@suse.de>
2826 * po/fr.po: Update from translation team.
2828 * po/sv.po: Update from translation team
2829 * po/fr.po: Another update from translation team.
2831 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2834 for subnormals or multiply small sinh result by itself.
2835 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2838 2012-07-11 David S. Miller <davem@davemloft.net>
2840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2842 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2845 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2846 (INTERNAL_MARK): Shift it here.
2848 2012-07-10 Marek Polacek <polacek@redhat.com>
2851 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2852 libc_cv_asm_global_directive with .globl.
2853 * configure: Regenerated.
2854 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2856 * sysdeps/i386/configure: Regenerated.
2857 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2859 * sysdeps/x86_64/configure: Regenerated.
2860 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2861 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2862 * elf/tst-unique2mod2.c: Likewise.
2863 * elf/tst-unique2mod1.c: Likewise.
2864 * elf/tst-unique1mod2.c: Likewise.
2865 * elf/tst-unique1mod1.c: Likewise.
2866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2867 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2870 * sysdeps/mach/sysdep.h: Likewise.
2871 * sysdeps/i386/sysdep.h: Likewise.
2872 * sysdeps/i386/i386-mcount.S: Likewise.
2873 * sysdeps/x86_64/_mcount.S: Likewise.
2874 * sysdeps/x86_64/sysdep.h: Likewise.
2875 * sysdeps/sh/_mcount.S: Likewise.
2876 * sysdeps/sh/sysdep.h: Likewise.
2877 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2878 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2879 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2880 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2881 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2882 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2883 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2884 * locale/localeinfo.h: Likewise.
2885 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2886 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2888 2012-07-09 Roland McGrath <roland@hack.frob.com>
2891 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2893 * manual/message.texi (The Uniforum approach): Likewise.
2894 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2895 (glibc iconv Implementation): Likewise.
2897 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2900 * math/s_clog.c (__clog): Avoid scaling a value down where that
2901 could result in underflow.
2902 * math/s_clog10.c (__clog10): Likewise.
2903 * math/s_clog10f.c (__clog10f): Likewise.
2904 * math/s_clog10l.c (__clog10l): Likewise.
2905 * math/s_clogf.c (__clogf): Likewise.
2906 * math/s_clogl.c (__clogl): Likewise.
2907 * math/libm-test.inc (clog_test): Add more tests.
2908 (clog10_test): Likewise.
2909 * sysdeps/i386/fpu/libm-test-ulps: Update.
2910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2915 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2916 by 7 not 8 to examine high bit of fractional part.
2919 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2920 for call to __mcount_internal.
2921 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2922 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2923 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2925 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2928 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2929 approximation for values within 0x1p-13f of an odd multiple of
2931 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2932 exception. Add more tests.
2933 * sysdeps/i386/fpu/libm-test-ulps: Update.
2936 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2937 inputs and return -1 for them. Do not check for +Inf in case not
2939 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2940 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2941 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2942 and return -1 for them. Do not check for +Inf in case not
2944 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2947 and return -1 for them. Do not check for +Inf in case not
2949 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2951 * sysdeps/i386/fpu/libm-test-ulps: Update.
2952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2956 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2958 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2962 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2963 could result in spurious underflow. Scale down values above
2964 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2965 * math/s_csqrtf.c (__csqrtf): Likewise.
2966 * math/s_csqrtl.c (__csqrtl): Likewise.
2967 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2969 * sysdeps/i386/fpu/libm-test-ulps: Update.
2970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2972 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2974 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2976 * catgets/xopen-msg.awk: New file.
2977 * catgets/xopen-msg.sed: Removed.
2979 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2981 * intl/po2test.awk: New file.
2982 * intl/po2test.sed: Removed.
2984 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2987 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2988 or multiply small sinh result by itself.
2989 * math/s_ctanf.c (__ctanf): Likewise.
2990 * math/s_ctanh.c (__ctanh): Likewise.
2991 * math/s_ctanhf.c (__ctanhf): Likewise.
2992 * math/s_ctanhl.c (__ctanhl): Likewise.
2993 * math/s_ctanl.c (__ctanl): Likewise.
2994 * math/libm-test.inc (ctan_test_tonearest): New function.
2995 (ctan_test_towardzero): Likewise.
2996 (ctan_test_downward): Likewise.
2997 (ctan_test_upward): Likewise.
2998 (ctanh_test_tonearest): Likewise.
2999 (ctanh_test_towardzero): Likewise.
3000 (ctanh_test_downward): Likewise.
3001 (ctanh_test_upward): Likewise.
3002 (main): Call these new functions.
3003 * sysdeps/i386/fpu/libm-test-ulps: Update.
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3006 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3008 * .gitignore: Delete /ports entry.
3010 2012-07-03 Andreas Jaeger <aj@suse.de>
3012 * po/bg.po: Update from translation team.
3013 * po/cs.po: Likewise.
3014 * po/de.po: Likewise.
3015 * po/hr.po: Likewise.
3016 * po/nl.pl: Likewise.
3017 * po/pl.po: Likewise.
3018 * po/vi.po: Likewise.
3020 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3022 * Makeconfig [!+link] (+link-before-libc): New variable.
3023 [!+link] (+link-after-libc): Likewise.
3024 [!+link] (+link-tests): Likewise.
3025 [!+link] (+link): Define in terms of $(+link-before-libc) and
3026 $(+link-after-libc).
3027 [!+link-static] (+link-static-before-libc): New variable.
3028 [!+link-static] (+link-static-after-libc): Likewise.
3029 [!+link-static] (+link-static-tests): Likewise.
3030 [!+link-static] (+link-static): Define in terms of
3031 $(+link-static-before-libc) and $(+link-static-after-libc).
3032 [build-shared] (link-libc-before-gnulib): New variable.
3033 [build-shared] (link-libc-tests): Likewise.
3034 [build-shared] (link-libc): Define in terms of
3035 $(link-libc-before-gnulib).
3036 [!build-shared] (link-libc-tests): New variable.
3037 (link-libc-static-tests): New variable.
3038 [!gnulib] (gnulib-arch): New variable.
3039 [!gnulib] (gnulib-tests): Likewise.
3040 [!gnulib] (static-gnulib-arch): Likewise.
3041 [!gnulib] (static-gnulib-tests): Likewise.
3042 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3043 Define with "=" instead of ":=".
3044 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3045 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3046 * Rules (binaries-all-notests): New variable.
3047 (binaries-all-tests): Likewise.
3048 (binaries-static-notests): Likewise.
3049 (binaries-static-tests): Likewise.
3050 (binaries-all): Define using $(binaries-all-notests) and
3051 $(binaries-all-tests).
3052 (binaries-static): Define using $(binaries-static-notests) and
3053 $(binaries-static-tests).
3054 (binaries-shared-tests): New variable.
3055 (binaries-shared-notests): Likewise.
3056 (binaries-shared): Remove variable.
3057 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3058 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3059 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3060 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3061 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3062 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3063 * elf/Makefile (sln-modules): New variable.
3064 (extra-objs): Add $(sln-modules:=.o).
3065 (ldconfig-modules): Add static-stubs.
3066 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3067 * elf/static-stubs.c: New file.
3070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3071 by 7 not 8 to examine high bit of fractional part. Use volatile
3072 variables when splitting into final array of floats if
3073 __FLT_EVAL_METHOD__ != 0.
3074 * math/libm-test.inc (cos_test): Add another test.
3075 (sin_test): Likewise.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3079 * math/libm-test.inc (cosh_test): Add more tests.
3081 * version.h (RELEASE): Set to "development".
3082 (VERSION): Set to "2.16.90".
3084 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3086 * NEWS: Update copyright. Remove last-updated date.
3087 Mention math library bug fixes and timezone data changes.
3088 * README: Mention GNU/Hurd, x32, and HPPA support status.
3090 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3092 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3094 2012-06-27 Andreas Jaeger <aj@suse.de>
3096 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3098 2012-06-25 Andreas Jaeger <aj@suse.de>
3100 * sysdeps/s390/fpu/libm-test-ulps: Update.
3102 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3103 Thomas Schwinge <thomas@codesourcery.com>
3105 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3106 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3110 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3112 * sysdeps/mach/start.c: Remove file.
3113 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3114 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3115 * sysdeps/sh/init-first.c: Likewise.
3117 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3118 registers for frame unwinding purposes, add CFI directives.
3119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3120 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3121 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3124 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3125 __fortify_fail returning.
3126 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3129 sysdeps/sh/____longjmp_chk.S.
3130 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3131 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3132 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3133 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3135 * sysdeps/sh/abort-instr.h: New file.
3136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3137 process in case exit returns.
3139 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3140 initialize the GOT register before use.
3142 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3143 calculation of ARGC > 4.
3145 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3146 meaningful names to some local labels.
3148 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3149 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3152 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3153 (__arch_compare_and_exchange_val_16_acq): Likewise.
3154 (__arch_compare_and_exchange_val_32_acq): Likewise.
3155 (atomic_exchange_and_add): Fix gUSA sequence.
3156 (atomic_add): Likewise.
3157 (atomic_add_negative): Likewise.
3158 (atomic_add_zero): Likewise.
3159 (atomic_bit_test_set): Likewise.
3161 2012-06-22 Andreas Schwab <schwab@redhat.com>
3164 * include/link.h (struct link_map): Add l_free_initfini.
3165 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3167 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3168 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3169 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3172 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3174 * configure.in: Use AC_LANG_SOURCE.
3175 * configure: Regenerate.
3177 2012-06-22 Roland McGrath <roland@hack.frob.com>
3179 * configure.in (libc_cv_localstatedir): New substituted variable.
3180 * configure: Regenerated.
3181 * config.make.in (localstatedir): New variable, substituted from
3182 libc_cv_localstatedir.
3183 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3184 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3185 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3186 * sysdeps/gnu/configure: Regenerated.
3188 2012-06-21 Jeff Law <law@redhat.com>
3191 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3192 free. Simplify list management for _LIBC case.
3194 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3198 Clear sign bit of 64-bit integer value before comparing against
3201 * sysdeps/mach/configure: Regenerated.
3203 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3206 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3208 2012-06-21 Jeff Law <law@redhat.com>
3211 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3212 uint16_t for elements in the "seen" array to avoid char overflows.
3213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3214 * elf/dl-open.c (dl_open_worker): Likewise.
3216 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3218 * scripts/list-sources.sh: Scan PORTS for translations.
3219 * po/libc.pot: Regenerated.
3221 2012-06-21 Andreas Jaeger <aj@suse.de>
3224 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3226 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3227 * bits/byteswap-16.h (__bswap_16): Likewise.
3228 * bits/byteswap.h (__bswap_constant_16): Likewise.
3230 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3233 * sysdeps/i386/fpu_control.h: Removed.
3234 * sysdeps/x86_64/fpu_control.h: Moved to ...
3235 * sysdeps/x86/fpu_control.h: Here.
3237 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3238 (_FPU_SETCW): Likewise.
3240 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3243 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3244 * sysdeps/x86/fpu/bits/mathinline.h: This.
3245 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3249 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3250 functions if __x86_64__ is defined.
3252 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3254 * string/endian.h: Add !__ASSEMBLER__ condition for including
3255 conversion interfaces.
3257 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3261 of ABS(x) in calculating zero to negative powers other than odd
3263 * math/libm-test.inc (pow_test): Add more tests.
3265 2012-06-15 Andreas Jaeger <aj@suse.de>
3267 * manual/contrib.texi (Contributors): Update entry of Liubov
3268 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3271 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3273 * string/string.h: Add __wur to GNU version of strerror_r.
3275 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3278 * string/Makefile (tests): Add tst-strtok_r.
3279 * string/tst-strtok_r.c: New file.
3280 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3281 RAX_LP/RDX_LP on SAVE_PTR.
3283 2012-06-14 Roland McGrath <roland@hack.frob.com>
3285 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3287 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3289 * libm_test.inc (csqrt_test): Allow more spurious underflow
3291 (j0_test): Likewise.
3292 (j1_test): Likewise.
3293 (y0_test): Likewise.
3294 (y1_test): Likewise.
3296 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3298 * po/Makefile (libc.pot): Use UTF-8 charset.
3300 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3303 Suppress sign-conversion warning from FD_SET.
3304 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3305 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3306 not unsigned long int.
3307 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3309 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3314 __extern_always_inline instead of __extern_inline.
3315 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3316 (__signbit): Likewise.
3317 (__signbitl): Support C++ namespace.
3318 (lrintf): New inline function.
3320 (llrintf): Likewise.
3332 (nearbyint): Likewise.
3333 (nearbyintf): Likewise.
3335 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3338 non-default versions.
3340 2012-06-11 Roland McGrath <roland@hack.frob.com>
3343 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3345 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3347 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3348 (FE_UPWARD, FE_DOWNWARD): Don't define.
3349 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3350 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3354 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3355 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3357 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3359 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3361 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3362 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3364 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3367 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3368 * sysdeps/i386/fpu/Implies: New file.
3369 * sysdeps/x86_64/fpu/Implies: Likewise.
3370 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3371 * sysdeps/x86/fpu/bits/fenv.h: This.
3373 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3376 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3380 character 0xffff that matches the last element of the
3383 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3388 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3391 values higher than 25.6283.
3393 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3396 subnormal exponent extraction and add some __builtin_expect.
3397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3398 Fix for subnormal mantissa calculation.
3400 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3402 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3403 cpu2 is -1 and errno is not ENOSYS.
3405 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3408 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3409 * sysdeps/x86/bits/string.h: This.
3410 * sysdeps/x86_64/bits/string.h: Removed.
3412 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3413 if not compiling for x86-64, but compiling for >= i486.
3415 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3416 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3418 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3419 New macro from Linux kernel 3.4.0.
3420 (FP_XSTATE_MAGIC2): Likewise.
3421 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3422 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3423 (struct _fpx_sw_bytes): New struct.
3424 (struct _xsave_hdr): Likewise.
3425 (struct _ymmh_state): Likewise.
3426 (struct _xstate): Likewise.
3428 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3429 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3431 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3433 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3435 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3436 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3437 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3438 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3439 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3440 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3442 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3445 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3446 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3447 (sysdep_headers): Include sys/platform/ppc.h.
3448 * sysdeps/powerpc/test-gettimebase.c: Test for
3449 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3450 * manual/Makefile (appendices): Include platform.texi.
3451 * manual/contrib.texi (Contributors): Update @node pointers.
3452 * manual/maint.texi (Maintenance): Likewise.
3453 (Platform): New node.
3454 * manual/platform.texi: New file. Document the new features.
3456 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3457 Jakub Jelinek <jakub@redhat.com>
3460 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3461 where __builtin_expect is unavailable.
3463 2012-06-03 David S. Miller <davem@davemloft.net>
3465 * stdlib/longlong.h: Updated from GCC.
3467 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3470 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3471 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3474 (GLIBC_2.16): Likewise.
3476 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3478 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3480 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3483 (default-abi): New variable.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3485 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3487 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3489 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3491 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3494 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3495 definition. Document in comment.
3497 2012-06-01 David S. Miller <davem@davemloft.net>
3499 * stdlib/longlong.h: Updated from GCC.
3501 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3504 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3505 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3506 sys/debugreg.h sys/io.h here.
3507 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3508 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3510 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3511 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3512 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3513 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3514 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3515 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3517 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3518 Define only if __x86_64__ is defined.
3520 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3523 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3524 Use int64_t for variable i.
3525 * math/libm-test.inc (fmod_test): Add more tests.
3527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3528 z computation is not scheduled after fetestexcept.
3529 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3530 Use math_force_eval instead of asm to ensure calculation scheduled
3531 before exception test.
3532 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3533 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3535 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3538 computation is not scheduled after fetestexcept.
3540 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3543 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3544 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3546 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3551 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3556 (__WCHAR_MIN): Support __WORDSIZE == 64.
3557 (__WCHAR_MAX): Likewise.
3559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3563 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3564 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3567 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3568 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3570 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3571 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3573 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3574 Defined to 1 if __x86_64__ isn't defined.
3575 (_STAT_VER_LINUX_OLD): New.
3576 (st_atime): Remove duplicate.
3577 (st_mtime): Likewise.
3578 (st_ctime): Likewise.
3580 2012-05-31 David S. Miller <davem@davemloft.net>
3582 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3585 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3587 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3591 * elf/dl-reloc.c: Include <_itoa.h>.
3592 (_dl_reloc_bad_type): Remove use of INTUSE.
3593 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3594 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3595 * stdio-common/psiginfo.c (psiginfo): Likewise.
3596 * stdio-common/psignal.c (psignal): Likewise.
3597 * string/strsignal.c (strsignal): Likewise.
3598 * include/signal.h (_sys_siglist): Declare hidden proto.
3599 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3600 INTVARDEF with libc_hidden_data_def.
3601 * stdio-common/itoa-udigits.c: Likewise.
3602 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3603 (_itoa_lower_digits_internal): Remove declaration.
3604 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3605 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3606 (_sys_sigabbrev_internal): Remove aliases.
3607 (_sys_siglist): Define hidden alias.
3609 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3614 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3617 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3618 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3620 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3621 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3622 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3623 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3625 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3627 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3628 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3629 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3631 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3643 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3644 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3646 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3647 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3648 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3650 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3651 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3653 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3654 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3660 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3661 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3663 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3665 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3666 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3667 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3669 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3671 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3673 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3675 * math/math.h (M_El): Use two more decimal places.
3676 (M_LOG2El): Likewise.
3677 (M_LOG10El): Likewise.
3679 (M_LN10l): Likewise.
3681 (M_PI_2l): Likewise.
3682 (M_PI_4l): Likewise.
3683 (M_1_PIl): Likewise.
3684 (M_2_PIl): Likewise.
3685 (M_2_SQRTPIl): Likewise.
3686 (M_SQRT2l): Likewise.
3687 (M_SQRT1_2l): Likewise.
3689 2012-05-31 David S. Miller <davem@davemloft.net>
3691 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3692 values between float registers.
3693 * sysdeps/sparc/sparc64/memset.S: Likewise.
3694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3696 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3698 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3699 -D_FORTIFY_SOURCE=1.
3700 (CPPFLAGS-tst-longjmp_chk.c): Define.
3701 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3702 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3703 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3704 CFLAGS-tst-wchar-h.c.
3706 2012-05-31 Marek Polacek <polacek@redhat.com>
3709 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3710 __endmntent_internal): Remove declaration.
3711 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3712 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3713 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3715 2012-05-30 David S. Miller <davem@davemloft.net>
3717 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3718 (___Q_simulate_exceptions): Use real FP ops rather than writing
3720 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3723 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3726 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3727 * sysdeps/x86/bits/xtitypes.h: This.
3729 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3730 * sysdeps/x86/bits/wordsize.h: This.
3732 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3733 * sysdeps/x86/bits/huge_vall.h: This.
3735 * sysdeps/i386/bits/select.h: Removed.
3736 * sysdeps/x86_64/bits/select.h: Renamed to ...
3737 * sysdeps/x86/bits/select.h: This.
3739 * sysdeps/i386/bits/setjmp.h: Removed.
3740 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3741 * sysdeps/x86/bits/setjmp.h: This.
3743 * sysdeps/i386/bits/mathdef.h: Removed.
3744 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3745 * sysdeps/x86/bits/mathdef.h: This.
3747 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3750 * include/sys/socket.h (__connect_internal)
3751 (__libc_sa_len_internal): Remove declaration.
3752 (__connect, __libc_sa_len): Declare hidden_proto.
3753 (SA_LEN): Remove use of INTUSE.
3754 * socket/connect.c: Add libc_hidden_def.
3755 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3756 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3757 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3759 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3761 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3762 of adding _internal alias.
3764 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3767 * sysdeps/i386/bits/link.h: Removed.
3768 * sysdeps/i386/bits/linkmap.h: Likewise.
3769 * sysdeps/x86_64/bits/link.h: Renamed to ...
3770 * sysdeps/x86/bits/link.h: This.
3771 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3772 * sysdeps/x86/bits/linkmap.h: This.
3774 * sysdeps/i386/bits/endian.h: Removed.
3775 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3776 * sysdeps/x86/bits/endian.h: This.
3778 * sysdeps/i386/bits/byteswap.h: Removed.
3779 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3780 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3781 * sysdeps/x86/bits/byteswap.h: This.
3782 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3783 * sysdeps/x86/bits/byteswap-16.h: This.
3784 * sysdeps/i386/Implies: Add x86.
3785 * sysdeps/x86_64/Implies: Likewise.
3787 2012-05-30 David S. Miller <davem@davemloft.net>
3789 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3790 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3791 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3792 (FP_TRAPPING_EXCEPTIONS): Define.
3793 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3794 (FP_TRAPPING_EXCEPTIONS): Define.
3795 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3796 subnormals only when inexact has been signalled or underflow
3797 exceptions are enabled.
3798 (_FP_PACK_CANONICAL): Likewise.
3800 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3804 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3806 2012-05-30 Richard Henderson <rth@twiddle.net>
3808 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3809 with #ifndef NOT_IN_libc.
3811 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3812 marked to avoid plt entry.
3814 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3817 * Makeconfig (default-abi): New macro.
3818 (abi-includes): Likewise.
3819 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3820 $(abi-$(default-abi)-lib-soname) for soname if defined.
3821 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3823 * Makefile (installed-stubs): Likewise.
3824 * include/stubs-biarch.h: Removed.
3825 * scripts/lib-names.awk: Only handle one library at a time.
3826 * scripts/soversions.awk: Remove WORDSIZE support.
3827 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3829 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3831 (syscall-list-default-condition): Likewise.
3832 (syscall-list-default-condition): Likewise.
3833 (syscall-list-includes): Likewise.
3834 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3835 syscall-list-* with abi-*. Handle undefined abi-variants.
3836 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3837 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3838 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3840 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3841 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3843 (syscall-list-32-options): Likewise.
3844 (syscall-list-32-condition): Likewise.
3845 (syscall-list-64-options): Likewise.
3846 (syscall-list-64-condition): Likewise.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3849 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3852 (abi-64-ld-soname): New macro.
3853 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3854 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3857 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3858 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3860 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/unix/sysv/linux/kernel-features.h
3863 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3864 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3865 include <kernel-features.h>.
3866 [!__NR_ftruncate64]: Remove conditional code.
3867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3868 [__NR_ftruncate64]: Make code unconditional.
3869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3870 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3871 include <kernel-features.h>.
3872 [!__NR_ftruncate64]: Remove conditional code.
3873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3874 [__NR_ftruncate64]: Make code unconditional.
3875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3877 include <kernel-features.h>.
3878 [!__NR_ftruncate64]: Remove conditional code.
3879 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3880 [__NR_ftruncate64]: Make code unconditional.
3881 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3883 include <kernel-features.h>.
3884 [!__NR_ftruncate64]: Remove conditional code.
3885 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3886 [__NR_ftruncate64]: Make code unconditional.
3887 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3889 * configure.in (libc_cv_fpie): Weaken to a compile test using
3891 * configure: Regenerated.
3893 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3908 2012-05-27 David S. Miller <davem@davemloft.net>
3910 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3912 (__Q_simulate_exceptions): Return void. Change to simulate
3913 exceptions by writing into the %fsr.
3914 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3915 (__Qp_handle_exceptions): Likewise.
3917 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3918 __Qp_handle_exceptions.
3919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3920 __Qp_handle_exceptions.
3921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3922 as unused and give dummy FP_RND_NEAREST initializer.
3923 (FP_INHIBIT_RESULTS): Define.
3924 (___Q_simulate_exceptions): Update declaration.
3925 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3927 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3928 as unused and give dummy FP_RND_NEAREST initializer.
3929 (__Qp_handle_exceptions): Update declaration.
3930 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3933 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3935 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3936 the temporary FPU control word.
3937 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3938 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3940 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3941 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3942 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3943 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3944 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3945 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3946 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3947 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3949 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3951 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3954 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3956 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3957 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3958 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3959 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3961 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3962 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3965 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3967 * po/h.po: Update from translation team.
3969 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3971 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3973 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3974 handling of denormals.
3975 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3976 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3984 2012-05-26 Marek Polacek <polacek@redhat.com>
3987 * math/libm-test.inc (fma_test): Don't always expect underflow
3990 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3993 * elf/tst-execstack.c: Include stackinfo.h.
3994 (do_test): Adjust test case to ensure that pthread_getattr_np
3995 behaviour remains the same after marking stack executable.
3997 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3999 * sysdeps/unix/sysv/linux/kernel-features.h
4000 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4001 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4003 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4004 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4005 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4007 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4008 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4010 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4012 * configure.in: Define the default includes to being none.
4013 * configure: Regenerated.
4015 2012-05-25 Roland McGrath <roland@hack.frob.com>
4017 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4018 * sysdeps/x86_64/setjmp.S: Likewise.
4019 * sysdeps/i386/bsd-setjmp.S: Likewise.
4020 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4021 * sysdeps/i386/setjmp.S: Likewise.
4022 * sysdeps/i386/__longjmp.S: Likewise.
4023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4024 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4026 * include/stap-probe.h: New file.
4027 * configure.in: Handle --enable-systemtap.
4028 * configure: Regenerated.
4029 * config.h.in (USE_STAP_PROBE): New #undef.
4030 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4031 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4032 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4034 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4038 to 2.4.0 where earlier.
4039 * sysdeps/unix/sysv/linux/configure: Regenerated.
4040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4041 <kernel-features.h>.
4042 [__ASSUME_32BITUIDS]: Make code unconditional.
4043 [!__ASSUME_32BITUIDS]: Remove conditional code.
4044 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4045 <kernel-features.h>.
4046 [__ASSUME_32BITUIDS]: Make code unconditional.
4047 [!__ASSUME_32BITUIDS]: Remove conditional code.
4048 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4049 [__ASSUME_32BITUIDS]: Make code unconditional.
4050 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4051 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
4060 <kernel-features.h>.
4061 [__ASSUME_32BITUIDS]: Make code unconditional.
4062 [!__ASSUME_32BITUIDS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4064 <kernel-features.h>.
4065 [__ASSUME_32BITUIDS]: Make code unconditional.
4066 [!__ASSUME_32BITUIDS]: Remove conditional code.
4067 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4068 <kernel-features.h>.
4069 [__ASSUME_32BITUIDS]: Make code unconditional.
4070 [!__ASSUME_32BITUIDS]: Remove conditional code.
4071 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4072 <kernel-features.h>.
4073 [__ASSUME_32BITUIDS]: Make code unconditional.
4074 [!__ASSUME_32BITUIDS]: Remove conditional code.
4075 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4076 <kernel-features.h>.
4077 [__ASSUME_32BITUIDS]: Make code unconditional.
4078 [!__ASSUME_32BITUIDS]: Remove conditional code.
4079 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4080 <kernel-features.h>.
4081 [__ASSUME_32BITUIDS]: Make code unconditional.
4082 [!__ASSUME_32BITUIDS]: Remove conditional code.
4083 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4084 <kernel-features.h>.
4085 [__ASSUME_32BITUIDS]: Make code unconditional.
4086 [!__ASSUME_32BITUIDS]: Remove conditional code.
4087 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4088 <kernel-features.h>.
4089 [__ASSUME_32BITUIDS]: Make code unconditional.
4090 [!__ASSUME_32BITUIDS]: Remove conditional code.
4091 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4092 <kernel-features.h>.
4093 [__NR_setresgid] (__setresgid): Do not declare.
4094 [__ASSUME_32BITUIDS]: Make code unconditional.
4095 [!__ASSUME_32BITUIDS]: Remove conditional code.
4096 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4097 <kernel-features.h>.
4098 [__NR_setresuid] (__setresuid): Do not declare.
4099 [__ASSUME_32BITUIDS]: Make code unconditional.
4100 [!__ASSUME_32BITUIDS]: Remove conditional code.
4101 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4102 <kernel-features.h>.
4103 [__ASSUME_32BITUIDS]: Make code unconditional.
4104 [!__ASSUME_32BITUIDS]: Remove conditional code.
4105 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4106 <kernel-features.h>.
4107 [__ASSUME_32BITUIDS]: Make code unconditional.
4108 [!__ASSUME_32BITUIDS]: Remove conditional code.
4109 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4110 <kernel-features.h>.
4111 [__ASSUME_32BITUIDS]: Make code unconditional.
4112 [!__ASSUME_32BITUIDS]: Remove conditional code.
4113 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4114 <kernel-features.h>.
4115 [__ASSUME_32BITUIDS]: Make code unconditional.
4116 [!__ASSUME_32BITUIDS]: Remove conditional code.
4117 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4118 <kernel-features.h>.
4119 [__ASSUME_32BITUIDS]: Make code unconditional.
4120 [!__ASSUME_32BITUIDS]: Remove conditional code.
4121 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4122 <kernel-features.h>.
4123 [__ASSUME_32BITUIDS]: Make code unconditional.
4124 [!__ASSUME_32BITUIDS]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4126 <kernel-features.h>.
4127 [__ASSUME_32BITUIDS]: Make code unconditional.
4128 [!__ASSUME_32BITUIDS]: Remove conditional code.
4129 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4130 <kernel-features.h>.
4131 [__ASSUME_32BITUIDS]: Make code unconditional.
4132 [!__ASSUME_32BITUIDS]: Remove conditional code.
4133 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4134 <kernel-features.h>.
4135 [__ASSUME_32BITUIDS]: Make code unconditional.
4136 [!__ASSUME_32BITUIDS]: Remove conditional code.
4137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4138 <kernel-features.h>.
4139 [__ASSUME_32BITUIDS]: Make code unconditional.
4140 [!__ASSUME_32BITUIDS]: Remove conditional code.
4141 * sysdeps/unix/sysv/linux/kernel-features.h
4142 (__ASSUME_SETRESUID_SYSCALL): Remove.
4143 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4144 (__ASSUME_32BITUIDS): Likewise.
4145 (__ASSUME_LDT_WORKS): Likewise.
4146 (__ASSUME_O_DIRECTORY): Likewise.
4147 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4148 architecture but not kernel version.
4149 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4150 (__ASSUME_MMAP2_SYSCALL): Likewise.
4151 (__ASSUME_STAT64_SYSCALL): Likewise.
4152 (__ASSUME_IPC64): Likewise.
4153 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4154 <kernel-features.h>.
4155 [__ASSUME_32BITUIDS]: Make code unconditional.
4156 [!__ASSUME_32BITUIDS]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4158 <kernel-features.h>.
4159 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4160 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4161 132096]: Remove conditional code.
4162 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4163 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4164 <kernel-features.h>.
4165 [__ASSUME_32BITUIDS]: Make code unconditional.
4166 [!__ASSUME_32BITUIDS]: Remove conditional code.
4167 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4168 <kernel-features.h>.
4169 [__ASSUME_32BITUIDS]: Make code unconditional.
4170 [!__ASSUME_32BITUIDS]: Remove conditional code.
4171 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4172 <kernel-features.h>.
4173 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4175 (__setresgid): Do not declare.
4176 [__ASSUME_32BITUIDS]: Make code unconditional.
4177 [!__ASSUME_32BITUIDS]: Remove conditional code.
4178 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4179 <kernel-features.h>.
4180 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4182 (__setresuid): Do not declare.
4183 [__ASSUME_32BITUIDS]: Make code unconditional.
4184 [!__ASSUME_32BITUIDS]: Remove conditional code.
4185 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4186 <kernel-features.h>.
4187 [__ASSUME_32BITUIDS]: Make code unconditional.
4188 [!__ASSUME_32BITUIDS]: Remove conditional code.
4189 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4190 <kernel-features.h>.
4191 [__ASSUME_32BITUIDS]: Make code unconditional.
4192 [!__ASSUME_32BITUIDS]: Remove conditional code.
4194 2012-05-25 Richard Henderson <rth@twiddle.net>
4196 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4197 dl_hwcap to ifunc resolver.
4198 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4200 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4201 dl_hwcap to ifunc resolver.
4202 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4204 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4207 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4208 for |x| <= 2**-26, not 2**-57.
4209 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4212 2012-05-24 Jeff Law <law@redhat.com>
4214 * stdio-common/Makefile (tests): Add bug25.
4215 * stdio-common/bug25.c: New test.
4217 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4220 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4221 multiple of MALLOC_ALIGNMENT in size.
4222 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4226 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4228 (FILENAME_MAX): Use macro-int-constant.
4229 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4230 (_IOFBF): Use macro-int-constant.
4233 (SEEK_CUR): Likewise.
4234 (SEEK_END): Likewise.
4235 (SEEK_SET): Likewise.
4236 (TMP_MAX): Likewise.
4237 (EOF): Use macro-int-constant. Require < 0.
4238 (NULL): Use macro-constant. Require == 0.
4239 (stdin): Require type to be FILE *.
4242 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4244 (EXIT_SUCCESS): Likewise.
4245 (NULL): Use macro-constant. Require == 0.
4246 (RAND_MAX): Use macro-int-constant.
4247 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4248 [C99-based standards] (strtof): Require function.
4249 [C99-based standards] (strtold): Likewise.
4250 [C99-based standards] (strtoll): Likewise.
4251 [C99-based standards] (strtoull): Likewise.
4252 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4253 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4254 [ISO || ISO99 || ISO11] (math.h): Likewise.
4255 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4256 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4259 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4262 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4263 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4264 * intl/dgettext.c (DCGETTEXT): Likewise.
4265 * intl/gettext.c (DCGETTEXT): Likewise.
4266 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4267 * posix/regex_internal.h (gettext): Likewise.
4268 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4270 * include/argz.h (__argz_count_internal)
4271 (__argz_stringify_internal): Remove declaration.
4272 (__argz_count, __argz_stringify): Declare hidden proto.
4273 * intl/dcgettext.c: Remove use of INTDEF.
4274 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4275 * string/argz-stringify.c: Likewise.
4276 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4277 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4278 Declare hidden proto.
4279 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4280 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4281 Declare hidden proto.
4282 * include/stdio.h (__asprintf_internal): Don't declare.
4283 (__asprintf): Don't define as macro. Declare hidden proto.
4284 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4285 (__fsetlocking): Declare hidden proto.
4286 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4287 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4289 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4290 (_IO_setlinebuf): Remove use of INTUSE.
4291 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4292 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4293 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4295 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4296 (_IO_do_flush): Remove use of INTUSE.
4297 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4298 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4299 (_IO_adjust_column, _IO_least_wmarker)
4300 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4301 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4302 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4303 (_IO_default_doallocate, _IO_wdefault_doallocate)
4304 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4305 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4306 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4307 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4308 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4309 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4310 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4311 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4312 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4313 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4314 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4315 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4316 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4318 (_IO_flush_all_internal, _IO_adjust_column_internal)
4319 (_IO_default_uflow_internal, _IO_default_finish_internal)
4320 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4321 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4322 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4323 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4324 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4325 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4326 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4327 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4328 (_IO_file_close_internal, _IO_file_close_it_internal)
4329 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4330 (_IO_file_init_internal, _IO_file_attach_internal)
4331 (_IO_file_fopen_internal, _IO_file_read_internal)
4332 (_IO_file_sync_internal, _IO_file_seek_internal)
4333 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4334 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4335 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4336 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4337 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4338 (_IO_list_all_internal, _IO_link_in_internal)
4339 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4340 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4341 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4342 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4343 (_IO_do_write_internal, _IO_padn_internal)
4344 (_IO_getline_info_internal, _IO_getline_internal)
4345 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4346 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4347 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4348 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4349 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4350 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4351 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4352 with libc_hidden_ver, remove use of INTUSE.
4353 * libio/genops.c: Likewise.
4354 * libio/freopen.c: Likewise.
4355 * libio/freopen64.c: Likewise.
4356 * libio/iofclose.c: Likewise.
4357 * libio/iofdopen.c: Likewise.
4358 * libio/iofflush.c: Likewise.
4359 * libio/iofflush_u.c: Likewise.
4360 * libio/iofgets.c: Likewise.
4361 * libio/iofgets_u.c: Likewise.
4362 * libio/iofopen.c: Likewise.
4363 * libio/iofopncook.c: Likewise.
4364 * libio/iofread.c: Likewise.
4365 * libio/iofread_u.c: Likewise.
4366 * libio/ioftell.c: Likewise.
4367 * libio/iofwrite.c: Likewise.
4368 * libio/iogetline.c: Likewise.
4369 * libio/iogets.c: Likewise.
4370 * libio/iogetwline.c: Likewise.
4371 * libio/iopadn.c: Likewise.
4372 * libio/iopopen.c: Likewise.
4373 * libio/ioseekoff.c: Likewise.
4374 * libio/ioseekpos.c: Likewise.
4375 * libio/iosetbuffer.c: Likewise.
4376 * libio/iosetvbuf.c: Likewise.
4377 * libio/ioungetc.c: Likewise.
4378 * libio/ioungetwc.c: Likewise.
4379 * libio/iovdprintf.c: Likewise.
4380 * libio/iovsprintf.c: Likewise.
4381 * libio/iovsscanf.c: Likewise.
4382 * libio/memstream.c: Likewise.
4383 * libio/obprintf.c: Likewise.
4384 * libio/oldfileops.c: Likewise.
4385 * libio/oldiofclose.c: Likewise.
4386 * libio/oldiofdopen.c: Likewise.
4387 * libio/oldiofopen.c: Likewise.
4388 * libio/oldiopopen.c: Likewise.
4389 * libio/oldstdfiles.c: Likewise.
4390 * libio/putc.c: Likewise.
4391 * libio/setbuf.c: Likewise.
4392 * libio/setlinebuf.c: Likewise.
4393 * libio/stdfiles.c: Likewise.
4394 * libio/strops.c: Likewise.
4395 * libio/vasprintf.c: Likewise.
4396 * libio/vscanf.c: Likewise.
4397 * libio/vsnprintf.c: Likewise.
4398 * libio/vswprintf.c: Likewise.
4399 * libio/wfiledoalloc.c: Likewise.
4400 * libio/wfileops.c: Likewise.
4401 * libio/wgenops.c: Likewise.
4402 * libio/wmemstream.c: Likewise.
4403 * libio/wstrops.c: Likewise.
4404 * libio/__fpurge.c: Likewise.
4405 * libio/__fsetlocking.c: Likewise.
4406 * assert/assert.c: Likewise.
4407 * debug/fgets_chk.c: Likewise.
4408 * debug/fgets_u_chk.c: Likewise.
4409 * debug/fread_chk.c: Likewise.
4410 * debug/fread_u_chk.c: Likewise.
4411 * debug/gets_chk.c: Likewise.
4412 * debug/obprintf_chk.c: Likewise.
4413 * debug/vasprintf_chk.c: Likewise.
4414 * debug/vdprintf_chk.c: Likewise.
4415 * debug/vsnprintf_chk.c: Likewise.
4416 * debug/vsprintf_chk.c: Likewise.
4417 * malloc/mtrace.c: Likewise.
4418 * misc/error.c: Likewise.
4419 * misc/syslog.c: Likewise.
4420 * stdio-common/asprintf.c: Likewise.
4421 * stdio-common/fxprintf.c: Likewise.
4422 * stdio-common/getw.c: Likewise.
4423 * stdio-common/isoc99_fscanf.c: Likewise.
4424 * stdio-common/isoc99_scanf.c: Likewise.
4425 * stdio-common/isoc99_vfscanf.c: Likewise.
4426 * stdio-common/isoc99_vscanf.c: Likewise.
4427 * stdio-common/isoc99_vsscanf.c: Likewise.
4428 * stdio-common/printf-prs.c: Likewise.
4429 * stdio-common/printf_fp.c: Likewise.
4430 * stdio-common/printf_fphex.c: Likewise.
4431 * stdio-common/printf_size.c: Likewise.
4432 * stdio-common/putw.c: Likewise.
4433 * stdio-common/scanf.c: Likewise.
4434 * stdio-common/sprintf.c: Likewise.
4435 * stdio-common/tmpfile.c: Likewise.
4436 * stdio-common/vfprintf.c: Likewise.
4437 * stdio-common/vfscanf.c: Likewise.
4438 * stdlib/strfmon_l.c: Likewise.
4439 * sunrpc/openchild.c: Likewise.
4440 * sunrpc/xdr_stdio.c: Likewise.
4441 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4442 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4444 2012-05-24 Roland McGrath <roland@hack.frob.com>
4446 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4448 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4449 in the third column, to generate for the shared library an IFUNC
4450 that uses _dl_vdso_vsym.
4451 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4452 * Makeconfig (object-suffixes-noshared): New variable.
4454 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4455 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4456 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4457 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4460 * include/sys/time.h (__gettimeofday): Remove macro.
4461 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4462 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4464 (__gettimeofday): Add libc_hidden_def.
4465 (gettimeofday): Add libc_hidden_weak.
4466 * sysdeps/mach/gettimeofday.c: Likewise.
4467 * sysdeps/posix/gettimeofday.c: Likewise.
4468 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4469 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4471 (__gettimeofday_internal): Remove strong_alias.
4472 (__gettimeofday): Add libc_hidden_def.
4473 (gettimeofday): Add libc_hidden_weak.
4474 * sysdeps/unix/syscalls.list (gettimeofday):
4475 Remove __gettimeofday_internal alias.
4477 2012-05-24 Daniel Jacobowitz <drow@false.org>
4478 H.J. Lu <hongjiu.lu@intel.com>
4481 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4482 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4483 (largebin_index_32_big): New.
4484 (largebin_index): Use it for 16-byte alignment.
4485 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4486 correction with front_misalign.
4488 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4516 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4517 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4519 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4523 * math/libm-test.inc (exp_test): Add test from bug 14036.
4524 (pow_test): Add test from bug 10846.
4526 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4528 (special_function): Do not include flags in test name.
4529 (parse_args): Likewise.
4530 * sysdeps/i386/fpu/libm-test-ulps: Update.
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4533 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4536 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4538 * math/libm-test.inc ("Philosophy"): Update comment about
4540 (UNDERFLOW_EXCEPTION): New macro.
4541 (UNDERFLOW_EXCEPTION_OK): Likewise.
4542 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4543 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4544 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4545 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4546 (INVALID_EXCEPTION_OK): Update value.
4547 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4548 (OVERFLOW_EXCEPTION_OK): Likewise.
4549 (IGNORE_ZERO_INF_SIGN): Likewise.
4550 (test_exceptions): Handle underflow exceptions.
4551 (acos_test): Update for underflow exception expectations.
4552 (cexp_test): Likewise.
4553 (clog_test): Likewise.
4554 (clog10_test): Likewise.
4555 (csqrt_test): Likewise.
4556 (ctan_test): Likewise.
4557 (ctanh_test): Likewise.
4558 (exp_test): Likewise.
4559 (exp10_test): Likewise.
4560 (exp2_test): Likewise.
4561 (expm1_test): Likewise.
4562 (fma_test): Likewise.
4563 (j0_test): Likewise.
4564 (jn_test): Likewise.
4565 (nexttoward_test): Likewise.
4566 (pow_test): Likewise.
4567 (scalbn_test): Likewise.
4568 (scalbln_test): Likewise.
4569 (tan_test): Likewise.
4570 (y1_test): Likewise.
4571 * sysdeps/i386/fpu/libm-test-ulps: Update.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4574 2012-05-23 David S. Miller <davem@davemloft.net>
4576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4577 (__libc_sigaction): Remove unused local variables.
4579 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4581 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4583 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4585 mktime: avoid signed integer overflow
4586 * time/mktime.c (__mktime_internal): Do not mishandle the case
4587 where diff == INT_MIN.
4589 mktime: simplify computation of average
4590 * time/mktime.c (ranged_convert): Use new time_t_avg function
4591 instead of rolling our own (probably-slower) code.
4593 mktime: do not assume signed right shift propagates sign bit
4594 * time/mktime.c (isdst_differ): New static function.
4595 (__mktime_internal): No need to normalize tm_isdst now.
4596 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4599 mktime: merge another wrapv change from gnulib
4600 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4601 from some compilers.
4603 mktime: remove incorrect attempt at unusual arithmetics
4604 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4605 The code didn't really work on such machines anyway.
4606 (TYPE_MINIMUM): Assume two's complement.
4607 (twos_complement_arithmetic): Verify that long_int and time_t
4608 are two's complement (or unsigned, in the latter case).
4610 mktime: check signed shifts on long_int and time_t, too
4611 * time/mktime.c (SHR): Check that shifts work as desired
4612 on the types long_int and time_t too, as SHR is used on
4615 mktime: do not assume 'long' is wide enough
4616 * time/mktime.c (verify): Move decl up.
4617 (long_int): New type.
4618 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4619 to remove assumption in the code that 'long' is wide enough to
4620 store year values. This assumption is not true on x32 and on
4621 some non-glibc platforms.
4623 mktime: merge wrapv change from gnulib
4624 * time/mktime.c (WRAPV): New macro.
4625 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4626 (guess_time_tm, __mktime_internal): Do not assume that signed
4627 integer overflow wraps around; modern compilers generate code
4628 where this assumption is no longer valid.
4630 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4632 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4633 Replace "jmp L(pseudo_end)" with "ret".
4634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4637 2012-05-23 Andreas Jaeger <aj@suse.de>
4639 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4640 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4642 2012-05-23 Andreas Jaeger <aj@suse.de>
4643 Maximilian Attems <max@stro.at>
4645 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4648 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4651 code so that pseudo_end is just ret and the stack pointer is
4652 correct also for static library in error case.
4654 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4657 move to syscalls.list.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4663 * manual/install.texi (Running make install): Do not mention Linux
4664 kernel version for which pt_chown is not needed.
4665 (Linux): Do not mention problems with nscd with 2.0 kernels.
4666 * INSTALL: Regenerated.
4668 2012-05-23 Andreas Jaeger <aj@suse.de>
4670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4671 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4673 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4674 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4675 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4677 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4683 * sysdeps/unix/sysv/linux/bits/in.h
4684 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4686 2012-05-22 Roland McGrath <roland@hack.frob.com>
4688 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4689 (PREPARE_VERSION): Just use assert instead, it will be elided
4690 under [NDEBUG] anyway.
4692 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4694 * sysdeps/unix/sysv/linux/Makefile: Include
4695 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4696 (sysdep_routines): Remove sysctl.
4697 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4698 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4701 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4703 2012-05-22 Andreas Jaeger <aj@suse.de>
4705 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4706 that pseudo_end is just ret and the stack pointer is correct also
4707 for static library in error case.
4709 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4712 * nss/nsswitch.c (defconfig_entries): New variable.
4713 (__nss_database_lookup): Don't leak defconfig entries.
4714 (nss_parse_service_list): Don't leak on error paths.
4715 (free_database_entries): New function.
4716 (free_defconfig): New function.
4717 (free_mem): Move common code to free_database_entries.
4719 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4723 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4725 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4726 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4729 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4730 (INTERNAL_SYSCALL_TYPES): Likewise.
4731 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4732 (LOAD_REGS_TYPES_[1-6]): Likewise.
4733 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4734 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4736 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4739 copysignl for GLIBC_2_0.
4740 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4741 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4743 logbl for GLIBC_2_0.
4744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4747 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4752 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4755 * time/mktime.c: Update copyright years.
4757 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4759 mktime: merge comment-quoting-style change from gnulib
4760 * time/mktime.c: Quote 'like this' in comments.
4761 The GNU coding standards suggest that we no longer quote `like this',
4762 as "`" and "'" are typically rendered asymmetrically nowadays.
4763 The typical gnulib style is to quote 'like this' when quoting
4764 code, and "like this" when quoting English.
4766 * time/mktime.c (compile-command): Add "-I.".
4768 mktime: merge mktime-internal.h change from gnulib
4769 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4771 mktime: merge time_r change from gnulib
4772 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4774 mktime: merge DEBUG change from gnulib
4775 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4776 case system <time.h> has a #define.
4778 mktime: merge <sys/types.h> change from gnulib
4779 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4780 since <time.t> is now guaranteed to define time_t.
4782 mktime: merge HAVE_CONFIG_H change from gnulib
4783 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4785 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4790 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4792 (struct rusage): Use anonymous union to pad each field to
4795 2012-05-21 David S. Miller <davem@davemloft.net>
4797 * Makefules (o-iterator): Remove .s cases.
4798 (compile-command.s): Delete.
4799 (COMPILE.s): Delete.
4800 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4802 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4804 * configure.in (libc_cv_predef_stack_protector): Only consider
4805 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4806 * configure: Regenerated.
4808 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4811 New macro. Use R*LP on int and pointer.
4812 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4813 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4817 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4818 [__WORDSIZE_TIME64_COMPAT32] instead of
4819 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4820 (struct utmp): Likewise.
4821 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4822 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4824 (__WORDSIZE_TIME64_COMPAT32): This.
4825 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4826 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4827 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4829 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4830 (__WORDSIZE_TIME64_COMPAT32): New macro.
4832 2012-05-21 Andreas Jaeger <aj@suse.de>
4834 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4835 only if [SHARED]. Add prototype for __wcschr_ia32.
4837 2012-05-21 Roland McGrath <roland@hack.frob.com>
4839 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4840 of %rbp unmolested in the jmp_buf while mangling the low bits.
4841 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4842 unmolested high bits of %rbp while demangling the low bits.
4843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4845 2012-05-21 Andreas Jaeger <aj@suse.de>
4847 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4848 * sunrpc/svc_simple.c: Use it for registerrpc.
4849 * sunrpc/xcrypt.c: Use it for passwd2des.
4851 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4853 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4855 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4856 Don't define if [__SYSCALL_WORDSIZE != 32].
4857 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4860 2012-05-21 Bruno Haible <bruno@clisp.org>
4861 Andreas Jaeger <aj@suse.de>
4863 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4864 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4865 inptr and inend for must_buffer_ch.
4866 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4867 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4868 * stdio-common/Makefile (tests): Remove bug15.
4869 (bug15-ENV): Remove macro.
4870 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4873 2012-05-19 Andreas Jaeger <aj@suse.de>
4874 Roland McGrath <roland@hack.frob.com>
4876 * manual/contrib.texi: Completely rewritten. It contains now an
4877 alphabetical list of contributors and their contributions.
4879 2012-05-21 Richard Henderson <rth@twiddle.net>
4881 * misc/getauxval.c (__getauxval): Use unsigned long int.
4882 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4883 (getauxval): Use unsigned long int.
4885 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4889 2012-05-21 Roland McGrath <roland@hack.frob.com>
4891 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4892 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4893 __alignof__ (long double).
4895 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4899 2012-05-20 Richard Henderson <rth@twiddle.net>
4901 * misc/getauxval.c: New file.
4902 * misc/sys/auxv.h: New file.
4903 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4904 (routines): Add getauxval.
4905 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4906 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4907 * elf/dl-sysdep.c (_dl_auxv): Remove.
4908 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4909 * elf/dl-support.c (_dl_auxv): New variable.
4910 (_dl_aux_init): Initialize it.
4911 * manual/startup.texi (Auxiliary Vector): New node.
4912 * sysdeps/generic/bits/hwcap.h: New file.
4913 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4914 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4915 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4916 * sysdeps/sparc/sysdep.h: ... here. Include it.
4917 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4918 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4930 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4934 2012-05-19 David S. Miller <davem@davemloft.net>
4936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4938 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4941 * math/s_ccosh.c: Include <float.h>
4942 (__ccosh): Avoid internal overflow calculating sinh and cosh
4943 values before multiplying by sin and cos values.
4944 * math/s_ccoshf.c: Likewise.
4945 * math/s_ccoshl.c: Likewise.
4946 * math/s_csin.c: Likewise.
4947 * math/s_csinf.c: Likewise.
4948 * math/s_csinl.c: Likewise.
4949 * math/s_csinh.c: Likewise.
4950 * math/s_csinhf.c: Likewise.
4951 * math/s_csinhl.c: Likewise.
4952 * math/libm-test.inc (ccos_test): Add more tests.
4953 (ccosh_test): Likewise.
4954 (csin_test): Likewise.
4955 (csinh_test): Likewise.
4956 * sysdeps/i386/fpu/libm-test-ulps: Update.
4957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4959 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4961 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4962 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4964 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4966 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4968 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4969 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4970 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4971 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4972 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4973 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4974 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4975 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4976 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4977 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4978 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4979 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4980 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4981 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4982 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4983 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4984 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4985 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4986 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4987 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4988 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4989 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4990 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4991 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4992 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4993 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4994 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4995 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4996 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4997 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4998 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5000 2012-05-18 Andreas Jaeger <aj@suse.de>
5002 * csu/.gitignore: Delete.
5004 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5006 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5007 (timex): Use __syscall_slong_t.
5009 2012-05-18 Andreas Jaeger <aj@suse.de>
5010 Carlos O'Donell <carlos_odonell@mentor.com>
5012 * manual/install.texi (Configuring and compiling): Update
5013 description about files modified in the source directory.
5014 * INSTALL: Regenerated.
5016 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5018 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5019 value. Use "or" to set return value to -1.
5020 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5021 negate return value.
5023 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5025 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5026 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5027 failure if the compiler has Graphite support disabled.
5028 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5030 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5031 CFLAGS-memmove.c): Likewise.
5032 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5035 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5037 * sysdeps/x86_64/x32/_itoa.h: New file.
5039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5040 getdents system call only if kernel and user dirents have the
5041 same d_ino and d_off.
5043 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5044 LLONG_MAX != LONG_MAX.
5045 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5046 (_fitoa_word): Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5054 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5055 include <bits/wordsize.h>. Check __x86_64__ instead of
5057 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5058 if __x86_64__ is defined. Use anonymous union on fpstate.
5060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5063 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5065 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5066 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5067 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5068 Refer to _rtld_local_ro instead of _rtld_global_ro.
5069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5071 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5073 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5075 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5076 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5077 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5079 * sysdeps/powerpc/powerpc32/dl-machine.c
5080 (__elf_machine_runtime_setup) [PROF]: Don't reference
5083 2012-05-18 Andreas Jaeger <aj@suse.de>
5085 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5086 function only available for GCCs before 3.4 since GCC 3.4
5087 introduced a builtin.
5089 (llrintf): Likewise.
5097 (nearbyint): Likewise.
5098 (nearbyintf): Likewise.
5104 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5106 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5107 on both fields and cast pointer to __syscall_ulong_t.
5109 * bits/types.h (__fsword_t): New type.
5110 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5111 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5113 (__FSWORD_T_TYPE): Likewise.
5114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5115 (__FSWORD_T_TYPE): Likewise.
5116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5117 (__FSWORD_T_TYPE): Likewise.
5118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5119 (__FSWORD_T_TYPE): Likewise.
5120 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5121 __SWORD_TYPE with __fsword_t.
5122 (statfs64): Likewise.
5124 2012-05-17 David S. Miller <davem@davemloft.net>
5126 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5128 2012-05-17 Andreas Jaeger <aj@suse.de>
5130 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5133 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5135 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5137 2012-05-17 Andreas Jaeger <aj@suse.de>
5139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5142 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5144 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5146 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5148 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5149 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5151 2012-05-17 Andreas Jaeger <aj@suse.de>
5152 Carlos O'Donell <carlos_odonell@mentor.com>
5155 * sysdeps/x86_64/multiarch/init-arch.h
5156 (bit_YMM_Usable): Rename to...
5157 (bit_AVX_Usable): ... this.
5158 (bit_FMA4_Usable): New macro.
5159 (bit_XMM_state): New macro.
5160 (bit_YMM_state): New macro.
5161 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5162 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5163 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5164 (CPUID_OSXSAVE): New macro.
5165 (CPUID_AVX): New macro.
5166 (CPUID_FMA4): New macro.
5167 (index_YMM_Usable): Rename to...
5168 (index_AVX_Usable): ... this.
5169 (HAS_AVX): Use HAS_ARCH_FEATURE.
5170 (HAS_FMA4): Likewise.
5171 (HAS_YMM_USABLE): Remove.
5172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5173 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5175 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5176 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5177 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5178 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5179 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5181 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5183 * math/libm-test.c: Support platforms without multiple rounding modes.
5184 * math/bug-nextafter.c: Support platforms without FP exceptions.
5185 * math/bug-nexttoward.c: Likewise.
5186 * math/test-fenv.c: Likewise.
5187 * math/test-misc.c: Likewise.
5188 * stdlib/bug-getcontext.c: Likewise.
5190 2012-05-17 Andreas Jaeger <aj@suse.de>
5192 * manual/examples/search.c (critter_cmp): Change signature to
5194 * manual/string.texi (Collation Functions): Likewise.
5196 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5198 * bits/types.h: Fold copyright years.
5199 * bits/typesizes.h: Likewise.
5200 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5204 * time/time.h: Likewise.
5206 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5209 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5210 in instead of returning them. Return void.
5211 (__libc_mallinfo): Accumulate over all arenas.
5212 (__malloc_stats): Adjust for change in int_mallinfo interface.
5214 2012-05-16 Roland McGrath <roland@hack.frob.com>
5217 * configure.in (NM): Add AC_CHECK_TOOL for it.
5218 (libc_extra_cflags): New substituted variable.
5219 Check for -fstack-protector being used implicitly.
5220 * configure: Regenerated.
5221 * config.make.in (config-extra-cflags): New variable,
5222 gets @libc_extra_cflags@.
5223 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5226 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5227 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5228 * configure: Regenerated.
5229 * config.make.in (CPPUNDEFS): New substituted variable.
5230 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5231 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5232 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5236 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5237 (mq_attr): Use __syscall_slong_t.
5239 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5241 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5242 Check __x86_64__ instead of __WORDSIZE.
5243 (_STAT_VER_LINUX): Likewise.
5244 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5245 __syscall_ulong_t and __syscall_slong_t.
5248 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5254 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5258 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5261 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5262 include <bits/wordsize.h>. Check __x86_64__ instead of
5264 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5266 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5269 include <bits/wordsize.h>. Check __x86_64__ instead of
5271 (user_regs_struct): Use "__extension__ unsigned long long"
5272 instead of "unsigned long" if __x86_64__ is defined.
5273 (user): Likewise. Pad after pointer field if __ILP32__ is
5276 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5278 * configure.in (makeinfo): Require version 4.5 or later. Allow
5280 * configure: Regenerated.
5281 * manual/install.texi (texinfo): Increase version requirement to
5283 * INSTALL: Regenerated.
5285 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5287 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5289 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5291 * sysdeps/x86_64/x32/ffs.c: New file.
5293 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5295 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5296 defined. Use __syscall_ulong_t.
5297 (shminfo): Use __syscall_ulong_t.
5298 (shm_info): Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5303 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5305 (msgqnum_t): Use __syscall_ulong_t.
5306 (msglen_t): Likewise.
5307 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5310 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5311 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5313 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5315 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5316 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5318 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5322 include <bits/wordsize.h>. Check __x86_64__ instead of
5325 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5326 "unsigned long long int" if __x86_64__ is defined.
5327 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5331 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5333 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5335 (GET_PC): Cast to uintptr_t first.
5336 (GET_FRAME): Likewise.
5337 (GET_STACK): Likewise.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5347 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5353 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5355 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5357 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5359 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5365 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5367 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5369 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5371 * Makerules (+depfiles): Also collect depfiles from .oS in
5373 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5374 .oS, $(libnldbl-routines)).
5376 * Makerules (native-compile-mkdep-flags): Define.
5377 * sunrpc/Makefile (extra-objs): Add $(addprefix
5378 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5379 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5380 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5381 calling $(make-target-directory).
5383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5385 * bits/types.h (__snseconds_t): Removed.
5386 * time/time.h (struct timespec): Replace __snseconds_t with
5388 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5389 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5392 (__SNSECONDS_T_TYPE): Likewise.
5393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5394 (__SNSECONDS_T_TYPE): Likewise.
5395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5396 (__SNSECONDS_T_TYPE): Likewise.
5398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5400 * sysdeps/mach/hurd/bits/typesizes.h
5401 (__SYSCALL_SLONG_TYPE): New macro.
5402 (__SYSCALL_ULONG_TYPE): Likewise.
5404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5406 * bits/types.h (__syscall_slong_t): New type.
5407 (__syscall_ulong_t): Likewise.
5409 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5410 (__SYSCALL_ULONG_TYPE): Likewise.
5411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5412 (__SYSCALL_SLONG_TYPE): Likewise.
5413 (__SYSCALL_ULONG_TYPE): Likewise.
5414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5415 (__SYSCALL_SLONG_TYPE): Likewise.
5416 (__SYSCALL_ULONG_TYPE): Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5418 (__SYSCALL_SLONG_TYPE): Likewise.
5419 (__SYSCALL_ULONG_TYPE): Likewise.
5421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5423 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5424 Add sigaltstack-offsets.sym.
5425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5426 <sigaltstack-offsets.h>.
5427 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5428 longjmp_msg pointer.
5429 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5430 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5432 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5434 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5436 * elf/stackguard-macros.h: Remove file.
5437 * sysdeps/generic/stackguard-macros.h: New file.
5438 * sysdeps/i386/stackguard-macros.h: Likewise.
5439 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5440 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5441 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5442 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5443 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5444 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5445 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5446 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5447 <elf/stackguard-macros.h>.
5450 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5451 __aligned__ in attribute.
5452 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5453 (gregset_t): Likewise.
5455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5457 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5458 * sysdeps/x86_64/64/Implies-after: Here. New file.
5459 * sysdeps/x86_64/x32/Implies-after: New file.
5461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5463 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5464 and access return value for _dl_profile_fixup. Use R10_LP to
5467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5469 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5474 * sysdeps/x86_64/x32/sysdep.h: New file.
5476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5478 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5479 * sysdeps/x86_64/setjmp.S: Likewise.
5481 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5485 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5487 remove unused global constant.
5489 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5491 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5492 include of <not-cancel.h>.
5494 2012-05-15 Roland McGrath <roland@hack.frob.com>
5496 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5498 2012-05-15 Jeff Law <law@redhat.com>
5499 Andreas Jaeger <aj@suse.de>
5502 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5504 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5505 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5507 code changing __hst_map_handle.map.
5509 2012-05-15 Roland McGrath <roland@hack.frob.com>
5511 * configure.in (sysnames): Look for Implies-before and Implies-after
5513 * configure: Regenerated.
5515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5517 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5518 8-byte data alignment with LP_SIZE alignment.
5520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5522 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5527 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5531 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5532 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5539 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5540 (stackinfo_sub_sp): Likewise.
5542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5563 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5564 into R11_LP and load __x86_64_shared_cache_size_half into
5567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5569 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5572 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5581 powerpc32/power7/fpu/s_logb.c via #include.
5582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5583 powerpc32/power7/fpu/s_logbf.c via #include.
5584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5585 powerpc32/power7/fpu/s_logbl.c via #include.
5587 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5589 * README.libm: Remove file.
5591 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5593 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5594 count for x32. Use R*_LP and omit operand-size suffix.
5596 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5598 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5599 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5600 * sysdeps/x86_64/x32/shlib-versions: New file.
5602 2012-05-14 Roland McGrath <roland@hack.frob.com>
5604 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5605 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5606 Use _dl_fatal_printf instead.
5608 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5610 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5611 set if not set by the user. Do not allow for being unset.
5612 * sysdeps/unix/sysv/linux/configure: Regenerated.
5614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5616 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5617 the `q' suffix from lea and replace .quad with ASM_ADDR.
5619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5622 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5624 (PTR_DEMANGLE): Likewise.
5626 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5628 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5630 (ASM_ADDR): Likewise.
5648 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5650 * sysdeps/x86_64/x32/dl-machine.h: New file.
5652 2012-05-14 Andreas Jaeger <aj@suse.de>
5654 * manual/Makefile (subdir): Remove export of subdir.
5655 (all): Remove target.
5656 (.PHONY): Remove all from list.
5657 (mkinstalldirs): Remove.
5658 (.PHONY): Remove installdirs from list.
5659 ($(inst_infodir)/libc.info): Use make-target-directory.
5660 (installdirs): Remove.
5662 (glibc-targets): Remove.
5665 ($(objpfx)stubs ../po/manual.pot): Remove.
5666 ($(objpfx)stamp%): Remove.
5667 (make-target-directory): Remove.
5668 (subdir_install): Remove.
5676 * manual/.gitignore: Remove, it's not needed anymore.
5677 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5679 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5681 (texis): Renamed to $(objpfx)texis.
5682 (texis-path): New, contains path to generated files.
5683 (chapters.%): Use texis-path for complete path, add extra argument
5685 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5686 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5687 (summary,texi, stamp-summary): Use complete path of
5688 files. Generate files in build dir.
5689 (dir-add.texi): Build in build dir.
5690 (libm-err.texi,stamp-libm-err): Likewise.
5691 (version.texi, stamp-version): Likewise.
5692 (.%c.texi): Likewise.
5693 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5694 (mostlyclean): Remove target.
5695 (realclean): Remove target.
5696 (generated): Add new variable with contents from mostlyclean and
5697 realclean, remove entries duplicated in common-mostlyclean, add
5698 stamp-libm-err and stamp-version.
5699 (generated-dirs): Add libc directory.
5700 ($(inst_infodir)/libc.info): Install files from build dir.
5702 * manual/install.texi (Configuring and compiling): Adjust since
5703 the info files are not part of the tar ball anymore.
5705 2012-05-14 Andreas Jaeger <aj@suse.de>
5707 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5710 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5714 to 2.2.0 where earlier.
5715 * sysdeps/unix/sysv/linux/configure: Regenerated.
5716 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5717 Remove conditional code.
5718 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5719 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5720 Remove conditional code.
5721 [!__NR_lchown]: Likewise.
5722 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5723 [__NR_lchown]: Likewise.
5724 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5725 comment referencing __ASSUME_LCHOWN_SYSCALL.
5726 * sysdeps/unix/sysv/linux/i386/sigaction.c
5727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5730 Remove conditional code.
5731 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5732 (__protocol_available): Remove #if 0 code.
5733 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5735 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5736 * sysdeps/unix/sysv/linux/kernel-features.h
5737 (__ASSUME_GETCWD_SYSCALL): Don't define.
5738 (__ASSUME_REALTIME_SIGNALS): Likewise.
5739 (__ASSUME_PREAD_SYSCALL): Likewise.
5740 (__ASSUME_PWRITE_SYSCALL): Likewise.
5741 (__ASSUME_POLL_SYSCALL): Likewise.
5742 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5743 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5745 (__ASSUME_SIOCGIFNAME): Don't define.
5746 (__ASSUME_MSG_NOSIGNAL): Likewise.
5747 (__ASSUME_SENDFILE): Define unconditionally.
5748 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5749 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5751 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5752 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5753 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5754 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5755 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5756 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5757 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5774 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5780 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5782 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5783 Remove conditional code.
5784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5785 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5786 Remove conditional code.
5787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5788 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5789 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5790 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5791 Remove conditional code.
5792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5793 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5794 Remove conditional code.
5795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5796 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5797 Remove conditional code.
5798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5799 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5800 Remove conditional code.
5801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5802 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5803 Remove conditional code.
5804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5805 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5808 * sysdeps/unix/sysv/linux/sigaction.c
5809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5811 * sysdeps/unix/sysv/linux/sigpending.c
5812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5814 * sysdeps/unix/sysv/linux/sigprocmask.c
5815 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5816 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5817 * sysdeps/unix/sysv/linux/sigsuspend.c
5818 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5819 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5821 (__libc_missing_rt_sigs): Remove.
5822 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5823 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5824 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5825 Remove conditional code.
5826 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5827 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5830 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5832 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5834 2012-05-14 Andreas Jaeger <aj@suse.de>
5836 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5837 it's not used in glibc.
5838 (__coshm1): Likewise.
5839 (__acosh1p): Likewise.
5842 * manual/string.texi (Copying and Concatenation): Add missing
5843 variable in concat example.
5844 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5850 __builtin_clzl with __builtin_clzll.
5852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5855 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5858 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5860 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5861 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5862 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5865 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5867 * NEWS: Update ia64 info.
5869 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5871 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5874 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5876 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5877 * sysdeps/unix/syscalls.list (dup3): Likewise.
5878 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5879 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5881 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5883 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5884 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5886 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5888 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5890 (TLS_IE): Use mov/add instead of movq/addq to load thread
5892 (TLS_GD_PREFIX): New.
5895 2012-05-11 David S. Miller <davem@davemloft.net>
5897 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5898 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5899 (_FPU_SETCW): Likewise.
5901 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5903 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5906 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5909 * iconvdata/gb18030.c: Update tables.
5910 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5911 characters specially.
5912 (BODY for TO_LOOP): Add encoding of missing ranges.
5914 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5917 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5918 * sysdeps/mach/hurd/dup3.c: Likewise.
5919 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5920 * sysdeps/powerpc/memmove.c:: Likewise.
5922 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5925 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5927 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5929 * elf/elf.h (R_X86_64_RELATIVE64): New.
5930 (R_X86_64_NUM): Updated.
5931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5932 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5933 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5934 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5935 tst-quad1pie tst-quad2pie
5936 (modules-names): Add tst-quadmod1 tst-quadmod2.
5937 ($(objpfx)tst-quad1): New dependency.
5938 ($(objpfx)tst-quad2): Likewise.
5939 ($(objpfx)tst-quad1pie): Likewise.
5940 ($(objpfx)tst-quad2pie): Likewise.
5941 * sysdeps/x86_64/tst-quad1.c: New file.
5942 * sysdeps/x86_64/tst-quad1pie.c: New file.
5943 * sysdeps/x86_64/tst-quad2.c: Likewise.
5944 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5945 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5946 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5947 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5948 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5952 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5953 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5954 * streams/stropts.h (t_scalar_t): Define type.
5956 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5957 (_PATH_PRESERVE): Set to "/var/lib".
5958 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5960 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5963 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5964 if __dir_mkfile succeeded.
5966 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5967 checking for _hurd_dtablesize. Unlock it right after having
5968 finished _hurd_dtable allocation.
5970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5972 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5973 * sysdeps/mach/hurd/configure: Regenerated.
5974 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5975 special-casing to...
5976 * sysdeps/gnu/configure.in: ... this new file.
5977 * sysdeps/unix/sysv/linux/configure: Regenerated.
5978 * sysdeps/gnu/configure: New generated file.
5980 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5981 for Linux: use nsec instead of usec, as well as:
5982 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5983 members of type struct timespec.
5984 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5986 (struct stat64): Likewise.
5987 (_STATBUF_ST_NSEC): New macro.
5988 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5990 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5991 __strtoul_internal rather than strtoul.
5993 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5995 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5998 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6000 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6001 which preserves existing values.
6002 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6004 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6006 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6007 TIMEOUT values. Return EINVAL for NFDS values either negative or
6008 greater than FD_SETSIZE.
6010 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6012 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6013 allocated, call __vm_protect to finish enabling the existing space, and
6014 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6015 allocate the remainder.
6017 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6019 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6020 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6022 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6024 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6025 sysdeps/mach/hurd/readlink.c.
6027 * posix/tst-sysconf.c (posix_options): Only use
6028 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6029 _POSIX_SYNCHRONIZED_IO when they are defined
6030 * sysdeps/mach/hurd/bits/posix_opt.h:
6031 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6032 (_XOPEN_REALTIME): Undefine macro.
6033 (_XOPEN_REALTIME_THREADS): Undefine macro.
6034 (_XOPEN_SHM): Undefine macro.
6035 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6037 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6039 (_POSIX_ASYNC_IO): Undefine macro.
6040 (_POSIX_PRIORITIZED_IO): Undefine macro.
6041 (_POSIX_SPIN_LOCKS): Define macro to -1.
6043 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6044 SA_NODEFER, SA_RESETHAND.
6045 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6046 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6051 * elf/Makefile (pldd-modules): Define unconditionally.
6053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6055 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6057 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6059 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6060 Return ENOENT when name is empty.
6061 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6065 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6067 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6069 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6071 Fix mlock in all cases except non-readable pages.
6072 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6073 instead of VM_PROT_ALL as parameter to __vm_wire function.
6075 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6076 (__mkdir): When path is `/', just fail with EEXIST.
6077 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6081 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6082 <sys/uio.h> (for writev).
6083 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6084 and <sys/param.h> (for MIN).
6086 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6088 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6089 REQUESTED_TIME. Properly set the remaining time and return EINTR
6092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6094 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6095 Depend on against $(link-rpcuserlibs).
6097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6099 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6100 (__libc_stack_end): Do not use attribute_relro.
6101 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6102 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6103 to libthread-provided value.
6104 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6107 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6110 * bits/libc-lock.h (__libc_once_get): New macro.
6111 * sysdeps/mach/bits/libc-lock.h: Likewise.
6112 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6114 instead of using implementation details.
6116 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6117 * libio/freopen.c: Likewise.
6118 * libio/freopen64.c: Likewise.
6119 * misc/syslog.c: Likewise.
6120 * nscd/connections.c: Likewise.
6121 * nscd/netgroupcache.c: Likewise.
6122 * sysdeps/posix/getcwd.c: Likewise.
6124 2012-05-10 Roland McGrath <roland@hack.frob.com>
6126 * math/w_ilogbf.c: Add #include <limits.h>.
6128 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6130 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6131 path instead of returning without unlocking.
6133 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6134 immediate-write ioctls.
6135 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6139 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6140 __builtin_frame_address instead of making assumptions about the
6141 location of the return address relative to DATA. Force early load of
6143 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6144 __builtin_frame_address.
6147 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6148 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6149 implement dup3 and do some further code clean-ups.
6150 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6151 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6153 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6155 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6157 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6158 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6159 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6160 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6161 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6164 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6165 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6166 when handler == SIG_ERR, not when handler != SIG_ERR.
6168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6170 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6171 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6174 accept4 for GNU Hurd.
6175 * include/sys/socket.h (__libc_accept4): New prototype.
6176 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6177 to implement __libc_accept4.
6178 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6180 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6182 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6183 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6184 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6189 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6193 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6194 assertion on O_CLOEXEC flag.
6195 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6196 * hurd/intern-fd.c: Likewise.
6197 * hurd/port2fd.c: Likewise.
6199 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6202 * bits/in.h (IPV6_PKTINFO): Define new macro.
6203 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6205 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6212 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6213 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6216 * math/libm-test.inc (logb_test) : Additional logb tests.
6218 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6219 Andreas Jaeger <aj@suse.de>
6221 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6222 * configure: Regenerated.
6223 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6224 * config.make.in (link-obsolete-rpc): New substituted variable.
6225 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6226 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6227 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6228 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6229 so that libc.a contains the symbols.
6230 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6231 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6232 * sunrpc/auth_none.c: Likewise.
6233 * sunrpc/auth_unix.c: Likewise.
6234 * sunrpc/authdes_prot.c: Likewise.
6235 * sunrpc/authuxprot.c: Likewise.
6236 * sunrpc/clnt_gen.c: Likewise.
6237 * sunrpc/clnt_perr.c: Likewise.
6238 * sunrpc/clnt_raw.c: Likewise.
6239 * sunrpc/clnt_simp.c: Likewise.
6240 * sunrpc/clnt_tcp.c: Likewise.
6241 * sunrpc/clnt_udp.c: Likewise.
6242 * sunrpc/clnt_unix.c: Likewise.
6243 * sunrpc/des_crypt.c: Likewise.
6244 * sunrpc/des_soft.c: Likewise.
6245 * sunrpc/get_myaddr.c: Likewise.
6246 * sunrpc/key_call.c: Likewise.
6247 * sunrpc/key_prot.c: Likewise.
6248 * sunrpc/netname.c: Likewise.
6249 * sunrpc/pm_getmaps.c: Likewise.
6250 * sunrpc/pm_getport.c: Likewise.
6251 * sunrpc/pmap_clnt.c: Likewise.
6252 * sunrpc/pmap_prot.c: Likewise.
6253 * sunrpc/pmap_prot2.c: Likewise.
6254 * sunrpc/pmap_rmt.c: Likewise.
6255 * sunrpc/publickey.c: Likewise.
6256 * sunrpc/rpc_cmsg.c: Likewise.
6257 * sunrpc/rpc_common.c: Likewise.
6258 * sunrpc/rpc_dtable.c: Likewise.
6259 * sunrpc/rpc_prot.c: Likewise.
6260 * sunrpc/rpc_thread.c: Likewise.
6261 * sunrpc/rtime.c: Likewise.
6262 * sunrpc/svc.c: Likewise.
6263 * sunrpc/svc_auth.c: Likewise.
6264 * sunrpc/svc_raw.c: Likewise.
6265 * sunrpc/svc_run.c: Likewise.
6266 * sunrpc/svc_tcp.c: Likewise.
6267 * sunrpc/svc_udp.c: Likewise.
6268 * sunrpc/svc_unix.c: Likewise.
6269 * sunrpc/svcauth_des.c: Likewise.
6270 * sunrpc/xcrypt.c: Likewise.
6271 * sunrpc/xdr.c: Likewise.
6272 * sunrpc/xdr_array.c: Likewise.
6273 * sunrpc/xdr_float.c: Likewise.
6274 * sunrpc/xdr_intXX_t.c: Likewise.
6275 * sunrpc/xdr_mem.c: Likewise.
6276 * sunrpc/xdr_rec.c: Likewise.
6277 * sunrpc/xdr_ref.c: Likewise.
6278 * sunrpc/xdr_sizeof.c: Likewise.
6279 * sunrpc/xdr_stdio.c: Likewise.
6281 2012-05-10 Roland McGrath <roland@hack.frob.com>
6283 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6284 change. Update copyright years.
6286 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6288 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6290 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6291 Joseph Myers <joseph@codesourcery.com>
6292 Paul Pluzhnikov <ppluzhnikov@google.com>
6295 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6297 [cross-compiling] (extra-libs): Likewise.
6298 [cross-compiling] (extra-libs-others): Likewise.
6299 [cross-compiling] (librpcsvc-routines): Likewise.
6300 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6301 [cross-compiling] (omit-deps): Likewise.
6302 (sunrpc-CPPFLAGS): New variable.
6303 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6304 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6305 (cross-rpcgen-objs): New variable.
6306 (extra-objs): Append $(cross-rpcgen-objs).
6307 ($(cross-rpcgen-objs)): New rule.
6308 ($(objpfx)cross-rpcgen): Likewise.
6309 (rpcgen-cmd): Define to use $(built-program-file). Expand
6311 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6312 ($(objpfx)x%.stmp): Likewise.
6313 * sunrpc/proto.h [IS_IN_build] (_): Define.
6314 [IS_IN_build] (_libc_intl_domainname): Likewise.
6316 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6319 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6320 and R_X86_64_TPOFF64.
6322 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6324 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6325 sysdeps/unix/sysv/syscalls.list.
6328 * sysdeps/unix/sysv/syscalls.list: Remove file.
6330 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6333 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6334 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6335 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6336 (__LC_IDENTIFICATION): Make these macros useful in #if
6337 expressions, as required by C99.
6339 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6341 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6342 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6345 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6347 * stdlib/longlong.h: Updated from GCC.
6349 2012-05-09 Andreas Jaeger <aj@suse.de>
6351 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6352 default is first entry.
6353 (run_mode): Set type.
6354 (main): Remove informal message about syslog.
6355 (options): Fix typo.
6358 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6361 (llrintf): Likewise.
6365 (nearbyint): Likewise.
6366 (nearbyintf): Likewise.
6368 2012-05-09 Andreas Jaeger <aj@suse.de>
6369 Pedro Alves <palves@redhat.com>
6371 * nscd/nscd.c (run_mode): Use enum.
6372 (main): Cleanup coding style issue.
6374 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6375 Andreas Jaeger <aj@suse.de>
6377 * nscd/nscd.c (go_background): Replaced with...
6378 (run_mode): ... this.
6379 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6380 (options): Add -F --foreground.
6381 (main): Implement it.
6382 (parse_opt): Parse it.
6384 2012-05-09 Andreas Jaeger <aj@suse.de>
6387 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6388 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6389 -Wconversion warning.
6390 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6393 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6395 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6397 (LC_ALL): Use macro-int-constant.
6398 (LC_COLLATE): Likewise.
6399 (LC_CTYPE): Likewise.
6400 (LC_MESSAGES): Likewise.
6401 (LC_MONETARY): Likewise.
6402 (LC_NUMERIC): Likewise.
6403 (LC_TIME): Likewise.
6404 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6405 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6407 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6409 [C99-based standards] (float_t): Expect type.
6410 [C99-based standards] (double_t): Expect type.
6411 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6413 [C99-based standards] (HUGE_VALL): Likewise.
6414 [C99-based standards] (INFINITY): Likewise.
6415 [C99-based standards] (NAN): Likewise.
6416 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6417 [C99-based standards] (FP_NAN): Likewise.
6418 [C99-based standards] (FP_NORMAL): Likewise.
6419 [C99-based standards] (FP_SUBNORMAL): Likewise.
6420 [C99-based standards] (FP_ZERO): Likewise.
6421 [C99-based standards] (FP_FAST_FMA): Use
6422 optional-macro-int-constant. Specify type. Require == 1.
6423 [C99-based standards] (FP_FAST_FMAF): Likewise.
6424 [C99-based standards] (FP_FAST_FMAL): Likewise.
6425 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6426 [C99-based standards] (FP_ILOGBNAN): Likewise.
6427 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6429 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6430 [C99-based standards] (math_errhandling): Specify type.
6431 [ISO99 || ISO11] (signgam): Do not allow.
6432 [non-C99-based standards] (copysignf): Do not allow.
6433 [non-C99-based standards] (exp2f): Likewise.
6434 [non-C99-based standards] (log2f): Likewise.
6435 [non-C99-based standards] (modff): Allow.
6436 [non-C99-based standards] (erff): Do not allow.
6437 [non-C99-based standards] (erfcf): Likewise.
6438 [non-C99-based standards] (gammaf): Likewise.
6439 [non-C99-based standards] (hypotf): Likewise.
6440 [non-C99-based standards] (j0f): Likewise.
6441 [non-C99-based standards] (j1f): Likewise.
6442 [non-C99-based standards] (jnf): Likewise.
6443 [non-C99-based standards] (lgammaf): Likewise.
6444 [non-C99-based standards] (tgammaf): Likewise.
6445 [non-C99-based standards] (y0f): Likewise.
6446 [non-C99-based standards] (y1f): Likewise.
6447 [non-C99-based standards] (ynf): Likewise.
6448 [non-C99-based standards] (isnanf): Likewise.
6449 [non-C99-based standards] (acoshf): Likewise.
6450 [non-C99-based standards] (asinhf): Likewise.
6451 [non-C99-based standards] (atanhf): Likewise.
6452 [non-C99-based standards] (cbrtf): Likewise.
6453 [non-C99-based standards] (expm1f): Likewise.
6454 [non-C99-based standards] (ilogbf): Likewise.
6455 [non-C99-based standards] (log1pf): Likewise.
6456 [non-C99-based standards] (logbf): Likewise.
6457 [non-C99-based standards] (nextafterf): Likewise.
6458 [non-C99-based standards] (remainderf): Likewise.
6459 [non-C99-based standards] (rintf): Likewise.
6460 [non-C99-based standards] (scalbf): Likewise.
6461 [non-C99-based standards] (copysignl): Likewise.
6462 [non-C99-based standards] (exp2l): Likewise.
6463 [non-C99-based standards] (log2l): Likewise.
6464 [non-C99-based standards] (modfl): Allow.
6465 [non-C99-based standards] (erfl): Do not allow.
6466 [non-C99-based standards] (erfcl): Likewise.
6467 [non-C99-based standards] (gammal): Likewise.
6468 [non-C99-based standards] (hypotl): Likewise.
6469 [non-C99-based standards] (j0l): Likewise.
6470 [non-C99-based standards] (j1l): Likewise.
6471 [non-C99-based standards] (jnl): Likewise.
6472 [non-C99-based standards] (lgammal): Likewise.
6473 [non-C99-based standards] (tgammal): Likewise.
6474 [non-C99-based standards] (y0l): Likewise.
6475 [non-C99-based standards] (y1l): Likewise.
6476 [non-C99-based standards] (ynl): Likewise.
6477 [non-C99-based standards] (isnanl): Likewise.
6478 [non-C99-based standards] (acoshl): Likewise.
6479 [non-C99-based standards] (asinhl): Likewise.
6480 [non-C99-based standards] (atanhl): Likewise.
6481 [non-C99-based standards] (cbrtl): Likewise.
6482 [non-C99-based standards] (expm1l): Likewise.
6483 [non-C99-based standards] (ilogbl): Likewise.
6484 [non-C99-based standards] (log1pl): Likewise.
6485 [non-C99-based standards] (logbl): Likewise.
6486 [non-C99-based standards] (nextafterl): Likewise.
6487 [non-C99-based standards] (remainderl): Likewise.
6488 [non-C99-based standards] (rintl): Likewise.
6489 [non-C99-based standards] (scalbl): Likewise.
6490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6491 [non-C99-based standards] (FP_*): Do not allow.
6492 [C99-based standards] (FP_*): Change to
6493 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6494 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6496 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6497 (SIG_ERR): Likewise.
6498 [X/Open-based standards] (SIG_HOLD): Likewise.
6499 (SIG_IGN): Likewise.
6500 (SIGABRT): Use macro-int-constant. Specify type. Require
6505 (SIGSEGV): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6511 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6512 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6513 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6514 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6515 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6516 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6517 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6518 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6519 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6520 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6521 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6522 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6525 [X/Open-based standards] (SIGTRAP): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6528 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6529 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6530 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6533 2012-05-08 Ian Wienand <ianw@vmware.com>
6536 * time/tzset.c (__tzset_parse_tz): Update default rules for
6537 daylight time changes in the Energy Policy Act of 2005.
6539 2012-05-09 Andreas Jaeger <aj@suse.de>
6542 * elf/ldconfig.c (parse_conf): Change string to make clear that
6543 ldconfig only issued a warning if ld.so.conf does not exist.
6545 2012-05-08 David S. Miller <davem@davemloft.net>
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6548 movxtod instead of popping the value on the stack.
6550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6552 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6554 * config.h.in: Add HAVE_ARM_PCS_VFP.
6556 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6559 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6560 checking but the checks are disabled for any reason.
6562 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6564 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6565 and ELF64_R_TYPE with ELFW(R_TYPE).
6567 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6569 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6572 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6573 (settimeofday): Likewise.
6575 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6577 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6578 a struct th_u2 inside the union, and move tu_block/tu_code into
6579 a new th_u3 union of tu_block/tu_code inside of that. Move
6580 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6581 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6582 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6583 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6584 (th_stuff): Change to th_u1.tu_stuff.
6586 (th_msg): Change to th_u1.th_u2.tu_data.
6588 2012-05-07 David S. Miller <davem@davemloft.net>
6590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6593 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6594 (SETUP_PIC_REG): Use it.
6595 (SETUP_PIC_REG_LEAF): Use it.
6597 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6601 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6603 (EXPL_FINITE): Likewise.
6605 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6606 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6608 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6610 (EXPL_FINITE): Likewise.
6612 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6613 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6615 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6616 test of -max_value argument for long double.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6620 2012-05-06 David S. Miller <davem@davemloft.net>
6622 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6623 quad soft-float symbols whose references which are compiler
6625 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6627 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6633 (EXPL_FINITE): Likewise.
6637 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6638 Adjust comments for base varying.
6639 (__expl_finite): Change alias to EXPL_FINITE.
6640 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6642 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6643 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6645 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6648 (EXPL_FINITE): Likewise.
6652 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6653 Adjust comments for base varying.
6654 (__expl_finite): Change alias to EXPL_FINITE.
6655 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6660 * math/libm-test.inc (check_float_internal): Correct ulp
6661 calculation for subnormal expected results.
6663 2012-05-06 Andreas Jaeger <aj@suse.de>
6665 * Makeconfig (+math-flags): New, set to -frounding-math.
6666 (+cflags): Add +math-flags so that all of glibc gets compiled with
6669 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6671 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6673 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6679 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6680 (__ieee754_expl): Allow for and saturate large arguments.
6681 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6682 (u_threshold): Likewise.
6683 (__exp): Call __ieee754_exp before checking for overflow and
6685 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6686 (u_threshold): Likewise.
6687 (__expf): Call __ieee754_expf before checking for overflow and
6689 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6690 (u_threshold): Likewise.
6691 (__expl): Call __ieee754_expl before checking for overflow and
6693 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6694 (__ieee754_expl): Allow for and saturate large arguments.
6695 * math/libm-test.inc (exp_test): Add another test. Do not allow
6696 missing overflow exception on overflow.
6697 (expm1_test): Do not allow missing overflow exception on overflow.
6699 * sysdeps/i386/fpu/e_expl.c: Move to ...
6700 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6701 rather than using inline asm.
6702 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6703 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6704 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6706 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6713 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6715 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6716 sysdeps/unix/common/syscalls.list.
6719 (ftruncate): Likewise.
6720 (getrusage): Likewise.
6721 (gettimeofday): Likewise.
6722 (setpgid): Likewise.
6723 (setregid): Likewise.
6724 (setreuid): Likewise.
6725 (sigaction): Likewise.
6726 (truncate): Likewise.
6727 (vhangup): Likewise.
6728 * sysdeps/unix/common/syscalls.list: Remove file.
6729 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6730 * sysdeps/unix/sysv/linux/Implies: Likewise.
6732 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6734 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6736 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6740 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6743 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6746 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6749 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6752 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6755 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6758 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6762 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6766 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6769 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6773 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6777 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/unix/common/bits/dirent.h: Remove file.
6780 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6782 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6783 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6784 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6785 * sysdeps/unix/bsd/isatty.c: Likewise.
6786 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6787 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6788 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6790 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6794 long double comparison inaccuracies.
6795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6798 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6800 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6801 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6803 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6807 nonzero digits before rounding a hex value.
6808 * stdlib/tst-strtod.c (tests): Add another test.
6810 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6812 * sysdeps/s390/fpu/libm-test-ulps: Update.
6814 2012-05-03 Andreas Jaeger <aj@suse.de>
6816 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6817 does not get optimized out.
6818 (malloc_opt_barrier): New.
6820 2012-05-03 Andreas Jaeger <aj@suse.de>
6821 Roland McGrath <roland@hack.frob.com>
6823 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6824 intermediate file deletion.
6825 (generated): Add .symlist files.
6827 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6830 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6831 Redirect under this condition.
6832 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6833 [__USE_GNU] (__dprintf_chk): Not under this condition.
6834 [__USE_GNU] (__vdprintf_chk): Likewise.
6835 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6836 under this condition.
6837 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6838 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6839 [__USE_XOPEN2K8] (vdprintf): Likewise.
6840 [__USE_GNU] (__dprintf_chk): Not under this condition.
6841 [__USE_GNU] (__vdprintf_chk): Likewise.
6842 [__USE_GNU] (dprintf): Likewise.
6843 [__USE_GNU] (vdprintf): Likewise.
6845 2012-05-03 Roland McGrath <roland@hack.frob.com>
6847 * elf/Makefile (common-generated): Set this instead of generated for
6848 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6849 $(all-built-dso)-derived lists.
6851 2012-05-03 Andreas Jaeger <aj@suse.de>
6853 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * scripts/gen-FAQ.pl: Likewise.
6858 * manual/install.texi (Installation): Point to online location of
6860 * Makefile (files-for-dist): Remove FAQ.
6863 2012-05-02 Allan McRae <allan@archlinux.org>
6865 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6866 (LDFLAGS-reldepmod5.so): Likewise.
6867 (LDFLAGS-reldep6mod1.so): Likewise.
6868 (LDFLAGS-reldep6mod4.so): Likewise.
6869 (LDFLAGS-reldep8mod3.so): Likewise.
6870 (LDFLAGS-unload4mod1.so): Likewise.
6871 (LDFLAGS-unload4mod2.so): Likewise.
6872 (LDFLAGS-tst-initorder): Likewise.
6873 (LDFLAGS-tst-initordera2.so): Likewise.
6874 (LDFLAGS-tst-initordera3.so): Likewise.
6875 (LDFLAGS-tst-initordera4.so): Likewise.
6876 (LDFLAGS-tst-initorderb2.so): Likewise.
6877 (LDFLAGS-noload): Likewise.
6878 (LDFLAGS-next): Likewise.
6879 (LDFLAGS-order2mod1.so): Likewise.
6880 (LDFLAGS-order2mod2.so): Likewise.
6881 (LDFLAGS-tst-initorder2): Likewise.
6882 (LDFLAGS-tst-initorder2a.so): Likewise.
6883 (LDFLAGS-tst-initorder2b.so): Likewise.
6884 (LDFLAGS-tst-initorder2c.so): Likewise.
6885 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6887 2012-05-02 David S. Miller <davem@davemloft.net>
6889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6891 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6894 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6896 2012-05-02 Andreas Jaeger <aj@suse.de>
6898 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6899 since we manipulate rounding mode.
6900 (CPPFLAGS-test-idouble.c): Likewise.
6901 (CPPFLAGS-test-ifloat.c): Likewise.
6902 (CFLAGS-test-ldouble.c): Likewise.
6903 (CFLAGS-test-double.c): Likewise.
6904 (CFLAGS-test-float.c): Likewise.
6905 (CFLAGS-test-misc.c): Likewise.
6906 (CFLAGS-test-test-fenv.c): Likewise.
6908 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6913 comparisons to determine direction to adjust input.
6915 2012-05-01 Roland McGrath <roland@hack.frob.com>
6917 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6918 output to the target.
6920 * scripts/localplt.awk: New file.
6921 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6922 (check-localplt-CFLAGS): Variable removed.
6923 ($(all-built-dso:=.jmprel)): New static pattern rule.
6924 (generated): Add those targets.
6925 (localplt-built-dso): New variable.
6926 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6928 * elf/check-localplt.c: File removed.
6930 * scripts/check-execstack.awk: New file.
6931 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6932 (check-execstack-CFLAGS): Variable removed.
6933 ($(objpfx)check-execstack.h): Target removed.
6934 ($(objpfx)execstack-default): New target.
6935 (generated): Add that instead of check-execstack.h.
6936 ($(all-built-dso:=.phdr)): New static pattern rule.
6937 (generated): Add those targets.
6938 * elf/check-execstack.c: File removed.
6940 * scripts/check-textrel.awk: New file.
6941 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6942 (check-textrel-CFLAGS): Variable removed.
6943 (all-built-dso): Use := to define.o
6944 ($(all-built-dso:=.dyn)): New static pattern rule.
6945 (generated): Add those targets.
6946 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6947 * config.make.in (READELF): New substituted variable.
6948 * elf/check-textrel.c: File removed.
6950 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6952 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6954 * conform/data/ctype.h-data [C99-based standards] (isblank):
6956 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6957 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6959 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6960 Specify type. Require positive value.
6963 [ISO || POSIX] (EILSEQ): Do not expect.
6964 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6965 Specify type. Require positive value.
6966 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7010 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7011 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7012 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7013 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7014 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7015 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7016 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7017 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7018 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7019 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7020 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7021 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7022 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7023 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7024 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7025 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7026 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7027 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7028 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7029 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7030 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7031 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7032 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7033 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7034 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7035 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7036 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7037 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7038 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7039 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7040 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7041 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7042 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7044 (FLT_ROUNDS): Expect as macro, not constant.
7045 (FLT_MANT_DIG): Use macro-int-constant.
7046 (DBL_MANT_DIG): Likewise.
7047 (LDBL_MANT_DIG): Likewise.
7048 (FLT_DIG): Likewise.
7049 (DBL_DIG): Likewise.
7050 (LDBL_DIG): Likewise.
7051 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7052 (DBL_MIN_EXP): Likewise.
7053 (LDBL_MIN_EXP): Likewise.
7054 (FLT_MAX_EXP): Use macro-int-constant.
7055 (DBL_MAX_EXP): Likewise.
7056 (LDBL_MAX_EXP): Likewise.
7057 (FLT_MAX_10_EXP): Likewise.
7058 (DBL_MAX_10_EXP): Likewise.
7059 (LDBL_MAX_10_EXP): Likewise.
7060 (FLT_MAX): Use macro-constant.
7061 (DBL_MAX): Likewise.
7062 (LDBL_MAX): Likewise.
7063 (FLT_EPSILON): Use macro-constant. Give upper bound.
7064 (DBL_EPSILON): Likewise.
7065 (LDBL_EPSILON): Likewise.
7066 (FLT_MIN): Likewise.
7067 (DBL_MIN): Likewise.
7068 (LDBL_MIN): Likewise.
7069 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7070 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7071 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7072 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7073 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7074 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7075 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7076 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7077 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7078 [ISO11] (FLT_TRUE_MIN): Likewise.
7079 [ISO11] (LDBL_TRUE_MIN): Likewise.
7080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7081 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7082 (SCHAR_MIN): Use macro-int-constant. Specify type.
7083 (SCHAR_MAX): Likewise.
7084 (UCHAR_MAX): Likewise.
7085 (CHAR_MIN): Likewise.
7086 (CHAR_MAX): Likewise.
7087 (MB_LEN_MAX): Use macro-int-constant.
7088 (SHRT_MIN): Use macro-int-constant. Specify type.
7089 (SHRT_MAX): Likewise.
7090 (USHRT_MAX): Likewise.
7091 (INT_MAX): Likewise.
7092 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7094 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7096 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7098 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7099 bound negative. Suffix upper bound with "L".
7100 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7102 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7104 [C99-based standards] (LLONG_MAX): Likewise.
7105 [C99-based standards] (ULLONG_MAX): Likewise.
7106 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7108 [ISO11] (max_align_t): Require type.
7109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7111 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7112 from $CFLAGS, without defining away __attribute__ calls.
7113 (checknamespace): Use $CFLAGS_namespace.
7115 * conform/conformtest.pl (@keywords): Only include C99 keywords
7116 for standards based on C99 or C11.
7118 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7120 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7123 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7124 usability of symbols in #if.
7126 * conform/conformtest.pl: If macro or constant types start
7127 "promoted:", expect the symbol to be of the following type
7128 promoted by the integer promotions.
7130 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7131 in one place. Also handle "macro-constant".
7133 * conform/conformtest.pl: Only accept expected macro values with
7134 "==". Parse all "macro" lines in one place.
7135 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7137 * conform/conformtest.pl: Handle braced types on "constant" lines
7138 instead of handling "typed-constant".
7139 * conform/data/signal.h-data: Use "constant" instead of
7142 * conform/conformtest.pl: Handle "optional-" at start of lines in
7143 one place rather than duplicating several cases. Handle each
7144 format of "macro" line with initial "optional-".
7146 * conform/conformtest.pl: Only accept expected constant or
7147 optional-constant values with "==". Parse all "constant" lines in
7148 one place. Parse all "optional-constant" lines in one place.
7149 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7150 * conform/data/fmtmsg.h-data: Likewise.
7151 * conform/data/netinet/in.h-data: Likewise.
7152 * conform/data/tar.h-data: Likewise.
7153 * conform/data/limits.h-data: Use "==" form on "constant" and
7154 "optional-constant" lines.
7156 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7157 Use -std=c99 for XOPEN2K.
7158 (@knownproblems): Remove.
7159 (newtoken): Don't check %isknown.
7161 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7162 Do not expect macro.
7163 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7175 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7176 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7193 [XPG3] (acosh): Likewise.
7194 [XPG3] (asinh): Likewise.
7195 [XPG3] (atanh): Likewise.
7196 [XPG3] (cbrt): Likewise.
7197 [XPG3] (expm1): Likewise.
7198 [XPG3] (ilogb): Likewise.
7199 [XPG3] (log1p): Likewise.
7200 [XPG3] (logb): Likewise.
7201 [XPG3] (nextafter): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7204 [XPG3] (remainder): Likewise.
7205 [XPG3] (rint): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7213 [UNIX98 || XOPEN2K] (scalb): Expect.
7214 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7215 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7337 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7352 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7353 _XOPEN_SOURCE_EXTENDED for XPG4.
7355 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7357 * Makeconfig (localtime): Remove variable.
7358 (inst_localtime-file): Likewise.
7360 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7381 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7385 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7386 comparisons to determine direction to adjust input.
7387 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7388 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7398 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7400 * math/libm-test.inc (nexttoward_test): Add more tests.
7402 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7405 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7406 in version GLIBC_2.1, not GLIBC_2.0.
7407 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7410 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7413 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7415 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7416 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7417 * math/libm-test.inc (acos_test): Add more tests.
7418 (asin_test): Likewise.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7425 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7427 * math/libm-test.inc (acos_test_tonearest): New function.
7428 (acos_test_towardzero): Likewise.
7429 (acos_test_downward): Likewise.
7430 (acos_test_upward): Likewise.
7431 (asin_test_tonearest): Likewise.
7432 (asin_test_towardzero): Likewise.
7433 (asin_test_downward): Likewise.
7434 (asin_test_upward): Likewise.
7435 (main): Call the new functions.
7436 * sysdeps/i386/fpu/libm-test-ulps: Update.
7437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7441 * math/e_exp10.c: Include <float.h>.
7442 (__ieee754_exp10): Handle underflow here rather than multiplying
7443 large negative argument by M_LN10.
7444 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7446 * math/e_exp10l.c: Include <float.h>.
7447 (__ieee754_exp10l): Handle underflow here rather than multiplying
7448 large negative argument by M_LN10l.
7449 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7450 spurious overflow exception on underflow.
7452 2012-04-29 Marek Polacek <polacek@redhat.com>
7454 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7455 (__fortify_function): New macro.
7456 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7457 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7458 __extern_always_inline.
7459 * libio/bits/stdio2.h: Likewise.
7460 * libio/bits/stdio.h: Likewise.
7461 * string/string.h: Likewise.
7462 * string/bits/string3.h: Likewise.
7463 * include/stdio.h: Likewise.
7464 * stdlib/bits/stdlib.h: Likewise.
7465 * stdlib/stdlib.h: Likewise.
7466 * rt/bits/mqueue2.h: Likewise.
7467 * rt/mqueue.h: Likewise.
7468 * posix/bits/unistd.h: Likewise.
7469 * posix/unistd.h: Likewise.
7470 * io/bits/poll2.h: Likewise.
7471 * io/bits/fcntl2.h: Likewise.
7472 * io/fcntl.h: Likewise.
7473 * io/sys/poll.h: Likewise.
7474 * misc/bits/syslog.h: Likewise.
7475 * misc/bits/syslog-ldbl.h: Likewise.
7476 * misc/sys/syslog.h: Likewise.
7477 * socket/bits/socket2.h: Likewise.
7478 * socket/sys/socket.h: Likewise.
7479 * debug/tst-chk1.c: Likewise.
7480 * wcsmbs/bits/wchar2.h: Likewise.
7481 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7482 * wcsmbs/wchar.h: Likewise.
7484 2012-04-29 Andreas Jaeger <aj@suse.de>
7486 * Makerules (tests): Remove enable-check-abi protection.
7487 (check-abi-warn): Remove.
7488 (check-abi-%): Remove check-abi-warn usage.
7490 * configure.in: Remove check-abi configure option.
7491 * configure: Regenerated.
7492 * config.make.in (enable-check-abi): Remove.
7494 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7497 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7498 double functions to double *_finite functions.
7501 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7502 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7504 * stdio-common/Makefile (tests): Add tst-sprintf3.
7505 * stdio-common/tst-sprintf3.c: New file.
7507 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7508 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7510 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7512 * conform/conformtest.pl: Remove duplicate typed-constant
7515 2012-04-28 David S. Miller <davem@davemloft.net>
7517 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7518 (check-abi-%): Remove AWK script prerequisite and explicit
7520 (check-abi): Rewrite to just diff the symlist with the abilist.
7521 (config-tls, config-abi-config): Delete, no longer used.
7522 (update-abi-%): Remove AWK script and explicit abilist directory.
7523 (update-abi): Rewrite to simply compare and conditionally copy the
7524 symlist and the sysdep abilist file. Remove update-abi-config
7526 * abilist/ld.abilist: Remove.
7527 * abilist/libBrokenLocale.abilist: Remove.
7528 * abilist/libanl.abilist: Remove.
7529 * abilist/libcrypt.abilist: Remove.
7530 * abilist/libdl.abilist: Remove.
7531 * abilist/librt.abilist: Remove.
7532 * abilist/libthread_db.abilist: Remove.
7533 * abilist/libutil.abilist: Remove.
7534 * scripts/extract-abilist.awk: Remove.
7535 * scripts/merge-abilist.awk: Remove.
7536 * sysdeps/generic/libcidn.abilist: New file.
7537 * sysdeps/generic/libnss_compat.abilist: New file.
7538 * sysdeps/generic/libnss_db.abilist: New file.
7539 * sysdeps/generic/libnss_dns.abilist: New file.
7540 * sysdeps/generic/libnss_files.abilist: New file.
7541 * sysdeps/generic/libnss_hesiod.abilist: New file.
7542 * sysdeps/generic/libnss_nis.abilist: New file.
7543 * sysdeps/generic/libnss_nisplus.abilist: New file.
7544 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7545 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7546 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7549 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7550 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7551 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7552 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7553 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7554 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7555 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7556 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7558 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7559 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7560 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7561 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7563 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7564 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7565 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7566 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7567 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7568 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7570 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7571 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7572 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7574 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7677 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7678 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7679 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7682 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7683 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7684 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7685 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7686 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7687 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7688 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7689 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7690 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7742 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7744 * conform/conformtest.pl: Fix typo in handling typed-constant from
7747 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7749 * README: Cut down references to pre-2.6 Linux kernels and
7750 Linuxthreads. Update lists of configurations in libc and ports
7751 and sort alphabetically. Say "or newer" with Linux kernel version
7754 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7756 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7759 * math/libm-test.inc (logb_test_downward): New test to expose
7760 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7763 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7766 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7768 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7769 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7771 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7773 * sysdeps/unix/i386/brk.S: Remove file.
7774 * sysdeps/unix/i386/dl-brk.S: Likewise.
7775 * sysdeps/unix/i386/pipe.S: Likewise.
7776 * sysdeps/unix/i386/sigreturn.S: Likewise.
7777 * sysdeps/unix/i386/syscall.S: Likewise.
7778 * sysdeps/unix/i386/vfork.S: Likewise.
7779 * sysdeps/unix/i386/wait.S: Likewise.
7781 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7782 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7784 * configure.in (arm*-none*): Do not allow without
7785 --enable-hacker-mode.
7786 (netbsd*): Remove case setting base_os.
7787 (386bsd*): Likewise.
7788 (freebsd*): Likewise.
7792 (ultrix*): Likewise.
7793 (newsos*): Likewise.
7803 (solaris[2-9]*): Likewise.
7805 * configure: Regenerated.
7807 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7811 overflow or cancellation in calculating denominator.
7812 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7813 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7814 down expression to avoid unexpected rounding in newer GCCs.
7815 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7817 2012-04-26 David S. Miller <davem@davemloft.net>
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7820 long-double compat symbols.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7835 2012-04-25 David S. Miller <davem@davemloft.net>
7837 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7838 HWCAP_* values only after the memory barriers have been defined.
7839 (atomic_full_barrier): Define.
7840 (atomic_read_barrier): Define.
7841 (atomic_write_barrier): Define.
7843 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7845 * shlib-versions: Add libgcc_s version information.
7846 * sysdeps/generic/libgcc_s.h: Remove.
7847 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7849 * sysdeps/gnu/unwind-resume.c: Likewise.
7850 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7852 2012-04-25 David S. Miller <davem@davemloft.net>
7854 * sysdeps/unix/sparc/brk.S: Delete.
7855 * sysdeps/unix/sparc/dl-brk.S: Delete.
7856 * sysdeps/unix/sparc/pipe.S: Delete.
7857 * sysdeps/unix/sparc/sysdep.S: Delete.
7858 * sysdeps/unix/sparc/sysdep.h: Delete.
7859 * sysdeps/unix/sparc/vfork.S: Delete.
7860 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7861 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7862 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7863 ret_ERRVAL, r0, r1, MOVE): Define.
7864 (JUMPTARGET): Remove.
7865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7866 sysdeps/unix/sparc/sysdep.h
7867 (ENTRY, END): Remove.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7870 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7872 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7873 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7876 * timezone/README: Update upstream location and email address for
7878 * timezone/zdump.c: Update from tzcode 2012b.
7879 * timezone/zic.c: Likewise.
7881 * configure.in (libc_cv_as_needed): Remove test.
7882 * configure: Regenerated.
7883 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7884 conditional definition.
7885 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7886 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7887 * config.make.in (have-as-needed): Remove variable.
7889 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7890 Paul Pluzhnikov <ppluzhnikov@google.com>
7892 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7895 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7897 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7898 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7899 * sysdeps/sh/strlen.S: Likewise.
7901 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7903 * sysdeps/unix/fork.S: Remove file.
7904 * sysdeps/unix/i386/fork.S: Likewise.
7905 * sysdeps/unix/sparc/fork.S: Likewise.
7907 * sysdeps/unix/system.c: Remove file.
7908 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7910 * sysdeps/unix/getegid.S: Remove file.
7911 * sysdeps/unix/geteuid.S: Likewise.
7913 2012-04-24 Roland McGrath <roland@hack.frob.com>
7915 * scripts/check-localplt.awk: New file.
7916 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7918 * scripts/data/localplt-generic.data: Add a comment.
7920 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7921 NODE when __dir_mkfile failed.
7922 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7923 Reported by Ludovic Courtès <ludo@gnu.org>.
7925 2012-04-24 Andreas Jaeger <aj@suse.de>
7927 * Makerules (common-clean): Also remove gen-as-const-headers
7930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7932 * Makerules (native-compile): Do not change working directory for
7933 build. Use $(OUTPUT_OPTION) in command.
7934 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7936 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7939 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7940 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7941 * math/libm-test.inc (floor_test): Add more tests.
7942 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7944 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7946 * sysdeps/unix/getdents.c: Remove file.
7947 * sysdeps/unix/sysv/getdents.c: Likewise.
7948 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7950 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7951 sysdeps/unix/mman/syscalls.list.
7953 (mprotect): Likewise.
7956 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7957 * sysdeps/unix/mman/syscalls.list: Remove.
7958 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7960 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7961 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7962 * configure: Regenerated.
7963 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7965 * config.make.in (libgcc_s_suffix): Remove variable.
7967 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7969 * sysdeps/unix/sysv/gethostname.c: Move to ...
7970 * sysdeps/posix/gethostname.c: ... here.
7972 * sysdeps/unix/execve.S: Remove file.
7974 * sysdeps/unix/_exit.S: Remove file.
7976 2012-04-23 Andreas Jaeger <aj@suse.de>
7979 * manual/Makefile: Remove make dist support, there's no
7980 need for a stand-alone documentation tar ball.
7981 (TEXI2DVI): Define always, it's not in Makeconfig.
7985 (glibc-doc-$(edition).tar): Removed
7989 (ETAGS): Remove, it's in Makeconfig.
7990 (move-if-change): Remove, it's in Makeconfig.
7992 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7995 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7996 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7997 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7998 (strtod_l, strtof_l, strtold_l): Remove __wur.
7999 It is not necessarily an error to ignore strtol's return value.
8000 One can reliably look at the stored endptr to decide whether
8001 the number had valid syntax.
8003 2012-04-21 Andreas Jaeger <aj@suse.de>
8006 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8008 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8010 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8011 * sysdeps/unix/sysv/Versions: Remove file.
8013 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8018 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8022 version from __vm86.
8024 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8026 * sysdeps/unix/common/lxstat.c: Remove file.
8027 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8029 * sysdeps/unix/sysv/Makefile: Remove file.
8031 * sysdeps/unix/sysv/direct.h: Remove file.
8033 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8034 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8035 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8036 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8037 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8038 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8039 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8041 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8043 * sysdeps/unix/xmknod.c: Remove file.
8044 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8046 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8048 * sysdeps/unix/sysv/i386/time.S: Remove file.
8050 * sysdeps/unix/fxstat.c: Remove file.
8051 * sysdeps/unix/xstat.c: Likewise.
8052 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8054 * sysdeps/unix/sysv/sigaction.c: Remove file.
8056 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8057 (sysdep_headers): Remove variable.
8058 [termio.h not in sysdep_headers] (generated): Likewise.
8059 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8060 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8061 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8062 * sysdeps/unix/sysv/tcflow.c: Likewise.
8063 * sysdeps/unix/sysv/tcflush.c: Likewise.
8064 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8065 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8066 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8067 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8068 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8070 * sysdeps/unix/siglist.c: Remove file.
8072 * sysdeps/unix/getppid.S: Remove file.
8074 * sysdeps/unix/mkdir.c: Remove file.
8075 * sysdeps/unix/rmdir.c: Likewise.
8077 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8079 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8082 errlist-compat value.
8084 2012-04-18 David S. Miller <davem@davemloft.net>
8086 * sysdeps/generic/memcopy.h (reg_char): Delete.
8087 * debug/strcat_chk.c: Use char, not reg_char.
8088 * debug/strcpy_chk.c: Likewise.
8089 * debug/strncat_chk.c: Likewise.
8090 * debug/strncpy_chk.c: Likewise.
8091 * string/memchr.c: Likewise.
8092 * string/memrchr.c: Likewise.
8093 * string/rawmemchr.c: Likewise.
8094 * string/strcat.c: Likewise.
8095 * string/strchr.c: Likewise.
8096 * string/strchrnul.c: Likewise.
8097 * string/strcmp.c: Likewise.
8098 * string/strcpy.c: Likewise.
8099 * string/strncat.c: Likewise.
8100 * string/strncmp.c: Likewise.
8101 * string/strncpy.c: Likewise.
8103 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8105 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8106 __builtin_memcopy is called when src and dest ranges are known to not
8109 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8112 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8113 fwd_align_merge macro call.
8114 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8115 bwd_align_merge macro call.
8116 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8118 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8121 bwd_align_merge macros.
8122 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8123 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8124 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8126 2012-04-18 David S. Miller <davem@davemloft.net>
8128 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8130 2012-04-18 Andreas Jaeger <aj@suse.de>
8133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8134 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8135 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8137 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8138 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8141 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8142 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8143 Adjust for changed ldbl-128 files.
8145 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8146 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8147 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8149 2012-04-17 David S. Miller <davem@davemloft.net>
8151 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8153 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8155 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8156 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8157 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8158 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8160 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8162 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8165 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8166 * math/libm-test.inc: Add ilogb errno and exception tests.
8167 * math/w_ilogb.c: New file: ilogb wrapper.
8168 * math/w_ilogbf.c: New file: ilogbf wrapper.
8169 * math/w_ilogbl.c: New file: ilogbl wrapper.
8170 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8171 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8172 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8173 exception being thrown with 0.0 as argument.
8174 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8175 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8176 exception being thrown with 0.0 as argument.
8177 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8178 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8179 exception being thrown with 0.0 as argument.
8180 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8181 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8182 exception being thrown with 0.0 as argument.
8183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8184 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8185 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8186 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8187 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8188 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8189 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8190 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8191 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8193 2012-04-17 Petr Baudis <pasky@ucw.cz>
8195 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8198 2012-04-16 Marek Polacek <polacek@redhat.com>
8200 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8202 2012-04-16 Marek Polacek <polacek@redhat.com>
8204 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8205 operands of fdivp instruction.
8207 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8209 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8210 * elf/tst-auditmod3b.c: Likewise.
8211 * elf/tst-auditmod4b.c: Likewise.
8212 * elf/tst-auditmod5b.c: Likewise.
8213 * elf/tst-auditmod6b.c: Likewise.
8214 * elf/tst-auditmod6c.c: Likewise.
8215 * elf/tst-auditmod7b.c: Likewise.
8216 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8217 * sysdeps/x86_64/preconfigure.in: Likewise.
8218 * sysdeps/x86_64/preconfigure: Regenerated.
8220 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8222 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8225 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8228 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8230 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8233 * locale/iso-639.def: Fix gl language name. Spotted by
8236 2012-04-12 Roland McGrath <roland@hack.frob.com>
8239 * libio/libio.h (__io_write_fn): Update comment.
8241 2012-04-12 Petr Baudis <pasky@ucw.cz>
8244 * stdio.texi (Hook Functions): The user provided writer function
8245 is not allowed to return -1.
8247 2012-04-11 David S. Miller <davem@davemloft.net>
8249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8251 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8253 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8254 Add a leading slash to rtkaio.
8256 2012-04-11 Jim Meyering <meyering@redhat.com>
8259 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8260 It is not necessarily an error to ignore fwrite's return
8261 value. One can reliably use ferror to test for errors after
8264 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8266 * bits/types.h (__snseconds_t): New type.
8267 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8269 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8271 (__SNSECONDS_T_TYPE): Likewise.
8272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8273 (__SNSECONDS_T_TYPE): Likewise.
8274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8275 (__SNSECONDS_T_TYPE): Likewise.
8277 2012-04-10 Andreas Jaeger <aj@suse.de>
8280 * manual/time.texi (Processor Time): Return type of times is
8281 elapsed real time since an arbitrary point in the past.
8282 (CPU Time): Move CLK_TCK from here...
8283 (Processor Time): ...to here. Correct description.
8284 * manual/conf.texi (Constants for Sysconf): Correct description of
8287 2012-04-10 David S. Miller <davem@davemloft.net>
8290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8291 where the is a gap between DT_REL(A) and DT_JMPREL.
8293 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8295 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8296 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8297 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8299 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8301 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8302 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8303 (dl_main): Handle --inhibit-cache.
8304 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8306 * elf/dl-load.c (_dl_map_object): Use it.
8307 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8309 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8312 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8313 (__ieee754_powl): Saturate large exponents rather than testing for
8314 overflow of y*log2(x).
8315 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8316 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8320 * math/s_ctan.c: Include <float.h>.
8321 (__ctan): Avoid internal overflow or cancellation in calculating
8323 * math/s_ctanf.c: Likewise.
8324 * math/s_ctanl.c: Likewise.
8325 * math/s_ctanh.c: Likewise.
8326 * math/s_ctanhf.c: Likewise.
8327 * math/s_ctanhl.c: Likewise.
8328 * math/libm-test.inc (ctan_test): Add more tests.
8329 (ctanh_test): Likewise.
8330 * sysdeps/i386/fpu/libm-test-ulps: Update.
8331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8333 2012-04-09 Andreas Jaeger <aj@suse.de>
8336 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8337 is an optional BSD extension.
8340 * manual/stdio.texi (Opening Streams): Document additional fopen
8343 2012-04-09 Roland McGrath <roland@hack.frob.com>
8345 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8346 %eax without telling the compiler.
8348 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8351 * manual/install.texi: Use sourceware.org.
8353 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8356 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8357 (__ieee754_pow): Generate overflow and underflow using huge*huge
8358 and tiny*tiny rather than just returning constant infinity or zero
8359 for large exponents.
8360 * math/libm-test.inc (pow_test): Require overflow exceptions for
8361 applicable cases of large exponents.
8364 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8365 (__ieee754_pow): Use iterative multiplication algorithm only for
8366 integer exponents with absolute value below 1024. Check for odd
8367 integer exponents when using algorithm for real exponents.
8368 * math/libm-test.inc (pow_test): Add more tests.
8369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8371 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8374 * math/libm-test.inc (exp_test): Do not allow overflow exception
8377 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8380 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8381 instead of __kernel_standard_f.
8383 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8385 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8386 * sysdeps/x86_64/memset_chk.S: Likewise.
8388 2012-04-08 Andreas Jaeger <aj@suse.de>
8391 * manual/startup.texi (Environment Access): Describe return value
8392 for putenv and setenv.
8395 * manual/filesys.texi (Directory Entries): Add description for
8399 * manual/filesys.texi (Directory Entries): Clarify that it's file
8400 system not operating system in the description of DT_UNKNOWN.
8403 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8405 2012-04-08 Stephen Compall <s11@member.fsf.org>
8408 * manual/llio.texi (Opening and Closing Files): Add cross
8409 reference to explain mode argument.
8411 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8413 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8414 * sysdeps/x86_64/memset_chk.S: Likewise.
8416 2012-04-07 David S. Miller <davem@davemloft.net>
8418 * elf/elf.h (R_SPARC_WDISP10): Define.
8419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8422 R_SPARC_SIZE64 and R_SPARC_H34.
8424 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8427 conditions and remove no longer applicable assertion.
8429 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8431 * bits/byteswap.h: Include <features.h>.
8432 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8433 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8435 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8437 * bits/byteswap.h (__bswap_16): Removed.
8438 Include <bits/byteswap-16.h> to get __bswap_16.
8439 * sysdeps/i386/bits/byteswap.h: Likewise.
8440 * sysdeps/s390/bits/byteswap.h: Likewise.
8441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8442 * bits/byteswap-16.h: New file.
8443 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8444 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8445 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8446 * string/Makefile (headers): Add bits/byteswap-16.h.
8448 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8451 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8453 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8454 * nss/tst-nss-static.c: New.
8456 2012-04-06 Robert Millan <rmh@gnu.org>
8459 * manual/llio.texi (File Position Primitive): lseek
8460 refers to WHENCE when it really means OFFSET.
8462 2012-04-06 Andreas Jaeger <aj@suse.de>
8464 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8465 strncmp declarations.
8467 * abilist/libc.abilist: Add __poll and __ppoll.
8469 2012-04-05 David S. Miller <davem@davemloft.net>
8471 * scripts/check-local-headers.sh: Accept a host triplet in the
8472 path matched by the exclude regexp.
8474 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8476 * sysdeps/powerpc/powerpc32/dl-machine.h
8477 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8478 * sysdeps/s390/s390-32/dl-machine.h
8479 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8480 * sysdeps/sparc/sparc32/dl-machine.h
8481 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8482 * sysdeps/sparc/sparc64/dl-machine.h
8483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8485 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8487 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8488 undefined symbol errors.
8490 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8493 2012-04-05 Michael Matz <matz@suse.de>
8496 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8498 2012-04-05 Andreas Jaeger <aj@suse.de>
8501 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8504 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8506 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8507 which ROUND is no valid rounding mode.
8509 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8511 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8513 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8515 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8518 an exception using FPU order intentionally.
8520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8522 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8523 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8524 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8525 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8527 2012-04-05 Simon Josefsson <simon@josefsson.org>
8530 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8531 EINVAL when BUFLEN is too smal.
8533 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8536 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8537 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8539 2012-04-03 Andreas Jaeger <aj@suse.de>
8542 * manual/setjmp.texi (System V contexts): Fix sentence.
8545 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8546 New macro for this case.
8547 [!__GNUC__] (__bswap_64): New inline function for this case.
8548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8549 * bits/byteswap.h: Likewise.
8550 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8551 ull, guard with __GLIBC_HAVE_LONG_LONG.
8553 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8554 __GLIBC_HAVE_LONG_LONG.
8556 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8557 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8559 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8562 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8563 inptr and inend, rather than using last_ch.
8565 2012-04-02 David S. Miller <davem@davemloft.net>
8567 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8568 * stdio-common/printf-parse.h (read_int): Change return type to
8569 'int', return -1 on INT_MAX overflow.
8570 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8571 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8572 overflows INT_MAX. Check for overflow of in-format-string precision
8573 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8574 SIZE_MAX not INT_MAX for integer overflow test.
8575 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8576 skip the construct in the format string but do not record anything.
8577 * stdio-common/bug22.c: Adjust to test both width/prevision
8578 INT_MAX overflow as well as total length INT_MAX overflow. Check
8579 explicitly for proper errno values.
8581 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8583 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8585 * string/test-strcmp.c [! WIDE]: Likewise.
8586 * time/tst-mktime2.c: Likewise for INT_MAX.
8587 * string/test-string.h: #include <sys/param.h> for MIN.
8589 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8590 * sysdeps/i386/init-first.c (init): Likewise.
8591 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8592 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8593 * sysdeps/sh/init-first.c (init): Likewise.
8595 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8597 * po/ru.po: Update from translation team.
8598 * po/vi.po: Likewise.
8600 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * resolv/nss_dns/dns-host.c: Merge copyright years.
8604 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8607 Optimize memcpy with prefetch if
8608 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8609 src, dst pointers have unequal 16 byte alignments.
8611 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8614 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8615 from a CNAME entry and return the minimum ttl for the query.
8616 (gaih_getanswer_slice): Likewise.
8618 2012-03-30 Jeff Law <law@redhat.com>
8620 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8622 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8623 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8625 * resolv/nss_dns/dns-host.c: Update copyright year.
8627 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8629 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8630 requests to save a system call. Fix check that all bytes are sent.
8632 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8633 comments for sendmmsg.
8635 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8638 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8639 with only 1 character between 0x0041 and 0x01b0.
8640 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8641 * wcsmbs/tst-mbsnrtowcs.c: New file.
8643 2012-03-29 David S. Miller <davem@davemloft.net>
8645 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8646 small copies by hand.
8648 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8651 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8652 _nss_compat_initgroups_dyn): Fall back to malloc/free
8653 for large group memberships.
8655 2012-03-28 David S. Miller <davem@davemloft.net>
8657 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8658 that branches into memcpy.
8659 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8662 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8665 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8667 * sysdeps/sparc/mempcpy.S: New file.
8669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8670 the IFUNC routine in the libc case.
8671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8673 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8674 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8675 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8676 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8677 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8678 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8679 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8680 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8682 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8683 loop to 256 bytes instead of 64 bytes and fix test signedness.
8685 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8686 * sysdeps/sparc/sparc32/Makefile: rather than here...
8687 * sysdeps/sparc/sparc64/Makefile: and here.
8689 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8691 * malloc/mallocbug.c: Avoid warnings about unused variables.
8693 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8696 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8697 in the right place. Discard and retry query if response is
8698 larger than input buffer size.
8700 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8706 x for large integer exponent.
8707 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8708 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8709 sign of result as needed afterwards.
8710 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8712 result for underflowing pow the same as for overflow.
8713 (__kernel_standard_l): Handle powl overflow and underflow here
8714 rather than calling __kernel_standard.
8715 * math/libm-test.inc (pow_test): Add more tests.
8730 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8731 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8732 (__kernel_standard_l): New function.
8733 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8735 * math/w_acosl.c (__acosl): Likewise.
8736 * math/w_asinl.c (__asinl): Likewise.
8737 * math/w_atan2l.c (__atan2l): Likewise.
8738 * math/w_atanhl.c (__atanhl): Likewise.
8739 * math/w_coshl.c (__coshl): Likewise.
8740 * math/w_exp10l.c (__exp10l): Likewise.
8741 * math/w_exp2l.c (__exp2l): Likewise.
8742 * math/w_fmodl.c (__fmodl): Likewise.
8743 * math/w_hypotl.c (__hypotl): Likewise.
8744 * math/w_j0l.c (__j0l, __y0l): Likewise.
8745 * math/w_j1l.c (__j1l, __y1l): Likewise.
8746 * math/w_jnl.c (__jnl, __ynl): Likewise.
8747 * math/w_lgammal.c (__lgammal): Likewise.
8748 * math/w_log10l.c (__log10l): Likewise.
8749 * math/w_log2l.c (__log2l): Likewise.
8750 * math/w_logl.c (__logl): Likewise.
8751 * math/w_powl.c (__powl): Likewise.
8752 * math/w_remainderl.c (__remainderl): Likewise.
8753 * math/w_scalbl.c (sysv_scalbl): Likewise.
8754 * math/w_sinhl.c (__sinhl): Likewise.
8755 * math/w_sqrtl.c (__sqrtl): Likewise.
8756 * math/w_tgammal.c (__tgammal): Likewise.
8757 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8758 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8759 * math/libm-test.inc (acos_test): Add more tests.
8760 (acosh_test): Likewise.
8761 (asin_test): Likewise.
8762 (atanh_test): Likewise.
8763 (exp_test): Likewise.
8764 (exp10_test): Likewise.
8765 (exp2_test): Likewise.
8766 (expm1_test): Likewise.
8767 (lgamma_test): Likewise.
8768 (log_test): Likewise.
8769 (log10_test): Likewise.
8770 (log1p_test): Likewise.
8771 (log2_test): Likewise.
8772 (pow_test): Do not allow some spurious overflow exceptions.
8773 (sqrt_test): Add more tests.
8774 (tgamma_test): Likewise.
8775 (y0_test): Likewise.
8776 (y1_test): Likewise.
8777 (yn_test): Likewise.
8779 2012-03-27 Anton Blanchard <anton@samba.org>
8781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8783 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8784 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8787 2012-03-27 David S. Miller <davem@davemloft.net>
8789 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8791 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8794 2012-03-27 Andreas Jaeger <aj@suse.de>
8796 * sysdeps/x86_64/elf/configure.in: Moved to ...
8797 * sysdeps/x86_64/configure.in: ... here.
8798 * sysdeps/x86_64/elf/start.S: Moved to ...
8799 * sysdeps/x86_64/start.S: ... here.
8800 * sysdeps/x86_64/elf/configure: Delete.
8802 * sysdeps/x86_64/configure.in: Merge contents from
8803 sysdeps/i386/configure.in (without i686 check).
8805 * sysdeps/i386/elf/Versions: Merge into ...
8806 * sysdeps/i386/Versions: ... this.
8807 * sysdeps/i386/elf/Versions: Delete file.
8808 * sysdeps/i386/elf/start.S: Moved to ...
8809 * sysdeps/i386/start.S: ...here.
8810 * sysdeps/i386/elf/configure.in: Merge into...
8811 * sysdeps/i386/configure.in: ...here.
8812 * sysdeps/i386/elf/configure.in: Delete file.
8813 * sysdeps/i386/elf/configure: Delete file.
8815 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8816 * debug/backtracesyms.c: ... here.
8817 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8818 * debug/backtracesymsfd.c: ... here.
8819 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8820 * sysdeps/generic/ifunc-sel.h: ... here.
8822 * sysdeps/unix/i386/start.c: Delete file.
8823 * sysdeps/unix/sparc/start.c: Delete file.
8824 * sysdeps/unix/start.c: Delete file.
8826 * sysdeps/sh/elf/configure.in: Moved to ...
8827 * sysdeps/sh/configure.in: ... here.
8828 * sysdeps/sh/elf/start.S: Moved to ...
8829 * sysdeps/sh/start.S: ... here.
8830 * sysdeps/sh/elf/configure: Delete file.
8832 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8833 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8834 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8835 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8836 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8837 * sysdeps/powerpc/powerpc64/start.S: here.
8838 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8839 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8840 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8841 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8842 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8844 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8845 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8846 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8847 * sysdeps/powerpc/powerpc32/start.S: ... here.
8848 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8849 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8850 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8852 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8853 * sysdeps/powerpc/ifunc-sel.h: ... here.
8854 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8855 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8857 * sysdeps/sparc/elf/configure.in: Moved to ...
8858 * sysdeps/sparc/configure.in: ... here.
8859 * sysdeps/sparc/elf/configure: Delete file.
8860 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8861 * sysdeps/sparc/sparc32/start.S: ... here.
8862 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8863 * sysdeps/sparc/sparc64/start.S: ... here.
8864 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8865 * sysdeps/sparc/sparc32/Makefile: ... this.
8866 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8867 * sysdeps/sparc/sparc64/Makefile: ... this.
8869 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8870 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8871 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8872 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8873 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8874 * sysdeps/s390/s390-32/setjmp.S: ... here.
8875 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8876 * sysdeps/s390/s390-32/configure.in: ... here.
8877 * sysdeps/s390/s390-32/elf/configure: Delete file.
8878 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8879 * sysdeps/s390/s390-32/start.S: ... here.
8881 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8882 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8883 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8884 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8885 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8886 * sysdeps/s390/s390-64/setjmp.S: ... here.
8887 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8888 * sysdeps/s390/s390-64/configure.in: ... here
8889 * sysdeps/s390/s390-64/elf/configure: Delete file.
8890 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8891 * sysdeps/s390/s390-64/start.S: ... here.
8892 * sysdeps/s390/s390-64/elf/configure: Delete.
8894 * configure.in: Remove support for elf directories in sysdeps.
8896 * configure: Regenerated.
8897 * sysdeps/i386/configure: Regenerated.
8898 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8899 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8900 * sysdeps/s390/s390-32/configure: Regenerated.
8901 * sysdeps/s390/s390-64/configure: Regenerated.
8902 * sysdeps/sh/configure: Regenerated.
8903 * sysdeps/sparc/configure: Regenerated.
8904 * sysdeps/x86_64/configure: Regenerated.
8906 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8911 denormal result into account.
8913 2012-03-25 Roland McGrath <roland@hack.frob.com>
8915 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8916 Reported by Allan McRae <allan@archlinux.org>.
8918 2012-03-23 Jeff Law <law@redhat.com>
8920 * nss/getnssent.c (__nss_getent): Fix typo.
8922 2012-03-23 David S. Miller <davem@davemloft.net>
8924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8926 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8928 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8929 to pad to uint64_t for each field.
8930 (dl_tls_index): Replace unsigned long with uint64_t.
8932 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8933 Paul Pluzhnikov <ppluzhnikov@google.com>
8936 * grp/Makefile (otherlibs): Don't set it.
8937 * inet/Makefile (otherlibs): Likewise.
8938 * login/Makefile (otherlibs): Likewise.
8939 * nscd/Makefile (otherlibs): Likewise.
8940 * posix/Makefile (otherlibs): Likewise.
8941 * pwd/Makefile (otherlibs): Likewise.
8942 * rt/Makefile (otherlibs): Likewise.
8943 * sunrpc/Makefile (otherlibs): Likewise.
8944 * nss/Makefile (otherlibs): Likewise.
8945 Add libnss_files to routines and static-only-routines.
8946 ($(objpfx)getent): Remove rule.
8947 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8948 static-only-routines.
8950 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8953 * math/s_cexp.c: Include <float.h>.
8954 (__cexp): Handle exp result overflowing not necessarily
8955 overflowing both real and imaginary parts of result.
8956 * math/s_cexpf.c: Likewise.
8957 * math/s_cexpl.c: Likewise.
8958 * math/libm-test.inc (cexp_test): Add more tests.
8959 * sysdeps/i386/fpu/libm-test-ulps: Update.
8960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8962 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8964 * include/link.h (ELFW): New macro.
8965 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8966 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8968 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8970 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8973 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8975 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8977 (struct La_x32_retval): Likewise.
8979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8981 * sysdeps/x86_64/preconfigure.in: New file.
8982 * sysdeps/x86_64/preconfigure: New generated file.
8984 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8987 * math/e_exp2l.c: Include <float.h>.
8988 (__ieee754_exp2l): Handle overflow and underflow cases
8989 separately. Only pass fractional part of argument to
8991 * math/libm-test.inc (exp2_test): Add more tests.
8993 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8994 negating x to take absolute value.
8995 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8997 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9000 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9001 computing low part if x was negated.
9002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9004 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9006 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9008 (pltexit): Cast int_retval to ptrdiff_t.
9009 * elf/tst-auditmod3b.c: Likewise.
9010 * elf/tst-auditmod4b.c: Likewise.
9011 * elf/tst-auditmod5b.c: Likewise.
9012 * elf/tst-auditmod6b.c: Likewise.
9013 * elf/tst-auditmod6c.c: Likewise.
9014 * elf/tst-auditmod7b.c: Likewise.
9016 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9017 and x32_gnu_pltexit.
9019 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9021 (La_x32_regs): New macro.
9022 (La_x32_retval): Likewise.
9023 (la_x32_gnu_pltenter): New function prototype.
9024 (la_x32_gnu_pltexit): Likewise.
9026 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9033 * configure.in (libc_cv_cc_nofma): Check for option to disable
9034 generation of FMA instructions.
9035 * configure: Regenerate.
9036 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9037 * sysdeps/ieee754/dbl-64/Makefile: New file.
9038 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9039 Remove brandred-fma4.
9040 (CFLAGS-brandred-fma4.c): Remove.
9041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9047 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9049 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9050 LLONG_MAX != LONG_MAX.
9051 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9052 (_fitoa_word): Likewise.
9053 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9054 LLONG_MAX != LONG_MAX.
9055 * stdio-common/_itowa.h: Include <_itoa.h>.
9056 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9057 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9058 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9059 only if not defined.
9060 (_ITOA_WORD_TYPE): Likewise.
9061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9062 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9064 2012-03-21 David S. Miller <davem@davemloft.net>
9066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9068 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9070 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9071 of x86_64 when setting libc_cv_slibdir, libdir and
9073 * sysdeps/unix/sysv/linux/configure: Regenerated.
9075 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9077 * manual/lang.texi (Old Varargs): Remove section.
9078 (How Variadic): Update menu.
9079 (va_start): Do not mention varargs.h.
9081 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9082 Joseph Myers <joseph@codesourcery.com>
9084 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9086 * configure: Regenerated.
9088 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9090 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9091 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9094 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9097 * Makefile (files-for-dist): Remove NOTES.
9098 (NOTES): Remove rule.
9099 * README: Don't refer to NOTES.
9100 * manual/creature.texi: Don't include macros.texi.
9101 * manual/intro.texi (creature.texi): Remove comment referring to
9104 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9105 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9106 * configure: Regenerated.
9107 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9109 (libc_cv_as_i686): Likewise.
9110 (libc_cv_cc_avx): Likewise.
9111 (libc_cv_cc_sse2avx): Likewise.
9112 (libc_cv_cc_fma4): Likewise.
9113 (libc_cv_cc_novzeroupper): Likewise.
9114 * sysdeps/i386/configure: Regenerated.
9117 * sysdeps/i386/fpu/s_cexp.S: Remove.
9118 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9119 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9120 * math/libm-test.inc (cexp_test): Add more tests.
9121 * sysdeps/i386/fpu/libm-test-ulps: Update.
9122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9124 2012-03-21 Allan McRae <allan@archlinux.org>
9126 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9128 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9131 * math/w_exp2.c: Do not include <float.h>.
9132 (o_threshold, u_threshold): Remove.
9133 (__exp2): Calculate result before checking finiteness and calling
9135 * math/w_exp2f.c: Likewise.
9136 * math/w_exp2l.c: Likewise.
9137 * math/libm-test.inc (exp2_test): Require overflow exception for
9141 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9142 range of signed 64-bit integers before using fistpll. Remove
9143 checks for whether integers fit in mantissa bits.
9144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9145 the range of signed 32-bit integers before using fistpl. Remove
9146 checks for whether integers fit in mantissa bits.
9147 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9148 (__ieee754_powl): Test for y outside the range of signed 64-bit
9149 integers before using fistpll. Reduce 64-bit values to 63-bit
9151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9152 divide-by-zero is raised for zero to large negative powers.
9153 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9154 (__ieee754_powl): Test for y outside the range of signed 64-bit
9155 integers before using fistpll. Reduce 64-bit values to 63-bit
9157 * math/libm-test.inc (pow_test): Add more tests.
9159 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9161 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9162 <stdio-common/_itoa.h>.
9163 * debug/segfault.c: Likewise.
9164 * elf/dl-cache.c: Likewise.
9165 * elf/dl-minimal.c: Likewise.
9166 * elf/dl-misc.c: Likewise.
9167 * elf/dl-sysdep.c: Likewise.
9168 * elf/dl-version.c: Likewise.
9169 * elf/rtld.c: Likewise.
9170 * hurd/hurdsock.c: Likewise.
9171 * hurd/lookup-retry.c: Likewise.
9172 * malloc/malloc.c: Likewise.
9173 * malloc/mtrace.c: Likewise.
9174 * nscd/nscd_getgr_r.c: Likewise.
9175 * nscd/nscd_getpw_r.c: Likewise.
9176 * nscd/nscd_getserv_r.c: Likewise.
9177 * posix/getopt_init.c: Likewise.
9178 * posix/wordexp.c: Likewise.
9179 * stdio-common/_itoa.c: Likewise.
9180 * stdio-common/printf_fphex.c: Likewise.
9181 * stdio-common/vfprintf.c: Likewise.
9182 * string/_strerror.c: Likewise.
9183 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9184 * sysdeps/i386/i686/hp-timing.h: Likewise.
9185 * sysdeps/mach/_strerror.c: Likewise.
9186 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9187 * sysdeps/mach/hurd/sethostid.c: Likewise.
9188 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9189 * sysdeps/mach/xpg-strerror.c: Likewise.
9190 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9191 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9192 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9193 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9194 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9195 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9196 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9197 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9198 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9199 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9200 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9201 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9202 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9203 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9204 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9206 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9208 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9209 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9210 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9212 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9214 * stdio-common/_itoa.h: Moved to ...
9215 * sysdeps/generic/_itoa.h: Here.
9217 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9219 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9220 instead of "_itoa.h" and "_itowa.h".
9221 * stdio-common/vfprintf.: Likewise.
9223 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9227 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9228 (__signbit): Likwise.
9232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9234 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9237 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9239 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9240 OVERFLOW_EXCEPTION_OK.
9241 * math/libm-test.inc ("Philosophy"): Update comment about
9243 (OVERFLOW_EXCEPTION): Define.
9244 (OVERFLOW_EXCEPTION_OK): Likewise.
9245 (INVALID_EXCEPTION_OK): Renumber.
9246 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9247 (IGNORE_ZERO_INF_SIGN): Likewise.
9248 (test_exceptions): Handle FE_OVERFLOW.
9249 (exp10_test): Expect overflow exceptions.
9250 (exp2_test): Likewise.
9251 (expm1_test): Likewise.
9252 (nextafter_test): Likewise.
9253 (pow_test): Likewise.
9254 (scalbn_test): Likewise.
9255 (scalbln_test): Likewise.
9257 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9259 * sysdeps/x86_64/bits/atomic.h
9260 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9262 (atomic_exchange_acq): Likewise.
9263 (__arch_exchange_and_add_body): Likewise.
9264 (__arch_add_body): Likewise.
9265 (atomic_add_negative): Likewise.
9266 (atomic_add_zero): Likewise.
9268 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9270 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9271 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9273 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9275 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9276 Check __x86_64__ instead of __WORDSIZE.
9278 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9280 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9282 2012-03-19 David S. Miller <davem@davemloft.net>
9284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9286 * sysdeps/sparc/fpu/fenv_private.h: New file.
9287 * sysdeps/sparc/fpu/math_private.h: Use it.
9288 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9290 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9291 (libc_feholdexcept_setroundl): Remove.
9292 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9294 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9295 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9299 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9300 int64_t instead of long int.
9301 (INSERT_WORDS64): Likwise.
9303 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9305 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9306 _Unwind_GetCFA return to _Unwind_Ptr first.
9308 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9311 * math/s_clog.c: Include <float.h>.
9312 (__clog): Scale large or subnormal inputs.
9313 * math/s_clogf.c: Likewise.
9314 * math/s_clogl.c: Likewise.
9315 * math/s_clog10.c: Include <float.h>.
9316 (M_LOG10_2): Define.
9317 (__clog10): Scale large or subnormal inputs.
9318 * math/s_clog10f.c: Likewise.
9319 * math/s_clog10l.c: Likewise.
9320 * math/libm-test.inc (clog_test): Add more tests.
9321 (clog10_test): Likewise.
9322 * sysdeps/i386/fpu/libm-test-ulps: Update.
9323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9328 * math/libm-test.inc (atan2_test): Add another test.
9330 * Makerules (common-objdir-compile): Remove.
9331 * sysdeps/unix/Makefile (config-generated): Do not add
9332 $(unix-generated) to variable.
9333 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9334 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9336 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9338 [generic bits/local_lim.h] (before-compile): Do not append to
9340 [generic bits/local_lim.h] (common-generated): Likewise.
9341 [generic sys/param.h] (before-compile): Do not append to variable.
9342 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9343 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9344 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9345 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9347 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9348 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9349 [generic sys/param.h] ($(addprefix
9350 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9351 [generic sys/param.h] (common-generated): Do not append to
9353 [generic sys/param.h] (sysdep_headers): Likewise.
9354 [generic bits/errno.h] (before-compile): Do not append to
9356 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9358 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9359 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9360 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9361 [generic bits/errno.h] (common-generated): Do not append to
9363 [generic bits/ioctls.h] (before-compile): Do not append to
9365 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9367 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9368 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9369 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9371 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9372 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9373 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9374 [generic bits/ioctls.h] (common-generated): Do not append to
9376 [generic sys/syscall.h] (syscall.h): Remove variable.
9377 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9379 [generic sys/syscall.h] (before-compile): Do not append to
9381 [generic sys/syscall.h] (common-generated): Likewise.
9382 * sysdeps/unix/errnos-tmpl.c: Remove file.
9383 * sysdeps/unix/errnos.awk: Likewise.
9384 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9385 * sysdeps/unix/ioctls.awk: Likewise.
9386 * sysdeps/unix/mk-local_lim.c: Likewise.
9387 * sysdeps/unix/snarf-ioctls: Likewise.
9389 2012-03-19 Richard Henderson <rth@twiddle.net>
9391 * sysdeps/i386/fpu/fenv_private.h: New file.
9392 * sysdeps/i386/fpu/math_private.h: Use it.
9393 (math_opt_barrier, math_force_eval): Remove.
9394 (libc_feholdexcept_setround_53bit): Remove.
9395 (libc_feupdateenv_53bit): Remove.
9396 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9397 (math_opt_barrier, math_force_eval): Remove.
9398 (libc_feholdexcept): Remove.
9399 (libc_feholdexcept_setround): Remove.
9400 (libc_fetestexcept, libc_fesetenv): Remove.
9401 (libc_feupdateenv_test): Remove.
9402 (libc_feupdateenv, libc_feholdsetround): Remove.
9403 (libc_feresetround): Remove.
9405 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9406 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9408 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9409 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9410 (libc_feupdateenv_testl): New.
9411 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9412 (libc_feupdateenv_testf): New.
9413 (libc_feupdateenv): Use libc_feupdateenv_test.
9414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9417 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9418 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9419 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9420 (libc_feresetround_noex): New.
9421 (libc_feresetround_noexf): New.
9422 (libc_feresetround_noexl): New.
9423 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9424 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9425 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9426 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9431 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9432 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9433 SET_RESTORE_ROUND_NOEX.
9434 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9435 SET_RESTORE_ROUND_NOEXF.
9436 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9437 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9438 (libc_feholdsetroundf): New.
9439 (libc_feresetround, libc_feresetroundf): New.
9441 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9442 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9443 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9445 * sysdeps/generic/math_private.h: Include <fenv.h>.
9446 (default_libc_feholdexcept): New.
9447 (default_libc_feholdexcept_setround): New.
9448 (default_libc_fesetenv, default_libc_feupdateenv): New.
9449 (libc_feholdexcept): Only define if undefined.
9450 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9451 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9452 (libc_feholdexcept_setroundl): Likewise.
9453 (libc_feholdexcept_setround_53bit): Likewise.
9454 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9455 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9456 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9457 (libc_feupdateenv_53bit): Likewise.
9458 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9459 (libc_feholdexcept): Convert from macro to inline function.
9460 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9461 (libc_fesetenv, libc_feupdateenv): Likewise.
9463 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9464 not previously defined.
9465 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9466 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9467 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9469 * sysdeps/ieee754/flt-32/math_private.h: New file.
9470 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9471 math_private.h below SET_FLOAT_WORD.
9472 (__isnan, __isinf_ns, __finite): Remove.
9473 (__isnanf, __isinf_nsf, __finitef): Remove.
9475 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9479 2012-03-17 David S. Miller <davem@davemloft.net>
9482 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9485 2012-03-16 David S. Miller <davem@davemloft.net>
9487 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9493 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9494 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9495 sysdep_routines when subdir is sysvipc.
9496 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9499 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9501 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9503 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9506 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9508 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9509 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9510 (__lround): Renamed to ...
9511 (__llround): This. Replace long int with long long int.
9512 Define lround functions as aliases of llround functions.
9513 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9517 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9518 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9519 adresses to uintptr_t. Replace "long int" and "unsigned long
9520 int" with "greg_t" on va_arg.
9522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9524 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9525 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9527 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9528 Move e_machine check before EI_CLASS check. Handle x32
9529 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9530 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9531 SKIP_EM_IA_64 and include
9532 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9534 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9535 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9536 (add_system_dir): New macro.
9538 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9539 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9541 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9552 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9554 * math/w_j0f.c (j0f): Likewise.
9556 * math/w_j0l.c (__j0l): Likewise.
9558 * math/w_j1.c (j1): Likewise.
9560 * math/w_j1f.c (j1f): Likewise.
9562 * math/w_j1l.c (__j1l): Likewise.
9564 * math/w_jn.c (jn): Likewise.
9566 * math/w_jnf.c (jnf): Likewise.
9568 * math/w_jnl.c (__jnl): Likewise.
9570 * math/libm-test.inc (j0_test): Add more tests.
9571 (j1_test): Likewise.
9572 (jn_test): Likewise. Add trailing semicolon to existing test.
9573 (y0_test): Likewise.
9574 (y1_test): Likewise.
9575 * sysdeps/i386/fpu/libm-test-ulps: Update.
9576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9580 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9581 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9582 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9584 (__tanl): Set errno for infinite argument.
9585 * sysdeps/i386/fpu/mptan.c: Remove.
9586 * sysdeps/i386/fpu/s_tan.S: Likewise.
9587 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9588 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9589 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9590 * math/libm-test.inc (tan_test): Add more tests and enable more
9591 tests for double and long double.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9595 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9597 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9598 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9600 2012-03-16 Roland McGrath <roland@hack.frob.com>
9602 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9603 * configure.in: Use it for both main tree and add-ons.
9604 * configure: Regenerated.
9606 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9608 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9610 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9612 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9616 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9617 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9622 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9625 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9626 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9627 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9628 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9629 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9630 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9631 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9632 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9633 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9634 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9635 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9636 * math/libm-test.inc (cos_test): Add more tests and enable more
9637 tests for long double.
9638 (sin_test): Likewise.
9639 (sincos_test): Likewise.
9640 * sysdeps/i386/fpu/libm-test-ulps: Update.
9641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9643 2012-03-16 David S. Miller <davem@davemloft.net>
9645 * sysdeps/sparc/fpu/math_private.h: New file.
9647 2012-03-15 David S. Miller <davem@davemloft.net>
9649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9663 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9664 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9666 * sysdeps/sparc/sparc-ifunc.h: New file.
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9712 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9714 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9718 2012-03-15 Andreas Jaeger <aj@suse.de>
9721 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9722 ieee754/flt-32 implementation for sin, cos and sincos.
9723 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9724 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9725 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9726 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9727 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9728 ieee754/flt-32 implementation for tan.
9730 * math/libm-test.inc (cos_test): Enable some large input tests for
9732 (sin_test): Likewise.
9733 (sincos_test): Likewise.
9734 (tan_test): Add tests for large input.
9736 * sysdeps/i386/fpu/libm-test-ulps: Update.
9738 2012-03-15 Andreas Jaeger <aj@suse.de>
9741 * math/libm-test.inc (cos_test): Add more test cases.
9742 (sin_test): Likewise.
9743 (sincos_test): Likewise.
9745 2012-03-15 Andreas Jaeger <aj@suse.de>
9748 * math/libm-test.inc (cos_test): Add a test case for large input
9750 (sin_test): Likewise.
9751 (sincos_test): Likewise.
9753 2012-03-15 Andreas Jaeger <aj@suse.de>,
9754 Joseph Myers <joseph@codesourcery.com>
9757 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9758 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9759 * sysdeps/i386/fpu/branred.c: Likewise.
9760 * sysdeps/i386/fpu/dosincos.c: Likewise.
9761 * sysdeps/i386/fpu/mpa.c: Likewise.
9762 * sysdeps/i386/fpu/s_cos.S: Likewise.
9763 * sysdeps/i386/fpu/s_sin.S: Likewise.
9764 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9765 * sysdeps/i386/fpu/sincos32.c: Likewise.
9767 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9769 (libc_feupdateenv_53bit): Define.
9770 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9772 (libc_feupdateenv_53bit): Define.
9774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9775 53 bit (without extend i386 double precision).
9777 * math/libm-test.inc (sincos_test): Add tests for large input.
9781 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9783 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9787 2012-03-15 David S. Miller <davem@davemloft.net>
9789 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9817 fmin/fmax sysdep routines.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9820 2012-03-14 David S. Miller <davem@davemloft.net>
9822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9899 * sysdeps/sparc/configure.in: New file.
9900 * sysdeps/sparc/configure: Generate.
9901 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9902 * configure: Regenerate.
9903 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9904 * config.make.in (have-as-vis3): New.
9905 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9906 available use -Av9d instead of -Av9a.
9907 * sysdeps/sparc/sparc64/Makefile: Likewise.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9924 fzeros/fnegs to load 0x80000000 into a float register instead of
9926 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9928 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9932 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9933 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9934 ($(inst_includedir)/bits/syscall.h): Remove rule.
9935 ($(objpfx)bits/syscall.d): Include instead of
9936 $(objpfx)syscall-list.d.
9937 (generated): Change syscall-list.h and syscall-list.d to
9938 bits/syscall.h and bits/syscall.d.
9940 2012-03-14 Roland McGrath <roland@hack.frob.com>
9943 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9945 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9948 * math/s_csqrt.c: Include <float.h>.
9949 (__csqrt): Scale large or subnormal inputs.
9950 * math/s_csqrtf.c: Likewise.
9951 * math/s_csqrtl.c: Likewise.
9952 * math/libm-test.inc (csqrt_test): Add more tests.
9953 * sysdeps/i386/fpu/libm-test-ulps: Update.
9954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9957 * math/libm-test.inc (hypot_test): Add more tests.
9959 2012-03-13 David S. Miller <davem@davemloft.net>
9962 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9963 double-precision for the calculation instead of scaling.
9965 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9968 manipulate bits before adding and subtracting TWO52[sx].
9969 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9970 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9972 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9974 2012-03-13 David S. Miller <davem@davemloft.net>
9976 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9977 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9979 rtld-global-offsets.h
9980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9982 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9985 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9987 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9988 'err' in the ifdef scope in which it is actually used.
9990 * nss/nss_db/db-init.c: Include string.h
9992 2012-03-12 David S. Miller <davem@davemloft.net>
9994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9995 masking out of the most significant byte of random value used.
9996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9997 Fix coding style in previous change.
9999 * sysdeps/unix/sysv/linux/kernel-features.h
10000 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10001 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10003 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10006 2012-03-11 David S. Miller <davem@davemloft.net>
10008 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10009 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10011 for 'resultvar' otherwise things get truncated on 64-bit.
10013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10014 Fix masking out of the most significant byte of random value used.
10016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10018 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10022 2012-03-09 David S. Miller <davem@davemloft.net>
10024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10025 variables with appropriate CPP guards.
10026 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10027 frame pointer, not the stack pointer. Correct layout comments. Fix test
10028 on resulting framesize and the management of the outregs buffer for pltexit.
10029 Preserve floating point return values across _dl_call_pltexit call.
10030 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10031 framesize and the management of the outregs buffer for pltexit.
10032 Preserve floating point return values across _dl_call_pltexit
10034 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10035 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10036 (print_exit): Fix format string for return register value.
10038 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10040 * sunrpc/Makefile (others): Add rpcgen.
10041 ($(objpfx)rpcgen): Remove special build rule and dependency on
10043 * sunrpc/rpcgen.c: New file.
10045 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10048 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10049 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10050 * sysdeps/i386/crti.S: Likewise.
10051 * sysdeps/i386/crtn.S: Likewise.
10052 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10053 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10054 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10055 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10056 * sysdeps/sh/crti.S: Likewise.
10057 * sysdeps/sh/crtn.S: Likewise.
10058 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10061 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10063 * locale/programs/locfile-kw.gperf: Likewise.
10064 * locale/programs/charmap-kw.h: Regenerated.
10065 * locale/programs/locfile-kw.h: Likewise.
10068 * intl/plural.y: Replace FSF snail mail address with URL.
10069 * intl/plural.c: Regenerated.
10071 2012-03-09 Richard Henderson <rth@twiddle.net>
10073 * include/math_private.h: Remove file.
10074 * math/math_private.h: Move file ...
10075 * sysdeps/generic/math_private.h: ... here.
10077 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10078 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10079 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10081 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10082 and <math_private.h>.
10083 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10084 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10085 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10086 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10087 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10171 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10173 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10174 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10175 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10176 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10177 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10178 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10179 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10180 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10181 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10182 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10183 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10184 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10185 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10188 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10190 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10200 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10202 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10203 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10205 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10219 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10221 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10223 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10224 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10226 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10227 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10228 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10229 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10232 * sysdeps/ieee754/k_standard.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10353 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10382 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10383 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10393 * sysdeps/ieee754/s_lib_version.c: Likewise.
10394 * sysdeps/ieee754/s_matherr.c: Likewise.
10395 * sysdeps/ieee754/s_signgam.c: Likewise.
10396 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10397 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10398 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10399 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10400 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10401 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10402 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10403 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10404 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10405 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10406 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10407 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10408 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10409 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10410 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10411 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10413 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10414 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10418 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10420 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10421 * sunrpc/rpc_main.c: Likewise.
10422 * sunrpc/rpc_svcout.c: Likewise.
10424 2012-03-09 David S. Miller <davem@davemloft.net>
10426 * include/math_private.h: New file.
10428 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10430 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10431 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10432 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10433 from <bits/socket_type.h>.
10434 (enum __socket_type): Don't define here.
10435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10437 bits/socket_type.h.
10440 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10441 checking __USE_GNU.
10443 * Makerules ($(inst_includedir)/%.h): New rule.
10444 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10445 (install-others): Remove variable setting.
10446 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10448 2012-03-08 Richard Henderson <rth@twiddle.net>
10450 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10451 from macro to inline function; merge with the
10452 !__LIBC_INTERNAL_MATH_INLINES version.
10453 (__ieee754_sqrtf): Likewise.
10455 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10456 to inline function.
10457 (__rintf, __floor, __floorf): Likewise.
10459 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10460 macro to inline function.
10461 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10464 not <math/math_private.h>.
10466 2012-03-08 David S. Miller <davem@davemloft.net>
10468 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10470 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10472 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10474 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10476 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10477 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10479 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10481 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10482 be defined individually, they must be defined as a block. Define
10483 S for printing a string instead of hidint the different by using a
10484 macro for adding the 'l'.
10485 * stdio-common/tst-fphex-wide.c: Adjust.
10487 2012-03-07 Marek Polacek <polacek@redhat.com>
10489 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10491 2012-03-08 Marek Polacek <polacek@redhat.com>
10494 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10495 * stdio-common/tst-fphex.c: Define a few macros to make the
10496 test reusable. Use them.
10497 * stdio-common/tst-fphex-wide.c: New file.
10499 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10502 * manual/macros.texi (gnusystems): New macro.
10503 (nongnusystems): Likewise.
10504 (gnulinuxhurdsystems): Likewise.
10505 (gnuhurdsystems): Likewise..
10506 (gnulinuxsystems): Likewise.
10507 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10508 variants of the GNU system, not "GNU system".
10509 * manual/conf.texi: Likewise.
10510 * manual/errno.texi: Likewise. Update example of errno macro
10512 * manual/filesys.texi: Likewise.
10513 (getumask): Document as specific to GNU/Hurd.
10514 * manual/install.texi: Likewise. Reword some references to
10516 * manual/intro.texi: Likewise.
10517 * manual/io.texi: Likewise.
10518 (File Name Portability): Detail which constraints are inapplicable
10519 to all GNU systems and which are only inapplicable to GNU/Hurd.
10520 * manual/job.texi: Likewise.
10521 * manual/llio.texi: Likewise.
10522 (O_NOCTTY): Document as present on GNU/Linux.
10523 * manual/maint.texi: Likewise.
10524 * manual/memory.texi: Likewise.
10525 * manual/pattern.texi: Likewise.
10526 * manual/pipe.texi: Likewise.
10527 * manual/process.texi: Likewise.
10528 * manual/resource.texi: Likewise.
10529 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10531 * manual/setjmp.texi: Likewise.
10532 * manual/signal.texi: Likewise.
10533 * manual/startup.texi: Likewise.
10534 * manual/stdio.texi: Likewise.
10535 * manual/terminal.texi: Likewise.
10536 (ONLCR): Document as POSIX.
10537 (OXTABS): Document availability on GNU/Linux as XTABS.
10538 (ONOEOT): Document availability separately from other bits.
10539 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10540 * manual/time.texi: Likewise.
10541 * manual/users.texi: Likewise.
10542 * INSTALL: Regenerated.
10543 * sysdeps/gnu/errlist.c: Regenerated.
10545 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10546 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10547 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10549 * configure: Regenerated.
10551 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10553 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10554 default includes instead of AC_HEADER_CHECK.
10555 * sysdeps/i386/configure: Regenerated.
10558 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10559 * math/s_cacoshf.c (__cacoshf): Likewise.
10560 * math/s_cacoshl.c (__cacoshl): Likewise.
10561 * math/s_casinh.c (__casinh): Set signs of result from argument.
10562 * math/s_casinhf.c (__casinhf): Likewise.
10563 * math/s_casinhl.c (__casinhl): Likewise.
10564 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10565 (casinh_test): Add more tests.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10569 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10571 * po/zh_TW.po: Update from translation team.
10573 * login/Makefile (distribute): Remove variable.
10574 * catgets/Makefile: Likewise.
10575 * mach/Makefile: Likewise.
10576 * malloc/Makefile: Likewise.
10577 * misc/Makefile: Likewise.
10578 * iconv/Makefile: Likewise.
10579 * nscd/Makefile: Likewise.
10580 * hurd/Makefile: Likewise.
10581 * manual/Makefile: Likewise.
10582 * locale/Makefile: Likewise.
10583 * intl/Makefile: Likewise.
10584 * conform/Makefile: Likewise.
10585 * nss/Makefile: Likewise.
10586 * time/Makefile: Likewise.
10587 * soft-fp/Makefile: Likewise.
10588 * dirent/Makefile: Likewise.
10589 * gmon/Makefile: Likewise.
10590 * po/Makefile: Likewise.
10591 * rt/Makefile: Likewise.
10592 * socket/Makefile: Likewise.
10593 * math/Makefile: Likewise.
10594 * signal/Makefile: Likewise.
10595 * debug/Makefile: Likewise.
10596 * elf/Makefile: Likewise.
10597 * timezone/Makefile: Likewise.
10598 * stdlib/Makefile: Likewise.
10599 * iconvdata/Makefile: Likewise.
10600 * sunrpc/Makefile: Likewise.
10601 * io/Makefile: Likewise.
10602 * argp/Makefile: Likewise.
10603 * inet/Makefile: Likewise.
10604 * hesiod/Makefile: Likewise.
10605 * grp/Makefile: Likewise.
10606 * csu/Makefile: Likewise.
10607 * wctype/Makefile: Likewise.
10608 * crypt/Makefile: Likewise.
10609 * libio/Makefile: Likewise.
10610 * string/Makefile: Likewise.
10611 * nis/Makefile: Likewise.
10612 * resolv/Makefile: Likewise.
10613 * stdio-common/Makefile: Likewise.
10614 * wcsmbs/Makefile: Likewise.
10615 * dlfcn/Makefile: Likewise.
10616 * posix/Makefile: Likewise.
10619 * timezone/Makefile: Don't install timezone files, just the programs
10622 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10624 * nss/databases.def: Add missing gshadow entry.
10626 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10628 2012-03-06 Marek Polacek <polacek@redhat.com>
10631 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10632 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10633 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10634 * stdio-common/tst-long-dbl-fphex.c: New file.
10636 2012-03-06 David S. Miller <davem@davemloft.net>
10638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10639 (set_obp_int): New function.
10640 (get_obp_int): New function.
10641 (__get_clockfreq_via_dev_openprom): Likewise.
10642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10643 Avoid unused variable warnings on 'val' and use builtin_expect.
10644 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10646 (INLINE_CLONE_SYSCALL): Likewise.
10648 2012-03-05 David S. Miller <davem@davemloft.net>
10650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10652 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10657 only for |x| >= 40.
10658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10660 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10663 Replace gettimeofday with __vdso_gettimeofday.
10665 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10666 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10667 __vdso_clock_gettime and __vdso_getcpu.
10669 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10670 time with __vdso_time.
10672 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10674 * manual/lang.texi (size_t): Note types to which size_t may be
10675 equivalent with the GNU C Library, but do not describe when
10676 differences between them are significant.
10678 2012-03-05 Andreas Jaeger <aj@suse.de>
10680 * sysdeps/i386/fpu/libm-test-ulps: Update.
10682 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10685 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10686 (__ieee754_pow): Save and restore rounding mode and use
10687 round-to-nearest for main computations.
10688 * math/libm-test.inc (pow_test_tonearest): New function.
10689 (pow_test_towardzero): Likewise.
10690 (pow_test_downward): Likewise.
10691 (pow_test_upward): Likewise.
10692 (main): Call the new functions.
10693 * sysdeps/i386/fpu/libm-test-ulps: Update.
10694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697 * math/libm-test.inc (cosh_test_tonearest): New function.
10698 (cosh_test_towardzero): Likewise.
10699 (cosh_test_downward): Likewise.
10700 (cosh_test_upward): Likewise.
10701 (sinh_test_tonearest): Likewise.
10702 (sinh_test_towardzero): Likewise.
10703 (sinh_test_downward): Likewise.
10704 (sinh_test_upward): Likewise.
10705 (main): Call the new functions.
10706 * sysdeps/i386/fpu/libm-test-ulps: Update.
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10709 2012-03-05 Tom de Vries <tom@codesourcery.com>
10711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10712 default stack guard is set in last bytes.
10713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10715 2012-03-05 Kees Cook <keescook@chromium.org>
10717 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10720 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10721 possibly allocate from heap instead of stack.
10722 * stdio-common/bug-vfprintf-nargs.c: New file.
10723 * stdio-common/Makefile (tests): Add nargs overflow test.
10725 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10729 2012-03-03 Marek Polacek <polacek@redhat.com>
10731 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10732 * math/math_private.h: Likewise.
10733 * stdlib/tst-strtod.c: Likewise.
10734 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10735 * sysdeps/x86_64/bits/atomic.h: Likewise.
10737 2012-03-02 David S. Miller <davem@davemloft.net>
10739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10743 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10744 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10745 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10746 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10748 2012-03-02 Roland McGrath <roland@hack.frob.com>
10751 * manual/examples/README: New file, says the example source files
10752 can be used under GPL>=2.
10753 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10754 line containing just "*/".
10755 * manual/examples/add.c: Add copyright header (GPL>=2).
10756 * manual/examples/argp-ex1.c: Likewise.
10757 * manual/examples/argp-ex2.c: Likewise.
10758 * manual/examples/argp-ex3.c: Likewise.
10759 * manual/examples/argp-ex4.c: Likewise.
10760 * manual/examples/atexit.c: Likewise.
10761 * manual/examples/db.c: Likewise.
10762 * manual/examples/dir.c: Likewise.
10763 * manual/examples/dir2.c: Likewise.
10764 * manual/examples/execinfo.c: Likewise.
10765 * manual/examples/filecli.c: Likewise.
10766 * manual/examples/filesrv.c: Likewise.
10767 * manual/examples/fmtmsgexpl.c: Likewise.
10768 * manual/examples/genpass.c: Likewise.
10769 * manual/examples/inetcli.c: Likewise.
10770 * manual/examples/inetsrv.c: Likewise.
10771 * manual/examples/isockad.c: Likewise.
10772 * manual/examples/longopt.c: Likewise.
10773 * manual/examples/memopen.c: Likewise.
10774 * manual/examples/memstrm.c: Likewise.
10775 * manual/examples/mkfsock.c: Likewise.
10776 * manual/examples/mkisock.c: Likewise.
10777 * manual/examples/mygetpass.c: Likewise.
10778 * manual/examples/pipe.c: Likewise.
10779 * manual/examples/popen.c: Likewise.
10780 * manual/examples/rprintf.c: Likewise.
10781 * manual/examples/search.c: Likewise.
10782 * manual/examples/select.c: Likewise.
10783 * manual/examples/setjmp.c: Likewise.
10784 * manual/examples/sigh1.c: Likewise.
10785 * manual/examples/sigusr.c: Likewise.
10786 * manual/examples/stpcpy.c: Likewise.
10787 * manual/examples/strdupa.c: Likewise.
10788 * manual/examples/strftim.c: Likewise.
10789 * manual/examples/strncat.c: Likewise.
10790 * manual/examples/subopt.c: Likewise.
10791 * manual/examples/swapcontext.c: Likewise.
10792 * manual/examples/termios.c: Likewise.
10793 * manual/examples/testopt.c: Likewise.
10794 * manual/examples/testpass.c: Likewise.
10795 * manual/examples/timeval_subtract.c: Likewise.
10798 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10800 * manual/timeval_subtract.c.texi: ... here, new file.
10802 2012-03-02 David S. Miller <davem@davemloft.net>
10804 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10806 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10809 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10810 (__sin): Save and restore rounding mode and use round-to-nearest
10811 for all computations.
10812 (__cos): Save and restore rounding mode and use round-to-nearest
10813 for all computations.
10814 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10816 (tan): Save and restore rounding mode and use round-to-nearest for
10818 * math/libm-test.inc (cos_test_tonearest): New function.
10819 (cos_test_towardzero): Likewise.
10820 (cos_test_downward): Likewise.
10821 (cos_test_upward): Likewise.
10822 (sin_test_tonearest): Likewise.
10823 (sin_test_towardzero): Likewise.
10824 (sin_test_downward): Likewise.
10825 (sin_test_upward): Likewise.
10826 (tan_test_tonearest): Likewise.
10827 (tan_test_towardzero): Likewise.
10828 (tan_test_downward): Likewise.
10829 (tan_test_upward): Likewise.
10830 (main): Call the new functions.
10831 * sysdeps/i386/fpu/libm-test-ulps: Update.
10832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10835 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10836 small n, then large n, before computing and testing k+n.
10837 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10842 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10843 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10850 * math/libm-test.inc (scalbn_test): Add more tests.
10851 (scalbln_test): Likewise.
10853 * manual/filesys.texi (mode_t): Describe constraints on size and
10854 signedness, not exact equivalence to a particular type.
10856 (ino64_t): Likewise.
10858 (nlink_t): Likewise.
10859 (blkcnt_t): Likewise.
10860 (blkcnt64_t): Likewise.
10861 * manual/llio.texi (off_t): Likewise.
10864 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10865 (__ieee754_exp): Save and restore rounding mode and use
10866 round-to-nearest for all computations.
10867 * math/libm-test.inc (exp_test_tonearest): New function.
10868 (exp_test_towardzero): Likewise.
10869 (exp_test_downward): Likewise.
10870 (exp_test_upward): Likewise.
10871 (main): Call the new functions.
10872 * sysdeps/i386/fpu/libm-test-ulps: Update.
10873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10875 2012-03-01 Chris Demetriou <cgd@google.com>
10877 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10878 have predictable order.
10880 2012-03-01 David S. Miller <davem@davemloft.net>
10882 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10884 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10885 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10887 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10889 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10890 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10891 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10893 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10894 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10895 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10896 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10897 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10901 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10902 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10903 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10905 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10906 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10907 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10908 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10909 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10912 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10913 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10914 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10915 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10916 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10921 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10922 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10923 * sysdeps/sparc/elf/configure: Regenerated.
10925 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10927 * configure.in (AS, LD): Require binutils 2.20 or later.
10928 * configure: Regenerated.
10929 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10930 as required minimum version.
10931 * INSTALL: Regenerated.
10935 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10936 before squaring exponent.
10937 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10938 bottom long double and 27 bits of top long double before squaring
10940 * math/libm-test.inc (erfc_test): Add more tests.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945 2012-03-01 Kai Tietz <ktietz@redhat.com>
10947 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10948 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10949 containing bit-fields.
10950 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10951 * soft-fp/single.h (_FP_UNION_S): Likewise.
10952 * soft-fp/double.h (_FP_UNION_D): Likewise.
10954 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10957 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10958 not include ../strcmp.S.
10959 [USE_AS_STRNCASECMP_L]: Likewise.
10960 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10961 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10962 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10963 (__strncasecmp_l_ia32): Define as alias to
10964 __strncasecmp_l_nonascii.
10967 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10968 * sysdeps/i386/fpu/libm-test-ulps: Update.
10969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974 2012-02-29 Jeff Law <law@redhat.com>
10976 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10977 out of bounds read.
10979 2012-02-29 Marek Polacek <polacek@redhat.com>
10982 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10983 * elf/Makefile: Add rules to run tst-unused-dep.out.
10985 2012-02-28 David S. Miller <davem@davemloft.net>
10987 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10988 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10991 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10992 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10994 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10996 * math/libm-test.inc (llround_test): Move one test from
10997 lround_test. Use TEST_f_L in moved test.
10998 (lround_test): Move misplaced test to llround_test. Add testcase
11001 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11003 * sysdeps/x86_64/fpu/e_expf.S: New file.
11004 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11006 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11009 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11010 of remain_len that may cause incomplete multi-byte character and
11012 * posix/bug-regex33.c: New file.
11013 * posix/Makefile (tests): Add bug-regex33.
11015 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11017 * manual/macros.texi: New file.
11018 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11019 * manual/libc.texinfo: Include macros.texi.
11020 * manual/creatute.texi: Likewise.
11021 * manual/install.texi: Likewise.
11022 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11023 @glibcadj{} in references to the GNU C Library.
11024 * manual/charset.texi: Likewise.
11025 * manual/conf.texi: Likewise.
11026 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11027 when not using those macros.
11028 * manual/creature.texi: Likewise.
11029 * manual/crypt.texi: Likewise.
11030 * manual/errno.texi: Likewise.
11031 * manual/filesys.texi: Likewise.
11032 * manual/header.texi: Likewise.
11033 * manual/install.texi: Likewise.
11034 * manual/intro.texi: Likewise.
11035 * manual/io.texi: Likewise.
11036 * manual/job.texi: Likewise.
11037 * manual/lang.texi: Likewise.
11038 * manual/libc.texiinfo: Likewise.
11039 * manual/llio.texi: Likewise.
11040 * manual/locale.texi: Likewise.
11041 * manual/maint.texi: Likewise.
11042 * manual/math.texi: Likewise.
11043 * manual/memory.texi: Likewise.
11044 * manual/message.texi: Likewise.
11045 * manual/nss.texi: Likewise.
11046 * manual/pattern.texi: Likewise.
11047 * manual/process.texi: Likewise.
11048 * manual/resource.texi: Likewise.
11049 * manual/search.texi: Likewise.
11050 * manual/setjmp.texi: Likewise.
11051 * manual/signal.texi: Likewise.
11052 * manual/socket.texi: Likewise.
11053 * manual/startup.texi: Likewise.
11054 * manual/stdio.texi: Likewise.
11055 * manual/string.texi: Likewise.
11056 * manual/sysinfo.texi: Likewise.
11057 * manual/syslog.texi: Likewise.
11058 * manual/terminal.texi: Likewise.
11059 * manual/time.texi: Likewise.
11060 * manual/users.texi: Likewise.
11061 * INSTALL: Regenerated.
11062 * NOTES: Regenerated.
11063 * sysdeps/gnu/errlist.c: Regenerated.
11065 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11067 * include/dirent.h: Include <dirstream.h> before
11070 2012-02-28 David S. Miller <davem@davemloft.net>
11072 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11073 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11077 2012-02-27 David S. Miller <davem@davemloft.net>
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11081 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11082 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11085 frame pointer instead of stack pointer relative arg slot.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11087 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11088 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11090 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11093 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11095 2012-02-27 David S. Miller <davem@davemloft.net>
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11103 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11104 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11106 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11108 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11109 later. Allow versions 5-9.
11110 * configure: Regenerated.
11111 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11112 required minimum version and 4.6 as recommended version. Do not
11113 mention bugs in GCC 2.7 and 2.8.
11114 * INSTALL: Regenerated.
11116 2012-02-27 David S. Miller <davem@davemloft.net>
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11122 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11123 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11124 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11125 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11128 manipulate bits before adding and subtracting TWO112[sx].
11129 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11131 2012-02-27 Roland McGrath <roland@hack.frob.com>
11134 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11135 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11136 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11137 being in POSIX, because they are in 1003.1-2008.
11139 * rt/tst-aio.c: Include <fcntl.h>.
11140 * rt/tst-aio7.c: Likewise.
11141 * rt/tst-aio64.c: Likewise.
11143 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11145 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11147 * manual/install.texi (--with-headers): Describe headers as
11148 interface headers, not private headers.
11149 (Specific advice for GNU/Linux systems): Describe use of headers
11150 from "make headers_install", not private headers from older
11152 * INSTALL: Regenerated.
11153 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11155 * sysdeps/unix/sysv/linux/configure: Regenerated.
11157 * manual/llio.texi (fclean): Remove documentation.
11159 * manual/Makefile (libc-texi-generated): New variable. Include
11161 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11162 $(libc-texi-generated), not duplicated list of files.
11163 (version.texi, stamp-version): New rules.
11164 (realclean): Remove $(libc-texi-generated), not individual files
11165 from that list. Do not remove dir-add.texinfo.
11166 * manual/libc.texinfo: Comment out uses of edition numbers and
11167 references to printed manual. Remove last-updated dates.
11168 (EDITION): Comment out.
11170 (VERSION, UPDATED): Remove.
11171 (version.texi): Include.
11173 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11175 * sysdeps/posix/spawni.c: Include <signal.h>.
11176 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11177 * sysdeps/pthread/aio_fsync.c: Likewise.
11179 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11181 * conform/Makefile (tests): Run only when not cross-compiling and
11182 when fast-check is not defined.
11184 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11185 * conform/data/limits.h-data: Fixes for POSIX2008.
11186 * conform/run-conformtest.sh: Run all tests.
11187 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11189 * include/bits/dlfcn.h: Likewise.
11190 * include/langinfo.h: Likewise.
11191 * include/monetary.h: Likewise.
11192 * include/sys/poll.h: Likewise.
11194 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11196 * posix/spawn.h: Define __need_sigset_t.
11197 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11198 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11199 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11200 to get sigevent_t only.
11201 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11202 only for __USE_GNU.
11203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11204 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11205 process_vm_writev only for __USE_GNU.
11206 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11208 * conform/Makefile: For now ignore errors from run-conformtest.
11209 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11210 POSIX to avoid namespace pollution. Don't prepend headers.
11211 * conform/data/aio.h-data: Fixes for POSIX testing.
11212 * conform/data/fcntl.h-data: Likewise.
11213 * conform/data/glob.h-data: Likewise.
11214 * conform/data/grp.h-data: Likewise.
11215 * conform/data/pthread.h-data: Likewise.
11216 * conform/data/pwd.h-data: Likewise.
11217 * conform/data/signal.h-data: Likewise.
11218 * conform/data/spawn.h-data: Likewise.
11219 * conform/data/stdio.h-data: Likewise.
11220 * conform/data/stdlib.h-data: Likewise.
11221 * conform/data/stropts.h-data: Likewise.
11222 * conform/data/sys/mman.h-data: Likewise.
11223 * conform/data/sys/stat.h-data: Likewise.
11224 * conform/data/sys/types.h-data: Likewise.
11225 * conform/data/sys/wait.h-data: Likewise.
11226 * conform/data/time.h-data: Likewise.
11227 * conform/data/unistd.h-data: Likewise.
11228 * conform/data/utime.h-data: Likewise.
11230 * io/sys/stat.h: fchmod was always in POSIX.
11231 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11232 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11233 * rt/aio.h: Define __need_timespec before including <time.h>.
11234 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11235 struct. Add forward declaration of pthread_attr_t and use it in
11237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11239 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11240 always remove CLK_TCK definition.
11242 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11244 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11246 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11248 * conform/run-conformtest.sh: New file.
11249 * conform/Makefile: Run run-conformtest for tests.
11250 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11253 * conform/data/uchar.h-data: New file.
11254 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11255 * conform/data/arpa/inet.h-data: Likewise.
11256 * conform/data/assert.h-data: Likewise.
11257 * conform/data/complex.h-data: Likewise.
11258 * conform/data/cpio.h-data: Likewise.
11259 * conform/data/ctype.h-data: Likewise.
11260 * conform/data/dirent.h-data: Likewise.
11261 * conform/data/dlfcn.h-data: Likewise.
11262 * conform/data/errno.h-data: Likewise.
11263 * conform/data/fcntl.h-data: Likewise.
11264 * conform/data/float.h-data: Likewise.
11265 * conform/data/fmtmsg.h-data: Likewise.
11266 * conform/data/fnmatch.h-data: Likewise.
11267 * conform/data/ftw.h-data: Likewise.
11268 * conform/data/glob.h-data: Likewise.
11269 * conform/data/grp.h-data: Likewise.
11270 * conform/data/iconv.h-data: Likewise.
11271 * conform/data/inttypes.h-data: Likewise.
11272 * conform/data/langinfo.h-data: Likewise.
11273 * conform/data/libgen.h-data: Likewise.
11274 * conform/data/limits.h-data: Likewise.
11275 * conform/data/locale.h-data: Likewise.
11276 * conform/data/math.h-data: Likewise.
11277 * conform/data/monetary.h-data: Likewise.
11278 * conform/data/mqueue.h-data: Likewise.
11279 * conform/data/ndbm.h-data: Likewise.
11280 * conform/data/net/if.h-data: Likewise.
11281 * conform/data/netdb.h-data: Likewise.
11282 * conform/data/netinet/in.h-data: Likewise.
11283 * conform/data/nl_types.h-data: Likewise.
11284 * conform/data/poll.h-data: Likewise.
11285 * conform/data/pthread.h-data: Likewise.
11286 * conform/data/pwd.h-data: Likewise.
11287 * conform/data/regex.h-data: Likewise.
11288 * conform/data/sched.h-data: Likewise.
11289 * conform/data/search.h-data: Likewise.
11290 * conform/data/semaphore.h-data: Likewise.
11291 * conform/data/setjmp.h-data: Likewise.
11292 * conform/data/signal.h-data: Likewise.
11293 * conform/data/spawn.h-data: Likewise.
11294 * conform/data/stdarg.h-data: Likewise.
11295 * conform/data/stdio.h-data: Likewise.
11296 * conform/data/stdlib.h-data: Likewise.
11297 * conform/data/string.h-data: Likewise.
11298 * conform/data/strings.h-data: Likewise.
11299 * conform/data/stropts.h-data: Likewise.
11300 * conform/data/sys/ipc.h-data: Likewise.
11301 * conform/data/sys/mman.h-data: Likewise.
11302 * conform/data/sys/msg.h-data: Likewise.
11303 * conform/data/sys/resource.h-data: Likewise.
11304 * conform/data/sys/select.h-data: Likewise.
11305 * conform/data/sys/sem.h-data: Likewise.
11306 * conform/data/sys/shm.h-data: Likewise.
11307 * conform/data/sys/socket.h-data: Likewise.
11308 * conform/data/sys/stat.h-data: Likewise.
11309 * conform/data/sys/statvfs.h-data: Likewise.
11310 * conform/data/sys/time.h-data: Likewise.
11311 * conform/data/sys/timeb.h-data: Likewise.
11312 * conform/data/sys/times.h-data: Likewise.
11313 * conform/data/sys/types.h-data: Likewise.
11314 * conform/data/sys/uio.h-data: Likewise.
11315 * conform/data/sys/un.h-data: Likewise.
11316 * conform/data/sys/utsname.h-data: Likewise.
11317 * conform/data/sys/wait.h-data: Likewise.
11318 * conform/data/syslog.h-data: Likewise.
11319 * conform/data/tar.h-data: Likewise.
11320 * conform/data/termios.h-data: Likewise.
11321 * conform/data/utime.h-data: Likewise.
11322 * conform/data/utmpx.h-data: Likewise.
11323 * conform/data/varargs.h-data: Likewise.
11324 * conform/data/wchar.h-data: Likewise.
11325 * conform/data/wctype.h-data: Likewise.
11326 * conform/data/wordexp.h-data: Likewise.
11328 * include/stropts.h: New file.
11329 * include/uchar.h: New file.
11330 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11331 * include/assert.h: Likewise.
11332 * include/ctype.h: Likewise.
11333 * include/dirent.h: Likewise.
11334 * include/dlfcn.h: Likewise.
11335 * include/fcntl.h: Likewise.
11336 * include/fnmatch.h: Likewise.
11337 * include/glob.h: Likewise.
11338 * include/grp.h: Likewise.
11339 * include/libio.h: Likewise.
11340 * include/locale.h: Likewise.
11341 * include/math.h: Likewise.
11342 * include/net/if.h: Likewise.
11343 * include/netdb.h: Likewise.
11344 * include/netinet/in.h: Likewise.
11345 * include/pthread.h: Likewise.
11346 * include/pwd.h: Likewise.
11347 * include/regex.h: Likewise.
11348 * include/sched.h: Likewise.
11349 * include/search.h: Likewise.
11350 * include/setjmp.h: Likewise.
11351 * include/signal.h: Likewise.
11352 * include/stdio.h: Likewise.
11353 * include/stdlib.h: Likewise.
11354 * include/string.h: Likewise.
11355 * include/sys/cdefs.h: Likewise.
11356 * include/sys/mman.h: Likewise.
11357 * include/sys/msg.h: Likewise.
11358 * include/sys/resource.h: Likewise.
11359 * include/sys/select.h: Likewise.
11360 * include/sys/socket.h: Likewise.
11361 * include/sys/stat.h: Likewise.
11362 * include/sys/statvfs.h: Likewise.
11363 * include/sys/time.h: Likewise.
11364 * include/sys/times.h: Likewise.
11365 * include/sys/uio.h: Likewise.
11366 * include/sys/utsname.h: Likewise.
11367 * include/sys/wait.h: Likewise.
11368 * include/termios.h: Likewise.
11369 * include/time.h: Likewise.
11370 * include/ulimit.h: Likewise.
11371 * include/unistd.h: Likewise.
11372 * include/utime.h: Likewise.
11373 * include/wchar.h: Likewise.
11374 * include/wctype.h: Likewise.
11375 * include/wordexp.h: Likewise.
11377 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11379 * time/time.h: TIME_UTC must be a macro.
11380 Make timespec_get available for ISO C11 only as well.
11382 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11384 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11385 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11387 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11389 * configure.in: Use -o not -a in test for unsupported multi-arch.
11391 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11393 * manual/texinfo.tex: Update to version 2012-01-19.16.
11395 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11397 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11399 2012-02-24 Roland McGrath <roland@hack.frob.com>
11402 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11403 * manual/fdl-1.3.texi: New file.
11404 * manual/fdl-1.1.texi: File removed.
11407 * manual/libc.texinfo (FDL_VERSION): New @set.
11408 Use it for mention of FDL in cover text.
11409 (Documentation License): Use it in @include file name.
11411 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11412 Roland McGrath <roland@hack.frob.com>
11415 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11416 not LONG_LONG_MAX and LONG_LONG_MIN.
11417 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11418 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11420 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11422 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11426 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11427 manipulate bits before adding and subtracting TWO23[sx].
11428 * math/libm-test.inc (nearbyint_test): Add more tests.
11430 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11433 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11434 bits before adding and subtracting TWO23[sx].
11435 * math/libm-test.inc (rint_test): Add more tests.
11436 (rint_test_tonearest): Likewise.
11437 (rint_test_towardzero): Likewise.
11438 (rint_test_downward): Likewise.
11439 (rint_test_upward: Likewise.
11441 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11444 * include/stdc-predef.h: New file. Extracted from features.h.
11445 * include/features.h: Include stdc-predef.h.
11446 * Makefile (headers): Add stdc-predef.h.
11447 * CONFORMANCE (Compiler limitations): Update.
11449 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11451 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11453 2012-02-21 David S. Miller <davem@davemloft.net>
11455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11456 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11458 2012-02-20 David S. Miller <davem@davemloft.net>
11460 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11461 using a normal save/restore sequence, rather than allocating a
11462 dummy stack frame just to store a frame pointer and restore.
11463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11465 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11467 * manual/install.texi: Fix stray word in line-wrapped comment.
11469 2012-02-20 David S. Miller <davem@davemloft.net>
11471 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11472 both binutils and gcc support GOTDATA.
11474 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11475 "rd %pc" in the PIC register setup sequences.
11477 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11478 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11479 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11480 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11483 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11486 (SYSCALL_ERROR_HANDLER): Likewise.
11487 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11488 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11490 (SYSCALL_ERROR_HANDLER): Likewise.
11492 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11493 (HAVE_GCC_GOTDATA): New.
11494 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11495 relocation support in both binutils and gcc.
11496 * sysdeps/sparc/elf/configure: Regenerate.
11498 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11499 * sysdeps/sparc/sparc32/elf/configure: Delete.
11500 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11501 * sysdeps/sparc/sparc64/elf/configure: Delete.
11502 * sysdeps/sparc/elf/configure.in: New file.
11503 * sysdeps/sparc/elf/configure: Generate.
11505 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11506 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11507 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11508 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11509 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11511 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11513 * manual/install.texi: Do not mention specific glibc version
11515 * manual/libc.texinfo (VERSION, UPDATED): Update.
11516 (@copying): Use @copyright{} and range of years.
11518 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11521 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11522 [crti.S not in sysdirs] (generated): Do not append.
11523 [crti.S not in sysdirs] (omit-deps): Likewise.
11524 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11525 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11526 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11527 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11528 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11530 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11531 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11532 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11533 * csu/defs.awk: Remove file.
11534 * sysdeps/generic/initfini.c: Likewise.
11535 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11537 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11540 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11543 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11547 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11549 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11550 (__EPOLL_PACKED): Define to empty if not defined by
11552 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11556 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11558 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11559 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11561 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11563 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11572 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11578 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11579 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11581 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11583 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11584 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11586 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11588 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11591 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11593 * math/w_acos.c: Use non-signaling floating-point comparisons.
11594 * math/w_acosf.c: Likewise.
11595 * math/w_acosh.c: Likewise.
11596 * math/w_acoshf.c: Likewise.
11597 * math/w_acoshl.c: Likewise.
11598 * math/w_acosl.c: Likewise.
11599 * math/w_asin.c: Likewise.
11600 * math/w_asinf.c: Likewise.
11601 * math/w_asinl.c: Likewise.
11602 * math/w_atanh.c: Likewise.
11603 * math/w_atanhf.c: Likewise.
11604 * math/w_atanhl.c: Likewise.
11605 * math/w_exp2.c: Likewise.
11606 * math/w_exp2f.c: Likewise.
11607 * math/w_exp2l.c: Likewise.
11608 * math/w_j0.c: Likewise.
11609 * math/w_j0f.c: Likewise.
11610 * math/w_j0l.c: Likewise.
11611 * math/w_j1.c: Likewise.
11612 * math/w_j1f.c: Likewise.
11613 * math/w_j1l.c: Likewise.
11614 * math/w_jn.c: Likewise.
11615 * math/w_jnf.c: Likewise.
11616 * math/w_log.c: Likewise.
11617 * math/w_log10.c: Likewise.
11618 * math/w_log10f.c: Likewise.
11619 * math/w_log10l.c: Likewise.
11620 * math/w_log2.c: Likewise.
11621 * math/w_log2f.c: Likewise.
11622 * math/w_log2l.c: Likewise.
11623 * math/w_logf.c: Likewise.
11624 * math/w_logl.c: Likewise.
11625 * math/w_sqrt.c: Likewise.
11626 * math/w_sqrtf.c: Likewise.
11627 * math/w_sqrtl.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11629 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11631 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11634 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11637 * manual/string.texi (strnlen): Use correct parameter name in
11638 equivalent expression.
11640 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11643 * manual/users.texi (seteuid): Consistently use neweuid for
11646 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11649 * manual/nss.texi (Services in the NSS configuration): Correct
11650 list of services in example configuration file.
11652 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11655 * manual/arith.texi: Remove statements about negative zero
11656 behaving identically to zero.
11658 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11661 * manual/install.texi: Do not document upgrading from libc5.
11663 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11666 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11668 2012-02-18 David S. Miller <davem@davemloft.net>
11670 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11671 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11672 %o7 across the call.
11673 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11676 SETUP_PIC_REG_LEAF.
11677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11678 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11679 * sysdeps/sparc/crtn.S: Likewise.
11681 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11683 * aout/Makefile: Remove.
11685 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11688 * manual/examples/argp-ex1.c (main): Format definition in GNU
11690 * manual/examples/argp-ex2.c (main): Likewise.
11691 * manual/examples/argp-ex3.c (main): Likewise.
11692 * manual/examples/argp-ex4.c (main): Likewise.
11693 * manual/examples/longopt.c (main): Use new-style prototype
11695 * manual/examples/strncat.c (main): Specify return type and use
11696 (void) for arguments.
11697 * manual/examples/subopt.c (main): Use char **argv argument.
11699 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11702 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11705 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11708 * manual/string.texi (strchr): Change when strchrnul is
11711 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11714 * manual/locale.texi (setlocale): Document LOCPATH.
11716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11719 * manual/process.texi (execle): Move @dots{} before last argument.
11721 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11724 * manual/charset.texi (Generic Charset Conversion): Fix typo
11725 (LC_TYPE -> LC_CTYPE).
11727 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11730 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11731 (scalbnf): Likewise.
11732 (scalbnl): Likewise.
11733 (scalbln): Likewise.
11734 (scalblnf): Likewise.
11735 (scalblnl): Likewise.
11736 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11737 (vwarnx): Likewise.
11740 * manual/filesys.texi (telldir): Use braces around return type.
11741 * manual/llio.texi (mmap): Add space after comma.
11742 (mmap64): Likewise.
11743 * manual/math.texi (jn): Use @var{} on parameter names.
11749 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11751 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11753 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11754 (sched_get_priority_max): Likewise.
11755 * manual/signal.texi (sigvec): Add space after comma.
11756 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11758 (if_indextoname): Likewise.
11759 (if_freenameindex): Likewise.
11760 (sendto): Use ',' instead of '.' in prototype.
11761 * manual/startup.texi (syscall): Use @dots{} instead of literal
11763 * manual/stdio.texi (__fpending): Separate initial words of
11764 paragraph from @deftypefun line.
11765 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11767 (vsyslog): Use @var{} on parameter names.
11768 * manual/terminal.texi (stty): Use @var{} on parameter names.
11769 * manual/users.texi (getutmp): Use @var{} on parameter names.
11770 (getutmpx): Likewise.
11772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11775 * manual/stdio.texi (fopen): Fix typos in description of
11778 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11781 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11782 get clock_id definition.
11784 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11787 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11788 (madvise): Cast every argument to void on its own.
11790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11793 * manual/startup.texi (Exit Status): Fix typo.
11795 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11798 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11799 * manual/examples/argp-ex2.c: Likewise.
11800 * manual/examples/argp-ex3.c: Likewise.
11802 2012-02-16 Richard Henderson <rth@redhat.com>
11804 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11805 * sysdeps/s390/s390-32/initfini.c: Remove.
11806 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11807 * sysdeps/s390/s390-64/initfini.c: Remove.
11809 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11811 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11812 compiler output for sysdeps/generic/initfini.c.
11813 * sysdeps/sh/elf/initfini.c: Remove file.
11815 2012-02-16 David S. Miller <davem@davemloft.net>
11818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11820 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11821 * sysdeps/sparc/crti.S: New file.
11822 * sysdeps/sparc/crtn.S: New file.
11823 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11824 * sysdeps/sparc/sparc64/Makefile: Likewise.
11826 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11829 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11831 2012-02-15 Roland McGrath <roland@hack.frob.com>
11834 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11836 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11837 (write, read, close): Likewise.
11838 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11840 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11842 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11843 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11844 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11845 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11847 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11851 2012-02-14 Marek Polacek <polacek@redhat.com>
11853 * sysdeps/x86_64/crti.S: New file.
11854 * sysdeps/x86_64/crtn.S: New file.
11855 * sysdeps/x86_64/elf/initfini.c: Remove file.
11857 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11859 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11860 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11861 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11862 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11864 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11868 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11871 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11873 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11875 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11879 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11881 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11882 __feraiseexcept instead of feraiseexcept.
11884 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11885 nanosleep invocations.
11886 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11887 strings, and add error checking for a nanosleep invocations.
11889 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11891 Replace FSF snail mail address with URLs, as per GNU coding standards.
11892 Most of the snail mail addresses were wrong anyway, and omitting
11893 them makes the source code easier to maintain. Almost all of the
11894 changes are to license notices and to locale LC_IDENTIFICATION
11895 addresses, except for this one:
11896 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11897 not its snail mail address.
11899 2012-02-09 Richard Henderson <rth@twiddle.net>
11901 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11902 of kernel-features.h.
11904 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11906 2012-02-08 Marek Polacek <polacek@redhat.com>
11908 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11909 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11910 * sysdeps/gnu/_G_config.h: Likewise.
11911 * sysdeps/generic/_G_config.h: Likewise.
11913 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11915 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11919 * sysdeps/powerpc/powerpc32/crti.S: New file.
11920 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11921 * sysdeps/powerpc/powerpc64/crti.S: New file.
11922 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11924 * Makeconfig (have-initfini): Don't set.
11925 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11926 * configure.in (nopic_initfini): Don't substitute.
11927 * config.h.in (HAVE_INITFINI): Don't #undef.
11928 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11929 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11931 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11933 Support crti.S and crtn.S provided directly by architectures.
11934 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11935 [crti.S in sysdirs] (omit-deps): Likewise.
11936 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11937 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11938 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11939 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11940 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11941 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11942 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11943 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11944 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11945 compiler output for sysdeps/generic/initfini.c.
11946 * sysdeps/i386/elf/Makefile: Remove file.
11947 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11949 2012-02-07 Marek Polacek <polacek@redhat.com>
11951 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11952 * sysdeps/gnu/_G_config.h: Likewise.
11953 * sysdeps/mach/hurd/_G_config.h: Likewise.
11955 2012-02-07 Marek Polacek <polacek@redhat.com>
11957 * math/Makefile (tests): Add tst-CMPLX2.
11958 * math/tst-CMPLX2.c: New file.
11960 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11962 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11964 * math/libm-test.inc (jn_test): Add missing L suffix.
11966 2012-02-06 Marek Polacek <polacek@redhat.com>
11968 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11969 * sysdeps/i386/fpu/e_powf.S: Likewise.
11970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11971 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11972 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11973 * sysdeps/i386/fpu/e_pow.S: Likewise.
11974 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11975 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11976 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11977 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11978 * sysdeps/i386/fpu/e_log2.S: Likewise.
11979 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11981 * sysdeps/i386/fpu/e_powl.S: Likewise.
11982 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11983 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11984 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11985 * sysdeps/i386/fpu/e_logl.S: Likewise.
11986 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11987 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11988 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11989 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11990 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11991 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11992 * sysdeps/i386/fpu/e_log.S: Likewise.
11993 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11995 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11996 * sysdeps/i386/fpu/e_logf.S: Likewise.
11997 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11998 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11999 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12000 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12002 * sysdeps/i386/fpu/e_log10.S: Likewise.
12003 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12004 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12005 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12006 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12007 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12008 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12009 * sysdeps/i386/asm-syntax.h: Likewise.
12010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12012 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12013 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12014 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12016 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12017 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12019 * sysdeps/powerpc/sysdep.h: Likewise.
12020 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12021 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12023 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12026 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12028 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12030 * sysdeps/i386/sysdep.h: Include <features.h>.
12031 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12034 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12036 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12038 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12041 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12043 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12044 (SETUP_PIC_REG): Use GET_PC_THUNK.
12045 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12048 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12050 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12051 for non-PIC compilation.
12052 (SETUP_PIC_REG): Add .p2align directive.
12053 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12054 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12057 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12062 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12063 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12064 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12065 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12066 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12081 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12082 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12084 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12085 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12095 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12097 * math/tst-CMPLX.c: Include <stdio.h>.
12099 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12101 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12103 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12104 * sysdeps/sparc/bits/mathdef.h: Likewise.
12106 2012-01-31 Marek Polacek <polacek@redhat.com>
12108 * libio/libio.h: Don't define _PARAMS.
12109 * locale/programs/config.h: Don't define PARAMS.
12110 * stdlib/strtol_l.c: Likewise.
12111 (__strtol_l): Remove PARAMS from the prototype.
12113 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12115 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12116 names. Just use the correct names. Remove unnecessary wrapper
12118 * malloc/arena.c: Likewise.
12119 * malloc/hooks.c: Likewise.
12121 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12122 ARENA_TEST says not to. Simplify test for creation of a new arena.
12123 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12125 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12127 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12129 (update_get_addr): New function.
12130 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12131 GET_ADDR_MODULE parameter.
12133 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12135 * crypt/cert.c: Remove __STDC__ conditionals.
12136 * crypt/crypt-entry.c: Likewise.
12137 * crypt/crypt_util.c: Likewise.
12138 * libio/filedoalloc.c: Likewise.
12139 * libio/fileops.c: Likewise.
12140 * libio/genops.c: Likewise.
12141 * libio/iofclose.c: Likewise.
12142 * libio/iofdopen.c: Likewise.
12143 * libio/iofopen.c: Likewise.
12144 * libio/iofopen64.c: Likewise.
12145 * libio/iogetdelim.c: Likewise.
12146 * libio/iopopen.c: Likewise.
12147 * libio/obprintf.c: Likewise.
12148 * libio/oldfileops.c: Likewise.
12149 * libio/oldiofclose.c: Likewise.
12150 * libio/oldiofdopen.c: Likewise.
12151 * libio/oldiofopen.c: Likewise.
12152 * libio/oldiopopen.c: Likewise.
12153 * libio/wfiledoalloc.c: Likewise.
12154 * libio/wgenops.c: Likewise.
12155 * locale/programs/xmalloc.c: Likewise.
12156 * misc/syslog.c: Likewise.
12157 * stdio-common/xbug.c: Likewise.
12158 * string/memchr.c: Likewise.
12159 * string/memcmp.c: Likewise.
12160 * string/memrchr.c: Likewise.
12161 * string/rawmemchr.c: Likewise.
12162 * sysdeps/posix/getcwd.c: Likewise.
12163 * time/strftime_l.c: Likewise.
12165 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12167 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12168 * config.make.in (config-cflags-sse2avx): Define.
12169 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12172 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12174 * scripts/config.guess: Update from upstream config git repository.
12175 * scripts/config.sub: Likewise.
12177 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12179 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12181 (R_TILEPRO_*, R_TILEGX_*): New macros.
12183 * scripts/firstversions.awk: Fix bug in version range handling.
12185 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12187 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12189 * include/sys/epoll.h: New file.
12190 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12193 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12195 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12196 Avoid unnecessary __WORDSIZE == 64 test.
12197 (fmaxf): Use VEX format if possible.
12202 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12203 * math/math_private.h: Remove libc_fegetround* and
12205 * sysdeps/i386/configure.in: Check for -msse2avx.
12206 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12207 also if SSE2AVX is defined.
12208 Remove libc_fegetround* and libc_fesetround*.
12209 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12210 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12214 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12215 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12216 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12219 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12221 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12225 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12227 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12230 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12232 * Makeconfig (libm): Define.
12233 * elf/Makefile: Add rules to build and run tst-relsort1.
12234 * elf/tst-relsort1.c: New file.
12235 * elf/tst-relsort1mod1.c: New file.
12236 * elf/tst-relsort1mod2.c: New file.
12238 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12240 * math/s_ldexp.c: Remove __STDC__ conditionals.
12241 * math/s_ldexpf.c: Likewise.
12242 * math/s_ldexpl.c: Likewise.
12243 * math/s_nextafter.c: Likewise.
12244 * math/s_nexttowardf.c: Likewise.
12245 * math/s_significand.c: Likewise.
12246 * math/s_significandf.c: Likewise.
12247 * math/s_significandl.c: Likewise.
12248 * math/w_jnl.c: Likewise.
12249 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12250 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12251 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12252 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12253 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12268 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12270 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12271 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12273 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12276 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12279 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12280 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12281 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12282 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12283 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12284 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12285 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12287 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12288 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12289 * sysdeps/ieee754/k_standard.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12351 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12352 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12356 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12369 * sysdeps/ieee754/s_matherr.c: Likewise.
12370 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12371 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12375 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12377 * crypt/md5.h: Remove __STDC__ conditionals.
12378 * libio/libioP.h: Likewise.
12379 * locale/programs/config.h: Likewise.
12380 * sysdeps/generic/sysdep.h: Likewise.
12381 * sysdeps/i386/asm-syntax.h: Likewise.
12382 * sysdeps/s390/asm-syntax.h: Likewise.
12383 * sysdeps/unix/sysdep.h: Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12387 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12389 * libio/libio.h: Remove __STDC__ conditionals.
12390 * malloc/obstack.h: Likewise.
12391 * math/complex.h: Likewise.
12392 * math/math.h: Likewise.
12393 * sysdeps/generic/_G_config.h: Likewise.
12394 * sysdeps/gnu/_G_config.h: Likewise.
12395 * sysdeps/mach/hurd/_G_config.h: Likewise.
12396 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12397 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12398 * sysdeps/sparc/bits/mathdef.h: Likewise.
12400 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12403 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12404 Clean up HAS_* macros.
12405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12406 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12411 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12412 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12413 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12416 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12418 * elf/tst-unique3.cc (gets): Remove declaration.
12419 * elf/tst-unique3lib.cc (gets): Likewise.
12420 * elf/tst-unique3lib2.cc (gets): Likewise.
12421 * elf/tst-unique4.cc (gets): Likewise.
12423 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12425 * include/stdio.h: Add C++ protection. Add gets declarations and
12427 * debug/tst-chk1.c: Don't declare gets here.
12428 * stdio-common/tst-gets.c: Likewise.
12430 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12432 * posix/glob: Remove directory.
12434 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12436 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12438 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12440 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12441 of the non-standard EPFNOSUPPORT.
12443 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12445 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12446 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12447 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12449 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12451 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12453 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12455 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12457 * nscd/grpcache.c (cache_addgr): Likewise.
12458 * nscd/hstcache.c (cache_addhst): Likewise.
12459 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12460 * nscd/pwdcache.c (cache_addpw): Likewise.
12461 * nscd/servicescache.c (cache_addserv): Likewise.
12463 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12465 * malloc/malloc.c: Various cleanups.
12466 * malloc/hooks.c: Likewise.
12468 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12469 * stdlib/bug-fmtmsg1.c: New file.
12471 * stdlib/fmtmsg.c (init): Add missing unlock.
12472 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12474 2012-01-12 Marek Polacek <polacek@redhat.com>
12476 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12479 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12481 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12482 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12483 macro to ensure uniqueness of label name.
12484 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12485 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12487 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12489 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12491 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12492 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12496 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12498 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12500 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12501 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12504 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12506 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12507 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12508 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12511 * math/bits/math-finite.h: Add ldexp support.
12513 2012-01-10 Marek Polacek <polacek@redhat.com>
12515 * locale/programs/localedef.h (show_archive_content): Add noreturn
12518 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12520 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12522 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12524 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12526 * io/Makefile (headers): Add bits/poll2.h.
12528 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12531 typo #include statement.
12533 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12535 * include/sys/cdefs.h: Define __attribute_alloc_size.
12536 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12537 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12538 * elf/pldd.c: Likewise.
12539 * iconv/iconv_charmap.c: Likewise.
12540 * iconv/iconvconfig.c: Likewise.
12541 * iconv/strtab.c: Likewise.
12542 * locale/programs/locale.c: Likewise.
12543 * locale/programs/localedef.h: Likewise.
12544 * locale/programs/simple-hash.c: Likewise.
12545 * nscd/nscd.h: Likewise.
12546 * nss/makedb.c: Likewise.
12547 * sysdeps/generic/ldconfig.h: Likewise.
12548 * locale/programs/localedef.c: Remove xmalloc prototype.
12549 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12551 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12553 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12556 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12558 * math/Makefile (tests): Add tst-CMPLX.
12559 * math/tst-CMPLX.c: New file.
12561 * math/complex.h (CMPLXL): Fix typo.
12563 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12564 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12566 * debug/tst-chk1.c: Add poll and ppoll tests.
12567 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12568 * include/sys/poll.h: Add hidden proto for ppoll.
12569 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12570 * sysdeps/mach/hurd/ppoll.c: Likewise.
12571 * io/ppoll.c: Likewise.
12572 * debug/poll_chk.c: New file.
12573 * debug/ppoll_chk.c: New file.
12574 * include/bits/poll2.h: New file.
12575 * io/bits/poll2.h: New file.
12578 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12580 * configure.in: static is always set to yes. Remove.
12581 * config.make.in: Don't set build-static.
12582 * Makeconfig: Remove use of build-static.
12583 * dlfcn/Makefile: Likewise.
12584 * elf/Makefile: Likewise.
12585 * math/Makefile: Likewise.
12586 * misc/Makefile: Likewise.
12587 * nptl/Makefile: Likewise.
12588 * sysdeps/mach/hurd/Makefile: Likewise.
12590 * configure.in: PWD_P is not used anymore.
12591 * config.make.in: Remove PWD_P entry.
12593 * configure.in: Remove last remnants of RANLIB.
12594 No need to check for signed size_t anymore.
12595 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12597 Remove __builtin_expect test because we require at least gcc 3.4.
12598 * aclocal.m4: Likewise.
12600 * wcsmbs/mbrtoc16.c: Implement using towc function.
12601 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12602 * wcsmbs/wcsmbsload.c: Likewise.
12603 * iconv/gconv_simple.c: Likewise.
12604 * iconv/gconv_int.h: Likewise.
12605 * iconv/gconv_builtin.h: Likewise.
12606 * iconv/iconv_prog.c: Remove CHAR16 handling.
12608 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12610 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12612 * configure.in: Remove --with-elf and --enable-bounded options.
12613 Dont set base_machine for ia64. More non-ELF conditions removed.
12614 Remove testing and setting of leading underscore information.
12615 * config.make.in (build-bounded): Set to no.
12616 * config.h.in: Remove NO_UNDERSCORES entry.
12617 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12619 * csu/start.c: Remove !NO_UNDERSCORE code.
12620 * locale/localeinfo.h: Likewise.
12621 * sysdeps/generic/machine-gmon.h: Likewise.
12622 * sysdeps/generic/sysdep.h: Likewise.
12623 * sysdeps/i386/sysdep.h: Likewise.
12624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12625 * sysdeps/mach/sysdep.h: Likewise.
12626 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12627 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12628 * sysdeps/sh/sysdep.h: Likewise.
12629 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12630 * sysdeps/unix/i386/sysdep.S: Likewise.
12631 * sysdeps/unix/sparc/start.c: Likewise.
12632 * sysdeps/unix/sparc/sysdep.S: Likewise.
12633 * sysdeps/unix/sparc/sysdep.h: Likewise.
12634 * sysdeps/unix/start.c: Likewise.
12635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12636 * sysdeps/x86_64/sysdep.h: Likewise.
12638 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12641 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12643 * argp/argp-fmtstream.h: Use const instead __const.
12644 * argp/argp.h: Likewise.
12645 * assert/assert.h: Likewise.
12646 * bits/fenv.h: Likewise.
12647 * bits/sched.h: Likewise.
12648 * bits/sigset.h: Likewise.
12649 * bits/sigthread.h: Likewise.
12650 * catgets/nl_types.h: Likewise.
12651 * conform/data/pthread.h-data: Likewise.
12652 * crypt/crypt-private.h: Likewise.
12653 * crypt/crypt.h: Likewise.
12654 * crypt/crypt_util.c: Likewise.
12655 * ctype/ctype.h: Likewise.
12656 * debug/execinfo.h: Likewise.
12657 * debug/mbsnrtowcs_chk.c: Likewise.
12658 * debug/mbsrtowcs_chk.c: Likewise.
12659 * debug/wcsnrtombs_chk.c: Likewise.
12660 * debug/wcsrtombs_chk.c: Likewise.
12661 * debug/wcstombs_chk.c: Likewise.
12662 * dirent/dirent.h: Likewise.
12663 * dlfcn/dlfcn.h: Likewise.
12664 * elf/neededtest4.c: Likewise.
12665 * grp/grp.h: Likewise.
12666 * gshadow/gshadow.h: Likewise.
12667 * iconv/gconv.h: Likewise.
12668 * iconv/gconv_int.h: Likewise.
12669 * iconv/gconv_simple.c: Likewise.
12670 * iconv/iconv.h: Likewise.
12671 * iconv/loop.c: Likewise.
12672 * iconv/skeleton.c: Likewise.
12673 * include/aio.h: Likewise.
12674 * include/aliases.h: Likewise.
12675 * include/argz.h: Likewise.
12676 * include/arpa/inet.h: Likewise.
12677 * include/assert.h: Likewise.
12678 * include/dirent.h: Likewise.
12679 * include/dlfcn.h: Likewise.
12680 * include/execinfo.h: Likewise.
12681 * include/fcntl.h: Likewise.
12682 * include/fenv.h: Likewise.
12683 * include/glob.h: Likewise.
12684 * include/grp.h: Likewise.
12685 * include/libintl.h: Likewise.
12686 * include/mntent.h: Likewise.
12687 * include/netdb.h: Likewise.
12688 * include/pwd.h: Likewise.
12689 * include/rpc/netdb.h: Likewise.
12690 * include/sched.h: Likewise.
12691 * include/search.h: Likewise.
12692 * include/shadow.h: Likewise.
12693 * include/signal.h: Likewise.
12694 * include/stdio.h: Likewise.
12695 * include/stdlib.h: Likewise.
12696 * include/string.h: Likewise.
12697 * include/sys/socket.h: Likewise.
12698 * include/sys/stat.h: Likewise.
12699 * include/sys/statfs.h: Likewise.
12700 * include/sys/statvfs.h: Likewise.
12701 * include/sys/syslog.h: Likewise.
12702 * include/sys/time.h: Likewise.
12703 * include/sys/uio.h: Likewise.
12704 * include/time.h: Likewise.
12705 * include/unistd.h: Likewise.
12706 * include/utmp.h: Likewise.
12707 * include/wchar.h: Likewise.
12708 * include/wctype.h: Likewise.
12709 * inet/aliases.h: Likewise.
12710 * inet/arpa/inet.h: Likewise.
12711 * inet/netinet/ether.h: Likewise.
12712 * inet/netinet/in.h: Likewise.
12713 * intl/libintl.h: Likewise.
12714 * io/bits/fcntl2.h: Likewise.
12715 * io/fcntl.h: Likewise.
12716 * io/ftw.h: Likewise.
12717 * io/sys/poll.h: Likewise.
12718 * io/sys/stat.h: Likewise.
12719 * io/sys/statfs.h: Likewise.
12720 * io/sys/statvfs.h: Likewise.
12721 * io/utime.h: Likewise.
12722 * libio/bits/stdio.h: Likewise.
12723 * libio/bits/stdio2.h: Likewise.
12724 * libio/libio.h: Likewise.
12725 * libio/libioP.h: Likewise.
12726 * libio/stdio.h: Likewise.
12727 * locale/lc-ctype.c: Likewise.
12728 * locale/locale.h: Likewise.
12729 * login/utmp.h: Likewise.
12730 * malloc/arena.c: Likewise.
12731 * malloc/malloc.c: Likewise.
12732 * malloc/malloc.h: Likewise.
12733 * malloc/mcheck.c: Likewise.
12734 * malloc/mtrace.c: Likewise.
12735 * math/bits/mathcalls.h: Likewise.
12736 * math/fenv.h: Likewise.
12737 * math/math_private.h: Likewise.
12738 * misc/bits/error.h: Likewise.
12739 * misc/bits/syslog.h: Likewise.
12740 * misc/err.h: Likewise.
12741 * misc/error.h: Likewise.
12742 * misc/fstab.h: Likewise.
12743 * misc/mntent.h: Likewise.
12744 * misc/regexp.h: Likewise.
12745 * misc/search.h: Likewise.
12746 * misc/sgtty.h: Likewise.
12747 * misc/sys/mman.h: Likewise.
12748 * misc/sys/syslog.h: Likewise.
12749 * misc/sys/uio.h: Likewise.
12750 * misc/sys/xattr.h: Likewise.
12751 * misc/ttyent.h: Likewise.
12752 * nis/rpcsvc/ypclnt.h: Likewise.
12753 * nss/nss.h: Likewise.
12754 * posix/bits/unistd.h: Likewise.
12755 * posix/fnmatch.h: Likewise.
12756 * posix/glob.h: Likewise.
12757 * posix/sched.h: Likewise.
12758 * posix/spawn.h: Likewise.
12759 * posix/sys/wait.h: Likewise.
12760 * posix/unistd.h: Likewise.
12761 * posix/wordexp.h: Likewise.
12762 * pwd/pwd.h: Likewise.
12763 * resolv/netdb.h: Likewise.
12764 * resource/sys/resource.h: Likewise.
12765 * rt/aio.h: Likewise.
12766 * rt/bits/mqueue2.h: Likewise.
12767 * rt/mqueue.h: Likewise.
12768 * shadow/shadow.h: Likewise.
12769 * signal/signal.h: Likewise.
12770 * socket/send.c: Likewise.
12771 * socket/sendto.c: Likewise.
12772 * socket/sys/socket.h: Likewise.
12773 * stdio-common/printf.h: Likewise.
12774 * stdlib/bits/stdlib.h: Likewise.
12775 * stdlib/fmtmsg.h: Likewise.
12776 * stdlib/monetary.h: Likewise.
12777 * stdlib/stdlib.h: Likewise.
12778 * stdlib/ucontext.h: Likewise.
12779 * streams/stropts.h: Likewise.
12780 * string/argz.h: Likewise.
12781 * string/bits/string2.h: Likewise.
12782 * string/string.h: Likewise.
12783 * string/strings.h: Likewise.
12784 * sunrpc/rpc/auth.h: Likewise.
12785 * sunrpc/rpc/auth_des.h: Likewise.
12786 * sunrpc/rpc/clnt.h: Likewise.
12787 * sunrpc/rpc/netdb.h: Likewise.
12788 * sunrpc/rpc/pmap_clnt.h: Likewise.
12789 * sunrpc/rpc/xdr.h: Likewise.
12790 * sysdeps/generic/inttypes.h: Likewise.
12791 * sysdeps/generic/net/if.h: Likewise.
12792 * sysdeps/generic/sys/swap.h: Likewise.
12793 * sysdeps/gnu/net/if.h: Likewise.
12794 * sysdeps/gnu/utmpx.h: Likewise.
12795 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12796 * sysdeps/i386/i486/bits/string.h: Likewise.
12797 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12798 * sysdeps/s390/bits/string.h: Likewise.
12799 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12800 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12801 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12802 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12803 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12804 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12805 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12806 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12807 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12808 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12809 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12810 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12811 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12812 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12813 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12815 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12817 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12818 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12819 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12820 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12821 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12822 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12823 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12824 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12825 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12826 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12827 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12828 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12829 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12830 * sysvipc/sys/ipc.h: Likewise.
12831 * sysvipc/sys/msg.h: Likewise.
12832 * sysvipc/sys/sem.h: Likewise.
12833 * sysvipc/sys/shm.h: Likewise.
12834 * termios/termios.h: Likewise.
12835 * time/sys/time.h: Likewise.
12836 * time/time.h: Likewise.
12837 * wcsmbs/bits/wchar2.h: Likewise.
12838 * wcsmbs/uchar.h: Likewise.
12839 * wcsmbs/wchar.h: Likewise.
12840 * wctype/wctype.h: Likewise.
12843 * Makeconfig: Remove all but ELF support including AIX support.
12844 * Makerules: Likewise.
12845 * config.h.in: Likewise.
12846 * config.make.in: Likewise.
12847 * configure: Likewise.
12848 * configure.in: Likewise.
12849 * csu/Makefile: Likewise.
12850 * csu/version.c: Likewise.
12851 * debug/Makefile: Likewise.
12852 * dlfcn/Makefile: Likewise.
12853 * elf/Makefile: Likewise.
12854 * extra-lib.mk: Likewise.
12855 * iconv/Makefile: Likewise.
12856 * include/libc-symbols.h: Likewise.
12857 * include/shlib-compat.h: Likewise.
12858 * resolv/Makefile: Likewise.
12859 * resolv/res_libc.c: Likewise.
12860 * rt/Makefile: Likewise.
12861 * sysdeps/i386/asm-syntax.h: Likewise.
12862 * sysdeps/i386/sysdep.h: Likewise.
12863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12864 * sysdeps/mach/sysdep.h: Likewise.
12865 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12866 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12867 * sysdeps/s390/asm-syntax.h: Likewise.
12868 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12870 * sysdeps/sh/sysdep.h: Likewise.
12871 * sysdeps/unix/sparc/sysdep.h: Likewise.
12872 * sysdeps/wordsize-32/divdi3.c: Likewise.
12873 * sysdeps/x86_64/sysdep.h: Likewise.
12875 * argp/Versions: Remove _argp_unlock_xxx.
12878 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12879 * abilist/libBrokenLocale.abilist: Likewise.
12880 * abilist/libanl.abilist: Likewise.
12881 * abilist/libc.abilist: Likewise.
12882 * abilist/libcrypt.abilist: Likewise.
12883 * abilist/libdl.abilist: Likewise.
12884 * abilist/libm.abilist: Likewise.
12885 * abilist/libnsl.abilist: Likewise.
12886 * abilist/libpthread.abilist: Likewise.
12887 * abilist/libresolv.abilist: Likewise.
12888 * abilist/librt.abilist: Likewise.
12889 * abilist/libthread_db.abilist: Likewise.
12890 * abilist/libutil.abilist: Likewise.
12891 * abilist/libnss_db.abilist: New file.
12893 * scripts/abilist.awk: Add support for indirect functions.
12895 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12897 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12899 * shlib-versions: Remove entries for ports architectures.
12901 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12903 * elf/stackguard-macros.h: Remove support for IA-64.
12904 * elf/tst-auditmod1.c: Likewise.
12905 * sysdeps/generic/ldsodefs.h: Likewise.
12907 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12908 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12912 * configure.in: Remove --enable-omitfp support.
12914 * config.make.in: Likewise.
12915 * Makeconfig: Likewise.
12916 * manual/install.texi: Likewise.
12918 In case anyone cares, the IA-64 architecture could move to ports.
12919 * sysdeps/ia64/*: Removed.
12920 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12921 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12924 * configure.in: Remove entries for unsupported architectures.
12927 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12928 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12930 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12931 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12932 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12933 fall back to using wcrtomb.
12934 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12935 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12937 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12938 * wcsmbs/tst-c16c32-1.c: New file.
12940 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12943 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12945 * elf/tst-unique3.cc: Add explicit declaration of gets.
12946 * elf/tst-unique3lib.cc: Likewise.
12947 * elf/tst-unique3lib2.cc: Likewise.
12948 * elf/tst-unique4.cc: Likewise.
12950 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12952 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12955 * assert/assert.h (static_assert): Don't define for C++.
12956 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12957 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12959 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12961 * iconv/loop.c (single loop): Fix assertion in storing of
12964 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12966 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12968 * posix/getconf.c: Update copyright year.
12969 * nss/getent.c: Likewise.
12970 * nss/makedb.c: Likewise.
12971 * iconv/iconvconfig.c: Likewise.
12972 * iconv/iconv_prog.c: Likewise.
12973 * elf/ldconfig.c: Likewise.
12974 * elf/pldd.c: Likewise.
12975 * elf/sotruss.ksh: Likewise.
12976 * catgets/gencat.c: Likewise.
12977 * csu/version.c: Likewise.
12978 * elf/ldd.bash.in: Likewise.
12979 * elf/sprof.c (print_version): Likewise.
12980 * locale/programs/locale.c: Likewise.
12981 * locale/programs/localedef.c: Likewise.
12982 * login/programs/pt_chown.c: Likewise.
12983 * nscd/nscd.c (print_version): Likewise.
12984 * debug/xtrace.sh: Likewise.
12985 * malloc/memusage.sh: Likewise.
12986 * malloc/mtrace.pl: Likewise.
12987 * debug/catchsegv.sh: Likewise.
12989 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12991 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12994 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12997 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12998 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13000 * iconv/gconv_int.h: Likewise.
13001 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13002 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13003 from libc for GLIBC_2.16.
13004 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13005 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13006 * wcsmbs/uchar.h: Really define mbstate_t.
13007 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13008 * wcsmbs/c16rtomb.c: New file.
13009 * wcsmbs/mbrtoc16.c: New file.
13010 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13011 for C/POSIX locale.
13012 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13013 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13015 * wcsmbs/wchar.h: Add missing __restrict.
13017 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13020 * time/Makefile (routines): Add timespec_get.
13021 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13022 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13023 timespec for ISO C11.
13024 * time/timespec_get.c: New file.
13025 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13026 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13029 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13030 * stdlib/stdlib.h: Declare aligned_alloc.
13031 * Versions.def: Add GLIBC_2.16 for libc.
13032 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13035 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13038 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13042 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13045 * assert/assert.h (static_assert): Define.
13047 * version.h: Update for 2.16 development version.
13050 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13053 * version.h (RELEASE): Bump for 2.15 release.
13054 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13056 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13057 Patch by Marek Polacek <mpolacek@redhat.com>.
13059 * bits/byteswap.h: Protect long long constants with __extension__.
13060 * sysdeps/i386/bits/byteswap.h: Likewise.
13061 * sysdeps/ia64/bits/byteswap.h: Likewise.
13062 * sysdeps/s390/bits/byteswap.h: Likewise.
13063 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13065 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13069 destination buffer.
13070 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13072 2011-12-23 Marek Polacek <polacek@redhat.com>
13074 * elf/dl-addr.c (determine_info): Add inline keyword.
13075 * elf/tst-auditmod4b.c (check_avx): Likewise.
13076 * elf/tst-auditmod6b.c (check_avx): Likewise.
13077 * elf/tst-auditmod6c.c (check_avx): Likewise.
13078 * elf/tst-auditmod7b.c (check_avx): Likewise.
13080 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13082 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13085 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13088 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13089 processing for last bytes.
13091 2011-08-06 Bruno Haible <bruno@clisp.org>
13094 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13095 U+0385, not to U+1FEE.
13098 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13099 entry for U+00A5 U+0301.
13101 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13104 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13105 buffer for the output is too small.
13107 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13111 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13112 SSE flags if possible.
13114 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13118 processing for last bytes.
13120 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13122 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13123 (syscall-list-default-options, syscall-list-default-condition)
13124 (syscall-list-includes): Define.
13125 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13126 list of ABIs and options and #if conditions for each ABI. Do not
13127 handle common syscalls between ABIs specially.
13128 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13130 (syscall-list-variants, syscall-list-32bit-options)
13131 (syscall-list-32bit-condition, syscall-list-64bit-options)
13132 (syscall-list-64bit-condition): Define.
13133 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13134 (syscall-list-variants, syscall-list-32bit-options)
13135 (syscall-list-32bit-condition, syscall-list-64bit-options)
13136 (syscall-list-64bit-condition): Define.
13137 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13139 (syscall-list-variants, syscall-list-32bit-options)
13140 (syscall-list-32bit-condition, syscall-list-64bit-options)
13141 (syscall-list-64bit-condition): Define.
13142 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13144 (syscall-list-variants, syscall-list-32bit-options)
13145 (syscall-list-32bit-condition, syscall-list-64bit-options)
13146 (syscall-list-64bit-condition): Define.
13148 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13150 * locale/iso-639.def: Add brx entry.
13153 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13154 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13156 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13157 __feraiseexcept_renamed.
13159 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13162 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13163 EPOLLET with unsigned values.
13164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13167 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13168 to large cancellation.
13169 * math/s_cacoshf.c: Likewise.
13170 * math/s_cacoshl.c: Likewise.
13172 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13176 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13177 * math/s_cacoshf.c: Likewise.
13178 * math/s_cacoshl.c: Likewise.
13180 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13183 * iconv/gconv.h: Define __GCONV_SWAP.
13184 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13185 * iconvdata/utf-16.c: Likewise.
13186 * iconvdata/utf-32.c: Likewise.
13188 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13192 numerator after shifting it by one limb.
13194 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13196 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13197 under [__USE_EXTERN_INLINES].
13199 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13202 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13204 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13206 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13207 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13209 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13210 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13211 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13212 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13213 for strncasecmp/strncasecmp_l compilation.
13214 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13215 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13217 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13220 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13223 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13226 * time/tzfile.c (__tzfile_read): Check values from file header.
13228 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13230 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13231 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13232 * powerpc/powerpc32/dl-start.S: Likewise.
13233 * powerpc/powerpc32/elf/start.S: Likewise.
13234 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13235 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13236 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13237 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13238 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13239 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13240 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13241 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13242 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13243 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13244 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13245 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13246 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13247 * powerpc/powerpc32/memset.S: Likewise.
13248 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13249 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13250 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13251 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13252 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13253 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13254 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13255 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13256 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13257 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13258 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13259 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13260 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13262 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13264 * math/libm-test.inc: Added more nearbyint tests.
13265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13270 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13272 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13275 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13277 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13278 Add wcscpy-ssse3 wcscpy-c.
13279 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13280 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13281 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13282 * sysdeps/x86_64/wcschr.S: New file.
13283 * sysdeps/x86_64/wcsrchr.S: New file.
13284 * string/test-strcmp.c: Remove checking of wcscmp function for
13286 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13287 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13288 wcsrchr-sse2 wcsrchr-c.
13289 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13290 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13291 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13292 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13293 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13294 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13295 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13296 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13297 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13298 * wcsmbc/wcschr.c (WCSCHR): New macro.
13300 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13302 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13303 * wcsmbs/test-wcsrchr.c: New file.
13304 * string/test-strrchr.c: Add wcsrchr support.
13306 * wcsmbs/test-wcscpy.c: New file.
13307 * string/test-strcpy.c: Add wcscpy support.
13310 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13312 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13315 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13318 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13320 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13322 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13323 Minor optimizations.
13325 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13326 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13327 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13329 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13331 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13332 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13333 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13334 for gcc to avoid warnings.
13335 * inet/Makefile (tests): Add tst-checks.
13336 * inet/tst-checks.c: New file.
13338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13341 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13344 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13345 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13347 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13349 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13351 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13354 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13356 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13358 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13359 conditional on GCC version.
13360 (__arch_compare_and_exchange_val_8_acq)
13361 (__arch_compare_and_exchange_val_16_acq)
13362 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13363 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13364 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13366 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13368 * sysdeps/sh/backtrace.c: New file.
13370 2011-12-02 Andreas Schwab <schwab@redhat.com>
13372 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13375 2011-12-01 Andreas Schwab <schwab@redhat.com>
13377 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13378 falling back to utime.
13380 2011-11-30 Andreas Schwab <schwab@redhat.com>
13382 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13383 expectations for float.
13385 2011-11-29 Andreas Schwab <schwab@redhat.com>
13387 * locale/weight.h (findidx): Add parameter len.
13388 * locale/weightwc.h (findidx): Likewise.
13389 * posix/fnmatch_loop.c (FCT): Adjust caller.
13390 * posix/regcomp.c (build_equiv_class): Likewise.
13391 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13392 * posix/regexec.c (check_node_accept_bytes): Likewise.
13393 * string/strcoll_l.c (STRCOLL): Likewise.
13394 * string/strxfrm_l.c (STRXFRM): Likewise.
13396 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13398 * Makefile.in: Remove CVSOPT handling.
13399 * configure.in: Remove use of AC_REVISION.
13400 * iconvdata/Makefile (distribute): No need to filter out CVS.
13401 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13404 2011-11-16 Andreas Schwab <schwab@redhat.com>
13406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13407 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13408 [USE_AS_STRNCASECMP_L]: Likewise.
13409 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13410 NO_TLS_DIRECT_SEG_REFS.
13411 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13412 Fix argument offsets for non-PIC.
13413 [USE_AS_STRNCASECMP_L]: Likewise.
13414 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13415 NO_TLS_DIRECT_SEG_REFS.
13417 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13419 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13421 * locale/loadlocale.c (_nl_load_locale): Likewise.
13423 2011-11-15 Andreas Schwab <schwab@redhat.com>
13425 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13426 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13428 (SYSCALL_GETTIME): Set errno on error.
13430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13431 count references to noai6ai_cached.
13433 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13435 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13437 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13438 FD_CLOEXEC for /proc/self/maps.
13440 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13441 FD_CLOEXEC for /proc/meminfo.
13443 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13446 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13447 FD_CLOEXEC for given file.
13449 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13451 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13452 FD_CLOEXEC for /etc/hosts.
13453 (_gethtent): Likewise.
13455 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13457 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13458 cancellation and set FD_CLOEXEC for /etc/netgroup.
13460 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13461 reading /etc/publickey.
13463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13464 allow cancellation when reading /etc/group.
13466 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13468 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13470 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13471 when using data file.
13473 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13475 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13476 (write_nis_obj): Use "c" and "e" in fopen.
13478 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13480 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13482 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13484 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13486 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13489 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13491 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13493 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13495 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13496 file parsing and set FD_CLOEXEC.
13498 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13500 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13502 2011-11-14 Andreas Schwab <schwab@redhat.com>
13504 * malloc/arena.c (arena_get2): Don't call reused_arena when
13505 _int_new_arena failed.
13507 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13509 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13510 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13512 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13514 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13515 to compile strcasecmp and strncasecmp.
13516 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13517 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13521 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13523 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13524 locale-defines.sym to gen-as-const-headers.
13525 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13526 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13528 to compile strcasecmp and strncasecmp.
13529 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13530 strcasecmp_l and strncasecmp_l.
13531 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13532 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13533 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13534 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13535 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13536 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13537 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13538 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13539 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13540 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13541 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13543 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13545 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13546 result of SYSDEP_GETTIME_CPU to retval.
13547 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13548 parameter list to macro. Remove trailing semicolon. Adjust users.
13550 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13553 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13555 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13558 from unused variable.
13560 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13562 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13565 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13568 * sunrpc/rpc_prot.c (rejected): Fix case value.
13570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13571 unsigned long long int to avoid warnings in shift.
13573 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13575 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13578 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13579 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13580 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13582 * nis/nis_table.c (nis_list): Use variable of correct type for
13583 result of __follow_path call.
13585 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13587 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13588 of math functions ceil, trunc, floor, round, and sqrt, when
13589 avaliable on the platform.
13590 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13592 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13593 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13594 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13596 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13598 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13599 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13601 2011-11-11 Roland McGrath <roland@hack.frob.com>
13603 * include/unistd.h: Fix __readlink return type.
13604 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13606 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13608 * stdlib/ucontext.h: Undo last change for makecontext.
13610 2011-11-11 Andreas Schwab <schwab@redhat.com>
13612 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13614 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13615 * setjmp/setjmp.h: Mark functions as non-leaf.
13616 * setjmp/bits/setjmp2.h: Likewise.
13617 * stdlib/ucontext.h: Likewise.
13619 2011-11-10 Andreas Schwab <schwab@redhat.com>
13621 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13622 (reused_arena): Don't check arena limit.
13623 (arena_get2): Atomically check arena limit.
13625 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13627 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13628 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13633 2011-11-07 Andreas Schwab <schwab@redhat.com>
13635 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13636 handler when locking.
13638 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13639 Fix size of allocated buffer.
13641 2011-11-04 Andreas Schwab <schwab@redhat.com>
13644 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13645 declarations for long double functions.
13646 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13648 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13650 2011-11-03 Andreas Schwab <schwab@redhat.com>
13652 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13655 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13658 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13660 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13662 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13664 * include/alloca.h (stackinfo_alloca_round): Define.
13665 (extend_alloca): Use it.
13666 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13667 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13670 * scripts/check-local-headers.sh: Ignore libaudit.h.
13672 * nscd/Makefile (extra-objs): Make recursively expanded.
13674 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13676 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13679 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13680 * posix/tst-rfc3484-2.c: Likewise.
13681 * posix/tst-rfc3484-3.c: Likewise.
13683 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13685 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13687 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13688 process_vm_writev from libc using GLIBC_2.15 version.
13690 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13692 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13694 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13697 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13700 * nss/getent.c (initgroups_keys): Show error message in case no group
13703 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13704 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13705 __bump_nl_timestamp.
13706 * nscd/connections (nscd_init): When host database is served open
13707 netlink socket and request notification about configuration changes.
13708 (main_loop_poll): Track netlink file descriptor and bump timestamp
13709 in case data becomes available.
13710 (main_loop_epoll): Likewise.
13711 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13712 (database_pers_head): Add extra_data fileds.
13713 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13714 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13715 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13718 in6ai data, call __free_in6ai.
13719 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13720 Add -DHAVE_NETLINK.
13721 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13722 interface information. Reuse previous data if netlink timestamp
13724 (__bump_nl_timestamp): New function.
13725 (__free_in6ai): New function.
13727 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13729 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13730 close_not_cancel_no_status here.
13731 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13733 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13736 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13739 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13740 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13741 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13743 2011-07-03 Andreas Jaeger <aj@suse.de>
13746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13747 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13748 * math/libm-test.inc (sin_test): Add test case.
13750 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13753 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13754 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13756 * elf/chroot_canon.c (chroot_canon): Cleanups.
13758 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13761 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13762 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13764 * string/test-strchr.c: Make usable for strchrnul testing.
13765 * string/test-strchrnul.c: New file.
13766 * string/Makefile (strop-tests): Add strchrnul.
13768 * po/it.po: Update from translation team.
13769 * po/es.po: Likewise.
13771 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13773 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13774 the three constants needed as parameters. Drop the others.
13775 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13776 __m128i_strloadu_tolower.
13777 Create and initialize variable zero and use it in all the places
13778 where _mm_setzero_si128 was used.
13780 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13781 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13782 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13785 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13786 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13787 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13788 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13789 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13790 __mpranred, __mptan.
13791 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13792 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13793 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13794 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13795 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13796 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13797 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13798 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13799 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13801 2011-10-28 Andreas Schwab <schwab@redhat.com>
13803 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13804 redefine if SHARED.
13805 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13808 wide char related routines to wcsmbs subdir.
13810 2011-10-27 Andreas Schwab <schwab@redhat.com>
13813 * misc/sys/cdefs.h (__THROWNL): Define.
13814 * posix/unistd.h: Use __THREADNL instead of __THREAD
13815 for memory synchronization functions.
13817 2011-10-26 Roland McGrath <roland@hack.frob.com>
13820 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13822 * manual/stdio.texi (Obstack Streams): Node removed.
13824 2011-10-26 Andreas Schwab <schwab@redhat.com>
13826 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13827 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13830 * math/math_private.h (math_force_eval): Allow non-addressable
13832 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13834 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13836 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13837 file is not needed.
13839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13841 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13842 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13846 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13848 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13849 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13850 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13851 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13852 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13853 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13854 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13855 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13856 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13857 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13858 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13859 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13860 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13861 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13862 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13863 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13864 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13865 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13866 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13868 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13869 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13871 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13872 place. Use VEX encoding when compiling for AVX.
13874 2011-10-25 Andreas Schwab <schwab@redhat.com>
13876 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13877 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13879 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13881 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13883 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13884 useless if() expression.
13885 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13894 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13896 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13897 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13899 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13900 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13905 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13907 2011-10-25 Andreas Schwab <schwab@redhat.com>
13909 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13913 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13915 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13916 .text section. Avoid duplicate constants.
13917 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13927 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13929 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13932 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13934 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13941 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13942 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13943 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13944 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13946 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13947 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13948 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13949 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13950 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13951 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13952 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13953 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13954 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13955 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13956 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13959 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13961 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13963 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13965 * sysdeps/x86_64/dla.h: Move to ...
13966 * sysdeps/x86_64/fpu/dla.h: ...here.
13967 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13968 situations. Use __builtin_fma only for gcc 4.6 and up.
13970 * config.make.in: Add have-mfma4 entry.
13971 * configure.in: Substitute libc_cv_cc_fma4.
13972 * math/Makefile (dbl-only-routines): Add sincostab.
13973 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13974 Use __sincostab not sincos.
13975 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13977 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13982 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13983 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13984 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13985 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13987 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13988 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13990 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13991 define aliases when function name is a macro.
13992 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13993 sysdeps/ieee754/dbl-64/sincos.tbl.
13994 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13995 fma4-enabled routines.
13996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13997 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13998 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13999 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14001 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14005 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14006 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14007 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14009 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14011 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14012 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14013 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14014 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14015 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14016 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14017 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14018 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14019 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14020 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14021 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14023 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14024 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14025 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14027 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14038 2011-10-24 Andreas Schwab <schwab@redhat.com>
14040 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14042 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14046 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14048 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14050 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14051 Remove unused variable magic_bits.
14052 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14054 * string/strnlen.c: Define and use STRNLEN macro.
14055 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14056 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14058 * wcsmbs/wcslen.c: Define and use WCSLEN.
14059 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14060 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14061 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14062 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14063 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14064 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14065 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14067 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14070 strnlen-sse2-no-bsf.
14071 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14072 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14073 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14074 Add strnlen support.
14075 (USE_AS_STRNLEN): New macro.
14076 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14077 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14078 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14079 * sysdeps/x86_64/wcslen.S: New file.
14081 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14084 XMM-moves are used for copying on small sizes.
14086 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14088 * wcsmbs/Makefile (strop-tests): Add wcschr.
14089 * wcsmbs/test-wcschr.c: New file.
14090 * string/test-strchr.c: Update.
14091 Add wcschr support.
14094 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14096 * wcsmbs/Makefile (strop-tests): Add wcslen.
14097 * wcsmbs/test-wcslen.c: New file.
14098 * string/test-strlen.c: Update.
14099 Add wcslen support.
14102 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14104 * po/it.po: Update from translation team.
14106 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14108 * sysdeps/x86_64/wcscmp.S: Update.
14109 Fix wrong comparison semantics.
14110 wcscmp shall use signed comparison not unsigned.
14111 Don't use substraction to avoid overflow bug.
14112 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14113 * wcsmbc/wcscmp.c: Likewise.
14114 * string/test-strcmp.c: Likewise.
14115 Add new tests to check cases with negative values.
14117 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14119 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14120 * sysdeps/x86_64/dla.h: ...here. New file.
14121 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14131 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14134 __ynl_finite aliases.
14136 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14140 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14142 [DLA_FMA] (EMULV): Use DLA_FMA.
14143 [DLA_FMA] (MUL12): Use EMULV.
14144 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14145 that are not needed.
14146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14154 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14156 * math/s_nan.c: Undef __nan.
14157 * math/s_nanf.c: Undef __nanf.
14158 * math/s_nanl.c: Undef __nanl.
14159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14162 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14164 * math/s_catan.c: Add branch predictions.
14165 * math/s_catanf.c: Likewise.
14166 * math/s_catanh.c: Likewise.
14167 * math/s_catanhf.c: Likewise.
14168 * math/s_catanhl.c: Likewise.
14169 * math/s_catanl.c: Likewise.
14170 * math/s_cexp.c: Likewise.
14171 * math/s_cexpf.c: Likewise.
14172 * math/s_cexpl.c: Likewise.
14173 * math/s_clog.c: Likewise.
14174 * math/s_clog10.c: Likewise.
14175 * math/s_clog10f.c: Likewise.
14176 * math/s_clog10l.c: Likewise.
14177 * math/s_clogf.c: Likewise.
14178 * math/s_clogl.c: Likewise.
14179 * math/s_csqrt.c: Likewise.
14180 * math/s_csqrtf.c: Likewise.
14181 * math/s_csqrtl.c: Likewise.
14182 * math/s_ctanf.c: Likewise.
14183 * math/s_ctanh.c: Likewise.
14184 * math/s_ctanhf.c: Likewise.
14185 * math/s_ctanhl.c: Likewise.
14186 * math/s_ctanl.c: Likewise.
14188 * math/math_private.h: Define __nan, __nanf, __nanl.
14189 * math/s_cacosh.c: Include <math_private.h>.
14190 * math/s_cacoshl.c: Likewise.
14191 * math/s_casinh.c: Likewise.
14192 * math/s_casinhf.c: Likewise.
14193 * math/s_casinhl.c: Likewise.
14194 * math/s_ccos.c: Rely entire on ccosh.
14195 * math/s_ccosf.c: Rely entire on ccoshf.
14196 * math/s_ccosl.c: Rely entirely on ccoshl.
14197 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14198 Remove tests for FE_INVALID.
14199 * math/s_ccoshf.c: Likewise.
14200 * math/s_ccoshl.c: Likewise.
14201 * math/s_csin.c: Likewise.
14202 * math/s_csinf.c: Likewise.
14203 * math/s_csinh.c Likewise.
14204 * math/s_csinhf.c: Likewise.
14205 * math/s_csinhl.c: Likewise.
14206 * math/s_csinl.c: Likewise.
14207 * math/s_ctan.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14209 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14212 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14215 compilation problems.
14217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14220 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14222 * sysdeps/i386/configure.in: Test for -mfma4 option.
14223 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14224 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14225 COMMON_CPUID_INDEX_80000001.
14226 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14227 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14228 use it if FMA3 is not supported.
14229 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14231 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14232 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14234 2011-10-20 Andreas Schwab <schwab@redhat.com>
14237 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14238 it would create a cycle with a link time dependency.
14240 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14242 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14244 * string/Makefile (strop-tests): Add rawmemchr.
14245 * string/test-rawmemchr.c: New file.
14247 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14248 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14249 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14250 when compiling str{,n}casecmp and when AVX is available. Hook up
14251 new optimized code in initializers.
14253 2011-10-19 Andreas Schwab <schwab@redhat.com>
14255 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14256 __feraiseexcept instead of feraiseexcept.
14258 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14260 * math/math_private.h: Define defaults for libc_fetestexcept and
14262 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14263 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14264 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14265 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14266 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14267 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14268 libc_fetestexcept and libc_feupdateenv.
14270 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14271 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14272 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14273 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14274 libc_feholdexcept_setround.
14276 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14277 Add s_nearbyint-c and s_nearbyintf-c.
14278 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14279 nearbyintf inlines.
14280 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14281 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14283 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14285 * math/math_private.h: Define defaults for libc_fegetround,
14286 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14287 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14288 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14289 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14290 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14291 standard functions.
14292 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14293 Remove comments and hacks for old compiler versions.
14294 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14295 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14296 libc_feholdexceptl.
14298 2011-10-18 Andreas Schwab <schwab@redhat.com>
14300 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14301 (__feraiseexcept_renamed): Add __NTH.
14302 (feraiseexcept): Add __NTH. Rename local variables to fix
14303 namespace violations.
14305 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14307 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14309 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14311 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14312 recently added interfaces.
14313 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14315 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14316 about macro parameter expansion.
14318 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14319 __NO_MATH_INLINES is defined. Cleanups.
14321 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14322 and __floorf is target has SSE4.1.
14323 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14324 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14325 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14326 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14328 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14330 (floorf): Likewise.
14332 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14334 2011-10-17 Andreas Schwab <schwab@redhat.com>
14336 * misc/sys/cdefs.h: Fix last change.
14338 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14341 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14343 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14345 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14351 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14353 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14354 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14355 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14356 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14357 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14358 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14359 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14360 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14361 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14362 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14363 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14364 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14365 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14366 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14368 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14369 ceil, ceilf, floor, floorf.
14371 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14372 Perform IRELATIVE relocations last.
14374 * elf/do-rel.h: Add another parameter nrelative, replacing the
14375 local variable with the same name. Change name of the function
14376 to end in Rel or Rela (uppercase).
14377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14378 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14379 elf_dynamic_do_##reloc function.
14381 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14383 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14384 is sufficient, at least on modern CPUs.
14386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14388 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14389 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14391 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14393 * math/bits/math-finite.h: Add entries for exp.
14394 * math/e_expl.c: Add __*_finite alias.
14395 * sysdeps/i386/fpu/e_exp.S: Likewise.
14396 * sysdeps/i386/fpu/e_expf.S: Likewise.
14397 * sysdeps/i386/fpu/e_expl.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14399 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14403 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14404 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14406 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14407 is sufficient, at least on modern CPUs.
14409 * ctype/ctype-info.c (__ctype_init): Define.
14410 * include/ctype.h (__ctype_init): Declare.
14411 (__ctype_b_loc): The variable is always initialized.
14412 (__ctype_toupper_loc): Likewise.
14413 (__ctype_tolower_loc): Likewise.
14414 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14415 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14417 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14419 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14421 * configure.in: Also look in $cxxmachine/include for C++ system
14424 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14426 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14427 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14428 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14429 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14431 (USE_AS_WMEMCMP): New macro.
14433 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14434 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14435 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14436 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14438 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14439 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14440 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14441 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14442 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14444 (USE_AS_WMEMCMP): New macro.
14445 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14446 * sysdeps/string/test-memcmp.c: Update.
14447 Fix simple_wmemcmp.
14449 * wcsmbs/wmemcmp.c: Update.
14450 (WMEMCMP): New macro.
14453 2011-10-12 Andreas Jaeger <aj@suse.de>
14456 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14458 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14460 * libio/iofwide.c (do_length): Avoid warning.
14462 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14464 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14466 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14468 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14469 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14470 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14471 * sysdeps/i386/i686/fpu/e_log.S: New file.
14472 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14473 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14475 * ctype/ctype.h: Add support for inlined isXXX functions when
14476 compiling C++ code.
14478 2011-10-14 Andreas Schwab <schwab@redhat.com>
14480 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14482 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14484 2011-10-13 Roland McGrath <roland@hack.frob.com>
14487 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14489 2011-10-13 Andreas Schwab <schwab@redhat.com>
14491 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14492 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14495 * sysdeps/x86_64/memrchr.S: Check for zero size.
14497 * string/stratcliff.c: Add memrchr tests.
14499 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14502 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14503 rawmemchr-sse2 rawmemchr-sse2-bsf.
14504 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14505 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14506 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14507 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14508 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14509 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14510 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14511 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14512 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14513 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14514 * string/memrchr.c (MEMRCHR): New macro.
14516 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14518 Add integration with gcc's -ffinite-math-only and optimize wrapper
14520 * Versions.def: Define GLIBC_2.15 version for libm.
14521 * math/Makefile (headers): Add bits/math-finite.h.
14522 * math/bits/math-finite.h: New file.
14523 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14524 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14525 * math/e_acoshl.c: Add __*_finite alias.
14526 * math/e_acosl.c: Likewise.
14527 * math/e_asinl.c: Likewise.
14528 * math/e_atan2l.c: Likewise.
14529 * math/e_atanhl.c: Likewise.
14530 * math/e_coshl.c: Likewise.
14531 * math/e_exp10.c: Likewise.
14532 * math/e_exp10f.c: Likewise.
14533 * math/e_exp10l.c: Likewise.
14534 * math/e_exp2l.c: Likewise.
14535 * math/e_fmodl.c: Likewise.
14536 * math/e_gammal_r.c: Likewise.
14537 * math/e_hypotl.c: Likewise.
14538 * math/e_j0l.c: Likewise.
14539 * math/e_j1l.c: Likewise.
14540 * math/e_jnl.c: Likewise.
14541 * math/e_lgammal_r.c: Likewise.
14542 * math/e_log10l.c: Likewise.
14543 * math/e_log2l.c: Likewise.
14544 * math/e_logl.c: Likewise.
14545 * math/e_powl.c: Likewise.
14546 * math/e_sinhl.c: Likewise.
14547 * math/e_sqrtl.c: Likewise.
14548 * math/e_scalb.c: Completely rewritten and optimized.
14549 * math/e_scalbf.c: Likewise.
14550 * math/e_scalbl.c: Likewise.
14551 * math/w_acos.c: Likewise.
14552 * math/w_acosf.c: Likewise.
14553 * math/w_acosl.c: Likewise.
14554 * math/w_acosh.c: Likewise.
14555 * math/w_acoshf.c: Likewise.
14556 * math/w_acoshl.c: Likewise.
14557 * math/w_asin.c: Likewise.
14558 * math/w_asinf.c: Likewise.
14559 * math/w_asinl.c: Likewise.
14560 * math/w_atan2.c: Likewise.
14561 * math/w_atan2f.c: Likewise.
14562 * math/w_atan2l.c: Likewise.
14563 * math/w_atanh.c: Likewise.
14564 * math/w_atanhf.c: Likewise.
14565 * math/w_atanhl.c: Likewise.
14566 * math/w_exp10.c: Likewise.
14567 * math/w_exp10f.c: Likewise.
14568 * math/w_exp10l.c: Likewise.
14569 * math/w_fmod.c: Likewise.
14570 * math/w_fmodf.c: Likewise.
14571 * math/w_fmodl.c: Likewise.
14572 * math/w_j0.c: Likewise.
14573 * math/w_j0f.c: Likewise.
14574 * math/w_j0l.c: Likewise.
14575 * math/w_j1.c: Likewise.
14576 * math/w_j1f.c: Likewise.
14577 * math/w_j1l.c: Likewise.
14578 * math/w_jn.c: Likewise.
14579 * math/w_jnf.c: Likewise.
14580 * math/w_log.c: Likewise.
14581 * math/w_logf.c: Likewise.
14582 * math/w_logl.c: Likewise.
14583 * math/w_log10.c: Likewise.
14584 * math/w_log10f.c: Likewise.
14585 * math/w_log10l.c: Likewise.
14586 * math/w_log2.c: Likewise.
14587 * math/w_log2f.c: Likewise.
14588 * math/w_log2l.c: Likewise.
14589 * math/w_pow.c: Likewise.
14590 * math/w_powf.c: Likewise.
14591 * math/w_powl.c: Likewise.
14592 * math/w_remainder.c: Likewise.
14593 * math/w_remainderf.c: Likewise.
14594 * math/w_remainderl.c: Likewise.
14595 * math/w_scalb.c: Likewise.
14596 * math/w_scalbf.c: Likewise.
14597 * math/w_scalbl.c: Likewise.
14598 * math/w_sqrt.c: Likewise.
14599 * math/w_sqrtf.c: Likewise.
14600 * math/w_sqrtl.c: Likewise.
14601 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14602 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14604 * math/math_private.h: Declare __kernel_standard_f.
14605 * math/w_cosh.c: Remove cruft and optimize a bit.
14606 * math/w_coshf.c: Likewise.
14607 * math/w_coshl.c: Likewise.
14608 * math/w_exp2.c: Likewise.
14609 * math/w_exp2f.c: Likewise.
14610 * math/w_exp2l.c: Likewise.
14611 * math/w_hypot.c: Likewise.
14612 * math/w_hypotf.c: Likewise.
14613 * math/w_hypotl.c: Likewise.
14614 * math/w_lgamma.c: Likewise.
14615 * math/w_lgamma_r.c: Likewise.
14616 * math/w_lgammaf.c: Likewise.
14617 * math/w_lgammaf_r.c: Likewise.
14618 * math/w_lgammal.c: Likewise.
14619 * math/w_lgammal_r.c: Likewise.
14620 * math/w_sinh.c: Likewise.
14621 * math/w_sinhf.c: Likewise.
14622 * math/w_sinhl.c: Likewise.
14623 * math/w_tgamma.c: Likewise.
14624 * math/w_tgammaf.c: Likewise.
14625 * math/w_tgammal.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14628 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14629 Minor optimizations. Pretty printing. Remove cruft.
14630 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14631 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14633 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14634 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14635 * sysdeps/i386/fpu/e_asin.S: Likewise.
14636 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14637 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14638 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14639 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14640 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14641 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14642 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14643 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14644 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14645 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14646 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14647 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14648 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14649 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14650 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14651 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14652 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14653 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14654 * sysdeps/i386/fpu/e_log.S: Likewise.
14655 * sysdeps/i386/fpu/e_log10.S: Likewise.
14656 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14658 * sysdeps/i386/fpu/e_log2.S: Likewise.
14659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14660 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14661 * sysdeps/i386/fpu/e_logf.S: Likewise.
14662 * sysdeps/i386/fpu/e_logl.S: Likewise.
14663 * sysdeps/i386/fpu/e_pow.S: Likewise.
14664 * sysdeps/i386/fpu/e_powf.S: Likewise.
14665 * sysdeps/i386/fpu/e_powl.S: Likewise.
14666 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14667 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14668 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14669 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14670 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14671 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14672 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14673 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14674 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14696 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14699 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14700 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14701 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14702 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14703 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14704 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14705 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14706 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14707 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14708 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14709 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14710 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14711 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14712 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14713 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14715 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14716 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14755 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14758 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14760 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14761 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14766 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14767 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14768 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14769 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14770 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14771 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14772 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14773 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14774 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14775 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14776 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14777 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14778 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14779 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14780 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14783 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14784 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14785 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14786 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14787 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14788 (__isnanf): Likewise.
14789 (__isinf_ns): Likewise.
14790 (__isinf_nsf): Likewise.
14791 (__finite): Likewise.
14792 (__finitef): Likewise.
14793 (__ieee754_sqrt): Define as macro.
14794 (__ieee754_sqrtf): Define as macro.
14795 (__ieee754_sqrtl): Define as macro.
14796 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14798 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14799 __FINITE_MATH_ONLY__ consistent.
14800 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14802 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14804 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14807 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14809 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14811 * po/ja.po: Update from translation team.
14813 2011-10-08 Roland McGrath <roland@hack.frob.com>
14815 * locale/programs/locarchive.c (prepare_address_space): New function.
14816 (create_archive, enlarge_archive, open_archive): Use it.
14818 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14819 inside [SHARED], where it is used.
14821 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14823 * nss/getent.c (netgroup_keys): Remove unused variable.
14824 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14826 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14828 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14829 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14830 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14831 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14832 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14833 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14834 * math/Makefile (libm-calls): Add s_isinf_ns.
14835 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14836 * math/multc3.c: Likewise.
14837 * math/s_casin.c: Likewise.
14838 * math/s_casinf.c: Likewise.
14839 * math/s_casinl.c: Likewise.
14840 * math/s_ccos.c: Likewise.
14841 * math/s_ccosf.c: Likewise.
14842 * math/s_ccosl.c: Likewise.
14843 * math/s_ctan.c: Likewise.
14844 * math/s_ctanf.c: Likewise.
14845 * math/s_ctanh.c: Likewise.
14846 * math/s_ctanhf.c: Likewise.
14847 * math/s_ctanhl.c: Likewise.
14848 * math/s_ctanl.c: Likewise.
14849 * math/w_fmod.c: Likewise.
14850 * math/w_fmodf.c: Likewise.
14851 * math/w_fmodl.c: Likewise.
14852 * math/w_remainder.c: Likewise.
14853 * math/w_remainderf.c: Likewise.
14854 * math/w_remainderl.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14856 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14857 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14859 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14860 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14861 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14862 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14864 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14866 * stdio-common/printf_fphex.c: Likewise.
14867 * stdio-common/printf_size.c: Likewise.
14869 * math/e_exp10.c: Include math_private.h using <...> not "...".
14870 * math/e_exp10f.c: Likewise.
14871 * math/e_exp10l.c: Likewise.
14872 * math/e_exp2l.c: Likewise.
14873 * math/e_j0l.c: Likewise.
14874 * math/e_j1l.c: Likewise.
14875 * math/e_jnl.c: Likewise.
14876 * math/e_lgammal_r.c: Likewise.
14877 * math/e_rem_pio2l.c: Likewise.
14878 * math/e_scalb.c: Likewise.
14879 * math/e_scalbf.c: Likewise.
14880 * math/e_scalbl.c: Likewise.
14881 * math/k_cosl.c: Likewise.
14882 * math/k_sinl.c: Likewise.
14883 * math/k_tanl.c: Likewise.
14884 * math/s_cacoshf.c: Likewise.
14885 * math/s_catan.c: Likewise.
14886 * math/s_catanf.c: Likewise.
14887 * math/s_catanh.c: Likewise.
14888 * math/s_catanhf.c: Likewise.
14889 * math/s_catanhl.c: Likewise.
14890 * math/s_catanl.c: Likewise.
14891 * math/s_ccosh.c: Likewise.
14892 * math/s_ccoshf.c: Likewise.
14893 * math/s_ccoshl.c: Likewise.
14894 * math/s_cexp.c: Likewise.
14895 * math/s_cexpf.c: Likewise.
14896 * math/s_cexpl.c: Likewise.
14897 * math/s_clog.c: Likewise.
14898 * math/s_clog10.c: Likewise.
14899 * math/s_clog10f.c: Likewise.
14900 * math/s_clog10l.c: Likewise.
14901 * math/s_clogf.c: Likewise.
14902 * math/s_clogl.c: Likewise.
14903 * math/s_csin.c: Likewise.
14904 * math/s_csinf.c: Likewise.
14905 * math/s_csinh.c: Likewise.
14906 * math/s_csinhf.c: Likewise.
14907 * math/s_csinhl.c: Likewise.
14908 * math/s_csinl.c: Likewise.
14909 * math/s_csqrt.c: Likewise.
14910 * math/s_csqrtf.c: Likewise.
14911 * math/s_csqrtl.c: Likewise.
14912 * math/s_ctan.c: Likewise.
14913 * math/s_ctanf.c: Likewise.
14914 * math/s_ctanh.c: Likewise.
14915 * math/s_ctanhf.c: Likewise.
14916 * math/s_ctanhl.c: Likewise.
14917 * math/s_ctanl.c: Likewise.
14918 * math/s_ldexp.c: Likewise.
14919 * math/s_ldexpf.c: Likewise.
14920 * math/s_ldexpl.c: Likewise.
14921 * math/s_significand.c: Likewise.
14922 * math/s_significandf.c: Likewise.
14923 * math/s_significandl.c: Likewise.
14924 * math/w_acos.c: Likewise.
14925 * math/w_acosf.c: Likewise.
14926 * math/w_acosh.c: Likewise.
14927 * math/w_acoshf.c: Likewise.
14928 * math/w_acoshl.c: Likewise.
14929 * math/w_acosl.c: Likewise.
14930 * math/w_asin.c: Likewise.
14931 * math/w_asinf.c: Likewise.
14932 * math/w_asinl.c: Likewise.
14933 * math/w_atan2.c: Likewise.
14934 * math/w_atan2f.c: Likewise.
14935 * math/w_atan2l.c: Likewise.
14936 * math/w_atanh.c: Likewise.
14937 * math/w_atanhf.c: Likewise.
14938 * math/w_atanhl.c: Likewise.
14939 * math/w_cosh.c: Likewise.
14940 * math/w_coshf.c: Likewise.
14941 * math/w_coshl.c: Likewise.
14942 * math/w_dremf.c: Likewise.
14943 * math/w_exp10.c: Likewise.
14944 * math/w_exp10f.c: Likewise.
14945 * math/w_exp10l.c: Likewise.
14946 * math/w_exp2.c: Likewise.
14947 * math/w_exp2f.c: Likewise.
14948 * math/w_fmod.c: Likewise.
14949 * math/w_fmodf.c: Likewise.
14950 * math/w_fmodl.c: Likewise.
14951 * math/w_hypot.c: Likewise.
14952 * math/w_hypotf.c: Likewise.
14953 * math/w_hypotl.c: Likewise.
14954 * math/w_j0.c: Likewise.
14955 * math/w_j0f.c: Likewise.
14956 * math/w_j0l.c: Likewise.
14957 * math/w_j1.c: Likewise.
14958 * math/w_j1f.c: Likewise.
14959 * math/w_j1l.c: Likewise.
14960 * math/w_jn.c: Likewise.
14961 * math/w_jnf.c: Likewise.
14962 * math/w_jnl.c: Likewise.
14963 * math/w_lgamma.c: Likewise.
14964 * math/w_lgamma_r.c: Likewise.
14965 * math/w_lgammaf.c: Likewise.
14966 * math/w_lgammaf_r.c: Likewise.
14967 * math/w_lgammal.c: Likewise.
14968 * math/w_lgammal_r.c: Likewise.
14969 * math/w_log.c: Likewise.
14970 * math/w_log10.c: Likewise.
14971 * math/w_log10f.c: Likewise.
14972 * math/w_log10l.c: Likewise.
14973 * math/w_log2.c: Likewise.
14974 * math/w_log2f.c: Likewise.
14975 * math/w_log2l.c: Likewise.
14976 * math/w_logf.c: Likewise.
14977 * math/w_logl.c: Likewise.
14978 * math/w_pow.c: Likewise.
14979 * math/w_powf.c: Likewise.
14980 * math/w_powl.c: Likewise.
14981 * math/w_remainder.c: Likewise.
14982 * math/w_remainderf.c: Likewise.
14983 * math/w_remainderl.c: Likewise.
14984 * math/w_scalb.c: Likewise.
14985 * math/w_scalbf.c: Likewise.
14986 * math/w_scalbl.c: Likewise.
14987 * math/w_sinh.c: Likewise.
14988 * math/w_sinhf.c: Likewise.
14989 * math/w_sinhl.c: Likewise.
14990 * math/w_sqrt.c: Likewise.
14991 * math/w_sqrtf.c: Likewise.
14992 * math/w_sqrtl.c: Likewise.
14993 * math/w_tgamma.c: Likewise.
14994 * math/w_tgammaf.c: Likewise.
14995 * math/w_tgammal.c: Likewise.
14997 * po/ja.po: Update from translation team.
14999 2011-09-29 Andreas Jaeger <aj@suse.de>
15002 * sunrpc/netname.c (netname2host): Fix logic.
15006 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15008 * math/w_remainder.c (__remainder): Likewise.
15009 * math/w_remainderf.c (__remainderf): Likewise.
15010 * math/libm-test.inc (remainder_test): Add test cases.
15012 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15014 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15017 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15019 * string/test-memcmp.c: Avoid unncessary #defines.
15020 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15022 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15024 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15025 Use new sse2 version for core i3 - i7 as it's faster
15026 than sse42 version.
15027 (bit_Prefer_PMINUB_for_stringop): New.
15028 * sysdeps/x86_64/rawmemchr.S: Update.
15029 Replace with faster SSE2 version.
15030 * sysdeps/x86_64/memrchr.S: New file.
15031 * sysdeps/x86_64/memchr.S: Update.
15032 Replace with faster SSE2 version.
15034 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15036 * elf/dl-load.c (lose): Add cast to avoid warning.
15038 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15040 * po/ca.po: Update from translation team.
15042 * inet/getnetgrent_r.c: Hook up nscd.
15043 * nscd/Makefile (routines): Add nscd_netgroup.
15044 (nscd-modules): Add netgroupcache.
15045 (CFLAGS-netgroupcache.c): Define.
15046 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15047 (cache_search): Add const to second parameter.
15048 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15050 (dbs): Add netgrdb entry.
15051 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15052 (verify_persistent_db): Handle netgrdb.
15053 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15054 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15056 (netgroup_response_header): Define.
15057 (innetgroup_response_header): Define.
15058 (datahead): Add netgroup_response_header and innetgroup_response_header
15060 * nscd/nscd.conf: Add entries for netgroup cache.
15061 * nscd/nscd.h (dbtype): Add netgrdb.
15062 (_PATH_NSCD_NETGROUP_DB): Define.
15063 (netgroup_iov_disabled): Declare.
15064 (xmalloc, xcalloc, xrealloc): Move declarations here.
15065 (cache_search): Adjust prototype.
15066 Add netgroup-related prototypes.
15067 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15068 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15069 (__nscd_innetgr): Declare.
15070 * nscd/selinux.c (perms): Use access_vector_t as element type and
15071 add netgroup-related initializers.
15072 * nscd/netgroupcache.c: New file.
15073 * nscd/nscd_netgroup.c: New file.
15074 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15075 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15076 For four parameters use innetgr.
15077 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15078 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15079 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15080 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15082 * nscd/connections.c (register_traced_file): Don't register file
15083 for disabled databases.
15085 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15087 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15089 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15090 from tree and freeing node.
15092 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15094 * nss/nsswitch.c (__nss_database_lookup): Handle
15095 nss_parse_service_list out of memory case.
15097 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15099 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15100 out of memory case.
15102 2011-10-04 Andreas Schwab <schwab@redhat.com>
15104 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15105 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15107 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15108 elf_machine_rela, elf_machine_lazy_rel.
15109 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15110 (ELF_DYNAMIC_DO_REL): Likewise.
15111 (ELF_DYNAMIC_DO_RELA): Likewise.
15112 (ELF_DYNAMIC_RELOCATE): Likewise.
15113 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15114 to ELF_DYNAMIC_DO_REL.
15115 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15116 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15117 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15120 skip_ifunc, don't call ifunc function if non-zero.
15121 (elf_machine_rela): Likewise.
15122 (elf_machine_lazy_rel): Likewise.
15123 (elf_machine_lazy_rela): Likewise.
15124 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15125 (elf_machine_lazy_rel): Likewise.
15126 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15128 (elf_machine_lazy_rel): Likewise.
15129 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15131 (elf_machine_lazy_rel): Likewise.
15132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15133 (elf_machine_lazy_rel): Likewise.
15134 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15135 (elf_machine_lazy_rel): Likewise.
15136 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15137 (elf_machine_lazy_rel): Likewise.
15138 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15139 (elf_machine_lazy_rel): Likewise.
15140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15141 (elf_machine_lazy_rel): Likewise.
15142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15143 (elf_machine_lazy_rel): Likewise.
15145 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15147 * nss/nss_files/files-init.c (_nss_files_init): Use static
15148 initialization for all the *_traced_file variables.
15150 2011-09-28 Andreas Schwab <schwab@redhat.com>
15152 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15154 2011-09-27 Roland McGrath <roland@hack.frob.com>
15157 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15159 2011-09-27 Andreas Schwab <schwab@redhat.com>
15161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15162 Reread the line before reparsing it.
15164 2011-09-26 Andreas Schwab <schwab@redhat.com>
15166 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15168 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15169 Maxim Kuvyrkov <maxim@codesourcery.com>
15170 Joseph Myers <joseph@codesourcery.com>
15172 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15173 if needed for __stack_chk_guard.
15175 2011-09-19 Roland McGrath <roland@hack.frob.com>
15177 * sysdeps/posix/spawni.c (script_execute): Always define it.
15178 It will be optimized away if unused.
15179 (maybe_script_execute): New function.
15180 (__spawni): Call it.
15182 * Makerules: Don't include tls.make.
15183 (config-tls): Always set to thread.
15184 * tls.make.c: File removed.
15186 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15188 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15189 * config.make.in (CPPFLAGS-config): New substituted variable.
15191 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15196 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15197 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15199 2011-09-15 Roland McGrath <roland@hack.frob.com>
15201 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15202 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15204 (CALL_FAIL): Likewise.
15205 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15206 (CALL_FAIL): Macro removed.
15207 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15209 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15211 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15212 for __FINITE_MATH_ONLY__ == 1.
15214 2011-09-15 Andreas Schwab <schwab@redhat.com>
15216 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15217 __ieee754_sqrt instead of sqrt.
15218 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15219 __ieee754_sqrtf instead of sqrtf.
15220 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15221 __floorf instead of floorf.
15222 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15223 __floorf, __truncf instead of floorf, truncf.
15225 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15227 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15229 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15230 __extern_always_inline.
15231 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15234 2011-09-14 Andreas Schwab <schwab@redhat.com>
15236 * elf/rtld.c (dl_main): Also relocate in dependency order when
15237 doing symbol dependency testing.
15239 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15242 Always define `refsym'.
15244 2011-09-13 Andreas Schwab <schwab@redhat.com>
15246 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15247 (__FD_ELT): Renamed from __FDELT.
15248 * misc/bits/select2.h (__FD_ELT): Likewise.
15249 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15250 __FD_MASK instead of __FDELT, __FDMASK.
15251 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15253 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15256 * elf/Makefile (gen-ldd): Fix pattern.
15258 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15259 (init_tls): Likewise.
15261 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15265 2011-09-12 Andreas Schwab <schwab@redhat.com>
15267 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15268 `struct cmsghdr *' instead of `void *'.
15269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15272 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15274 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15276 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15277 ldd_rewrite_script.
15279 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15281 * configure.in: Remove --with-tls option.
15282 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15283 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15284 out in case it is missing.
15285 * sysdeps/ia64/elf/configure.in: Likewise.
15286 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15287 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15288 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15289 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15290 * sysdeps/sh/elf/configure.in: Likewise.
15291 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15292 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15293 * sysdeps/x86_64/elf/configure.in: Likewise.
15294 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15295 * sysdeps/mach/hurd/tls.h: Likewise.
15298 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15301 * configure.in: Fix use of AC_INIT.
15303 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15305 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15307 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15309 * malloc/hooks.c: Likewise.
15312 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15313 variables statically.
15314 (narenas): Initialize.
15315 (list_lock): Initialize.
15316 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15317 initializtion of main_arena and list_lock. Small cleanups.
15318 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15319 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15320 Add initializers to main_arena and mp_.
15321 (malloc_state): Remove pagesize member. Change all users to use
15324 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15325 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15326 is always initialized.
15328 * malloc/malloc.c: Removed unused configurations and dead code.
15329 * malloc/arena.c: Likewise.
15330 * malloc/hooks.c: Likewise.
15331 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15333 * include/tls.h: Removed. USE___THREAD must always be defined.
15334 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15335 * elf/dl-libc.c: Likewise.
15336 * elf/dl-tsd.c: Likewise.
15337 * include/errno.h: Likewise.
15338 * include/netdb.h: Likewise.
15339 * include/resolv.h: Likewise.
15340 * inet/herrno-loc.c: Likewise.
15341 * inet/herrno.c: Likewise.
15342 * malloc/arena.c: Likewise.
15343 * malloc/hooks.c: Likewise.
15344 * malloc/malloc.c: Likewise.
15345 * resolv/res-state.c: Likewise.
15346 * resolv/res_libc.c: Likewise.
15347 * sysdeps/i386/dl-machine.h: Likewise.
15348 * sysdeps/ia64/dl-machine.h: Likewise.
15349 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15350 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15351 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15352 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15353 * sysdeps/sh/dl-machine.h: Likewise.
15354 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15355 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15356 * sysdeps/unix/i386/sysdep.S: Likewise.
15357 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15358 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15361 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15363 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15368 * sysdeps/x86_64/dl-machine.h: Likewise.
15369 * tls.make.c: Likewise.
15371 * configure.in: Remove --with-__thread option. Make tests for
15372 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15373 tls_model attribute fail if no support is available. Remove
15375 * Makeconfig: Adjust for dropped configure option. All features are
15377 * Makerules: Likewise.
15378 * Versions.def: Likewise.
15379 * argp/argp-fmtstream.c: Likewise.
15380 * argp/argp-fmtstream.h: Likewise.
15381 * argp/argp-help.c: Likewise.
15382 * assert/assert.c: Likewise.
15383 * config.h.in: Likewise.
15384 * config.make.in: Likewise.
15385 * configure: Likewise.
15386 * configure.in: Likewise.
15387 * csu/Versions: Likewise.
15388 * csu/init.c: Likewise.
15389 * elf/tst-audit2.c: Likewise.
15390 * elf/tst-tls10.c: Likewise.
15391 * elf/tst-tls10.h: Likewise.
15392 * elf/tst-tls11.c: Likewise.
15393 * elf/tst-tls12.c: Likewise.
15394 * elf/tst-tls14.c: Likewise.
15395 * elf/tst-tlsmod11.c: Likewise.
15396 * elf/tst-tlsmod12.c: Likewise.
15397 * elf/tst-tlsmod13.c: Likewise.
15398 * elf/tst-tlsmod13a.c: Likewise.
15399 * elf/tst-tlsmod14a.c: Likewise.
15400 * elf/tst-tlsmod15b.c: Likewise.
15401 * elf/tst-tlsmod16a.c: Likewise.
15402 * elf/tst-tlsmod16b.c: Likewise.
15403 * elf/tst-tlsmod7.c: Likewise.
15404 * elf/tst-tlsmod8.c: Likewise.
15405 * elf/tst-tlsmod9.c: Likewise.
15406 * gmon/gmon.c: Likewise.
15407 * grp/fgetgrent_r.c: Likewise.
15408 * grp/putgrent.c: Likewise.
15409 * hurd/fopenport.c: Likewise.
15410 * include/libc-symbols.h: Likewise.
15411 * include/tls.h: Likewise.
15412 * intl/gettextP.h: Likewise.
15413 * intl/loadinfo.h: Likewise.
15414 * locale/global-locale.c: Likewise.
15415 * locale/localeinfo.h: Likewise.
15416 * mach/devstream.c: Likewise.
15417 * malloc/arena.c: Likewise.
15418 * malloc/set-freeres.c: Likewise.
15419 * misc/err.c: Likewise.
15420 * misc/getttyent.c: Likewise.
15421 * misc/mntent_r.c: Likewise.
15422 * posix/getopt.c: Likewise.
15423 * posix/wordexp.c: Likewise.
15424 * pwd/fgetpwent_r.c: Likewise.
15425 * resolv/Versions: Likewise.
15426 * resolv/res_hconf.c: Likewise.
15427 * shadow/fgetspent_r.c: Likewise.
15428 * shadow/putspent.c: Likewise.
15429 * stdio-common/printf_fphex.c: Likewise.
15430 * stdio-common/tmpfile.c: Likewise.
15431 * stdlib/abort.c: Likewise.
15432 * stdlib/fmtmsg.c: Likewise.
15433 * sunrpc/auth_unix.c: Likewise.
15434 * sunrpc/clnt_perr.c: Likewise.
15435 * sunrpc/clnt_tcp.c: Likewise.
15436 * sunrpc/clnt_udp.c: Likewise.
15437 * sunrpc/clnt_unix.c: Likewise.
15438 * sunrpc/openchild.c: Likewise.
15439 * sunrpc/svc_simple.c: Likewise.
15440 * sunrpc/svc_tcp.c: Likewise.
15441 * sunrpc/svc_udp.c: Likewise.
15442 * sunrpc/svc_unix.c: Likewise.
15443 * sunrpc/xdr.c: Likewise.
15444 * sunrpc/xdr_array.c: Likewise.
15445 * sunrpc/xdr_rec.c: Likewise.
15446 * sunrpc/xdr_ref.c: Likewise.
15447 * sunrpc/xdr_stdio.c: Likewise.
15449 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15451 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15453 2011-07-03 Andreas Jaeger <aj@suse.de>
15455 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15456 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15457 regenerate with gen-libm-tests.pl.
15459 2010-05-12 Petr Baudis <pasky@suse.cz>
15462 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15463 around j0() zero points by switching to j1().
15464 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15471 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15473 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15476 Patch in part by Pavel Roskin <proski@gnu.org>.
15479 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15481 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15482 Free memory block if necessary.
15485 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15486 be NULL. Don't lock in this case.
15488 2011-09-09 Roland McGrath <roland@hack.frob.com>
15490 * elf/elf.h (ELFOSABI_GNU): New macro.
15491 (ELFOSABI_LINUX): Define to that.
15493 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15495 * string/strncat.c (strncat): Undef the symbol in case it has been
15496 defined in bits/string.h.
15498 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15500 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15502 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15505 2011-08-17 Andreas Jaeger <aj@suse.de>
15507 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15509 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15510 Ian Lance Taylor <iant@google.com>
15512 * math/libm-test.inc (lround_test): New testcase.
15513 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15515 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15517 * Makefile: Remove support for automatic cvs check-ins.
15518 * Makerules: Likewise.
15519 * config.make.in: Likewise.
15520 * configure.in: Likewise.
15521 * intl/Makefile: Likewise.
15522 * locale/Makefile: Likewise.
15523 * po/Makefile: Likewise.
15524 * posix/Makefile: Likewise.
15525 * sysdeps/gnu/Makefile: Likewise.
15526 * sysdeps/mach/hurd/Makefile: Likewise.
15527 * sysdeps/sparc/sparc32/Makefile: Likewise.
15530 * posix/Makefile (bug-regex32-ENV): Define.
15531 Patch by John Stanley <jpsinthemix@verizon.net>.
15533 * misc/Makefile (headers): Add bits/select2.h.
15534 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15535 * misc/bits/select2.h: New file.
15536 * include/bits/select2.h: New file.
15537 * debug/Makefile (routines): Add fdelt_chk.
15538 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15539 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15541 * debug/fdelt_chk.c: New file.
15543 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15544 * wcsmbs/test-wmemcmp.c: Likewise.
15545 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15546 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15548 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15550 * string/Makefile (strop-tests): Add memcmp.
15551 * string/test-wmemcmp.c: New file.
15552 * string/test-memcmp.c: Add wmemcmp support.
15554 2011-09-08 Roland McGrath <roland@hack.frob.com>
15557 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15560 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15561 garbage value in a __mach_port_mod_refs call in the cases of the
15562 task-self and thread-self ports.
15564 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15566 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15568 2011-09-08 Andreas Schwab <schwab@redhat.com>
15570 * elf/dl-load.c (lose): Check for non-null L.
15572 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15574 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15576 * elf/dl-libc.c (dlerror_run): Pass back error code from
15580 * elf/dl-load.c (lose): Free l_origin if it is valid.
15582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15584 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15589 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15591 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15594 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15595 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15596 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15597 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15598 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15599 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15600 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15601 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15602 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15604 2011-08-15 Alan Modra <amodra@gmail.com>
15607 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15608 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15609 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15610 ppc_mcount to static-only-routines.
15611 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15613 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15614 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15616 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15619 for finite and infinity parameters.
15621 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15624 and add nop instructions for throughput optimization.
15625 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15627 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15630 aligned copy for power7 with vector-scalar instructions.
15631 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15633 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15635 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15638 2011-09-07 Andreas Schwab <schwab@redhat.com>
15641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15644 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15646 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15647 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15648 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15649 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15652 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15655 Forgot to demangle the pointer.
15657 * sysdeps/i386/sysdep.h: Define atom_text_section.
15658 * sysdeps/x86_64/sysdep.h: Likewise.
15659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15660 section with atom_text_section.
15661 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15662 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15663 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15665 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15668 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15669 already be defined. Change to take two parameters and don't assign
15670 result to variable. Adjust all users.
15671 Define INTERNAL_GETTIME if not already defined.
15672 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15675 HAVE_CLOCK_GETTIME_VSYSCALL.
15676 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15679 gettimeofday vsyscall, just use time.
15681 2011-09-06 Andreas Schwab <schwab@redhat.com>
15683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15686 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15688 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15692 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15693 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15694 syscall if possible.
15696 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15698 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15699 e_ident. Don't pass to find_mapsXX.
15700 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15702 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15705 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15706 * sysdeps/x86_64/multiarch/strchr.S: Update.
15707 Check bit_slow_BSF bit.
15708 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15709 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15710 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15715 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15717 (tryshell): Define.
15718 (__spawni): Change last parameter to be flag. Test
15719 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15720 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15721 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15722 * posix/spawni.c: Likewise.
15723 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15724 * posix/spawnp.c: Likewise. Change normal version to use
15725 SPAWN_XFLAGS_USE_PATH.
15726 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15727 SPAWN_XFLAGS_TRY_SHELL.
15730 * posix/glob.h: Remove gcc 1.x support.
15733 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15735 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15738 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15740 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15741 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15742 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15743 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15744 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15745 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15747 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15749 * sysdeps/x86_64/wcscmp.S: New file.
15751 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15752 wcscmp-c wcscmp-sse2
15753 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15754 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15755 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15756 * wcsmbs/wcscmp.c: Allow renaming.
15758 2011-09-05 David S. Miller <davem@davemloft.net>
15760 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15761 stack slot, rather than the struct return pointer slot.
15762 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15763 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15767 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15769 * po/ja.po: Update from translation team.
15772 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15773 kernel in 64-bit binaries.
15775 2011-09-01 David S. Miller <davem@davemloft.net>
15777 * elf/elf.h (HWCAP_SPARC_*): Move to..
15778 * sysdeps/sparc/sysdep.h: this new file and add new values.
15779 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15780 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15781 _DL_HWCAP_COUNT to 24.
15782 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15784 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15785 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15786 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15788 instead of magic constants.
15789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15791 2011-08-31 David S. Miller <davem@davemloft.net>
15793 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15795 Reimplement to do errno handling inline.
15796 (SYSCALL_ERROR_HANDLER): New macro.
15797 (__SYSCALL_STRING): Do not do errno handling in asm.
15798 (__CLONE_SYSCALL_STRING): Delete.
15799 (__INTERNAL_SYSCALL_STRING): Delete.
15800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15801 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15802 (PSEUDO): Reimplement to do errno handling inline.
15803 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15804 (SYSCALL_ERROR_HANDLER): New macro.
15805 (__SYSCALL_STRING): Do not do errno handling in asm.
15806 (__CLONE_SYSCALL_STRING): Delete.
15807 (__INTERNAL_SYSCALL_STRING): Delete.
15808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15809 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15811 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15812 (inline_syscall*): Add 'err' argument.
15813 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15814 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15815 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15816 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15818 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15819 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15821 2011-08-30 Andreas Schwab <schwab@redhat.com>
15823 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15825 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15827 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15830 2011-08-24 David S. Miller <davem@davemloft.net>
15832 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15834 2011-08-24 Andreas Schwab <schwab@redhat.com>
15836 * elf/Makefile: Add rules to build and run unload8 test.
15837 * elf/unload8.c: New file.
15838 * elf/unload8mod1.c: New file.
15839 * elf/unload8mod1x.c: New file.
15840 * elf/unload8mod2.c: New file.
15841 * elf/unload8mod3.c: New file.
15843 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15846 2011-08-23 David S. Miller <davem@davemloft.net>
15848 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15849 subtract stack bias.
15850 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15851 %sp not %fp in calculations.
15852 (_JMPBUF_UNWINDS_ADJ): Likewise.
15854 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15855 (aio_suspend): Call it to force an exception region around the
15856 AIO_MISC_WAIT() invocation.
15858 2011-08-23 Andreas Schwab <schwab@redhat.com>
15860 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15863 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15865 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15867 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15868 and <dl-machine.h>.
15869 (Elf64_FuncDesc): Remove.
15871 2011-08-22 David S. Miller <davem@davemloft.net>
15873 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15874 sigaltstack check, add missing cfi directives.
15875 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15876 missing cfi directives, and sigaltstack handling.
15878 2011-08-16 Andreas Schwab <schwab@redhat.com>
15881 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15882 object is seen twice.
15883 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15885 * elf/Makefile (distribute): Add tst-initorder2.c.
15886 (tests): Add tst-initorder2.
15887 (modules-names): Add tst-initorder2a tst-initorder2b
15888 tst-initorder2c tst-initorder2d. Add rules to build them.
15889 ($(objpfx)tst-initorder2.out): New rule.
15890 * elf/tst-initorder2.c: New file.
15891 * elf/tst-initorder2.exp: New file.
15893 2011-08-22 Andreas Schwab <schwab@redhat.com>
15895 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15897 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15898 dependencies back to end of function.
15900 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15901 $(elfobjdir)/ld.so.
15903 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15906 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15908 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15909 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15910 of __vdso_gettimeofday.
15911 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15912 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15914 (_libc_vdso_platform_setup): Remove initialization of
15915 __vdso_gettimeofday and __vdso_time.
15917 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15919 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15920 and fgetc_unlocked.
15921 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15924 * elf/dl-open.c (add_to_global): Report additions to the global scope
15925 for LD_DEBUG=scopes.
15926 (dl_open_worker): Also print scope of newly loaded dependencies.
15927 (_dl_show_scope): Indicate if there is no scope.
15930 * stdio-common/Makefile (tests): Add bug24.
15931 * stdio-common/bug24.c: New file.
15933 2011-08-19 Andreas Jaeger <aj@suse.de>
15936 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15937 non-existant file when using close-on-exec mode.
15939 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15942 the very first instruction.
15944 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15945 the CFI state in the end.
15946 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15947 inclusion of dl-trampoline.h.
15948 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15950 2011-08-19 Andreas Schwab <schwab@redhat.com>
15952 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15953 expectations for long double.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15956 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15958 2011-08-14 David S. Miller <davem@davemloft.net>
15960 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15961 artificual limit depends upon the system page size.
15963 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15965 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15966 * resolv/Makefile: Define CFLAGS-libresolv.
15968 2011-08-17 Andreas Schwab <schwab@redhat.com>
15970 * nss/makedb.c (compute_tables): Make variables used in nested
15973 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15975 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15976 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15977 if buffer was too small.
15979 * elf/pldd.c (main): Attach to all threads in the process.
15980 Rewrite /proc handling to use *at functions.
15982 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15984 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15985 specifies first scope to show.
15986 (dl_open_worker): Update callers. Move printing scope of new
15987 object to before the relocation.
15988 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15989 * sysdeps/generic/ldsodefs.h: Update declaration.
15991 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15992 string for the scope number.
15994 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15996 * nscd/servicescache.c (cache_addserv): Make sure written is always
15999 2011-08-14 Roland McGrath <roland@hack.frob.com>
16001 * sysdeps/i386/i486/bits/atomic.h
16002 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16003 statement expression, so as to suppress "set but not used" warning.
16004 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16006 * string/strncat.c (STRNCAT): Use prototype definition.
16008 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16009 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16011 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16012 (localedef-modules): Add localedef.
16013 (locale-modules): Add locale.
16015 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16016 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16017 to avoid a warning.
16019 2011-08-14 David S. Miller <davem@davemloft.net>
16021 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16022 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16024 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16026 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16027 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16028 * elf/rtld.c (dl_main): Set l_name of vDSO.
16029 Call _dl_show_scope when DL_DEBUG_SCOPES.
16030 (process_dl_debug): Recognize scopes flag and also set it for all.
16031 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16032 Declare _dl_show_scope.
16034 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16035 (do_dlopen): Pass caller_dlopen to dl_open.
16036 (__libc_dlopen_mode): Initialize caller_dlopen.
16038 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16039 of libc. Make tolower call locale-independent. Optimize a bit by
16040 using isdigit instead of isalnum.
16041 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16043 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16045 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16046 was a dependency or dynamically loaded.
16048 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16050 * intl/l10nflist.c: Allow architecture-specific pop function.
16051 * sysdeps/x86_64/l10nflist.c: New file.
16053 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16056 2011-08-10 Andreas Schwab <schwab@redhat.com>
16058 * include/dirent.h: Add libc_hidden_proto for scandirat and
16059 scandirat64. Don't declare __scandirat64.
16060 * dirent/scandirat.c: Add libc_hidden_def.
16061 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16062 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16064 2011-08-10 David S. Miller <davem@davemloft.net>
16066 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16072 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16074 * Versions.def [libc]: Add GLIBC_2.15.
16075 * dirent/Makefile (routines): Add scandirat and scandirat64.
16076 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16078 * dirent/dirent.h: Declare scandirat and scandirat64.
16079 * dirent/scandirat.c: New file.
16080 * dirent/scandirat64.c: New file.
16081 * sysdeps/wordsize-64/scandirat.c: New file.
16082 * sysdeps/wordsize-64/scandirat64.c: New file.
16083 * dirent/opendir.c: Define opendirat.
16084 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16086 * dirent/scandir64.c: Adjust for scandir.c change.
16087 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16088 __scandirat64, and __scandir_cancel_handler.
16089 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16090 additional parameter and use openat instead of open (outside of ld.so).
16091 Add new __opendir as wrapper around __opendirat.
16092 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16093 here without requiring old scandirat implementation.
16095 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16097 * dirent/scandir.c (cancel_handler): Renamed to
16098 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16099 defined. Adjust users.
16100 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16101 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16103 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16105 * string/test-string.h (IMPL): Use __STRING to expand name and then
16108 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16111 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16113 * string/Makefile: Update.
16114 (strop-tests): Append strncat.
16115 * string/test-wcscmp.c: New file.
16116 New comprehensive test for wcscmp.
16117 * string/test-strcmp.c: Update.
16118 (WIDE): New define.
16120 2011-07-22 Andreas Schwab <schwab@redhat.com>
16122 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16125 2011-07-26 Andreas Schwab <schwab@redhat.com>
16127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16128 encoding to ACE if AI_IDN.
16130 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16133 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16135 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16138 Fix overflow bug in strncat.
16139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16141 * string/test-strncat.c: Update.
16142 Add new tests for checking overflow bugs.
16144 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16147 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16148 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16149 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16151 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16152 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16153 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16154 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16157 (USE_AS_STRCAT): Define.
16158 Add strcat and strncat support.
16159 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16161 2011-07-25 Andreas Schwab <schwab@redhat.com>
16163 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16164 __n bigger than INT_MAX+1.
16165 (__strncmp_g): Likewise.
16167 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16169 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16170 * libio/stido.h: Likewise.
16172 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16177 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16180 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16184 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16189 (_dl_x86_64_save_sse): Likewise.
16191 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16195 (_dl_x86_64_save_sse): Likewise.
16197 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16199 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16201 2011-07-21 Andreas Schwab <schwab@redhat.com>
16203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16205 (_dl_x86_64_save_sse): Use correct AVX check.
16207 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16209 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16210 bug in strncpy/strncat.
16211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16213 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16215 * string/tester.c (test_strcat): Add tests for different alignments
16216 of source and destination.
16217 (test_strncat): Likewise.
16219 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16222 * posix/glob.c (glob): Check passed in values before using them in
16223 expressions to avoid some overflows.
16224 (glob_in_dir): Likewise.
16227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16228 check for AVX enablement so that we don't crash with old kernels and
16230 * elf/tst-audit4.c: Add same checks here.
16231 * elf/tst-audit6.c: Likewise.
16233 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16235 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16237 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16239 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16241 * po/cs.po: Update from translation team.
16242 * po/bg.po: Likewise.
16244 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16246 * misc/sys/cdefs.h: Add support for const attribute.
16247 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16248 to gnu_dev_{major,minor,makedev} functions.
16250 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16252 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16254 2011-07-20 Andreas Schwab <schwab@redhat.com>
16256 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16259 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16262 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16263 register in order to avoid conflicts with the soft frame pointer
16264 being held in r11 when necessary.
16265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16266 (INTERNAL_VSYSCALL_NCS): Likewise.
16268 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16270 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16271 * elf/dl-fini.c (_dl_fini): Adjust caller.
16272 * elf/dl-close.c (_dl_close_worker): Likewise.
16273 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16275 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16277 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16278 "aux_cache->nlibs < 0".
16280 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16281 in the reload-count case.
16283 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16286 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16287 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16288 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16289 * sysdeps/x86_64/multiarch/strcat.S: New file.
16290 * sysdeps/x86_64/multiarch/strncat.S: New file.
16291 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16292 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16293 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16294 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16295 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16296 (USE_AS_STRCAT): Define.
16297 Add strcat and strncat support.
16298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16300 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16301 * string/strncat.c: Update.
16302 (USE_AS_STRNCAT): Define.
16303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16304 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16306 * sysdeps/x86_64/multiarch/init-arch.h
16307 (bit_Prefer_PMINUB_for_stringop): New.
16308 (index_Prefer_PMINUB_for_stringop): Likewise.
16309 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16310 bit_Prefer_PMINUB_for_stringop.
16312 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16314 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16316 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16317 of casting of buffer.
16318 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16319 buffer32 and buffer64.
16320 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16321 writes instead of casting of buffer.
16322 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16324 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16327 2011-07-19 Andreas Schwab <schwab@redhat.com>
16329 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16331 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16333 * nscd/nscd.c (termination_handler): Don't do anything for a database
16334 if it has not yet been initialized.
16336 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16338 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16340 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16342 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16344 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16346 * po/nl.po: Update from translation team.
16347 * po/sv.po: Likewise.
16349 2011-07-16 Roland McGrath <roland@hack.frob.com>
16351 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16352 now disallowed by GCC.
16354 * configure.in (use-default-link): Default to yes if a test -shared
16355 link meets our qualifications.
16356 * configure: Regenerated.
16358 * config.make.in (output-format): New variable.
16359 * configure.in: Check for ld --print-output-format support.
16360 * configure: Regenerated.
16361 * Makerules ($(common-objpfx)format.lds)
16362 [$(output-format) != unknown]: Just use $(output-format),
16363 instead of the linker-script munging.
16365 2011-07-14 Roland McGrath <roland@hack.frob.com>
16367 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16368 of $(common-objpfx)shlib.lds.
16369 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16371 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16372 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16374 * configure.in (-z relro check): Adjust test code to add a large
16375 writable data section after it.
16376 * configure: Regenerated.
16378 2011-07-11 Roland McGrath <roland@hack.frob.com>
16380 * configure.in (-z relro check): Fix test code to make the variable
16382 * configure: Regenerated.
16384 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16386 * nscd/nscd.h (struct traced_file): Define.
16387 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16388 elements. Add traced_files.
16389 (inotify_fd): Declare.
16390 (register_traced_file): Declare.
16391 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16392 (inotify_fd): Export.
16393 (resolv_conf_descr): Remove.
16394 (nscd_init): Move inotify descriptor creation to main.
16395 Don't register files for notification here.
16396 (register_traced_file): New function.
16397 (invalidate_cache): Don't use reset_res to determine whether to call
16398 res_init, go through the list of registered files.
16399 (main_loop_poll): The inotify descriptors are now stored in the
16400 structures for the traced files.
16401 (main_loop_epoll): Likewise
16402 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16403 to __nss_disable_nscd.
16404 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16405 for a database anymore. Check the records for all the registered
16407 * nss/Makefile (libnss_files-routines): Add files-init.
16408 (libnss_db-routines): Add db-init.
16409 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16410 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16411 * nss/nss_db/db-init.c: New file.
16412 * nss/nss_files/files-init.c: New file.
16413 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16414 __nss_lookup_function.
16415 (__nss_lookup_function): Call nss_load_library.
16416 (nss_load_all_libraries): New function.
16417 (__nss_disable_nscd): Take parameter with callback function for files
16418 to register. Set is_nscd. Load all the DSOs for the NSS modules
16419 used for the cached services.
16420 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16421 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16422 options for features to all the files in nscd.
16424 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16426 2011-07-10 Roland McGrath <roland@hack.frob.com>
16428 * csu/elf-init.c (__libc_csu_init): Comment typo.
16430 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16432 * po/pl.po: Update from translation team.
16433 * po/ja.po: Likewise.
16434 * po/ru.po: Likewise.
16435 * po/ko.po: Likewise.
16436 * po/fr.po: Likewise.
16438 2011-07-09 Roland McGrath <roland@hack.frob.com>
16440 * configure.in (.ctors/.dtors header and trailer check):
16441 Use an empirical test on a built program.
16442 * configure: Regenerated.
16444 * configure.in (-z relro check): Use an empirical test on a built DSO.
16445 Detect, but do not require, on ia64.
16446 * configure: Regenerated.
16448 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16449 Update tests that use readelf to use $READELF instead.
16450 * configure: Regenerated.
16452 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16454 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16455 if the result is not used.
16457 2011-07-05 Andreas Jaeger <aj@suse.de>
16460 * stdlib/tst-strtod.c: Add testcase.
16462 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16464 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16465 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16466 The latter has a higher limit. Take additional parameter to pass to
16468 (__pathconf): Pass file to __statfs_link_max.
16469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16471 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16475 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16478 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16479 (__statfs_filesize_max): Likewise.
16480 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16482 2011-07-05 Andreas Jaeger <aj@suse.de>
16484 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16486 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16488 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16490 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16493 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16495 * Makefile (strop-tests): Add strncat.
16496 * string/test-strncat.c: New file.
16498 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16500 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16502 2011-06-21 Andreas Jaeger <aj@suse.de>
16504 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16505 Copy rule from iconvdata/Makefile.
16507 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16510 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16511 but no long options are defined, just return 'W'.
16513 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16516 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16518 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16520 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16522 (innetgr): Likewise.
16524 2011-07-05 Roland McGrath <roland@hack.frob.com>
16526 * config.make.in (install_root): Default to $(DESTDIR).
16528 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16532 2011-07-02 Roland McGrath <roland@hack.frob.com>
16534 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16536 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16537 containing directory rather than embedding absolute directory names.
16539 * scripts/check-local-headers.sh: Rewritten using awk.
16540 Match by word, not by line. Print error messages for matches.
16541 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16543 * Makerules [shlib-lds-flags empty]:
16544 ($(common-objpfx)libc_pic.opts): New target.
16545 ($(common-objpfx)libc_pic.os.clean): New target.
16546 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16548 * config.make.in (OBJCOPY): New variable.
16549 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16550 * configure: Regenerated.
16552 * config.make.in (use-default-link): New variable.
16553 * configure.in (use_default_link): Grok --with-default-link to set it.
16554 * configure: Regenerated.
16555 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16556 (shlib-lds, shlib-lds-flags): Define to empty.
16558 * Makerules (shlib-lds): New variable.
16559 (shlib-lds-flags): New variable.
16560 (build-shlib, build-moduile, build-module-asneeded): Use it.
16561 ($(common-objpfx)libc.so): Use $(shlib-lds).
16562 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16563 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16565 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16566 DT_FLAGS/DT_FLAGS_1 with zero flags.
16568 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16569 linker script munging.
16571 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16573 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16575 * crypt/sha512.c (sha512_process_block): Perform total addition using
16576 128-bit if possible.
16577 (__sha512_finish_ctx): Likewise.
16578 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16580 * crypt/sha256.c (SWAP64): Define.
16581 (sha256_process_block): Perform total addition using 64-bit if
16583 (__sha256_finish_ctx): Likewise.
16585 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16587 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16589 * nscd/hstcache.c (cache_addhst): Likewise.
16590 * nscd/grpcache.c (cache_addgr): Likewise.
16591 * nscd/aicache.c (addhstaiX): Likewise
16592 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16594 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16596 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16598 * nscd/hstcache.c (cache_addhst): Likewise.
16599 * nscd/grpcache.c (cache_addgr): Likewise.
16600 * nscd/aicache.c (addhstaiX): Likewise
16602 2011-07-01 Andreas Schwab <schwab@redhat.com>
16604 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16605 domain only when needed.
16607 2011-06-30 Andreas Schwab <schwab@redhat.com>
16609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16610 is always restored.
16612 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16614 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16615 are re-adding the entry.
16616 * nscd/servicescache.c (cache_addserv): Likewise.
16618 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16620 * sysdeps/generic/dl-irel.h: fix protection against multiple
16622 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16624 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16627 * malloc/memusage.sh: Fix quoting in message.
16628 * debug/xtrace.sh: Likewise.
16630 * configure.in: Remove support for --experimental-malloc option, make
16632 * config.make.in: Likewise.
16633 * malloc/Makefile: Likewise.
16635 2011-06-27 Andreas Schwab <schwab@redhat.com>
16637 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16638 two-byte characters.
16640 2011-06-27 Roland McGrath <roland@hack.frob.com>
16642 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16643 AC_CACHE_CHECK invocation.
16644 * configure: Regenerated.
16646 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16648 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16651 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16652 bit from old_res_options.
16654 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16656 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16657 value type for setfct.
16659 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16662 __gettimeofday instead of gettimeofday.
16664 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16666 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16668 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16670 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16675 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16678 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16679 strcpy-sse2-unaligned strncpy-sse2-unaligned
16680 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16681 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16682 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16683 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16684 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16686 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16687 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16688 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16689 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16690 (STRCPY): Support SSE2 and SSSE3 versions.
16692 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16695 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16696 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16697 kernels which artificially limit size of requests.
16699 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16702 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16703 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16704 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16705 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16706 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16707 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16708 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16709 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16710 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16711 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16712 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16713 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16714 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16715 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16717 Enable unaligned load optimization for Intel Core i3, i5 and i7
16719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16721 (index_Fast_Unaligned_Load): Define.
16722 (HAS_FAST_UNALIGNED_LOAD): Define.
16724 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16726 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16728 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16732 until it is clear that the information is realy needed.
16733 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16735 2011-06-22 Andreas Schwab <schwab@redhat.com>
16737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16739 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16742 /sys/devices/system/cpu/online if it is usable.
16744 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16745 reading the information from the /proc filesystem to once a second.
16747 2011-06-21 Andreas Jaeger <aj@suse.de>
16749 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16750 NULL after inclusion of kernel headers.
16752 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16754 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16755 calls to internal_setent.
16758 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16759 addresses using gethostbyname4_r ignore IPv4 addresses.
16761 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16762 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16764 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16766 2011-06-20 David S. Miller <davem@davemloft.net>
16768 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16770 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16772 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16773 (elf_irel): Use it.
16774 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16775 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16776 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16777 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16778 * sysdeps/x86_64/dl-irel.h: Likewise.
16780 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16781 * elf/dl-sym.c: Likewise.
16783 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16785 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16786 need to dereference resplen2.
16788 2011-06-14 Andreas Schwab <schwab@redhat.com>
16790 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16792 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16794 * Makeconfig: Define vardbdir and inst_vardbdir.
16795 * nss/Makefile: Add rules to install db-Makefile.
16797 * nss/nss_db/db-XXX.c: Cleanup.
16799 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16800 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16802 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16803 * nss/makedb.c: Implement -g option to specify that value strings
16804 are generated and should not be added to table iterated over for
16806 * nss/nss_db/db-initgroups.c: New file.
16808 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16811 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16812 (internal_getgrouplist): Adjust to name change.
16813 Update use_initgroups_entry if this is not the first call.
16814 * nss/databases.def: Add initgroups entry.
16816 * nss/makedb.c (compute_tables): Check result of multiple hash table
16817 sizes to minimize maximum chain length.
16819 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16821 * Versions.def: Add entry for libnss_db.
16822 * shlib-versions: Likewise.
16823 * nss/Makefile: Add rules to build libnss_db.
16824 * nss/Versions: Add libnss_db information. Organize libnss_files
16826 * nss/db-Makefile: Add gshadow support. Change rules for the new
16827 makedb progra. Some minor improvements to generate smaller files.
16828 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16830 * nss/makedb.c: ...here.
16831 Improve database format to be smaller and require less memory at
16833 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16835 * nss/nss_db/db-netgrp.c: Likewise.
16836 * nss/nss_db/db-open.c: Likewise.
16837 * nss/nss_files/flies-XXX.x: Adjust comments.
16838 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16839 * nss/nss_files/files-grp.c: Likewise.
16840 * nss/nss_files/files-hosts.c: Likewise.
16841 * nss/nss_files/files-network.c: Likewise.
16842 * nss/nss_files/files-proto.c: Likewise.
16843 * nss/nss_files/files-pwd.c: Likewise.
16844 * nss/nss_files/files-rpc.c: Likewise.
16845 * nss/nss_files/files-service.c: Likewise.
16846 * nss/nss_files/files-sgrp.c: Likewise.
16847 * nss/nss_files/files-spwd.c: Likewise.
16848 * nss/nss_db/db-alias.c: Removed.
16849 * nss/nss_db/dummy-db.h: Removed.
16851 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16853 * nss/makedb.c: Rewritten to not use database library.
16854 * nss/Makefile: Update to build new makedb program.
16856 2011-06-14 Andreas Jaeger <aj@suse.de>
16858 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16859 memset declaration.
16861 2011-06-10 Andreas Schwab <schwab@redhat.com>
16863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16866 2011-06-10 Roland McGrath <roland@hack.frob.com>
16868 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16869 * elf/Makefile ($(objpfx)ld.so): Likewise.
16871 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16872 Don't list ld.so twice in dependencies.
16874 * posix/bug-regex31.c: Include <stdlib.h>.
16876 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16878 * nis/nss_compat/compat-spwd.c
16879 (getspent_next_nss_netgr): Remove unused variable.
16880 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16882 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16883 nonmembers" output to use the right array.
16885 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16887 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16889 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16890 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16891 * catgets/gencat.c (read_input_file): Likewise.
16892 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16894 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16895 variable definition inside #if's controlling its use.
16897 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16899 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16901 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16903 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16906 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16908 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16909 * configure: Regenerated.
16911 * Makerules: Revert last change.
16912 * elf/Makefile: Likewise.
16914 2011-06-09 Roland McGrath <roland@hack.frob.com>
16916 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16917 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16918 (reloc-link): Likewise.
16920 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16922 * elf/Makefile: Add rules to build pldd.
16923 * elf/pldd.c: New file.
16924 * elf/pldd-xx.c: New file.
16926 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16928 * version.h: Update for 2.15 development version.
16930 2011-06-07 David S. Miller <davem@davemloft.net>
16932 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16934 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16935 elf_machine_lazy_rel): Likewise.
16936 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16938 elf_machine_lazy_rel): Likewise.
16939 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16940 dl_hwcap via passed in argument.
16941 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16944 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16946 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16948 2011-06-06 Roland McGrath <roland@hack.frob.com>
16951 * manual/fdl-1.1.texi: New file, verbatim from:
16952 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16953 * manual/lgpl-2.1.texi: New file, verbatim from:
16954 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16955 * manual/Makefile (licenses): New variable, list those new file names.
16957 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16959 * manual/fdl.texi: File removed.
16960 * manual/lesser.texi: File removed.
16961 * manual/libc.texinfo (Copying, Documentation License):
16962 Use new @include file names, put @appendix directive before @include.
16964 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16967 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16968 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16969 (mq_open): Add __NTH.
16971 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16974 Assume Intel Core i3/i5/i7 processor if AVX is available.
16976 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16981 2011-05-31 Andreas Schwab <schwab@redhat.com>
16983 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16984 memory. Use alloca_account. Fix memory leak when retrying.
16986 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16988 * version.h (RELEASE): Bump for 2.14 release.
16989 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16991 * config.make.in (RANLIB): Remove entry.
16993 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16995 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16996 (libc.pot): Work around missing support for .ksh extension in xgettext.
16999 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17000 if both request failed.
17001 (send_dg): In case of server errors clear resplen or *resplen2.
17004 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17005 when there are multiple maps.
17006 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17007 (_dl_fini): Remove test here.
17009 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17011 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17014 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17015 bit from old_res_options.
17016 (gaih_inet): Likewise.
17019 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17022 * resolv/res_init.c (res_setoptions): Make the code more compact.
17025 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17029 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17031 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17034 * malloc/malloc.h: Declare malloc hook variables as volatile.
17036 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17040 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17041 raise in the comment.
17042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17044 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17046 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17049 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17050 grow the buffers more if it already has to be sufficient.
17051 (build_wcs_upper_buffer): Likewise.
17052 * posix/regexec.c (check_matching): Likewise.
17053 (clean_state_log_if_needed): Likewise.
17054 (extend_buffers): Don't enlarge buffers beyond size of the input
17056 Patches mostly by Emil Wojak <emil@wojak.eu>.
17057 * posix/bug-regex32.c: New file.
17058 * posix/Makefile (tests): Add bug-regex32.
17060 * locale/findlocale.c (_nl_find_locale): Return right away if
17061 _nl_explode_name failed.
17062 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17064 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17066 * debug/xtrace.sh: Unify messages.
17067 * malloc/memusage.sh: Likewise.
17070 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17071 time symbol from vDSO. Substitute with vsyscall if not available.
17072 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17075 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17076 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17077 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17078 Add sendmmsg and internal_sendmmsg.
17079 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17080 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17081 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17083 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17084 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17085 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17087 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17091 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17093 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17097 * iconvdata/Makefile (tests): Add bug-iconv9.
17098 * iconvdata/bug-iconv9.c: New file.
17100 2011-05-27 Andreas Schwab <schwab@redhat.com>
17103 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17105 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17108 (struct user_regs_struct): Change intcs field back to cs.
17110 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17112 * po/ja.po: Update from translation team.
17114 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17117 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17118 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17120 2011-05-20 Andreas Schwab <schwab@redhat.com>
17122 * stdlib/longlong.h: Update from GCC.
17124 2011-05-23 Andreas Schwab <schwab@redhat.com>
17126 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17128 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17129 Add parameter name.
17130 (__sysconf): Pass it down.
17132 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17135 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17137 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17138 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17139 add in in __libc_use_alloca calls. Adjust callers.
17140 (glob): Use malloc in some situations.
17142 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17143 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17146 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17148 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17149 and CLOCK_BOOTTIME_ALARM.
17152 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17155 * string/_strerror.c (__strerror_r): Print negative errors as signed
17159 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17160 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17161 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17163 * configure.in: Fix typo in redirection and correct removal of test
17164 files in two cases.
17167 * locale/setlocale.c (new_composite_name): Fix test to check for
17168 identical name of all categories.
17171 * libio/filedoalloc.c (local_isatty): New function.
17172 (_IO_file_doallocate): Use local_isatty.
17173 * stdio-common/perror.c (perror): In case a new stream is used
17174 forward the stream error.
17175 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17178 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17183 * include/alloca.h (extend_alloca_account): Define.
17186 * posix/regex.h: Fix comments with documentation of user-accessible
17187 fields after compilation and describe correct free'ing of pattern
17188 after re_compile_pattern.
17189 Patch by Reuben Thomas <rrt@sc3d.org>.
17191 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17193 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17194 and -mno-altivec to prevent the compiler from using Altivec and/or
17195 VSX instructions when the corresponding registers are not available.
17197 2011-05-19 Andreas Schwab <schwab@redhat.com>
17199 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17201 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17203 * libio/freopen.c (freopen): Use __dup2, not dup2.
17204 * libio/freopen64.c (freopen64): Likewise.
17206 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17209 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17210 * math/Makefile (tests): Add test-powl.
17211 (CFLAGS-test-powl.c): Define.
17212 * math/test-powl.c: New file.
17214 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17216 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17218 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17221 * iconvdata/gb18030.c: Update to GB18020-2005.
17223 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17225 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17226 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17227 Patch by Aharon Robbins <arnold@skeeve.com>.
17230 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17234 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17235 through underflows.
17238 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17239 point to strings before performing equality test for error_one_per_line
17243 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17247 (struct user_fpregs_struct): Avoid __uint*_t types.
17250 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17251 symbol info. Use it instead of calling _dl_addr locally.
17252 (lock_and_info): New function.
17253 (tr_freehook): Call lock_and_info and pass symbol info as additional
17254 parameter to tr_where.
17255 (tr_mallochook): Likewise.
17256 (tr_reallochook): Likewise.
17257 (tr_memalignhook): Likewise.
17259 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17260 used and couldn't be at all thread-safe.
17262 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17264 * libio/freopen.c (freopen): Don't close old file descriptor
17265 before the new one is opened. Instead dup the new file descriptor
17266 to the old one after the new stream is created.
17267 * libio/freopen64.c (freopen64): Likewise.
17268 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17269 * libio/fileops.c (_IO_new_file_close_it): Handle new
17270 _IO_FLAGS2_NOCLOSE flag.
17271 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17272 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17273 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17274 _IO_FLAGS2_NOCLOSE flag.
17275 * include/unistd.h: Add hidden_proto for dup3.
17276 Define __have_dup3.
17277 * io/dup3.c: Define hidden symbol.
17278 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17281 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17282 when an incomplete long option is used.
17283 * posix/tst-getopt_long1.c: New file.
17284 * posix/Makefile (tests): Add tst-getopt_long1.
17287 * scripts/config.guess: Update from autoconf-2.68.
17288 * scripts/config.sub: Likewise.
17291 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17293 (has_cpuclock): ...this. New function.
17294 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17295 macro here based on has_cpuclock code.
17298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17299 First byte (not low byte) is now always NUL.
17300 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17303 Use non-cancelable interfaces.
17306 * locale/iso-639.def: Add entry for Sorani.
17309 * include/stdlib.h: Move include protection to the right place.
17310 Define abort_msg_s. Declare __abort_msg with it.
17311 * stdlib/abort.c (__abort_msg): Adjust type.
17312 * assert/assert.c (__assert_fail_base): New function. Majority
17313 of code from __assert_fail. Allocate memory for __abort_msg with
17315 (__assert_fail): Now call __assert_fail_base.
17316 * assert/assert-perr.c: Remove bulk of implementation. Use
17317 __assert_fail_base.
17318 * include/assert.hL Declare __assert_fail_base.
17319 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17321 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17323 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17327 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17328 until all modules are registered in the DTV.
17329 * elf/Makefile: Add rules to build and run tst-tls19.
17330 * elf/tst-tls19.c: New file.
17331 * elf/tst-tls19mod1.c: New file.
17332 * elf/tst-tls19mod2.c: New file.
17333 * elf/tst-tls19mod3.c: New file.
17334 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17337 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17341 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17342 two-byte sequence errors.
17343 * iconvdata/Makefile (tests): Add bug-iconv8.
17344 * iconvdata/bug-iconv8.c: New file.
17347 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17350 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17353 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17354 (dummy_getcfa): New function.
17355 (init): Get _Unwind_GetCFA address, use dummy if not found.
17356 (backtrace_helper): In recursion check, also check whether CFA changes.
17357 (__backtrace): Completely initialize arg.
17359 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17360 storing incomplete byte sequence in state object. Avoid testing for
17361 guaranteed too small input if we know there is enough data available.
17363 2011-05-11 Andreas Schwab <schwab@redhat.com>
17365 * Makeconfig (+link-pie): Indent.
17366 * Rules (binaries-pie): Define if $(have-fpie) and
17368 (binaries-shared): Also filter out $(binaries-pie).
17369 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17370 * nscd/Makefile (others-pie): Add nscd.
17371 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17372 ($(objpfx)nscd): Remove command override.
17373 * login/Makefile (others-pie): Add pt_chown.
17374 ($(objpfx)pt_chown): Remove command override.
17375 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17376 remove command overrides.
17378 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17380 * libio/tst_putwc.c: Fix error messages.
17383 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17384 currently writing and seek to current position when not.
17385 * libio/Makefile (tests): Add bug-fclose1.
17386 * libio/bug-fclose1.c: New file.
17388 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17391 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17392 don't set DF_1_NODELETE here.
17393 (do_lookup_x): When entering new entry test for copy relocation
17394 and if necessary set DF_1_NODELETE flag.
17395 * elf/tst-unique4.cc: New file.
17396 * elf/tst-unique4.h: New file.
17397 * elf/tst-unique4lib.cc: New file.
17398 * elf/Makefile: Add rules to build and run tst-unique4.
17399 Patch by Piotr Bury <pbury@goahead.com>.
17401 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17404 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17407 * misc/mntent_r.c (addmntent): Flush the stream after the output
17410 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17411 (is_trusted_path_normalize): Skip initial colon. Append slash
17412 to empty buffer. Duplicate is_trusted_path code but allow
17413 constructed patch to be prefix.
17414 (is_dst): Allow $ORIGIN followed by /.
17415 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17416 Correct testing of result of is_trusted_path_normalize
17417 (decompose_rpath): Fix warning.
17419 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17422 * grp/initgroups.c (internal_getgrouplist): When we found the service
17423 list through the initgroups entry in nsswitch.conf do not always
17424 continue on a successful lookup. Don't always use the
17425 __nss_group_database value if it is set.
17426 * nss/nsswitch.conf (initgroups): Change action for successful db
17427 lookup to continue for compatibility.
17429 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17432 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17434 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17436 * iconvdata/tst-tables.sh: Likewise.
17437 * iconvdata/cp770.c: New file.
17438 * iconvdata/cp771.c: New file.
17439 * iconvdata/cp772.c: New file.
17440 * iconvdata/cp773.c: New file.
17441 * iconvdata/cp774.c: New file.
17442 * iconvdata/testdata/CP770: New file.
17443 * iconvdata/testdata/CP770..UTF8: New file.
17444 * iconvdata/testdata/CP771: New file.
17445 * iconvdata/testdata/CP771..UTF8: New file.
17446 * iconvdata/testdata/CP772: New file.
17447 * iconvdata/testdata/CP772..UTF8: New file.
17448 * iconvdata/testdata/CP773: New file.
17449 * iconvdata/testdata/CP773..UTF8: New file.
17450 * iconvdata/testdata/CP774: New file.
17451 * iconvdata/testdata/CP774..UTF8: New file.
17453 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17455 * iconvdata/gen-8bit-gap.sh: Likewise.
17456 * iconvdata/gen-8bit.sh: Likewise.
17458 * locale/iso-639.def: Add ary entry.
17461 * locale/C-translit.h.in: Add U20A1 transliteration.
17464 * locale/iso-639.def: Add wae entry.
17465 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17468 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17472 * locale/C-translit.h.in: Add entry for U20B9.
17473 Patch by pravin.d.s@gmail.com.
17475 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17478 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17479 ENAMETOOLONG use generic getcwd.
17480 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17481 in rtld. Use *stat64.
17482 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17483 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17484 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17485 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17486 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17487 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17488 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17489 __fstatat64 macros.
17490 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17491 * dirent/rewinddir.c: Add libc_hidden_def.
17492 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17493 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17495 * include/dirent.h (__alloc_dir): Add flags parameter.
17496 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17497 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17499 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17500 from fdopendir if O_CLOEXEC is already set.
17502 2011-03-15 Alan Modra <amodra@gmail.com>
17504 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17505 l_tls_firstbyte_offset non-zero. Save padding offset in
17506 l_tls_firstbyte_offset for later use.
17507 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17508 freeing static tls block.
17510 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17512 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17513 where #ifdef was intended. The intent is to prevent ARG_MAX from
17514 being defined by the kernel headers.
17516 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17519 * resolv/resolv.h: Define RES_NOTLDQUERY.
17520 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17521 no-tld-query and set RES_NOTLDQUERY.
17522 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17523 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17524 modern BIND to search name as TLD unless forbidden.
17526 2011-05-07 Petr Baudis <pasky@suse.cz>
17527 Ulrich Drepper <drepper@gmail.com>
17530 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17531 (is_trusted_path): ...to here.
17532 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17533 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17534 using is_trusted_path_normalize() in setuid scripts.
17536 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17538 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17539 __BEGIN/__END_DECLS.
17541 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17544 NSS_STATUS_NOTFOUND if no record was found.
17546 2011-05-05 Andreas Schwab <schwab@redhat.com>
17548 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17549 (headers-not-in-tirpc): Remove rpc/netdb.h
17550 * resolv/netdb.h: Revert last change.
17552 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17554 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17555 circular dependency between libgcc.a and libc.a.
17557 2011-05-05 Andreas Schwab <schwab@redhat.com>
17559 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17560 * nis/Makefile: Don't install rpcsvc/*.
17561 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17562 instead of <rpc/types.h>.
17563 (MAXHOSTNAMELEN): Define.
17565 2011-05-03 Andreas Schwab <schwab@redhat.com>
17567 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17569 2011-04-28 Maciej Babinski <mbabinski@google.com>
17572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17573 gethostbyname4_r when IPv6 results are possible.
17575 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17578 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17579 _PC_PIPE_BUF handling.
17581 2011-04-30 Bruno Haible <bruno@clisp.org>
17584 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17585 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17587 * inet/getnameinfo.c (getnameinfo): Likewise.
17589 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17591 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17592 to groups setting in database lookup.
17593 * nss/nsswitch.conf: Add initgroups entry.
17595 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17598 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17600 Patch by Eric Blake <eblake@redhat.com>.
17602 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17604 * sunrpc/Makefile (need-export-routines): Add svc_run.
17605 (routines): Remove svc_run.
17606 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17607 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17608 * sunrpc/svc_run.c (svc_run): Likewise.
17609 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17611 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17613 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17614 problem in reallocation in last patch.
17616 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17618 * sunrpc/Makefile: Move inclusion of Rules.
17620 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17622 * nss/nss_files/files-initgroups.c: New file.
17623 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17624 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17625 _nss_files_initgroups_dyn.
17627 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17629 * elf/elf.h (R_ARM_IRELATIVE): Define.
17631 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17633 * po/ru.po: Update from translation team.
17635 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17637 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17640 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17643 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17644 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17649 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17651 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17653 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17657 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17660 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17662 * stdlib/bug-getcontext.c: New file.
17663 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17665 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17667 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17668 instructions into .machine "z9-109".
17669 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17670 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17672 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17674 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17675 between environment variables and auxiliary vector.
17677 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17679 * Makefile: Add rules to build linkobj/libc.so.
17680 * include/libc-symbols.h: Define libc_hidden_nolink.
17681 * include/rpc/auth.h: Mark functions which are to be hidden.
17682 * include/rpc/auth_des.h: Likewise.
17683 * include/rpc/auth_unix.h: Likewise.
17684 * include/rpc/clnt.h: Likewise.
17685 * include/rpc/des_crypt.h: Likewise.
17686 * include/rpc/key_prot.h: Likewise.
17687 * include/rpc/pmap_clnt.h: Likewise.
17688 * include/rpc/pmap_prot.h: Likewise.
17689 * include/rpc/pmap_rmt.h: Likewise.
17690 * include/rpc/rpc_msg.h: Likewise.
17691 * include/rpc/svc.h: Likewise.
17692 * include/rpc/svc_auth.h: Likewise.
17693 * include/rpc/xdr.h: Likewise.
17694 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17695 * nss/Makefile: Likewise.
17696 * sunrpc/Makefile: Don't install headers. Build library with normal
17697 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17698 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17699 for the compat linking library. Remove use of INTDEF/INTUSE.
17700 * sunrpc/auth_none.c: Likewise.
17701 * sunrpc/auth_unix.c: Likewise.
17702 * sunrpc/authdes_prot.c: Likewise.
17703 * sunrpc/authuxprot.c: Likewise.
17704 * sunrpc/clnt_gen.c: Likewise.
17705 * sunrpc/clnt_perr.c: Likewise.
17706 * sunrpc/clnt_raw.c: Likewise.
17707 * sunrpc/clnt_simp.c: Likewise.
17708 * sunrpc/clnt_tcp.c: Likewise.
17709 * sunrpc/clnt_udp.c: Likewise.
17710 * sunrpc/clnt_unix.c: Likewise.
17711 * sunrpc/des_crypt.c: Likewise.
17712 * sunrpc/des_soft.c: Likewise.
17713 * sunrpc/get_myaddr.c: Likewise.
17714 * sunrpc/key_call.c: Likewise.
17715 * sunrpc/key_prot.c: Likewise.
17716 * sunrpc/netname.c: Likewise.
17717 * sunrpc/pm_getmaps.c: Likewise.
17718 * sunrpc/pm_getport.c: Likewise.
17719 * sunrpc/pmap_clnt.c: Likewise.
17720 * sunrpc/pmap_prot.c: Likewise.
17721 * sunrpc/pmap_prot2.c: Likewise.
17722 * sunrpc/pmap_rmt.c: Likewise.
17723 * sunrpc/publickey.c: Likewise.
17724 * sunrpc/rpc_cmsg.c: Likewise.
17725 * sunrpc/rpc_common.c: Likewise.
17726 * sunrpc/rpc_dtable.c: Likewise.
17727 * sunrpc/rpc_prot.c: Likewise.
17728 * sunrpc/rpc_thread.c: Likewise.
17729 * sunrpc/rtime.c: Likewise.
17730 * sunrpc/svc.c: Likewise.
17731 * sunrpc/svc_auth.c: Likewise.
17732 * sunrpc/svc_authux.c: Likewise.
17733 * sunrpc/svc_raw.c: Likewise.
17734 * sunrpc/svc_run.c: Likewise.
17735 * sunrpc/svc_simple.c: Likewise.
17736 * sunrpc/svc_tcp.c: Likewise.
17737 * sunrpc/svc_udp.c: Likewise.
17738 * sunrpc/svc_unix.c: Likewise.
17739 * sunrpc/svcauth_des.c: Likewise.
17740 * sunrpc/xcrypt.c: Likewise.
17741 * sunrpc/xdr.c: Likewise.
17742 * sunrpc/xdr_array.c: Likewise.
17743 * sunrpc/xdr_float.c: Likewise.
17744 * sunrpc/xdr_intXX_t.c: Likewise.
17745 * sunrpc/xdr_mem.c: Likewise.
17746 * sunrpc/xdr_rec.c: Likewise.
17747 * sunrpc/xdr_ref.c: Likewise.
17748 * sunrpc/xdr_sizeof.c: Likewise.
17749 * sunrpc/xdr_stdio.c: Likewise.
17751 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17754 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17755 * sysdeps/ia64/dl-tls.h: Likewise.
17756 * sysdeps/powerpc/dl-tls.h: Likewise.
17757 * sysdeps/s390/dl-tls.h: Likewise.
17758 * sysdeps/sh/dl-tls.h: Likewise.
17759 * sysdeps/sparc/dl-tls.h: Likewise.
17760 * sysdeps/x86_64/dl-tls.h: Likewise.
17761 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17763 2011-03-14 Andreas Schwab <schwab@redhat.com>
17765 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17766 rpath element also skip the following colon.
17767 (expand_dynamic_string_token): Add is_path parameter and pass
17768 down to DL_DST_REQUIRED and _dl_dst_substitute.
17769 (decompose_rpath): Call expand_dynamic_string_token with
17770 non-zero is_path. Ignore empty rpaths.
17771 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17774 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17779 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17782 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17783 Patch by Filipe David Manana <fdmanana@apache.org>.
17785 2011-04-07 Andreas Schwab <schwab@redhat.com>
17787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17788 Maintain aligned stack.
17789 (CHECK_RSP): Remove unused macro.
17791 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17793 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17796 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17798 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17800 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17802 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17805 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17806 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17807 * sysdeps/x86_64/memmove.c: New file.
17808 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17809 (memcpy): Renamed to ...
17810 (__new_memcpy): This.
17811 (memcpy): Provide GLIBC_2_14 memcpy.
17812 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17813 (memcpy): Provide GLIBC_2_2_5 memcpy.
17815 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17818 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17820 2011-03-30 Andreas Schwab <schwab@redhat.com>
17822 * misc/syncfs.c: New file.
17823 * misc/Makefile (routines): Add syncfs.
17824 * posix/unistd.h: Declare syncfs.
17825 * sysdeps/unix/syscalls.list: Add syncfs.
17827 2011-04-01 Andreas Schwab <schwab@redhat.com>
17829 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17831 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17836 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17839 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17841 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17843 * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
17849 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17850 sync_file_range.c with -fexceptions.
17851 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17852 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17853 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17854 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17856 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17858 sync_file_range as cancellation point
17859 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17860 now a wrapper around __call_sync_file_range with cancellation handling.
17861 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17862 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17863 function name to __call_sync_file_range.
17864 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17865 Add call_sync_file_range.
17867 2011-04-01 Andreas Schwab <schwab@redhat.com>
17869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17872 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17874 * iconv/iconv.h: Fix typo in comment.
17875 * io/fcntl.h: Likewise.
17876 * libio/stdio.h: Likewise.
17877 * posix/spawn.h: Likewise.
17878 * posix/unistd.h: Likewise.
17879 * stdlib/stdlib.h: Likewise.
17880 * time/time.h: Likewise.
17881 * wcsmbs/wchar.h: Likewise.
17883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17884 open_by_handle): Add.
17885 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17886 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17887 Augment a few comments.
17888 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17893 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17896 * io/fcntl.h (AT_EMPTY_PATH): Define.
17898 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17900 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17901 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17902 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17904 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17905 * Versions.def: Add GLIBC_2.14.
17906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17909 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17911 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17913 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17915 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17918 * string/test-strncmp.c (do_page_test): New function.
17919 (check2): Likewise.
17920 (test_main): Call check2.
17921 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17923 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17926 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17927 Handle cache information in CPU leaf 4.
17928 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17930 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17933 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17934 character representation.
17935 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17937 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17939 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17940 END(__isnan) to END(__isnanf) to match function entry point/label
17941 EALIGN(__isnanf,...).
17943 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17945 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17947 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17950 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17951 copy from the symbol referenced in the relocation to initialize the
17953 Patch by Piotr Bury <pbury@goahead.com>.
17954 * elf/Makefile: Add rules to build and tst-unique3.
17955 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17956 * elf/tst-unique3.cc: New file.
17957 * elf/tst-unique3.h: New file.
17958 * elf/tst-unique3lib.cc: New file.
17959 * elf/tst-unique3lib2.cc: New file.
17961 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17963 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17965 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17966 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17969 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17971 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17972 to-be-loaded object along a path to loader is ld.so.
17974 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17975 Ulrich Drepper <drepper@gmail.com>
17977 * sysdeps/x86_64/memset.S: After aligning destination, code
17978 branches to different locations depending on the value of
17979 misalignment, when multiarch is enabled. Fix this.
17981 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17983 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17984 Set _x86_64_preferred_memory_instruction for AMD processsors.
17985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17986 Set bit_Prefer_SSE_for_memop for AMD processors.
17988 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17990 * libio/fmemopen.c (fmemopen): Optimize a bit.
17992 2011-03-03 Andreas Schwab <schwab@redhat.com>
17994 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17996 2011-03-03 Roland McGrath <roland@redhat.com>
17998 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18000 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18002 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18003 __bzero_ultra1 instead of __memset_ultra1.
18005 2011-02-23 Andreas Schwab <schwab@redhat.com>
18006 Ulrich Drepper <drepper@gmail.com>
18009 * include/link.h (struct link_map): Add l_orig_initfini.
18010 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18011 returning unsuccessfully.
18012 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18013 close of a file loaded at startup, restore the original l_initfini
18015 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18016 list, store the pointer.
18017 * elf/Makefile ($(objpfx)noload-mem): New rule.
18018 (noload-ENV): Define.
18019 (tests): Add $(objpfx)noload-mem.
18020 * elf/noload.c: Include <memcheck.h>.
18021 (main): Call mtrace. Close all opened handles.
18023 2011-02-17 Andreas Schwab <schwab@redhat.com>
18026 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18027 dependencies are missing.
18029 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18031 Fix __if_freereq crash: Unlike the generic version which uses free,
18033 * sysdeps/mach/hurd/ifreq.h: New file.
18035 2011-01-27 Petr Baudis <pasky@suse.cz>
18036 Ulrich Drepper <drepper@gmail.com>
18039 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18040 to extend_alloca().
18041 * stdio-common/bug23.c: New file.
18042 * stdio-common/Makefile (tests): Add bug23.
18044 2010-09-28 Andreas Schwab <schwab@redhat.com>
18045 Ulrich Drepper <drepper@gmail.com>
18048 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18049 before performing relro protection. At old place add assertion
18050 to make sure nothing changed.
18052 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18053 Glauber de Oliveira Costa <glommer@gmail.com>
18055 * elf/elf.h: Add new ARM TLS relocs.
18057 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18060 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18062 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18064 * sysdeps/wordsize-64/tst-writev.c: New file.
18066 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18068 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18069 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18070 insns in _dl_start to prevent a TOC reference before relocs are
18073 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18076 * Makeconfig: Remove RANLIB definition.
18077 * Makerules: Don't use RANLIB.
18078 * aclocal.m4: Remove ranlib test.
18079 * configure.in: No need to check for ranlib.
18080 * elf/rtld-Rules: Don't use RANLIB.
18082 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18084 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18086 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18087 inclusion protection macro.
18089 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18090 SIGRTMIN and SIGRTMAX and print information in that case only when
18091 SIGRTMIN is defined.
18093 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18095 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18096 arginfo fn returning -1.
18098 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18099 and thousands string is zero terminated.
18101 2011-02-03 Andreas Schwab <schwab@redhat.com>
18103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18104 sysdeps/unix/sysv/linux/bits/socket.h.
18106 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18108 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18109 (__CPU_COUNT): Remove old macros.
18110 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18111 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18112 (__CPU_ALLOC, __CPU_FREE): Add macros.
18113 (__sched_cpualloc, __sched_cpufree): Add declarations.
18115 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18117 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18118 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18119 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18120 (readdhstai): Return value of addhstaiX call.
18121 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18122 (addgrbyX): Return value returned by cache_addgr.
18123 (readdgrbyname): Return value returned by addgrbyX.
18124 (readdgrbygid): Likewise.
18125 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18126 (addpwbyX): Return value returned by cache_addpw.
18127 (readdpwbyname): Return value returned by addhstbyX.
18128 (readdpwbyuid): Likewise.
18129 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18130 (addservbyX): Return value returned by cache_addserv.
18131 (readdservbyname): Return value returned by addservbyX:
18132 (readdservbyport): Likewise.
18133 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18134 (addhstbyX): Return value returned by cache_addhst.
18135 (readdhstbyname): Return value returned by addhstbyX.
18136 (readdhstbyaddr): Likewise.
18137 (readdhstbynamev6): Likewise.
18138 (readdhstbyaddrv6): Likewise.
18139 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18140 (readdinitgroups): Return value returned by addinitgroupsX.
18141 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18142 (prune_cache): Keep track of timeout value of re-added entries.
18143 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18144 * nscd/nscd.h: Adjust prototypes of readd* functions.
18146 2011-02-04 Roland McGrath <roland@redhat.com>
18148 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18149 (nis_stats): Likewise.
18150 * nis/nis_modify.c (nis_modify): Likewise.
18151 * nis/nis_remove.c (nis_remove): Likewise.
18152 * nis/nis_add.c (nis_add): Likewise.
18154 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18156 * posix/fnmatch_loop.c: Add some consts.
18158 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18160 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18163 * config.make.in (config-cflags-novzeroupper): Define.
18164 * configure.in: Substitute libc_cv_cc_novzeroupper.
18165 * elf/Makefile (AVX-CFLAGS): Define.
18166 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18167 (CFLAGS-tst-auditmod4a.c): Likewise.
18168 (CFLAGS-tst-auditmod4b.c): Likewise.
18169 (CFLAGS-tst-auditmod6b.c): Likewise.
18170 (CFLAGS-tst-auditmod6c.c): Likewise.
18171 (CFLAGS-tst-auditmod7b.c): Likewise.
18172 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18174 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18176 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18177 function to the callback.
18178 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18180 2011-02-02 Andreas Schwab <schwab@redhat.com>
18182 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18185 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18188 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18190 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18192 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18195 * elf/Makefile: Add rules to build and run new test.
18196 * elf/tst-initorder.c: New file.
18197 * elf/tst-initorder.exp: New file.
18198 * elf/tst-initordera1.c: New file.
18199 * elf/tst-initordera2.c: New file.
18200 * elf/tst-initordera3.c: New file.
18201 * elf/tst-initordera4.c: New file.
18202 * elf/tst-initorderb1.c: New file.
18203 * elf/tst-initorderb2.c: New file.
18204 * elf/tst-order-a1.c: New file.
18205 * elf/tst-order-a2.c: New file.
18206 * elf/tst-order-a3.c: New file.
18207 * elf/tst-order-a4.c: New file.
18208 * elf/tst-order-b1.c: New file.
18209 * elf/tst-order-b2.c: New file.
18210 * elf/tst-order-main.c: New file.
18211 New test case by George Gensure <werkt0@gmail.com>.
18213 2010-10-01 Andreas Schwab <schwab@redhat.com>
18215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18216 decoding ACE if AI_CANONIDN.
18218 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18220 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18222 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18224 * version.h (RELEASE): Bump for 2.13 release.
18225 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18227 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18229 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18231 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18232 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18238 * posix/getconf.c: Update copyright year.
18239 * catgets/gencat.c: Likewise.
18240 * csu/version.c: Likewise.
18241 * debug/catchsegv.sh: Likewise.
18242 * debug/xtrace.sh: Likewise.
18243 * elf/ldconfig.c: Likewise.
18244 * elf/ldd.bash.in: Likewise.
18245 * elf/sprof.c (print_version): Likewise.
18246 * iconv/iconv_prog.c: Likewise.
18247 * iconv/iconvconfig.c: Likewise.
18248 * locale/programs/locale.c: Likewise.
18249 * locale/programs/localedef.c: Likewise.
18250 * malloc/memusage.sh: Likewise.
18251 * malloc/mtrace.pl: Likewise.
18252 * nscd/nscd.c (print_version): Likewise.
18253 * nss/getent.c: Likewise.
18255 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18256 PF_CAIF, and PF_ALG.
18257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18259 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18261 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18262 (modules-names): Use them.
18263 (ifunc-test-modules, ifunc-pie-tests): Define.
18264 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18265 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18266 (test-extras): Likewise.
18267 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18268 $(compile-command.c).
18269 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18270 (all-built-dso): Define.
18271 (check-textrel.out, check-execstack.out): Depend on it.
18273 * configure.in: Don't override --enable-multi-arch.
18275 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18278 * nscd/hstcache.c (tryagain): Define.
18279 (cache_addhst): Return tryagain not notfound for temporary errors.
18280 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18283 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18286 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18287 to make the syscall.
18288 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18291 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18292 and fall back to matching as normal character if the string ends before
18293 the matching ']' is found. This is what POSIX requires.
18294 * posix/testfnm.c: Adjust test result.
18295 * posix/globtest.sh: Adjust test result. Add new test.
18296 * posix/tst-fnmatch.input: Likewise.
18297 * posix/tst-fnmatch2.c: Add new test.
18299 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18301 * elf/Makefile (check-execstack): Revert last change. Depend on
18303 (check-execstack.h): New target.
18304 (generated): Add check-execstack.h.
18305 * elf/check-execstack.c: Include "check-execstack.h".
18306 (main): Revert last change.
18307 (handle_file): Return zero if GNU_STACK is absent and
18308 DEFAULT_STACK_PERMS doesn't include PF_X.
18310 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18312 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18313 in child fails because the descriptor is already closed.
18314 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18315 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18316 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18319 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18323 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18324 temporary buffer used to handle multi lookups locally.
18325 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18327 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18329 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18332 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18334 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18335 alignment for SSE2.
18337 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18340 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18341 characters. When rounding increased number of integer digits recompute
18343 * stdio-common/tst-grouping.c: New file.
18344 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18346 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18348 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18349 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18351 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18353 * bits/select.h: Likewise.
18355 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18357 * po/ja.po: Update from translation team.
18359 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18362 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18363 implementation just like for lxstat, fxstatat, et al.
18365 2010-12-27 Jim Meyering <meyering@redhat.com>
18368 * posix/regexec.c (build_trtable): Return failure indication upon
18369 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18371 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18374 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18375 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18376 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18377 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18380 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18383 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18384 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18386 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18388 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18389 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18390 script has SORT_BY_INIT_PRIORITY.
18391 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18392 NO_CTORS_DTORS_SECTIONS is defined.
18393 * elf/soinit.c: Likewise.
18394 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18395 NO_CTORS_DTORS_SECTIONS is defined.
18396 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18397 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18398 * sysdeps/sh/init-first.c: Likewise.
18399 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18401 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18403 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18404 always use the slow path.
18406 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18408 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18409 similar rule which adds the sysdep directories to the header search in
18410 order to pick up the correct platform stackinfo.h.
18411 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18412 perform test if it is, otherwise return successfully without testing.
18413 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18414 DEFAULT_STACK_PERMS define in stackinfo.h.
18415 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18416 defined in stackinfo.h.
18417 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18418 DEFAULT_STACK_PERMS defined in stackinfo.h.
18419 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18420 * sysdeps/ia64/stackinfo.h: Likewise.
18421 * sysdeps/s390/stackinfo.h: Likewise.
18422 * sysdeps/sh/stackinfo.h: Likewise.
18423 * sysdeps/sparc/stackinfo.h: Likewise.
18424 * sysdeps/x86_64/stackinfo.h: Likewise.
18425 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18426 PF_X for powerpc64. Retain PF_X for powerpc32.
18428 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18430 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18432 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18433 GETDENTS_64BIT_ALIGNED.
18435 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18437 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18439 2010-12-10 Andreas Schwab <schwab@redhat.com>
18441 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18444 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18445 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18447 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18448 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18450 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18453 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18456 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18458 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18460 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18462 * po/it.po: Update from translation team.
18464 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18469 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18471 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18473 2010-11-24 Andreas Schwab <schwab@redhat.com>
18475 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18477 (gaih_getanswer_slice): Likewise.
18479 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18483 2010-05-31 Petr Baudis <pasky@suse.cz>
18486 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18487 silently even in the chroot mode.
18489 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18491 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18492 last patch a bit. Pretty printing
18494 2010-05-31 Petr Baudis <pasky@suse.cz>
18497 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18498 initialization of skip_initgroups_dyn.
18500 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18502 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18505 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18507 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18509 2010-11-11 Andreas Schwab <schwab@redhat.com>
18511 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18512 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18513 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18514 ($(objpfx)tst-fnmatch-mem): New rule.
18515 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18516 * posix/tst-fnmatch.c (main): Call mtrace.
18518 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18521 Support Intel processor model 6 and model 0x2c.
18523 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18525 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18528 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18531 * string/test-strncasecmp.c (check_result): New function.
18532 (do_one_test): Use it.
18533 (check1): New function.
18534 (test_main): Use it.
18535 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18536 Support strcasecmp and strncasecmp.
18538 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18541 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18544 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18550 * sysdeps/x86_64/multiarch/bzero.S: New file.
18551 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18552 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18553 * sysdeps/x86_64/multiarch/memset.S: New file.
18554 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18556 Set bit_Prefer_SSE_for_memop for Intel processors.
18557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18559 (index_Prefer_SSE_for_memop): Define.
18560 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18562 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18564 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18565 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18567 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18570 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18571 (__x86_64_raw_data_cache_size_half): Likewise.
18572 (__x86_64_raw_shared_cache_size): Likewise.
18573 (__x86_64_raw_shared_cache_size_half): Likewise.
18575 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18576 (__x86_64_raw_data_cache_size_half): Likewise.
18577 (__x86_64_raw_shared_cache_size): Likewise.
18578 (__x86_64_raw_shared_cache_size_half): Likewise.
18579 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18580 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18581 and __x86_64_raw_shared_cache_size_half. Round
18582 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18583 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18584 to multiple of 256 bytes.
18586 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18589 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18590 of inacessible symlinks. Verify result of symlink before returning it.
18591 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18592 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18594 2010-10-28 Erich Ritz <erichritz@gmail.com>
18596 * math/math.h (isinf): Fix typo in comment.
18598 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18600 * po/da.po: Update from translation team.
18602 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18604 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18605 is added to the list.
18607 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18608 Ulrich Drepper <drepper@gmail.com>
18610 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18611 the global list here. Move code to...
18612 (_dl_add_to_namespace_list): ...here. New function.
18613 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18614 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18615 * elf/dl-load.c (lose): Don't remove the element from the list.
18616 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18617 (_dl_map_object): Likewise.
18619 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18622 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18623 into all bytes of SSE register.
18624 Patch by Richard Li <richardpku@gmail.com>.
18626 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18629 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18632 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18634 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18635 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18636 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18637 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18642 2010-10-22 Andreas Schwab <schwab@redhat.com>
18644 * include/dlfcn.h (__RTLD_SECURE): Define.
18645 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18646 mode & __RTLD_SECURE instead.
18647 (open_path): Rename preloaded parameter to secure.
18648 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18649 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18650 * elf/dl-deps.c (openaux): Likewise.
18651 * elf/rtld.c (struct map_args): Remove is_preloaded.
18652 (map_doit): Don't use it.
18653 (dl_main): Likewise.
18654 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18655 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18657 2010-09-09 Andreas Schwab <schwab@redhat.com>
18659 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18660 (sysd-rules-targets): Remove duplicates.
18661 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18662 rtld-%.$o dependency.
18664 2010-10-18 Andreas Schwab <schwab@redhat.com>
18666 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18667 _dl_map_object do it.
18669 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18671 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18672 fast fma builtins, define the macros in the C99 standard.
18673 (FP_FAST_FMAF): Likewise.
18674 (FP_FAST_FMAL): Likewise.
18675 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18677 * bits/mathdef.h: Update copyright year.
18678 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18680 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18682 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18683 builtins, define the macros in the C99 standard.
18684 (FP_FAST_FMAF): Likewise.
18685 (FP_FAST_FMAL): Likewise.
18686 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18688 (FP_FAST_FMAF): Likewise.
18690 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18693 * math/libm-test.inc (fma_test): Some new testcases.
18694 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18695 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18696 y and infinite z. Do multiplication by C already in long double.
18697 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18699 y and infinite z. Do bitwise or of inexact bit into u.d.
18700 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18701 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18702 * sysdeps/i386/fpu/s_fma.S: Removed.
18703 * sysdeps/i386/fpu/s_fmal.S: Removed.
18705 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18708 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18710 computation is not scheduled after fetestexcept. Fix value
18711 of minimum denormal long double.
18713 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18716 * math/libm-test.inc (fma_test): Add some more tests.
18717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18720 2010-10-15 Andreas Schwab <schwab@redhat.com>
18722 * scripts/data/localplt-s390-linux-gnu.data: New file.
18723 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18725 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18728 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18729 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18731 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18733 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18735 if one of x and y is very large and the other is subnormal.
18736 * sysdeps/s390/fpu/s_fmaf.c: New file.
18737 * sysdeps/s390/fpu/s_fma.c: New file.
18738 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18739 * sysdeps/powerpc/fpu/s_fma.S: New file.
18740 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18741 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18742 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18744 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18747 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18750 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18751 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18752 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18753 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18754 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18757 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18760 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18761 * posix/bug-regex31.input: Add test case.
18763 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18765 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18766 * posix/bug-regex31.input: New file.
18769 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18770 (parse_sub_exp): Fix last change, use postorder.
18772 * posix/bug-regex31.c: New file.
18773 * posix/Makefile: Add rules to build and run bug-regex31.
18775 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18778 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18781 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18782 to have entries in sys_siglist.
18785 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18788 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18791 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18792 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18793 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18794 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18795 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18796 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18797 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18798 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18799 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18800 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18801 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18802 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18803 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18804 * math/ftestexcept.c (fetestexcept): Likewise.
18805 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18806 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18807 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18808 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18809 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18810 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18811 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18813 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18816 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18819 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18821 * string/bug-strstr1.c: New file.
18822 * string/Makefile: Add rules to build and run bug-strstr1.
18824 2010-10-05 Eric Blake <eblake@redhat.com>
18827 * string/str-two-way.h (two_way_long_needle): Always clear memory
18828 when skipping input due to the shift table.
18830 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18833 * malloc/mcheck.c: Handle large requests.
18836 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18837 for strncmp and strncasecmp.
18838 * string/stratcliff.c: Add tests for strcmp and strncmp.
18839 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18841 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18843 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18846 2010-09-30 Andreas Jaeger <aj@suse.de>
18848 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18849 (CGROUP_SUPER_MAGIC): Define.
18850 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18851 Handle btrfs and cgroup file systems.
18852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18855 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18857 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18858 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18860 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18863 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18864 trying to locate the ELF header.
18866 2010-09-27 Andreas Schwab <schwab@redhat.com>
18869 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18870 Mask out sign-bit copies when constructing f_fsid.
18872 2010-09-24 Petr Baudis <pasky@suse.cz>
18874 * debug/stack_chk_fail_local.c: Add missing licence exception.
18875 * debug/warning-nop.c: Likewise.
18877 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18879 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18880 implementing getdents64 using getdents syscall, set d_type if
18881 __ASSUME_GETDENTS32_D_TYPE.
18883 2010-09-16 Andreas Schwab <schwab@redhat.com>
18885 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18886 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18888 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18891 * posix/unistd.h: Undo change of feature selection for ftruncate from
18894 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18896 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18899 2010-09-20 Andreas Schwab <schwab@redhat.com>
18901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18903 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18905 2010-09-14 Andreas Schwab <schwab@redhat.com>
18907 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18908 variables after CHECK_SP call.
18909 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18911 2010-09-13 Andreas Schwab <schwab@redhat.com>
18912 Ulrich Drepper <drepper@redhat.com>
18914 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18915 re-relocationg ld.so.
18916 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18917 _dl_init_paths call.
18918 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18921 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18923 * resolv/res_init.c (__res_vinit): Count the default server we added.
18925 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18926 Ulrich Drepper <drepper@redhat.com>
18929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18930 (____longjmp_chk): Use %ebx for saving value across system call.
18933 2010-09-06 Andreas Schwab <schwab@redhat.com>
18935 * manual/Makefile: Don't mix pattern rules with normal rules.
18937 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18939 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18941 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18942 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18943 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18944 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18948 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18951 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18952 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18954 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18956 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18957 * sysdeps/x86_64/addmul_1.S: Likewise.
18958 * sysdeps/x86_64/lshift.S: Likewise.
18959 * sysdeps/x86_64/mul_1.S: Likewise.
18960 * sysdeps/x86_64/rshift.S: Likewise.
18961 * sysdeps/x86_64/sub_n.S: Likewise.
18962 * sysdeps/x86_64/submul_1.S: Likewise.
18964 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18966 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18967 Define __sched_param instead of SCHED_* and sched_param when
18968 <bits/sched.h> is included with __need_schedparam defined.
18969 * bits/sched.h [__need_schedparam]
18970 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18971 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18972 (__defined_schedparam): Define to 1.
18973 (__sched_param): New structure, identical to sched_param.
18974 (__need_schedparam): Undefine.
18976 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18979 (epoll_create1): Declare.
18981 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18983 2010-08-31 Andreas Schwab <schwab@redhat.com>
18986 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18987 shifting retval into place.
18989 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18991 * nis/rpcsvc/nis.h: Update copyright notice.
18992 * nis/rpcsvc/nis.x: Likewise.
18993 * nis/rpcsvc/nis_callback.h: Likewise.
18994 * nis/rpcsvc/nis_callback.x: Likewise.
18995 * nis/rpcsvc/nis_object.x: Likewise.
18996 * nis/rpcsvc/nis_tags.h: Likewise.
18997 * nis/rpcsvc/yp.h: Likewise.
18998 * nis/rpcsvc/yp.x: Likewise.
18999 * nis/rpcsvc/ypupd.h: Likewise.
19000 * nis/yp_xdr.c: Likewise.
19001 * nis/ypupdate_xdr.c: Likewise.
19003 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19004 mainly the body of pmap_getport. Add parameters to specify timeouts.
19005 (pmap_getport): Use __libc_rpc_getport.
19006 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19007 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19008 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19010 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19015 2010-08-27 Roland McGrath <roland@redhat.com>
19017 * sysdeps/i386/i686/multiarch/Makefile
19018 (CFLAGS-varshift.c): New variable.
19020 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19022 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19023 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19027 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19029 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19031 * sysdeps/x86_64/strlen.S: Unroll the loop.
19032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19033 strlen-sse2 strlen-sse2-bsf.
19034 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19035 __strlen_no_bsf if bit_Slow_BSF is set.
19036 (__strlen_sse42): Removed.
19037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19038 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19040 2010-08-25 Roland McGrath <roland@redhat.com>
19042 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19043 * sysdeps/x86_64/multiarch/varshift.c: New file.
19044 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19045 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19046 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19047 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19049 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19052 strlen-sse2 strlen-sse2-bsf.
19053 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19054 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19055 (__strlen_sse2): Removed.
19056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19059 bit_Slow_BSF for Atom.
19060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19061 (index_Slow_BSF): Define.
19062 (HAS_SLOW_BSF): Define.
19064 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19067 * resolv/res_init.c (__res_vinit): When no server address at all
19068 is given default to loopback.
19070 2010-08-24 Roland McGrath <roland@redhat.com>
19072 * configure.in: Remove config-name.h generation.
19073 * configure: Regenerated.
19074 * config-name.in: File removed.
19075 * scripts/config-uname.sh: New file.
19076 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19077 ($(objdir)config-name.h): New target.
19079 * sunrpc/rpc_parse.h: Avoid nested comment.
19081 2010-08-24 Richard Henderson <rth@redhat.com>
19082 Ulrich Drepper <drepper@redhat.com>
19083 H.J. Lu <hongjiu.lu@intel.com>
19085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19087 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19088 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19089 _mm_alignr_epi8 with _mm_loadu_si128.
19090 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19091 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19092 (__m128i_shift_right): Removed.
19093 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19094 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19095 * sysdeps/x86_64/multiarch/varshift.h: New file.
19096 * sysdeps/x86_64/multiarch/varshift.S: New file.
19098 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19100 * configure.in: Move assembler checks to before sysdep dir checking.
19102 2010-08-20 Petr Baudis <pasky@suse.cz>
19104 * LICENSES: Sync the sunrpc license.
19106 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19108 * sunrpc/auth_des.c: Update copyright notice once again.
19109 * sunrpc/auth_none.c: Likewise.
19110 * sunrpc/auth_unix.c: Likewise.
19111 * sunrpc/authdes_prot.c: Likewise.
19112 * sunrpc/authuxprot.c: Likewise.
19113 * sunrpc/bindrsvprt.c: Likewise.
19114 * sunrpc/clnt_gen.c: Likewise.
19115 * sunrpc/clnt_perr.c: Likewise.
19116 * sunrpc/clnt_raw.c: Likewise.
19117 * sunrpc/clnt_simp.c: Likewise.
19118 * sunrpc/clnt_tcp.c: Likewise.
19119 * sunrpc/clnt_udp.c: Likewise.
19120 * sunrpc/clnt_unix.c: Likewise.
19121 * sunrpc/des_crypt.c: Likewise.
19122 * sunrpc/des_soft.c: Likewise.
19123 * sunrpc/get_myaddr.c: Likewise.
19124 * sunrpc/getrpcport.c: Likewise.
19125 * sunrpc/key_call.c: Likewise.
19126 * sunrpc/key_prot.c: Likewise.
19127 * sunrpc/openchild.c: Likewise.
19128 * sunrpc/pm_getmaps.c: Likewise.
19129 * sunrpc/pm_getport.c: Likewise.
19130 * sunrpc/pmap_clnt.c: Likewise.
19131 * sunrpc/pmap_prot.c: Likewise.
19132 * sunrpc/pmap_prot2.c: Likewise.
19133 * sunrpc/pmap_rmt.c: Likewise.
19134 * sunrpc/rpc/auth.h: Likewise.
19135 * sunrpc/rpc/auth_unix.h: Likewise.
19136 * sunrpc/rpc/clnt.h: Likewise.
19137 * sunrpc/rpc/des_crypt.h: Likewise.
19138 * sunrpc/rpc/key_prot.h: Likewise.
19139 * sunrpc/rpc/netdb.h: Likewise.
19140 * sunrpc/rpc/pmap_clnt.h: Likewise.
19141 * sunrpc/rpc/pmap_prot.h: Likewise.
19142 * sunrpc/rpc/pmap_rmt.h: Likewise.
19143 * sunrpc/rpc/rpc.h: Likewise.
19144 * sunrpc/rpc/rpc_des.h: Likewise.
19145 * sunrpc/rpc/rpc_msg.h: Likewise.
19146 * sunrpc/rpc/svc.h: Likewise.
19147 * sunrpc/rpc/svc_auth.h: Likewise.
19148 * sunrpc/rpc/types.h: Likewise.
19149 * sunrpc/rpc/xdr.h: Likewise.
19150 * sunrpc/rpc_clntout.c: Likewise.
19151 * sunrpc/rpc_cmsg.c: Likewise.
19152 * sunrpc/rpc_common.c: Likewise.
19153 * sunrpc/rpc_cout.c: Likewise.
19154 * sunrpc/rpc_dtable.c: Likewise.
19155 * sunrpc/rpc_hout.c: Likewise.
19156 * sunrpc/rpc_main.c: Likewise.
19157 * sunrpc/rpc_parse.c: Likewise.
19158 * sunrpc/rpc_parse.h: Likewise.
19159 * sunrpc/rpc_prot.c: Likewise.
19160 * sunrpc/rpc_sample.c: Likewise.
19161 * sunrpc/rpc_scan.c: Likewise.
19162 * sunrpc/rpc_scan.h: Likewise.
19163 * sunrpc/rpc_svcout.c: Likewise.
19164 * sunrpc/rpc_tblout.c: Likewise.
19165 * sunrpc/rpc_util.c: Likewise.
19166 * sunrpc/rpc_util.h: Likewise.
19167 * sunrpc/rpcinfo.c: Likewise.
19168 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19169 * sunrpc/rpcsvc/key_prot.x: Likewise.
19170 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19171 * sunrpc/rpcsvc/mount.x: Likewise.
19172 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19173 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19174 * sunrpc/rpcsvc/rex.x: Likewise.
19175 * sunrpc/rpcsvc/rstat.x: Likewise.
19176 * sunrpc/rpcsvc/rusers.x: Likewise.
19177 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19178 * sunrpc/rpcsvc/spray.x: Likewise.
19179 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19180 * sunrpc/rtime.c: Likewise.
19181 * sunrpc/svc.c: Likewise.
19182 * sunrpc/svc_auth.c: Likewise.
19183 * sunrpc/svc_authux.c: Likewise.
19184 * sunrpc/svc_raw.c: Likewise.
19185 * sunrpc/svc_run.c: Likewise.
19186 * sunrpc/svc_simple.c: Likewise.
19187 * sunrpc/svc_tcp.c: Likewise.
19188 * sunrpc/svc_udp.c: Likewise.
19189 * sunrpc/svc_unix.c: Likewise.
19190 * sunrpc/svcauth_des.c: Likewise.
19191 * sunrpc/xcrypt.c: Likewise.
19192 * sunrpc/xdr.c: Likewise.
19193 * sunrpc/xdr_array.c: Likewise.
19194 * sunrpc/xdr_float.c: Likewise.
19195 * sunrpc/xdr_mem.c: Likewise.
19196 * sunrpc/xdr_rec.c: Likewise.
19197 * sunrpc/xdr_ref.c: Likewise.
19198 * sunrpc/xdr_sizeof.c: Likewise.
19199 * sunrpc/xdr_stdio.c: Likewise.
19201 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19204 2010-08-19 Andreas Schwab <schwab@redhat.com>
19206 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19208 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19210 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19211 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19212 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19213 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19214 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19215 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19216 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19217 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19218 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19219 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19220 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19221 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19222 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19223 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19225 2010-07-26 Anton Blanchard <anton@samba.org>
19227 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19228 * malloc/arena.c (heap_trim): Likewise.
19230 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19232 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19235 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19237 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19239 * sysdeps/i386/elf/Makefile: New file.
19241 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19243 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19244 from fanotify_init.
19245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19248 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19250 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19252 * sysdeps/multiarch/strcmp.S: Likewise.
19254 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19256 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19257 strncase_l-nonascii.
19258 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19259 Add strncase_l-ssse3.
19260 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19261 * sysdeps/x86_64/strcmp.S: Likewise.
19262 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19263 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19264 * sysdeps/x86_64/strncase.S: New file.
19265 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19266 * sysdeps/x86_64/strncase_l.S: New file.
19267 * string/Makefile (strop-tests): Add strncasecmp.
19268 * string/test-strncasecmp.c: New file.
19270 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19273 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19274 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19276 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19278 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19280 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19282 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19283 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19286 2010-05-01 Alan Modra <amodra@gmail.com>
19288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19289 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19290 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19291 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19292 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19293 tidying. Don't tail-call __sigjmp_save for static lib.
19294 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19296 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19297 (CALL_MCOUNT): Add eh info, and nop after bl.
19298 (TAIL_CALL_SYSCALL_ERROR): New macro.
19299 (PSEUDO_RET): Use it.
19300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19301 Correct save location of integer regs and cr.
19302 (_dl_profile_resolve): Correct cr save location. Delete nops
19303 after bl when SHARED. Reduce cfi size a little by better
19304 placement of cfi directives.
19305 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19306 make a stack frame. Instead use parm save area as a temp.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19308 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19310 Don't make a stack frame for parent, use parm save area.
19311 Increase child stack frame to 112 bytes. Don't save unused reg,
19312 and adjust reg usage. Set up cfi on error recovery and
19313 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19315 (__makecontext): Add dummy nop after jump to exit.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19317 Use correct parm save area and cr save, reduce stack frame.
19318 Correct cfi for possible PSEUDO_RET frame setup.
19319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19320 Branch to local label emitted by PSEUDO_RET rather than
19323 2010-08-12 Andreas Schwab <schwab@redhat.com>
19326 * locale/programs/locale.c (print_assignment): New function.
19327 (show_locale_vars): Use it.
19329 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19331 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19333 (struct statfs64): Likewise.
19334 (_STATFS_F_FLAGS): Define.
19335 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19336 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19337 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19338 (ST_VALID): Define locally.
19339 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19340 __statvfs_getflags, use the provided value.
19341 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19342 __ASSUME_STATFS_F_FLAGS.
19344 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19346 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19347 Add sys/fanotify.h.
19348 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19349 fanotify_mask for GLIBC_2.13.
19350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19351 fanotify_init and fanotify_mark.
19352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19353 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19355 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19357 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19358 prlimit64 for GLIBC_2.13.
19359 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19365 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19369 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19372 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19373 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19375 * nss/Makefile: Add rules to build and run tst-nss-test1.
19376 * shlib-versions: Add entry for libnss_test1.
19377 * nss/nss_test1.c: New file.
19378 * nss/tst-nss-test1.c: New file.
19380 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19381 (__nss_configure_lookup): Set appropriate entry in
19382 __nss_configure_lookup to true.
19383 * nss/nsswitch.h: Define enum with indeces of databases in
19384 databases and __nss_database_custom arrays. Declare
19385 __nss_database_custom.
19386 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19387 to avoid using nscd when custom rules are installed.
19388 * nss/getXXbyYY_r.c: Likewise.
19389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19391 * nss/nss_files/files-parse.c: Whitespace fixes.
19393 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19396 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19397 * posix/fnmatch_loop.c: Likewise.
19399 2010-07-17 Andi Kleen <ak@linux.intel.com>
19401 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19402 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19403 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19404 * Versions.def [GLIBC_2.13]: Add.
19406 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19408 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19409 Also fail if tpwd after pwuid call is NULL.
19411 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19413 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19414 when converting to ms.
19416 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19418 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19419 EOPNOTSUPP errors with ENOTTY.
19420 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19421 EOPNOTSUPP errors with ENOTTY.
19423 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19425 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19426 Add strcasecmp_l-ssse3.
19427 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19429 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19430 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19431 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19433 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19435 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19437 * string/Makefile (strop-tests): Add strcasecmp.
19438 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19439 strcasecmp_l-nonascii.
19440 (gen-as-const-headers): Add locale-defines.sym.
19441 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19442 * sysdeps/x86_64/strcasecmp.S: New file.
19443 * sysdeps/x86_64/strcasecmp_l.S: New file.
19444 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19445 * sysdeps/x86_64/locale-defines.sym: New file.
19446 * string/test-strcasecmp.c: New file.
19448 * string/test-strcasestr.c: Test both ends of the range of characters.
19449 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19451 2010-07-29 Roland McGrath <roland@redhat.com>
19454 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19456 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19458 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19461 2010-07-27 Andreas Schwab <schwab@redhat.com>
19463 * manual/memory.texi (Malloc Tunable Parameters): Document
19466 2010-07-26 Roland McGrath <roland@redhat.com>
19469 * configure.in (-fgnu89-inline check): Set and substitute
19470 gnu89_inline, not libc_cv_gnu89_inline.
19471 * configure: Regenerated.
19472 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19474 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19476 * string/test-strnlen.c: New file.
19477 * string/Makefile (strop-tests): Add strnlen.
19478 * string/tester.c (test_strnlen): Add a few more test cases.
19479 * string/tst-strlen.c: Better error reporting.
19481 * sysdeps/x86_64/strnlen.S: New file.
19483 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19485 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19486 lower-latency instructions.
19488 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19490 * string/test-strcasestr.c: New file.
19491 * string/test-strstr.c: New file.
19492 * string/Makefile (strop-tests): Add strstr and strcasestr.
19493 * string/str-two-way.h: Don't undefine MAX.
19494 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19496 2010-07-21 Andreas Schwab <schwab@redhat.com>
19498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19499 strcasestr-nonascii.
19500 (CFLAGS-strcasestr-nonascii.c): Define.
19501 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19503 Remove unused attribute.
19505 2010-07-20 Roland McGrath <roland@redhat.com>
19507 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19508 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19509 ld.so.cache was broken. With it, there is no way to disable dsocaps
19510 like LD_HWCAP_MASK can disable hwcaps.
19512 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19514 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19516 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19518 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19519 call in strcasestr.
19520 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19521 __strcasestr_sse42_nonascii.
19522 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19523 strcasestr-nonascii.c.
19524 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19526 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19529 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19530 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19533 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19535 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19538 2010-07-06 Andreas Schwab <schwab@redhat.com>
19541 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19544 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19547 _PC_PIPE_BUF using F_GETPIPE_SZ.
19549 2010-07-05 Roland McGrath <roland@redhat.com>
19551 * manual/arith.texi (Rounding Functions): Fix rint description
19552 implicit in round description.
19554 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19556 * elf/Makefile: Fix linking for a few tests to make recent linker
19559 2010-06-30 Andreas Schwab <schwab@redhat.com>
19561 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19562 $(common-objpfx)libc_nonshared.a.
19564 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19566 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19567 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19568 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19569 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19570 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19571 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19572 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19573 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19588 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19589 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19590 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19591 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19592 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19593 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19594 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19595 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19596 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19597 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19598 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19599 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19615 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19617 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19618 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19619 * string/memmove.c (memmove): Renamed to ...
19620 (MEMMOVE): ...this. Default to memmove.
19621 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19622 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19625 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19626 mempcpy-ssse3-back memmove-ssse3-back.
19627 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19628 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19630 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19631 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19632 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19633 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19634 * sysdeps/x86_64/multiarch/memmove.c: New file.
19635 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19636 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19637 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19638 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19639 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19642 (index_Fast_Copy_Backward): Define.
19643 (HAS_ARCH_FEATURE): Define.
19644 (HAS_FAST_REP_STRING): Define.
19645 (HAS_FAST_COPY_BACKWARD): Define.
19647 2010-06-21 Andreas Schwab <schwab@redhat.com>
19649 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19650 Restore proper fallback handling.
19652 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19655 * posix/group_member.c (__group_member): Correct checking loop.
19657 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19658 OOM in getpwuid_r correctly. Return error number when the caller
19659 should return, otherwise -1.
19660 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19661 call returning > 0 value.
19662 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19664 2010-06-07 Andreas Schwab <schwab@redhat.com>
19666 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19667 libc_nonshared.a from targets in modules-names.
19669 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19671 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19674 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19676 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19677 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19681 2010-06-02 Andreas Schwab <schwab@redhat.com>
19683 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19685 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19687 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19693 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19694 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19696 2010-06-14 Roland McGrath <roland@redhat.com>
19698 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19700 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19702 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19703 __REDIRECT followed by __THROW.
19704 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19705 * posix/getopt.h (getopt): Likewise.
19707 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19709 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19710 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19711 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19713 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19714 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19716 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19718 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19720 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19724 Properly check family and model.
19726 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19728 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19730 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19732 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19734 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19736 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19739 2010-05-19 Andreas Schwab <schwab@redhat.com>
19741 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19744 2010-05-21 Andreas Schwab <schwab@redhat.com>
19746 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19747 and internal_recvmmsg.
19748 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19749 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19750 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19751 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19753 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19754 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19755 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19757 2010-05-20 Andreas Schwab <schwab@redhat.com>
19759 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19761 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19763 POWER7 optimizations.
19764 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19765 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19767 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19769 * version.h: Update for 2.13 development version.
19771 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19773 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19774 exceptions. Return 0.
19776 2010-05-07 Roland McGrath <roland@redhat.com>
19778 * elf/ldconfig.c (main): Add a const.
19780 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19782 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19783 (args_options): Add no-idn option.
19784 (ahosts_keys_int): Add idn_flags to ai_flags.
19785 (parse_option): Handle 'i' option to clear idn_flags.
19787 * malloc/malloc.c (_int_free): Possible race in the most recently
19788 added check. Only act on the data if no current modification
19791 See ChangeLog.17 for earlier changes.